Skip to main content

Crate kornia_imgproc

Crate kornia_imgproc 

Source
Expand description

Image processing operations in Rust

Modules§

calibration
image undistortion module.
canny
Canny edge detection module. Canny edge detection — byte-for-byte with cv2.Canny (u8 C1, aperture 3).
clahe
contrast-limited adaptive histogram equalization (CLAHE) module. CLAHE — Contrast-Limited Adaptive Histogram Equalization.
color
color transformations module. Color space conversion utilities
connected_components
connected-component labeling module. Connected-component labeling — label-exact with OpenCV’s SAUF algorithm (cv2.connectedComponentsWithAlgorithm(..., cv2.CCL_WU)).
contours
contours Contour finding implementation based on Suzuki and Abe (1985).
core
image basic operations module.
crop
image cropping module.
distance_transform
distance transform
draw
utilities to draw on images.
enhance
image enhancement module.
features
feature detection module.
filter
image filtering module. Filter operations
flip
image flipping module.
histogram
compute image histogram module.
interpolation
utilities for interpolation.
metrics
image processing metrics module.
morphology
image morphology module. Morphological operations
normalize
operations to normalize images.
optical_flow_pyr_lk
optical flow module
padding
image padding module.
parallel
module containing parallelization utilities.
preprocess
Image → model-input preprocessing (resize + pad + normalize to CHW f32).
pyramid
Pyramid operations
resize
utility functions for resizing images. Image resize — dispatcher + per-algorithm kernels.
simd
runtime CPU feature probe shared by SIMD-dispatching kernels. Runtime CPU feature snapshot shared by every SIMD-dispatching kernel.
threshold
operations to threshold images.
warp
image geometric transformations module.