oa::image::Image
Dense pixels with explicit axis-order and channel-order semantics. Image composes a Matrix instead of erasing its numeric dtype and storage behavior. Construction validates all metadata once; the matrix is thereafter exposed immutably so the image contract cannot be invalidated.
Declaration
pub struct Image { /* private fields */ }Public Rust declaration.
Public Methods
pub fn resize( &self, target_width: u32, target_height: u32, interpolation: InterpolationMode, ) -> Result<Self>pub fn pad( &self, left: u32, right: u32, top: u32, bottom: u32, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn remap( &self, map: &Matrix, interpolation: InterpolationMode, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn warp_affine( &self, transform: &Matrix, width: u32, height: u32, interpolation: InterpolationMode, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn warp_perspective( &self, transform: &Matrix, width: u32, height: u32, interpolation: InterpolationMode, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn salt_pepper_noise( &self, probability: f32, salt_value: f32, pepper_value: f32, seed: u64, ) -> Result<Self>pub fn convolve_2d( &self, kernel: &Matrix, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn separable_convolve_2d( &self, kernel_x: &Matrix, kernel_y: &Matrix, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn erode( &self, width: u32, height: u32, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn dilate( &self, width: u32, height: u32, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn morphology_open( &self, width: u32, height: u32, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn morphology_close( &self, width: u32, height: u32, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn morphology_gradient( &self, width: u32, height: u32, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn bilateral_filter( &self, kernel_size: u32, sigma_color: f32, sigma_space: f32, border: BorderMode, ) -> Result<Self>pub fn morphology_top_hat( &self, width: u32, height: u32, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn morphology_black_hat( &self, width: u32, height: u32, border: BorderMode, border_value: f32, ) -> Result<Self>pub fn adaptive_threshold_mean( &self, kernel_size: u32, c: f32, max_value: f32, border: BorderMode, ) -> Result<Self>pub fn adaptive_threshold_gaussian( &self, kernel_size: u32, c: f32, max_value: f32, sigma: f32, border: BorderMode, ) -> Result<Self>Associated Functions
Public Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.