Removing simple background from an image
Posted: 2016-10-17T12:34:54-07:00
I am using floodfill to remove the background from image (I know the color of the background), and it works well for most cases except when the background is disjoint, for example the Google logo, white color still exists inside the characters (the disjoint white space in the O).
I found that using -transparent works in removing it from the space in the characters as well, is using -transparent a good idea or is there a better way to do this?
I found that using -transparent works in removing it from the space in the characters as well, is using -transparent a good idea or is there a better way to do this?