How to include all objects using find for an image
Mostrar comentarios más antiguos
Hi. I am trying to identify the lowest 10 pixel values on an grayscale image. I already have a list of the lowest 10 values
Lout =
126
126
127
128
128
128
129
129
129
129
I then identify using the following
for ct=1:10
f1=Lout(ct);
[i,j] = find(ROI==f1,1,'first');
plot(j,i,'ro','LineWidth',2);
end
This breaks down when there are more than one pixel with a lowest value as in the list above and shown in the figure below by the red circles. (it only shows the lowest 4 instead of all 10)

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!