Struct GaussianBlurParameters
pub struct GaussianBlurParameters { /* private fields */ }
Holds analytical gaussian blur representation
Implementations
impl GaussianBlurParameters
const SMOOTHING_3: GaussianBlurParameters = _;Built-in smoothing kernel with size 3.
const SMOOTHING_5: GaussianBlurParameters = _;Built-in smoothing kernel with size 5.
const SMOOTHING_7: GaussianBlurParameters = _;Built-in smoothing kernel with size 7.
fn new_from_radius(radius: f32) -> GaussianBlurParametersCreates a new parameters set from radius only.
fn new_from_kernel_size(kernel_size: f32) -> GaussianBlurParametersCreates a new parameters set from kernel size only.
Kernel size will be rounded to nearest odd, and used with fraction to compute accurate required sigma.
fn new_anisotropic_kernel_size(x_axis_kernel_size: f32, y_axis_kernel_size: f32) -> GaussianBlurParametersCreates a new anisotropic parameter set from kernel sizes
Kernel size will be rounded to nearest odd, and used with fraction to compute accurate required sigma.
fn new_from_sigma(sigma: f32) -> GaussianBlurParametersCreates a new parameters set from sigma only
Trait Implementations
impl Clone for GaussianBlurParameters
fn clone(&self) -> Self
impl Copy for GaussianBlurParameters
impl PartialEq for GaussianBlurParameters
fn eq(&self, other: &Self) -> bool
impl PartialOrd for GaussianBlurParameters
fn partial_cmp(&self, other: &Self) -> Option<Ordering>