PANDORE Version 6 GREYC-IMAGE

porientationselection



Selects regions from orientation degree.



Synopsis

porientationselection relation threshold [-m mask] [rg_in|-] [rg_out|-]

Description

porientationselection selects regions from their orientation. The parameter relation specifies the order relation to the threshold value that is used to select or not a region.

The orientation value is specified in degree. Is is computed from the moments:

orientation = 0.5*arctan(2*M11/(M20-M02)).

If M20=M02 the region is symmetrical and orientation is every degree.

Parameters

Inputs

Outputs

Result

Returns the number of selected regions.

Examples

Selects exactly vertical regions from the region map a.pan:

   porientationselection 0 90 a.pan b.pan

See also

Region

C++ prototype

Errc POrientationSelection( const Reg2d &rg_in, Reg2d &rg_out, int relation, Ushort threshold );

Version française

Sélection de régions sur leur valeur d'orientation.


Author: Régis Clouard