File Exchange

image thumbnail

Reinhard Stain Normalization

version 1.0.0.0 (106 KB) by Manohar
This approach maps the colour distribution of an over/under stained image to that of a well stained

3 Downloads

Updated 11 Jul 2013

View License

This approach maps the colour distribution of an over/under stained image to that of a well stained target image. Reinhard presented a method for matching the colour distribution of an image to that of a target image by use of a linear transform in a perceptual colourspace (the lαβ colourspace of Ruderman et al. ) so as to match the means and standard deviations of each colour channel in the two images in that colourspace.

REFERENCES
[1] Derek Magee, Darren Treanor, Doreen Crellin, Mike Shires, Katherine Smith, Kevin Mohee, and Philip Quirke.:Colour normalization in digital histopathology images.
[2] Reinhard, E., Adhikhmin, M., Gooch, B., Shirley, P.: Color transfer between images.

Comments and Ratings (5)

Han Gong

This implementation is probably WRONG. I think The lab space used in that paper is different from the CIELAB.

See this paper: http://www.cs.virginia.edu/~jdl/bib/color/ruderman98.pdf

Han Gong

Han Gong

Can you improve your code?

Manohar

You can use this image.
https://dl.dropboxusercontent.com/u/28068989/IMG_0076.jpg

It is H-DAB stainned

Sudaraka

Can you suggest some images for target?
I mean, I know it's application dependent, but say, for a particular stain (Giemsa, HE, etc.) it would be really awesome if you can provide a few sample images.
Keep up the good work :)

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux