Visual Servoing Platform
version 3.6.1 under development (2024-11-21)
|
Functions | |
VISP_EXPORT void | VISP_NAMESPACE_NAME::connectedComponents (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, VISP_NAMESPACE_ADDRESSING vpImage< int > &labels, int &nbComponents, const VISP_NAMESPACE_ADDRESSING vpImageMorphology::vpConnexityType &connexity=VISP_NAMESPACE_ADDRESSING vpImageMorphology::CONNEXITY_4) |
VISP_EXPORT void | VISP_NAMESPACE_NAME::floodFill (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, const VISP_NAMESPACE_ADDRESSING vpImagePoint &seedPoint, const unsigned char oldValue, const unsigned char newValue, const VISP_NAMESPACE_ADDRESSING vpImageMorphology::vpConnexityType &connexity=VISP_NAMESPACE_ADDRESSING vpImageMorphology::CONNEXITY_4) |
Connected components.
VISP_EXPORT void VISP_NAMESPACE_NAME::connectedComponents | ( | const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > & | I, |
VISP_NAMESPACE_ADDRESSING vpImage< int > & | labels, | ||
int & | nbComponents, | ||
const VISP_NAMESPACE_ADDRESSING vpImageMorphology::vpConnexityType & | connexity = VISP_NAMESPACE_ADDRESSING vpImageMorphology::CONNEXITY_4 |
||
) |
Perform connected components detection.
I | : Input image (0 means background). |
labels | : Label image that contain for each position the component label. |
nbComponents | : Number of connected components. |
connexity | : Type of connexity. |
VISP_EXPORT void VISP_NAMESPACE_NAME::floodFill | ( | VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > & | I, |
const VISP_NAMESPACE_ADDRESSING vpImagePoint & | seedPoint, | ||
const unsigned char | oldValue, | ||
const unsigned char | newValue, | ||
const VISP_NAMESPACE_ADDRESSING vpImageMorphology::vpConnexityType & | connexity = VISP_NAMESPACE_ADDRESSING vpImageMorphology::CONNEXITY_4 |
||
) |
Perform the flood fill algorithm.
I | : Input image to flood fill. |
seedPoint | : Seed position in the image. |
oldValue | : Old value to replace. |
newValue | : New value to flood fill. |
connexity | : Type of connexity. |
Referenced by VISP_NAMESPACE_NAME::fillHoles().