IMAGE MANIPULATON USING NESTED FUNCTION

2 ビュー (過去 30 日間)
TRAVIS
TRAVIS 2013 年 4 月 1 日
I am writing a code for image manipulation and need to know how to set MAXCOL AND MAXROW by using size() function. Thanks I am new to matlab if my question seems premature

採用された回答

Matt J
Matt J 2013 年 4 月 1 日
[maxcol, maxrow] = size(YourImage);
  2 件のコメント
Walter Roberson
Walter Roberson 2013 年 4 月 1 日
Better yet,
[maxcol, maxrow, maxpane] = size(YourImage);
If your image is RGB then the two-output version will give you the wrong result for maxrow.
Image Analyst
Image Analyst 2013 年 4 月 1 日

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by