MATLAB: Convert Some Pixel from binary image

image processingImage Processing Toolbox

Dear all
If I have a binary image like the one below,
how i can remove the black color inside the white color?

Best Answer