how to find the pixel exact location
3 次查看(过去 30 天)
显示 更早的评论
hello, i have binary image and now i have to process where the image pixel value is one now how to find that and i want the exact location of that single pixel which have value 1?
pls answer me
thank you Vivek Asthana
0 个评论
采纳的回答
Walter Roberson
2014-2-27
[row, column] = find(YourBinaryImage == 1);
There are also mechanisms using regionprops()
1 个评论
mohd akmal masud
2017-12-7
Dear All,
if i want to know the location pixel for value 32676(gray scale image), so my code is
[row, column] = find(YourGrayscaleImage == 32676);
Is it correct?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!