Do more. Code less. Free software for GPU computing.
<scroll to top>

Region Properties

Image Properties

Measure properties of labeled image regions. More...

Device pointer interface: Labeled Image Region Properties

Parameters:
[out]outDevice-side output properties vector
[in]nyNumber of rows in input image
[in]nxNumber of cols in input image
[in]LInput labeld image (output of regions)
[in]optProperty id {0:Area,2:Centroid,16:Orientation,27:AxisLenghts}
[in]nregionsNumber of unique labeled regions
Note:
output properties are in vector form, one entry for each region.
'Orientation' and 'AxisLenghts' return a vector of size 2xnregions.
'AxisLenghts' computes major and minor moment axis lenghts for each region.

afError af_regionprops_S (float *out, unsigned ny, unsigned nx, float *L, int opt, unsigned nregions)
 Labeled Image Region Properties.

Detailed Description

Measure properties of labeled image regions.


Function Documentation

afError af_regionprops_S ( float *  out,
unsigned  ny,
unsigned  nx,
float *  L,
int  opt,
unsigned  nregions 
)

Labeled Image Region Properties.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines