How to convert image into binary in axes at GUI MATLAB ?

2 visualizzazioni (ultimi 30 giorni)
handles.axes=hObject;
A = getimage(handles.axes1);
B = ???convert binary???
imshow (B,'Parent',handles.axes2);

Risposte (1)

Geoff Hayes
Geoff Hayes il 29 Ago 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.

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by