image processing: how to separate back ground(black) from the foreground objects (white)

조회 수: 3 (최근 30일)
i have tried 2 predefined functions such as im2bw and imbinarize but these functions are resulting in losing part of the objects that exists inside the images. if there is any other way of seperating the objects from the back ground please let me know.
Best regards

답변 (1개)

Divya Gaddipati
Divya Gaddipati 2020년 4월 13일
Depending on the complexity of the image, different segmentation techniques can be used:
Watershed segmentation: Watershed segmentation technique aims to divide the image into catchment basins and fill them up until they join. MATLAB's implementation uses the most common algorithm for watershed, called Fernand Meyer algorithm
Active Contours: Active Contours (or Snakes) tries to match a deformable model to an image by means of energy minimization. Snakes in particular is designed to solve problems where the approximate shape of the boundary is known. It is a very good technique for motion tracking, when you have identified your model and then you just need to deform the edges a bit to keep tracking the object.
Fast Marching Segmentation: As Snakes, it also requires an initial mask. It models the evolution of a closed curve as a function of time T with speed F(x) in the normal direction at a point x on the curve. The speed function is specified, and the time at which the contour crosses a point x is obtained by solving the equation.
You can also refer to the below page for more techniques:
Hope this helps!

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by