apl-ocean-engineering / sonar_image_proc

Other
12 stars 3 forks source link

Using Sonar Metadata in FOV/Pointcloud Scripts -Ver2 #35

Closed micat001 closed 1 year ago

micat001 commented 1 year ago

Marc botched the first integration when trying to update to incorporate changes to main. Instead of fixing that mess, let's just start over. All comments from https://github.com/apl-ocean-engineering/sonar_image_proc/pull/33 still apply.

Change Overview

Biggest change is adding the sonar_msg_metadata class to unify how we access metadata across the FOV and point cloud scripts.

Other changes:

Scaling Stuff

Here's a visualization of the first 1000 points of the sonar_msg and the different scaling methods.

The "clipped" line is what we are currently using: image

PC Visualization

With no thresholding

image

With thresholding (only positive values)

image

With thresholding (only values > 0.1)

image