How do i determine the pixel coordinates of an image using RGB values?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
For example: i'd like to get the coordinates of the pixels with R values from 230 to 250.
0 Kommentare
Antworten (1)
JESUS DAVID ARIZA ROYETH
am 10 Dez. 2019
image=imread('peppers.png');
R=image(:,:,1);%red chanel
[x,y]=find(and(R>=230,R<=250));%here coordinates
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!