18 #include <sensor_msgs/Image.h> 19 #include <halconcpp/HalconCpp.h> 27 std::runtime_error(description) {
54 sensor_msgs::ImagePtr toImageMsg()
const;
62 void toImageMsg(sensor_msgs::Image& ros_image)
const;
72 HalconImagePtr
toHalconCopy(
const sensor_msgs::ImageConstPtr& source);
80 HalconImagePtr
toHalconCopy(
const sensor_msgs::Image& source);
Exception(const std::string &description)
Image message class that is interoperable with sensor_msgs/Image but uses a HImage representation for...
HalconImagePtr toHalconCopy(const sensor_msgs::ImageConstPtr &source)
Convert a sensor_msgs::Image message to a Halcon-compatible HImage, copying the image data...
boost::shared_ptr< HalconImage > HalconImagePtr
HalconCpp::HImage * image