PixelID/Pixel Value of Specific Point in Image?

1 回表示 (過去 30 日間)
haichu
haichu 2019 年 6 月 15 日
回答済み: Image Analyst 2019 年 6 月 15 日
How do I find the pixelID (pixel value from pixellist) of the image at specific (x pixels, y pixels) point ?
I would like it to be automatic, requiring NO manual interaction with the figure required.

回答 (1 件)

Image Analyst
Image Analyst 2019 年 6 月 15 日
You could use meshgrid() to get the x,y locations, and then use abinary image to mask out the ROI you want. Attach your image and your binary image also, that shows the foreground and background.

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by