How to convert image into binary in axes at GUI MATLAB ?
3 views (last 30 days)
Show older comments
handles.axes=hObject;
A = getimage(handles.axes1);
B = ???convert binary???
imshow (B,'Parent',handles.axes2);
0 Comments
Answers (1)
Geoff Hayes
on 29 Aug 2016
muhammad - see im2bw which will cover an RGB image into a binary one (subject to some threshold). Note that this function is part of the Image Processing Toolbox.
0 Comments
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!