in a image with pixel size 3 mm, how can find the distances of all pixels from the bottom edge of image?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
in a image with pixel size 3 mm, how can find the distances of all pixels from the bottom edge of image?
0 comentarios
Respuestas (1)
Image Analyst
el 17 de Abr. de 2015
It's simply the distance in rows times 3 mm
[rows, columns, numberOfColorChannels) = size(yourImage);
distanceInMM = 3 * (rows - thePixelsRow);
1 comentario
Ver también
Categorías
Más información sobre Image Processing 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!