Image segmentation problems with threshold

asked 2016-10-23 03:08:18 -0600

For my purposes I need to be able to detect a variety objects and their contours on a black background. Using noise/background removal and a threshold operation has worked well so far, but I've run into a problem with objects that blend into the background. They blend in so well the I can't set the threshold value low enough to distinguish the inner parts of the object without also including the background.

What other methods could I use for image segmentation, that work more reliably in a variety of situations (obviously including this one)?

edit retag flag offensive close merge delete

Comments

1

an example image might be helpful here

berak gravatar imageberak ( 2016-10-23 04:36:58 -0600 )edit

It is only the internal parts that cause issues but nothing at the borders? If so, use external contours, and the internal segmentation will get ignored :)

StevenPuttemans gravatar imageStevenPuttemans ( 2016-10-24 08:05:25 -0600 )edit