Sir, I want to read the pixel intensity of that pixel which I have selected by using ginput() command in MATLAB
1 次查看(过去 30 天)
显示 更早的评论
Sir, I want to read the pixel intensity of that pixel which I have selected by using ginput() command in MATLAB
0 个评论
采纳的回答
Image Analyst
2013-2-6
Try this:
[x, y] = ginput(1);
pixelInstensity = yourImage(y, x);
I know it's really obvious, so did I perhaps not understand what you're asking?
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Visual Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!