Measure properties of labeled image regions.
More...
Device pointer interface: Labeled Image Region Properties |
- Parameters:
-
[out] | out | Device-side output properties vector |
[in] | ny | Number of rows in input image |
[in] | nx | Number of cols in input image |
[in] | L | Input labeld image (output of regions) |
[in] | opt | Property id {0:Area,2:Centroid,16:Orientation,27:AxisLenghts} |
[in] | nregions | Number 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.