Imshow in appdesigner?
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
1 投票
Looking to convert a GUI into the AppDesigner platform, I am not able to execute the 'imshow' utility in appdesigner, any ideas?
採用された回答
Sean de Wolski
2016 年 9 月 26 日
The ability to show images is new in R2016b, so you need to be on that release.
You use imshow by explicitly parenting to the uiaxes.
imshow('cameraman.tif','Parent',app.UIAxes)
9 件のコメント
Deandra Dsouza
2017 年 4 月 10 日
Thanks!
Jessica Jara
2018 年 6 月 25 日
移動済み: DGM
2024 年 1 月 3 日
Hi! I only have a question... What is 'Parent' and for what can be use?
Thank You!
Walter Roberson
2018 年 6 月 25 日
移動済み: DGM
2024 年 1 月 3 日
'Parent' is which container object the imshow should cause the image to be displayed into. imshow() requires that its parent be either a traditional axes or a UI Axes.
Jessica Jara
2018 年 6 月 28 日
移動済み: DGM
2024 年 1 月 3 日
Thank you! Now is clear for me!
Aju George
2018 年 7 月 7 日
on using this command i only getting a black image
Image Analyst
2018 年 7 月 7 日
Try reading it into an image variable first with imread(). Then check the values to make sure they're not all zero. Maybe you accidentally overwrote cameraman.tif when you were doing your coding experimentation.
Aju George
2018 年 7 月 9 日
thankyou
I = imshow('image.jpg', 'Parent', app.image_view)
app.image_view.XLim = [0 I.XData(2)];
app.image_view.YLim = [0 I.YData(2)];
this code worked for me
Hui Xu
2021 年 1 月 7 日
thank you
Shanmugasundari Mariappan
2024 年 1 月 3 日
Thank you
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
