Description of task
Would be nice to process the received sonar images from the gstreamer stream before visualizing them.
The incoming images are grayscale uint8, but we should convert the grayscale to a colormap image. Stonefish does this by writing the pixel uint8 value directly to the red channel of an rgb image.
We should also add the overlay to the sonar image in the GUI, to display the distance to objects in the image.
Suggested Workflow
No response
Specifications
No response
Contacts
@fnilsen1
Code Quality
Description of task
Would be nice to process the received sonar images from the gstreamer stream before visualizing them.
The incoming images are grayscale uint8, but we should convert the grayscale to a colormap image. Stonefish does this by writing the pixel uint8 value directly to the red channel of an rgb image.
We should also add the overlay to the sonar image in the GUI, to display the distance to objects in the image.
Suggested Workflow
No response
Specifications
No response
Contacts
@fnilsen1
Code Quality