usage: AimsMeshWatershed.py [-h] [--basins_size BASINS_SIZE]
                            [--basins_depth BASINS_DEPTH] [--mode MODE]
                            [--threshold THRESHOLD]
                            normedprofile whitemesh basins

-------------------------------------------------------------------
Compute  the ROIs from the watershed algorithm.
Select the ROIs according to two main criteria: their size and
their depth.
Generate a reduced profile by basins.
-------------------------------------------------------------------

positional arguments:
  normedprofile         input normed connectivity profile
  whitemesh             input white mesh
  basins                output basins segmentation

options:
  -h, --help            show this help message and exit
  --basins_size BASINS_SIZE
                        size criteria to regroup smallest parcels
  --basins_depth BASINS_DEPTH
                        depth criteria to regroup parcels
  --mode MODE           mode of merging : mode = 'and': merge done if
                        parcel_size < k_size and parcel_depth < k_depth mode =
                        'or' idem with or operator : more merges
  --threshold THRESHOLD
                        threshold on the input texture intensities
