MATLAB Answers

how to find original intensity at retina image

7 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.

  2 Comments

Farah Nadiah
Farah Nadiah on 28 Mar 2016
how can i remove the hemorrhages intensity.. hemorrhages is a dot in red color but large in size.. i just want microaneurysms only.. microaneurysms is dot in small size and red in color.. if i use this matlab code can u modify a little bit :)
%Original Image
I = imread ('image100.png');
A = imread ('erosion.jpg');
if (A = 0)
S = ( i want this is intensity for my original image)
else
S = (i dont know to put what)
end
and i want the image
imshow(S);
this is my original image
this is my 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.

  0 Comments

Sign in to comment.

Sign in to answer this question.