![]() |
Visual Servoing Platform
version 3.3.0
|
Functions | |
VISP_EXPORT void | vp::connectedComponents (const vpImage< unsigned char > &I, vpImage< int > &labels, int &nbComponents, const vpImageMorphology::vpConnexityType &connexity=vpImageMorphology::CONNEXITY_4) |
VISP_EXPORT void | vp::floodFill (vpImage< unsigned char > &I, const vpImagePoint &seedPoint, const unsigned char oldValue, const unsigned char newValue, const vpImageMorphology::vpConnexityType &connexity=vpImageMorphology::CONNEXITY_4) |
Connected components.
void vp::connectedComponents | ( | const vpImage< unsigned char > & | I, |
vpImage< int > & | labels, | ||
int & | nbComponents, | ||
const vpImageMorphology::vpConnexityType & | connexity = 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. |
Definition at line 118 of file vpConnectedComponents.cpp.
void vp::floodFill | ( | vpImage< unsigned char > & | I, |
const vpImagePoint & | seedPoint, | ||
const unsigned char | oldValue, | ||
const unsigned char | newValue, | ||
const vpImageMorphology::vpConnexityType & | connexity = 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. |
Definition at line 84 of file vpFloodFill.cpp.