PANDORE Version 6 |
GREYC-IMAGE |
pvolumeselection
Selects regions from volume factor.
Synopsis
pvolumeselection relation threshold [-m mask] [rg_in|-] [rg_out|-]
Description
pvolumeselection selects regions from their volume.
The parameter relation specifies the order relation to
the threshold value that is used to select or not a region.
The volume is calculated from the number of voxels included in the
region and on the boundary.
Parameters
- relation is an integer from [-3,3] which specifies
the order relation to the threshold value:
- relation = 3: regions with the maximum value.
- relation = 2: regions >= threshold.
- relation = 1: regions > threshold.
- relation = 0: regions = threshold.
- relation = -1: regions < threshold.
- relation = -2: regions <= threshold.
- relation = -3: regions with the minimum value.
- threshold is an integer defined in voxel unit.
Inputs
Outputs
Result
Returns the number of selected regions.
See also
Region
Examples
Selects regions with a volume = 50 voxels.
pvolumeselection 0 50 reg1.pan reg2.pan
C++ prototype
Errc PVolumeSelection( const Reg3d &rg_in, Reg2d &rg_out, int relation, Ulong threshold );
Version française
Sélection de régions sur leur valeur de volume.
Author: Régis Clouard