Forums - What does fcvSegmentFGMasku8()?

4 posts / 0 new
Last post
What does fcvSegmentFGMasku8()?
DaniilPattersson
Join Date: 17 Jul 12
Location: Russia
Posts: 23
Posted: Thu, 2012-07-26 01:16

Hi guys!

I'm a bit confused. What does fcvSegmentFGMasku8()? I've found several explanation, like foreground mask or figure-ground. What's the truth?

 

  • Up0
  • Down0
jeff4s Moderator
Join Date: 14 Mar 12
Posts: 54
Posted: Fri, 2012-07-27 15:57

Work is ongoing to update the function description, among others. Following is a preview for this function. Hope it helps clarify. Comments and suggestions are welcome.

///   The function will remove the small contoured area of the source image. The input is a 8 bit
/// grayscale image, where zero value denotes the background. The function first extract all the
/// external contours of the source image. The function then loops through all the countours and check
/// the perimeter of each contour. If the perimeter is smaller than the input parameter perimscale,
/// the function will remove that contour, otherwise, it will find the convex hull or polygonal
/// approximation of that countour and draw it on the original image. In the current implementation,
/// since convex hull or polygonal approximation has not been implemented, the function will draw
/// the corresponding external contour directly and fill it.

  • Up0
  • Down0
DaniilPattersson
Join Date: 17 Jul 12
Location: Russia
Posts: 23
Posted: Tue, 2012-07-31 03:50

Are the external contours from mser or somewhere else?

  • Up0
  • Down0
jeff4s Moderator
Join Date: 14 Mar 12
Posts: 54
Posted: Fri, 2012-08-03 23:11

the external contour is retrieved by the fastcv function:  fcvFindContoursExternalu8

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.