![]() |
Visual Servoing Platform
version 3.6.1 under development (2024-06-27)
|
Functions | |
void | init (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &Iinput, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &IcannyVisp, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > *p_dIx, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > *p_dIy, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > *p_IcannyimgFilter) |
void | display (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, const std::string &title) |
bool | waitForClick (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, const bool &blockingMode) |
bool | display (VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I, const std::string &title, const bool &blockingMode) |
bool | display (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, const std::string &title, const bool &blockingMode) |
bool | display (VISP_NAMESPACE_ADDRESSING vpImage< double > &D, const std::string &title, const bool &blockingMode) |
Variables | |
VISP_NAMESPACE_ADDRESSING vpDisplayX | d_Iinput |
VISP_NAMESPACE_ADDRESSING vpDisplayX | d_dIx |
VISP_NAMESPACE_ADDRESSING vpDisplayX | d_dIy |
VISP_NAMESPACE_ADDRESSING vpDisplayX | d_IcannyVisp |
VISP_NAMESPACE_ADDRESSING vpDisplayX | d_IcannyImgFilter |
VISP_NAMESPACE_ADDRESSING vpDisplayX | d |
VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > | I_disp |
bool drawingHelpers::display | ( | VISP_NAMESPACE_ADDRESSING vpImage< double > & | D, |
const std::string & | title, | ||
const bool & | blockingMode | ||
) |
void drawingHelpers::display | ( | VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > & | I, |
const std::string & | title | ||
) |
Display a gray-scale image.
[out] | I | The gray-scale image to display. |
[in] | title | The title of the window. |
bool drawingHelpers::display | ( | VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > & | I, |
const std::string & | title, | ||
const bool & | blockingMode | ||
) |
bool drawingHelpers::display | ( | VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > & | I, |
const std::string & | title, | ||
const bool & | blockingMode | ||
) |
void drawingHelpers::init | ( | VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > & | Iinput, |
VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > & | IcannyVisp, | ||
VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > * | p_dIx, | ||
VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > * | p_dIy, | ||
VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > * | p_IcannyimgFilter | ||
) |
Initialize the different displays.
[out] | Iinput | Input image of the program. |
[out] | IcannyVisp | Image resulting from the vpCannyEdgeDetection method. |
[out] | p_dIx | If different from nullptr, pointer towards the gradient along the horizontal axis. |
[out] | p_dIy | If different from nullptr, pointer towards the gradient along the vertical axis. |
[out] | p_IcannyimgFilter | If different from nullptr, pointer towards the result of the vpImageFilter::canny method. |
bool drawingHelpers::waitForClick | ( | const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > & | I, |
const bool & | blockingMode | ||
) |
Catch the user clicks to know if the user wants to stop the program.
[in] | I | The gray-scale image to display. |
[in] | blockingMode | If true, wait for a click to switch to the next image. |
|
extern |
Definition at line 10 of file drawingHelpers.cpp.
|
extern |
Definition at line 41 of file drawingHelpers.cpp.
|
extern |
Definition at line 42 of file drawingHelpers.cpp.
|
extern |
Definition at line 44 of file drawingHelpers.cpp.
|
extern |
Definition at line 43 of file drawingHelpers.cpp.
|
extern |
Definition at line 40 of file drawingHelpers.cpp.
Definition at line 21 of file drawingHelpers.cpp.