how to find original intensity at retina image

1 回表示 (過去 30 日間)
Farah Nadiah
Farah Nadiah 2016 年 3 月 28 日
回答済み: Image Analyst 2016 年 3 月 28 日
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
Walter Roberson
Walter Roberson 2016 年 3 月 28 日
編集済み: Walter Roberson 2016 年 3 月 28 日
S = I .* repmat(A, 1, 1, 3);

サインインしてコメントする。

その他の回答 (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.

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by