VCLib Documentation  6.12.2

Moments

Data Structures

struct  BITN
 (FLib: Multi-Precision Arithmetic Number) More...
 
struct  moment
 Centralized Moments. More...
 

Macros

#define MAXPREC   5
 

Detailed Description

moments_anders.png

For binary images it is possible to describe the shape and orientation of objects by a concept called "moments". Some of the moments have a physical interpretation, like the center of gravity, the moment and the principal axis of inertia.


Data Structure Documentation

◆ BITN

struct BITN

Further Documentation in Flib.

Data Fields
I32 precision

Precision of the Number.

U32 v[MAXPREC]

Number Data.

◆ moment

struct moment

Not necessary to be used directly.

Data Fields
BITN mu00

order 0

BITN mu10

order 1

BITN mu01

order 1

BITN mu20

order 2

BITN mu11

order 2

BITN mu02

order 2

BITN mu30

order 3

BITN mu21

order 3

BITN mu12

order 3

BITN mu03

order 3

Macro Definition Documentation

◆ MAXPREC

#define MAXPREC   5

Maximum Number of Words for Multi-Precision Arithmetic Number.