Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

bwareaopen for connverting RGB to binary

2 visualizzazioni (ultimi 30 giorni)
Tulips
Tulips il 29 Ott 2012
hi sir, may I know how to assign the conversion of rgb to binary. for instance,, I've used this coding but the output is all black,why is that:
%%Binary
im=uint(im)
figure;imshow(im,[])
%%remove pxls less than 100
pixels=100;
detectObject=uint8(bwareaopen,pixels)
figure;imahow(detectObject,[])

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by