I'll start by saying that I don't know anything about image processing. I have an image and I need to extract its outermost shape for use in a
WordCloud. The image only has two colours and the outermost shape is a boundary between the two colours. A representative image follows (but the colours are not black and white in the actual image).
With this image I would expect the region calculated to be the union of the disk and rounded corner rectangle. Again, this only representative and the actual image is not made of an union of basic shapes.
I believe that if I call the image processing equivalent of
DiscretizeGraphics and get many points then I could take the convex hull of this set of points and use this region in a
DiscretizeGraphics doesn't work on JPEG and
EdgeDetect does not return an object compatible with
May someone point me in the correct direct to do this on an image? If this is not the best approach please offer alternatives.