I am trying to extract the shape of a metallic droplet from the first picture and convert it into a binary image with edges as smooth as possible. So far I have been using the following commands: im2bw (with different thresholds), imfill (to fill any holes in the droplet), and imopen to smooth the edges. However, I am far from the results I would like to obtain.
In order: (1) photo that I want to process (2-3) im2bw with two different thresholds (4) manual merge of pictures 2-3 (5) example of what I would like to achieve.
Does anyone have a suggestion on how I can proceed?