MATLAB Answers

how to find original intensity at retina image

4 views (last 30 days)
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.
  1 Comment
Image Analyst
Image Analyst on 28 Mar 2016
What does "compare" mean to you? Do you simply want to subtract the images? I have no idea what result you would like to have.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 28 Mar 2016
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.

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 28 Mar 2016
You can use beareaopen() to distinguish between larger hemorrhages and smaller microaneurysms.
sizeThreshold = 100; % Whatever size you want.
hemorrhages = bwareaopen(binaryImage, sizeThreshold); % Keep larger blobs.
microaneurysms = xor(binaryImage, hemorrhages); % Keep small blobs.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!