How do I find the X and Y coordinates of a particular pixel in an image?

回答 (1 件)

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy 2014 年 2 月 26 日

0 投票

If you want to do it interactively (e.g. with a mouse), use the function ginput.

2 件のコメント

NANDITA Joshi
NANDITA Joshi 2014 年 2 月 26 日
I don't want to do it with a mouse. I need to use that value later in the program.
Rajiv Ghosh-Roy
Rajiv Ghosh-Roy 2014 年 2 月 27 日
In that case, how would you determine which one the "particular pixel" is? Are the coordinates just the position within the image, or are there other coordinates you are trying to correlate to?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGeometric Transformation and Image Registration についてさらに検索

質問済み:

2014 年 2 月 26 日

コメント済み:

2014 年 2 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by