フィルターのクリア

how can i find pixel information(row and column)?

5 ビュー (過去 30 日間)
sara
sara 2014 年 11 月 16 日
回答済み: Image Analyst 2014 年 11 月 16 日
can i detect a pixel in an image,in this way:first i click on that specific corner or point,then it gives me the row and column it is located in,then i write another code,and search to find the pixel on that column and row,then make it red,cause some point of interest are not extrema corners either,.

採用された回答

Image Analyst
Image Analyst 2014 年 11 月 16 日
Try calling impixelinfo(). Then you can just mouse around the image and it will display the x,y and gray level or RGB values. To get or set values of some image array, you do that in your code. Once you've changed the array you have to call imshow() again to update the display with the new pixel values.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Image Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by