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?
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?
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.
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.
Are the external contours from mser or somewhere else?
the external contour is retrieved by the fastcv function: fcvFindContoursExternalu8