Foreground segmentation when similar color distributions

919 views Asked by At

How can I segment my foreground object from background when they have similar color distributions? I am trying to detect/segment a steel buckle from a roughly similar gray background. Thanks!

Example input images:
sample1

sample2

1

There are 1 answers

2
Sneaky Polar Bear On

Using an edge detector could work. After the edge detection, you are going to have to use some secondary interpretation to determine inside and outside of object to be segmented, but that should not be too bad if you can get a relatively clean edge. Generally (depending on lighting) edges get slight relative shadowing, which allows edge detectors to place pretty clean lines around objects sitting on surfaces.