Segment the foreground from the background

1 view (last 30 days)
How can i segment foreground and background from the attached images? When i do threshold method the nucleus (marked in red) and the debris (the circled orange region) is wrongly identified. The background colour is not same for the images, so colour based foreground and background detection will also not give desired result. Please can someone suggest which method can be used to segment the debris from the images so that i can segment the nucleus correctly.

Accepted Answer

Benjamin Thompson
Benjamin Thompson on 4 Feb 2022
Have you reviewed the examples included with the Image Processing Toolbox? The example "Correct Nonuniform Illumination and Analyze Foreground Objects" might be helpful. The colorThresholder tool is helpful for quickly creating color space transformations and thresholding functions for image samples. You could even do more than one if your images have different color properties and you can do nothing to fix that. Of course, first thing is to improve processes so that the image processing later on is easier.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!