lucasw / rviz_camera_stream

Custom rviz camera plugin that published rendered camera video stream
BSD 3-Clause "New" or "Revised" License
59 stars 45 forks source link

Make the output image match the input width and height #5

Closed lucasw closed 8 years ago

lucasw commented 8 years ago

The quick way to do this is to clip the image as necessary to make the aspect ratio right, then resize to desired width and height.

Later replace the render panel with ogre render to texture which would be fixed to the right width and height, and maybe there is no panel display at all, the user could have an Image rviz plugin if they want to see the output.