Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Rectified the issue by changing the line as:

cv_ptr = cv_bridge::toCvCopy(msg, sensor_msgs::image_encodings::TYPE_32FC1);