Module xphoto

Source
Expand description

§Additional photo processing algorithms

Modules§

prelude

Structs§

GrayworldWB
Gray-world white balance algorithm
LearningBasedWB
More sophisticated learning-based automatic white balance algorithm.
SimpleWB
A simple white balance algorithm that works by independently stretching each of the input image channels to the specified range. For increased robustness it ignores the top and bottom inline formula of pixel values.
TonemapDurand
This algorithm decomposes image into two layers: base layer and detail layer using bilateral filter and compresses contrast of the base layer thus preserving all the details.
WhiteBalancer
The base class for auto white balance algorithms.

Enums§

Bm3dSteps
BM3D algorithm steps
InpaintTypes
Various inpainting algorithms
TransformTypes
BM3D transform types

Constants§

BM3D_STEP1
Execute only first step of the algorithm
BM3D_STEP2
Execute only second step of the algorithm
BM3D_STEPALL
Execute all steps of the algorithm
HAAR
Un-normalized Haar transform
INPAINT_FSR_BEST
Performs Frequency Selective Reconstruction (FSR). One of the two quality profiles BEST and FAST can be chosen, depending on the time available for reconstruction. See GenserPCS2018 and SeilerTIP2015 for details.
INPAINT_FSR_FAST
See #INPAINT_FSR_BEST
INPAINT_SHIFTMAP
This algorithm searches for dominant correspondences (transformations) of image patches and tries to seamlessly fill-in the area to be inpainted using this transformations

Traits§

GrayworldWBTrait
Mutable methods for crate::xphoto::GrayworldWB
GrayworldWBTraitConst
Constant methods for crate::xphoto::GrayworldWB
LearningBasedWBTrait
Mutable methods for crate::xphoto::LearningBasedWB
LearningBasedWBTraitConst
Constant methods for crate::xphoto::LearningBasedWB
SimpleWBTrait
Mutable methods for crate::xphoto::SimpleWB
SimpleWBTraitConst
Constant methods for crate::xphoto::SimpleWB
TonemapDurandTrait
Mutable methods for crate::xphoto::TonemapDurand
TonemapDurandTraitConst
Constant methods for crate::xphoto::TonemapDurand
WhiteBalancerTrait
Mutable methods for crate::xphoto::WhiteBalancer
WhiteBalancerTraitConst
Constant methods for crate::xphoto::WhiteBalancer

Functions§

apply_channel_gains
Implements an efficient fixed-point approximation for applying channel gains, which is the last step of multiple white balance algorithms.
bm3d_denoising
Performs image denoising using the Block-Matching and 3D-filtering algorithm http://www.cs.tut.fi/~foi/GCF-BM3D/BM3D_TIP_2007.pdf with several computational optimizations. Noise expected to be a gaussian white noise.
bm3d_denoising_1
Performs image denoising using the Block-Matching and 3D-filtering algorithm http://www.cs.tut.fi/~foi/GCF-BM3D/BM3D_TIP_2007.pdf with several computational optimizations. Noise expected to be a gaussian white noise.
bm3d_denoising_1_def
Performs image denoising using the Block-Matching and 3D-filtering algorithm http://www.cs.tut.fi/~foi/GCF-BM3D/BM3D_TIP_2007.pdf with several computational optimizations. Noise expected to be a gaussian white noise.
bm3d_denoising_def
Performs image denoising using the Block-Matching and 3D-filtering algorithm http://www.cs.tut.fi/~foi/GCF-BM3D/BM3D_TIP_2007.pdf with several computational optimizations. Noise expected to be a gaussian white noise.
create_grayworld_wb
Creates an instance of GrayworldWB
create_learning_based_wb
Creates an instance of LearningBasedWB
create_learning_based_wb_def
Creates an instance of LearningBasedWB
create_simple_wb
Creates an instance of SimpleWB
create_tonemap_durand
Creates TonemapDurand object
create_tonemap_durand_def
Creates TonemapDurand object
dct_denoising
The function implements simple dct-based denoising
dct_denoising_def
The function implements simple dct-based denoising
inpaint
The function implements different single-image inpainting algorithms.
oil_painting
oilPainting See the book Holzmann1988 for details.
oil_painting_1
oilPainting See the book Holzmann1988 for details.