Why is image_raw better than image_rect_color ?
Hi, I am using Kinetic version.
I made monocular camera calibration of Logitech c930e by using this tutorial of ROS. Afterwards, I implemented rectification as described in the document of image_proc. When I compare image_raw
and image_rect_color
, image_raw
provides desired/rectified image (see the comparison image
link below). Actual raw image is provided from image_rect_color
. As I know, imagerectcolor must be the rectified and desired result. All in all, I am confused about this issue and need an explanation. What am I doing wrong ?
Comparison Image: https://drive.google.com/open?id=1eSQnJIIkmC9UVi04YxrQ6lpEiptPpPSV
Asked by earcz on 2018-07-21 17:19:37 UTC
Comments
I've increased your karma so that you should be able to post images. Can you upload your comparison images?
Asked by ahendrix on 2018-07-21 22:51:12 UTC
Thank you for your interest but I still cannot upload image. So, I dropped google drive link to comparison image in the question.
Asked by earcz on 2018-07-22 04:23:28 UTC
Please insert your image directly into the question. If you're having trouble can you please let us know so that we can help you
Asked by jayess on 2018-07-22 12:25:54 UTC
I still cannot upload image into my question. I don't know why. This issue should be fixed, because my actual problem needs an answer. Because of this image inserting problem, unfortunately my problem became worthless. Yet, comparison image can be seen via this link.
Asked by earcz on 2018-07-23 05:40:15 UTC
Can you put the rosrun or roslaunch commands and the body of any custom launch file you are using into the question?
Asked by lucasw on 2018-07-23 10:46:04 UTC
@earcz the reason why you can't upload the image is because it's of a type that the site doesn't allow (webp). I was given an error, weren't you?
Asked by jayess on 2018-07-23 11:06:24 UTC
@lucasw, I did not understand what you said. By the way, I am not using any custom launch file. @jayess, Yes , I think you are right.
Asked by earcz on 2018-07-23 15:16:46 UTC
@earcz can you please redo the screen shot with an allowed extension (e.g., jpeg, png) and attach it directly to the question? That way the question is and will be self-contained (files disappear from the internet all the time)
Asked by jayess on 2018-07-23 16:01:14 UTC
@earcz what do you type into a terminal to launch the camera and image_proc?
Asked by lucasw on 2018-07-23 16:27:24 UTC
@lucasw what I am typing:
export GSCAM_CONFIG="v4l2src device=/dev/video0 ! video/x-raw-rgb,framerate=30/1 ! ffmpegcolorspace"
rosrun gscam gscam
ROS_NAMESPACE=camera rosrun image_proc image_proc
rosrun image_view image_view image:=camera/image_rect_color
Asked by earcz on 2018-07-23 18:10:25 UTC
@lucasw Although I did not change anything, my problem is fixed. But I don't know how and why.
Asked by earcz on 2018-07-23 18:42:46 UTC