oarust 0.8.6

GPU-first semantic computing engine written in Rust
//! Still-image codecs and stateless image transformations.
//!
//! The semantic [`Image`] value is implemented by this domain.
//! Operations belong here once they have an operation schema, an executable
//! lowering, and an independent correctness oracle.

mod codec;
#[path = "image/color.gen.rs"]
mod color;
#[path = "image/filter.gen.rs"]
mod filter;
#[path = "image/geometric.gen.rs"]
mod geometric;
#[allow(clippy::module_inception)]
mod image;
#[path = "image/pixel.gen.rs"]
mod pixel;

pub use image::{Image, ImageFormat, ImageLayout};

pub use codec::{
	ImageCodec, can_decode, can_encode, decode_file, decode_memory, encode, save_file, save_rgba_file,
};
pub use color::{
	NormalizationParams, convert_color, normalize, resize_normalize, segmentation_overlay,
};

pub use filter::{
	adaptive_threshold_gaussian, adaptive_threshold_mean, average_blur, bilateral_filter,
	convolve_2d, dilate, erode, gaussian_blur, laplacian, median_blur, morphology_black_hat,
	morphology_close, morphology_gradient, morphology_open, morphology_top_hat, scharr,
	separable_convolve_2d, sharpen, sobel, unsharp_mask,
};

pub use geometric::{
	BorderMode, InterpolationMode, center_crop, crop, flip, pad, remap, resize, rotate, warp_affine,
	warp_perspective,
};
pub use pixel::{
	alpha_blend, brightness_contrast, channel_reorder, clamp, color_twist, composite, erase,
	gamma_contrast, gaussian_noise, grayscale, in_range, invert, posterize, salt_pepper_noise,
	solarize, threshold_binary, threshold_binary_inv, threshold_to_zero, threshold_to_zero_inv,
	threshold_truncate,
};