how to determine the rows and columns of an image ?
36 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
shefali
el 17 de Oct. de 2013
Respondida: Talha Zubair
el 28 de En. de 2021
after imread('car.jpg'); how to determine the matrix of this image? and how to determine the number of rows and columns of this input image?
how to use the following command to determine rows and columns: [rows columns]=size(array2D);
0 comentarios
Respuesta aceptada
ES
el 17 de Oct. de 2013
save your imread data in some variable.
ImageData=imread('car.jpg');
ImageData will be a 3 D array for Colour Image with R, G, B Amplitude Values.
You can do a
[rows columns depth]=size(ImageData );
on it.
0 comentarios
Más respuestas (1)
Talha Zubair
el 28 de En. de 2021
ImageData=imread('car.jpg');
[rows columns depth]=size(ImageData );
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!