MATLAB: How to find original intensity at retina image

eyefundusImage Processing Toolboxophthalmologyretina

i want to find the intesity at original image by compare at image that i get. example: my original image is retina image and my second image is image from erosion operation.. then i want to compare the intensity at original image with my erosion image.

Best Answer

Selected_Intensities = Intensity_Image( logical(Erosion_Image) );
The result will be a vector of intensities of points that were non-zero in the erosion image.