Following is an example image and I would like to remove all the black part in the image with white. I can use a median filter to do it, but it will correspondingly also affect the borders.
Is there any idea how to do it?
1 | initial version |
Following is an example image and I would like to remove all the black part in the image with white. I can use a median filter to do it, but it will correspondingly also affect the borders.
Is there any idea how to do it?