[−][src]Trait imageproc::integral_image::ArrayData
Hack to get around lack of const generics. See comment on sum_image_pixels
.
Associated Types
type DataType
The type of the data for this array.
e.g. [T; 1]
for Luma
, [T; 3]
for Rgb
.
Required methods
fn data(&self) -> Self::DataType
Get the data from this pixel as a constant length array.
fn add(lhs: Self::DataType, other: Self::DataType) -> Self::DataType
Add the elements of two data arrays elementwise.
fn sub(lhs: Self::DataType, other: Self::DataType) -> Self::DataType
Subtract the elements of two data arrays elementwise.