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

2 views (last 30 days)
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").

Answers (0)

Community Treasure Hunt

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

Start Hunting!