How to automatically calculate distance between two brighter points in an gray scale image?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
SYED AQEEL HAIDER
el 10 de Abr. de 2018
Comentada: Adam
el 10 de Abr. de 2018
In my coding task, I am having an image after thresholding step which is having 9 brighter regions. How may I find distances between these brighter regions automatically in matlab. Thanks in anticipation.
1 comentario
Adam
el 10 de Abr. de 2018
Do you mean the positional distance or the colour distance? If you mean the latter then there are any number of ways to calculate the distance between 2 colours.
This being the one I have started using recently.
Respuesta aceptada
KSSV
el 10 de Abr. de 2018
You should be having the pixel value of the spots. Use find to get the location of those pixles and then use pdist or pdist2.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!