Module imgproc_rs::util [−][src]
A module for image utility functions
Modules
constants | A module for useful image constants |
Functions
apply_1d_kernel | Applies a 1D kernel |
apply_2d_kernel | Applies a 2D kernel |
clamp_zero | Returns 0 if |
cubic_weighting_fn | Cubic weighting function for bicubic interpolation |
distance | Calculates the distance between two points |
gaussian_fn | Calculates the Gaussian function for G_sigma(x) |
generate_gaussian_kernel | Generates a Gaussian kernel |
generate_histogram_percentiles | A helper function for histogram equalization |
generate_log_kernel | Generates a Laplacian of Gaussian kernel |
generate_lookup_table | Populates |
generate_spatial_mat | Generates a matrix of distances relative to the center of the matrix |
generate_summed_area_table | Generates a summed-area table in the format of another |
get_2d_coords | Converts 1D vector index to 2D matrix coordinates |
lab_to_xyz_fn | A helper function for the colorspace conversion from CIELAB to CIE XYZ |
lanczos_kernel | Lanczos kernel |
max_3 | Returns the maximum of three f64 values |
max_4 | Returns the maximum of four f64 values |
min_3 | Returns the minimum of three f64 values |
min_4 | Returns the minimum of four f64 values |
rectangular_intensity_sum | Computes the sum of pixel intensities over a rectangular region with top left corner located
at |
separate_kernel | If |
sinc_norm | Normalized sinc function |
vector_mul | Returns the result of the multiplication of a square matrix by a vector |
vector_mul_mut | Returns the result of the multiplication of a square matrix by a vector in |
xyz_to_lab_fn | A helper function for the colorspace conversion from CIE XYZ to CIELAB |
xyz_tristimulus_vals | Returns a tuple representing the XYZ tristimulus values for a given reference white value |