extraction of pixel values of image
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello
i want to extract the pixels values of image attached and store it in array or matrix?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268040/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268040/image.jpeg)
3 comentarios
Respuestas (1)
Jose Jeremias Caballero
el 24 de En. de 2020
Editada: Jose Jeremias Caballero
el 24 de En. de 2020
>> a=imread('image.jpeg');
>> read1=a(:,:,1);
>> green1=a(:,:,2);
>> blue1=a(:,:,3);
3 comentarios
Image Analyst
el 24 de En. de 2020
read is a built-in function. You shouldn't use built-in function names as variables -- I think you meant red.
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!