OSOceanAcoustics / echoregions

Interfacing water column sonar data with annotations and labels
https://echoregions.readthedocs.io/
Apache License 2.0
6 stars 6 forks source link

Directly output boolen mask from `transect_mask`? #208

Open leewujung opened 3 months ago

leewujung commented 3 months ago

Right now the transect_mask function produces masks with 0/1 integer values, which can be turned into True/False boolean masks for downstream combination with other masks.

Wouldn't it be more straightforward to directly produce masks with True/False boolean values from this function?

Or is this to maintain consistency with masks generated by the region_mask function, where the pixels in each region by default contains the integer region_id value?