Info

この質問は閉じられています。 編集または回答するには再度開いてください。

bwareaopen for connverting RGB to binary

1 回表示 (過去 30 日間)
Tulips
Tulips 2012 年 10 月 29 日
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,[])

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by