How to Create a tool so that with a click of a button the Image gets segmented

1 次查看(过去 30 天)
I am trying to segment an image based on watershed algorithm. I have developed a code. I want to develop this as an tool so that it can be used to segment any image. Anyone to help.

回答(1 个)

David Sanchez
David Sanchez 2013-5-16
Create a GUI with the GUIDE tool
help guide
will tell you more. Once you create a simple GUI with a button or whatever you want, link your function to the button callback function.
  2 个评论
Edwin
Edwin 2013-5-17
You might want to read this part of the MATLAB help:
Make sure you declare all variables inside the function or give them as input, a function can't use the workspace by default.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by