how to find original intensity at retina image

1 次查看(过去 30 天)
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 个评论
Image Analyst
Image Analyst 2016-3-28
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.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2016-3-28
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 个评论
Farah Nadiah
Farah Nadiah 2016-3-28
编辑:Walter Roberson 2016-3-28
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

请先登录,再进行评论。

更多回答(1 个)

Image Analyst
Image Analyst 2016-3-28
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!

Translated by