ifw-odp  2.0.0-alpha
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions | Variables
Alignment Options

Available transformation options. These options can be combined bit-wise to allow respective transformation options. More...

Typedefs

typedef unsigned int clipm_align_opt
 Alignment option type. More...
 

Functions

void clipm_align_opt_sprint_literal (char *str, clipm_align_opt opt)
 Print alignment option in human-readable form into a string. More...
 

Variables

const clipm_align_opt CLIPM_ALIGN_SHIFT
 Shifting allowed. More...
 
const clipm_align_opt CLIPM_ALIGN_SCALE
 Scaling allowed. More...
 
const clipm_align_opt CLIPM_ALIGN_ROTATE
 Rotation allowed. More...
 
const clipm_align_opt CLIPM_ALIGN_FREE
 All parameters are free. More...
 
const clipm_align_opt CLIPM_ALIGN_ROBUST
 Robust computation, ignore outliers. More...
 

Detailed Description

Available transformation options. These options can be combined bit-wise to allow respective transformation options.

Supported Alignment Modes:

The following alignment modes are supported by CLIPM aligning functions.

Compatibility:
Note

Typedef Documentation

typedef unsigned int clipm_align_opt

Alignment option type.

Function Documentation

void clipm_align_opt_sprint_literal ( char *  str,
clipm_align_opt  opt 
)

Print alignment option in human-readable form into a string.

Parameters
strOutput string pointer (pre-allocated), unchecked
optAlignment option bitmask
Returns
Nothing

The pre-allocated output string must be at least 5*6+5+25+1=61 characters long. It is not checked for NULL.

Error Handling:
None.

Variable Documentation

const clipm_align_opt CLIPM_ALIGN_FREE

All parameters are free.

Distortion/shearing is also allowed. CLIPM_ALIGN_SHIFT, CLIPM_ALIGN_SCALE, and CLIPM_ALIGN_ROTATE are overridden.

const clipm_align_opt CLIPM_ALIGN_ROBUST

Robust computation, ignore outliers.

Outliers are determined and ignored. This is so far only implemented for the mode CLIPM_ALIGN_SHIFT, where it means the median translation.

const clipm_align_opt CLIPM_ALIGN_ROTATE

Rotation allowed.

For the two-dimensional case, the rotation will be determined, i.e. the transformation matrix will be a (evt. scaled) rotation matrix. Other numbers of dimensions are not implemented yet.

const clipm_align_opt CLIPM_ALIGN_SCALE

Scaling allowed.

Scaling is allowed as part of the transformation.

const clipm_align_opt CLIPM_ALIGN_SHIFT

Shifting allowed.

Shifting is allowed as part of the transformation.