how to compare the value of a pixel with all other pixel?
Mostrar comentarios más antiguos
i have to compare each pixel with all other pixels and find equal values.
Respuesta aceptada
Más respuestas (2)
Jos (10584)
el 28 de Oct. de 2013
You question is a little unclear. But, see
help unique
M = ceil(10*rand(40,30)) % pixel image
uM = unique(M) ;
% and use it like this
tf = M==uM(k)
[r,c] = find(tf)
1 comentario
sheno39
el 28 de Oct. de 2013
sheno39
el 28 de Oct. de 2013
0 votos
Categorías
Más información sobre Image Segmentation and Analysis 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!
