How do i determine the pixel coordinates of an image using RGB values?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
For example: i'd like to get the coordinates of the pixels with R values from 230 to 250.
0 Commenti
Risposte (1)
JESUS DAVID ARIZA ROYETH
il 10 Dic 2019
image=imread('peppers.png');
R=image(:,:,1);%red chanel
[x,y]=find(and(R>=230,R<=250));%here coordinates
0 Commenti
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!