ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You use CV_8UC1 in normalize(). Because of this image_norm should be CV_8UC1 and image_scaled should be CV_8UC1, too. But you use image_scaled.at<float> !
A good practice is do use the Wrapper Mat_<uchar> image_scaled. Because: