Skip to content

[TASK] Sonar image overlay and color map conversion #5

Description

@jorgenfj

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

  • Every function in header files are documented (inputs/returns/exceptions)
  • The project has automated tests that cover MOST of the functions and branches in functions (pytest/gtest)
  • The code is documented on the wiki (provide link)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions