How do i determine the pixel coordinates of an image using RGB values?

回答 (1 件)

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH 2019 年 12 月 10 日

0 投票

image=imread('peppers.png');
R=image(:,:,1);%red chanel
[x,y]=find(and(R>=230,R<=250));%here coordinates

カテゴリ

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

質問済み:

2019 年 12 月 10 日

回答済み:

2019 年 12 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by