필터 지우기
필터 지우기

how to determine the rows and columns of an image ?

조회 수: 36 (최근 30일)
shefali
shefali 2013년 10월 17일
답변: Talha Zubair 2021년 1월 28일
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);

채택된 답변

ES
ES 2013년 10월 17일
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.

추가 답변 (1개)

Talha Zubair
Talha Zubair 2021년 1월 28일
ImageData=imread('car.jpg');
[rows columns depth]=size(ImageData );

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by