Complex masking situation
Posted: 2011-06-08T13:32:08-07:00
I'm working on a weird problem for a project, and I need to do some complex masking. I have an image that looks like this:
The real images are larger and the shapes are irregular, but there is always a black outline on a white background and then more black area inside the outline. The inside shape may not be the same as the outside outline. What I need to do is cut out only the outside black outline, masking out the rest of the image.
The end result should look like this:
I would like to do this without specifying any coordinates for the different areas. The only guarantee is that the black area never touches the edge of the image. Is this possible?
The real images are larger and the shapes are irregular, but there is always a black outline on a white background and then more black area inside the outline. The inside shape may not be the same as the outside outline. What I need to do is cut out only the outside black outline, masking out the rest of the image.
The end result should look like this:
I would like to do this without specifying any coordinates for the different areas. The only guarantee is that the black area never touches the edge of the image. Is this possible?