2 #include <visp/vpDisplayX.h>
3 #include <visp/vpImage.h>
17 std::cout <<
"Image size: " << I.getWidth() <<
" " << I.getHeight() << std::endl;
22 std::cout <<
"No image viewer is available..." << std::endl;
27 vpDisplay::display(I);
29 if (vpDisplay::getClick(I,
false))
33 catch(vpException e) {
34 std::cout <<
"Catch an exception: " << e << std::endl;
Class for cameras video capture for ROS cameras.
void setRectify(bool rectify)
void setCameraInfoTopic(std::string topic_name)
void open(int argc, char **argv)
class for Camera video capture for ROS middleware.
void setImageTopic(std::string topic_name)
void acquire(vpImage< unsigned char > &I)