Ask Your Question

how can i segment an object with region growing?

asked 2014-07-22 00:32:16 -0500

jamesnzt gravatar image

updated 2014-07-22 01:55:54 -0500

berak gravatar image

I am going to segment an leaf from the following picture. image description

Then I am going to take three points which include center of the image. I have to grow the region to segment it from the others. The intersecting regions of two points are going to be consider as one. image description

if not segment three regions for three points and finally i have to get the three leaves. image description

anybody please can explain the steps i have to use or function that suits well? Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-22 01:53:39 -0500

berak gravatar image

updated 2014-07-22 02:00:21 -0500

if manually marking selected leaves is an option, the 'watershed' method might work nicely:

image description

note, that it is not enough to mark the selected leaves, you will have to mark their neighbours as well to get the borders right.

edit flag offensive delete link more


Thanks. How can i segment the leaf without manual marking?. i.e I have to write a program in OpenCV whose input is the image above. I am going to consider three points in the image in programming. In that three, if leaf is present it must be detected and segmented.

in some case the size of leaf may be large at that time two or three points may reside on one leaf. That leaf has to segmented.

Tells me steps involved in it.

Thanks Mr.BeraK

jamesnzt gravatar imagejamesnzt ( 2014-07-22 04:46:48 -0500 )edit

ah i see. different story then. need to breed a bit ;)

berak gravatar imageberak ( 2014-07-22 06:00:52 -0500 )edit

Question Tools


Asked: 2014-07-22 00:32:16 -0500

Seen: 8,315 times

Last updated: Jul 22 '14