how to get adaptive contrast enhancement transformation of the gray image ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
can this be done without using adapthisteq()?
the local variation of the lesions obtained by
g=255((sigmoid(color)-sigmoid(graymin))/(sigmoid(graymax) - sigmoid(graymin)) where # * sigmoid(color) = 1/(1+exp((mean - colorimage)/variance) # * sigmoid(graymin) is the min sigmoid value of the grayimage # * sigmoid(graymax) is the max sigmoid value of the grayimage
how can i get colorimage subtracted from meanimage which is grayscale
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 29 Aug. 2013
Sure, you can do almost whatever you want if you write it yourself. You can make a color image out of a grayscale image and then subtract:
grayImage3D = cat(3, grayImage, grayImage, grayImage);
% Cast to float to avoid clipping at 0.
newImage = double(rgbImage) - double(grayImage3D); % It's floating point now.
6 Kommentare
Image Analyst
am 30 Aug. 2013
You gotta learn to read the error messages. It says it doesn't want uint8, so what do you think you should do now?
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!