Ask Your Question
0

publish camera_info and undistort image

asked 2021-04-07 09:59:27 -0500

elgarbe gravatar image

updated 2021-04-07 10:03:29 -0500

Hi, I'm using a node on en jetson nano running melodic, that publish Image topics. I will calibrate the camera with cameracalibration.py in order to get calibration yaml file. Then I will need to undistort (rectifie?) the image using data from yaml file. Is there a package, node, tool that read a yaml file, subscribe to image topic and publish camera_info and undistorted images?

Thank

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-04-07 10:35:08 -0500

Take a look at image_proc it should be able to handle exactly your problem.

edit flag offensive delete link more

Comments

ok, that's a middle point becouse it needs a camera_info message. So, I need a package/node that reads yaml calibration file and publish a camera_info. do you know any?

elgarbe gravatar image elgarbe  ( 2021-04-07 15:03:42 -0500 )edit

Unfortunately i don't, but writing a node yourself does not seem to complicated. Take a look at this for reference

Tristan9497 gravatar image Tristan9497  ( 2021-04-07 15:20:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-04-07 09:59:27 -0500

Seen: 12 times

Last updated: Apr 07