Module imgproc_rs::util[][src]

A module for image utility functions

Modules

constants

A module for useful image constants

enums

A module for image enums

math

A module for utility math functions

Functions

create_lookup_table

Populates table with the appropriate values based on function f

generate_histogram_percentiles

A helper function for histogram equalization

generate_xyz_tristimulus_vals

Returns a tuple representing the XYZ tristimulus values for a given reference white value

image_f64_to_u8

Converts an Image<f64> to an Image<u8>

image_f64_to_u8_scale

Converts an Image<f64> with channels in range 0 to scale to an Image<u8> with channels in range 0 to 255

image_u8_to_f64

Converts an Image<u8> to an Image<f64>

image_u8_to_f64_scale

Converts an Image<u8> to with channels in range 0 to 255 to an Image<f64> with channels in range 0 to scale

is_grayscale

Returns true if an image is a grayscale image

lab_to_xyz_fn

A helper function for the colorspace conversion from CIELAB to CIE XYZ

xyz_to_lab_fn

A helper function for the colorspace conversion from CIE XYZ to CIELAB