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

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 件)

質問済み:

2018 年 8 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by