how to fill the contour in image

I have a tumour image, Ive extracted tumour from that and ive drawn a boundary across it. but the tumour portion is getting as a disc shape, I want to fill the black space inside the tumour with white and then draw the boundary. code and images are attached.

 Accepted Answer

KSSV
KSSV on 29 Jan 2018
Read about patch and fill

2 Comments

can you help with code. Im not getting how to use that
i dont want to create patch, i want to fill white in the patch extracted.

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!