What does this matlab statement mean?
古いコメントを表示
Regarding the following Matlab statement shown here http://www.mathworks.com/help/images/ref/imopen.html:
figure, imshow(I_opened,[])
What do 'figure' and '[]' mean in the statement?
Thanks.
1 件のコメント
per isakson
2012 年 10 月 10 日
Try:
help figure
採用された回答
その他の回答 (1 件)
Doug Hull
2012 年 10 月 10 日
0 投票
The brackets are a null input. They are the empty matrix. In cases like this the function is likely demanding an input, but they have nothing to give. They could be dropped in this specific case.
Figure opens a new figure.
1 件のコメント
Image Analyst
2012 年 10 月 10 日
Using or not using [] in imshow has a huge effect. It says whether to scale the display to the min and max of the data rather than scaling the default range assumed for that class. Really makes a huge difference especially for floating point images.
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!