Trait image_moments::Moments[][src]

pub trait Moments<T: Scalar, const ORDER: usize> {
    fn get<const I: usize, const J: usize>(&self) -> T
    where
        Index<I, J>: SupportedIndex<ORDER>
; }
Expand description

A generalization over different moments.

Required methods

Get the moment at a specific position checked at compile time.

Implementors