How to create a mask to segment a color image by activecontour?

2 次查看(过去 30 天)
Hello,
I want to use the function activecontour in matlab to segment a color image buti don't know how to create the mask ("For color and multi-channel images, mask must be a 2-D logical array where the first two dimensions match the first two dimensions of the image A").

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by