Crate image_moments[][src]

Expand description

Efficient and compile-time checked calculations of image moments

Structs

The central moments of an image or contour which are translational invariant.

An index specified at compile time.

The normalized central moments of an image or contour which are translational and scale invariant.

An order of image moments specified at compile time.

The raw, spatial moments of an image or contour.

Traits

A generalization over different moments.

A generalization over different possible representations of points. Implementing this trait on custom structs ensure their seamless usage with this crate.

The type of floating-point number used to calculate the image moments.

An marker trait indicating a compile-time index is valid for a specific order. This trait is sealed.

An order currently supported by this crate for calculating image moments. The trait is sealed and the actual implementation details hidden from the user.