Visual Servoing Platform
version 3.6.1 under development (2024-04-27)
|
Functions | |
void | init (vpImage< unsigned char > &Iinput, vpImage< unsigned char > &IcannyVisp, vpImage< unsigned char > *p_dIx, vpImage< unsigned char > *p_dIy, vpImage< unsigned char > *p_IcannyimgFilter) |
void | display (vpImage< unsigned char > &I, const std::string &title) |
bool | waitForClick (const vpImage< unsigned char > &I, const bool &blockingMode) |
bool | display (vpImage< vpRGBa > &I, const std::string &title, const bool &blockingMode) |
bool | display (vpImage< unsigned char > &I, const std::string &title, const bool &blockingMode) |
bool | display (vpImage< double > &D, const std::string &title, const bool &blockingMode) |
Variables | |
vpDisplayX | d_Iinput |
vpDisplayX | d_dIx |
vpDisplayX | d_dIy |
vpDisplayX | d_IcannyVisp |
vpDisplayX | d_IcannyImgFilter |
vpDisplayX | d |
vpImage< vpRGBa > | I_disp |
bool drawingHelpers::display | ( | vpImage< double > & | D, |
const std::string & | title, | ||
const bool & | blockingMode | ||
) |
Definition at line 53 of file drawingHelpers.cpp.
References vpImageConvert::convert(), and display().
void drawingHelpers::display | ( | 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. |
Definition at line 91 of file drawingHelpers.cpp.
References vpDisplay::display(), vpDisplay::flush(), and vpDisplay::setTitle().
Referenced by display().
bool drawingHelpers::display | ( | vpImage< unsigned char > & | I, |
const std::string & | title, | ||
const bool & | blockingMode | ||
) |
Definition at line 46 of file drawingHelpers.cpp.
References vpImageConvert::convert(), and display().
bool drawingHelpers::display | ( | vpImage< vpRGBa > & | I, |
const std::string & | title, | ||
const bool & | blockingMode | ||
) |
Definition at line 19 of file drawingHelpers.cpp.
References vpMouseButton::button3, vpDisplay::display(), vpDisplay::displayText(), vpDisplay::flush(), vpDisplay::getClick(), I_disp, vpDisplayX::init(), vpDisplay::isInitialised(), vpColor::red, and vpDisplay::setTitle().
void drawingHelpers::init | ( | vpImage< unsigned char > & | Iinput, |
vpImage< unsigned char > & | IcannyVisp, | ||
vpImage< unsigned char > * | p_dIx, | ||
vpImage< unsigned char > * | p_dIy, | ||
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. |
Definition at line 67 of file drawingHelpers.cpp.
References d_dIx, d_dIy, d_IcannyImgFilter, d_IcannyVisp, d_Iinput, vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), and vpDisplayX::init().
bool drawingHelpers::waitForClick | ( | const 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. |
Definition at line 98 of file drawingHelpers.cpp.
References vpMouseButton::button3, vpDisplay::displayText(), vpDisplay::flush(), vpDisplay::getClick(), and vpColor::red.
|
extern |
Definition at line 6 of file drawingHelpers.cpp.
|
extern |
Definition at line 37 of file drawingHelpers.cpp.
Referenced by init().
|
extern |
Definition at line 38 of file drawingHelpers.cpp.
Referenced by init().
|
extern |
Definition at line 40 of file drawingHelpers.cpp.
Referenced by init().
|
extern |
Definition at line 39 of file drawingHelpers.cpp.
Referenced by init().
|
extern |
Definition at line 36 of file drawingHelpers.cpp.
Referenced by init().
Definition at line 17 of file drawingHelpers.cpp.
Referenced by display().