MATLAB Answers

0

How can i change the Threshold value of the image using slider. What code should i enter to change the threshold value from 0 to 255?

Asked by VISHNUVARDHAN JOULYJOTHIRAM on 10 Nov 2018 at 22:54
Latest activity Answered by Walter Roberson
on 10 Nov 2018 at 23:07
What code should i enter to change the value of the threshold of the image using the slider? Need to chande the threshold without affecting the other process in the GUI.

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 10 Nov 2018 at 23:07

Create a uicontrol style 'slider'. Set the minorstep to at least 1. Set Min to 0, Max to 255. Configure a Callback that gets the current value, applies it as a threshold, and updates the image.

  0 Comments

Sign in to comment.