フィルターのクリア

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 Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by