how to find original intensity at retina image

1 visualizzazione (ultimi 30 giorni)
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 Commento
Image Analyst
Image Analyst il 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.

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 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 Commenti
Farah Nadiah
Farah Nadiah il 28 Mar 2016
Modificato: Walter Roberson il 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
Walter Roberson
Walter Roberson il 28 Mar 2016
Modificato: Walter Roberson il 28 Mar 2016
S = I .* repmat(A, 1, 1, 3);

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 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.

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by