ifw-odp
2.0.0-alpha
|
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... | |
Available transformation options. These options can be combined bit-wise to allow respective transformation options.
The following alignment modes are supported by CLIPM aligning functions.
Alignment Mode | Combinations | ||||||||
---|---|---|---|---|---|---|---|---|---|
CLIPM_ALIGN_SHIFT | 1 | 0 | 1 | 0 | 1 | 0 | 1 | X | 1 |
CLIPM_ALIGN_SCALE | 0 | 1 | 1 | 0 | 0 | 1 | 1 | X | 0 |
CLIPM_ALIGN_ROTATE | 0 | 0 | 0 | 1 | 1 | 1 | 1 | X | 0 |
CLIPM_ALIGN_FREE | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
CLIPM_ALIGN_ROBUST | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Notes: | only 2-dim | Median |
MIDAS align mode | CLIPM align mode | ||||||||
---|---|---|---|---|---|---|---|---|---|
SHIFT | CLIPM_ALIGN_SHIFT | ||||||||
UNIT | CLIPM_ALIGN_SHIFT | CLIPM_ALIGN_ROTATE | ||||||||
EQUAL | CLIPM_ALIGN_SHIFT | CLIPM_ALIGN_SCALE | CLIPM_ALIGN_ROTATE | ||||||||
FREE | CLIPM_ALIGN_FREE |
typedef unsigned int clipm_align_opt |
Alignment option type.
void clipm_align_opt_sprint_literal | ( | char * | str, |
clipm_align_opt | opt | ||
) |
Print alignment option in human-readable form into a string.
str | Output string pointer (pre-allocated), unchecked |
opt | Alignment option bitmask |
The pre-allocated output string must be at least 5*6+5+25+1=61 characters long. It is not checked for NULL.
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.