ImageJ opening imagePlus window as an internal frame inside a desktopPane

夙愿已清 提交于 2019-11-29 18:08:42

The creation of a new JFrame is hardcoded into ImageJ's ImagePlus class:

if (stackSize>1)
    win = new StackWindow(this);
else
    win = new ImageWindow(this);

If you want to adapt the GUI, you can extend the ImageWindow or StackWindow classes. See the Trainable Weka Segmentation plugin for a nice example.

Alternatively, use the data structures of ImageJ2, namely ImgLib's ImgPlus. These are designed to be independent of any user interface.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!