501 - not implemented
501 - not implemented

Reputation: 2688

How to segment an image efficiently?

i search a solution to segment a image in different parts (Especial a saliency map (see image)). I knew about some Solutions like Graph-Based segmentation by Pedro F. Felzenszwalb, but for large images my implementation is very slow. Is there some other solution? Map

Greetings, Destiny

Upvotes: 0

Views: 2542

Answers (1)

gankoji
gankoji

Reputation: 851

Destiny,

What is the specific goal of this segmentation? Are you just trying to create separate regions in a still image? Are you looking for objects, and segmenting the image to find ROIs for later work?

The more specific you can be about your segmentation goals, the more specifically you can tailor your code. Binarizing your image through thresholding, or separating it into smaller chunks via feature detection, could significantly speed up your code.

The only other general image segmentation algorithm I can think of that is implemented in the OpenCV libraries is the water shed algorithm. You can find it in the docs, or look up Laganiere's OpenCV 2 Computer Vision Application Programming Cookbook, which contains an excellent tutorial on both of these algorithms.

Upvotes: 2

Related Questions