How to add an existing tool to my GUI?

2 ビュー (過去 30 日間)
Luis Garcia
Luis Garcia 2018 年 7 月 12 日
回答済み: Walter Roberson 2018 年 7 月 12 日
I'm trying to add an existing tool, (the imcontrast tool) to show in my GUI. But currently it shows in a different figure(or window) separated from my GUI. But I would like to have in my GUI.
  1 件のコメント
Walter Roberson
Walter Roberson 2018 年 7 月 12 日
If I recall correctly, imcontrast always creeates its own gui.

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

採用された回答

Walter Roberson
Walter Roberson 2018 年 7 月 12 日
imcontrast creates a new figure to display the results, except in the case where the axes of time image has an appdata property named imcontrastFig . However, in that case, imcontrast just returns the handle to that figure without constructing the histogram.
You could consider letting imcontrast run and then finding the various graphics objects it creates and moving them to your own GUI. However, if you do that then it is surely going to get confused because it creates various pointer managers and callbacks that are not going to be in the right place.
TL;DR : you cannot do what you want.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeExplore and Edit Images with Image Viewer App についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by