How to create a new image with average color of input image in the segmentation region?

1 view (last 30 days)
I have an image and a segmentation mask. How can I generate a new image with each segmented region containing the average color of that region in the original image?

Answers (0)

Community Treasure Hunt

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

Start Hunting!