Leaper Vision Toolkit
Data Structures | Enumerations
LPVImgProcLib Module Reference

LPV Image Process Library, provides classes for various image processing operations. More...

Data Structures

interface  ILBGSubtract
 This interface provide functionalities of background subtraction for consistent or slowly changing environment. More...
 
interface  ILEdgeFilter
 This interface provide functionalities of edge extraction. More...
 
interface  ILFreqFilter
 This interface provide functionalities of filters in frequency domain. More...
 
interface  ILFreqTransform
 This interface provide functionalities of image frequency transform such as FFT, and the analysis of the frequency domain image, such as magnitude, phase and phase correlation. More...
 
interface  ILHDR
 This interface provide functionalities of High Dynamic Range Imaging(HDR). More...
 
interface  ILHistogram
 This interface provide functionalities of histogram calculation out of image. More...
 
interface  ILImageCompare
 This interface provide functionalities of image comparison on pixel level. More...
 
interface  ILImageConvert
 This interface provide functionalities of image conversion between different color spaces or formats. More...
 
interface  ILImageFilter
 This interface provide functionalities of various image filtering operations. More...
 
interface  ILImageMorph
 This interface provide functionalities of morphology operations. More...
 
interface  ILImageOp
 This interface provide functionalities of basic and advanced image operations, such as resizing, rotation, arithmetic, blending, tiling, etc. More...
 
interface  ILImageStats
 This interface provide functionalities of statistics operations. More...
 
interface  ILImageThreshold
 This interface provide functionalities of threshold operations. More...
 
class  LBGSubtract
 
class  LEdgeFilter
 
class  LFreqFilter
 
class  LFreqTransform
 
class  LHDR
 
class  LHistogram
 
class  LImageCompare
 
class  LImageConvert
 
class  LImageFilter
 
class  LImageMorph
 
class  LImageOp
 
class  LImageStats
 
class  LImageThreshold
 

Enumerations

enum  LPVDCTermMode { LPVFreqDCCenter = 0 , LPVFreqDCEdge = 1 }
 This enumeration represents the position of the direct current (DC) component, aka. the zero frequency, in a frequency domain image. The value is aligned with the one used by the frequency processing engine. More...
 
enum  LPVEdgePreserveFilter { LPVEPFFastGuided = 0 , LPVEPFWeightedLS = 1 , LPVEPFL0Smooth = 2 }
 This enumeration represents the method for edge-preserving filter, useful for edge extraction, texture removal before segmentation.
Since 2.17.0. More...
 
enum  LPVWindowFunction {
  LPVWindowNone = 0 , LPVWindowHamming = 1 , LPVWindowHann = 2 , LPVWindowBlackman = 3 ,
  LPVWindowFlattop = 4 , LPVWindowKaiser = 5
}
 This enumeration represents the window function applied to the input image before a frequency transform. The window function reduces the spectral leakage caused by the image border truncation. The value is aligned with the one used by the frequency processing engine. More...
 

Detailed Description

LPV Image Process Library, provides classes for various image processing operations.

This library provides classes for image processing. To include the definitions of the library's classes, use the following directive:

Example Code

Enumeration Type Documentation

◆ LPVDCTermMode

This enumeration represents the position of the direct current (DC) component, aka. the zero frequency, in a frequency domain image. The value is aligned with the one used by the frequency processing engine.

Since
2.24.0
Enumerator
LPVFreqDCCenter 

The DC component is located at the center of the frequency image, it's easier to observe the spectrum.

LPVFreqDCEdge 

The DC component is located at the left-top corner of the frequency image, it's the natural layout of a discrete Fourier transform.

◆ LPVEdgePreserveFilter

This enumeration represents the method for edge-preserving filter, useful for edge extraction, texture removal before segmentation.
Since 2.17.0.

Enumerator
LPVEPFFastGuided 

Fast guided filter, which speed up guided filter with almost no visible degradation.
It may use a reference image to provide additional edge information. It may produce halo artifacts near strong textures.
It is very fast, linear-time in image size, but may not smooth large low-contrast textures as aggressively as the other methods.

LPVEPFWeightedLS 

Edge-preserving smoothing operator based on the weighted least squares optimization framework.
It produces very smooth flat regions while preserving strong edges, works very well for base-detail decomposition. It usually has no halo artifacts.
But it's much slower than the other methods and use more memory.

LPVEPFL0Smooth 

Edge-preserving smoothing operator effectively forces most gradients to zero.
It usually produces cartoon-like, piecewise-constant images. No halo artifacts are introduced.
It's slower than LPVEPFFastGuided, faster than LPVEPFWeightedLS.

◆ LPVWindowFunction

This enumeration represents the window function applied to the input image before a frequency transform. The window function reduces the spectral leakage caused by the image border truncation. The value is aligned with the one used by the frequency processing engine.

Since
2.24.0
Enumerator
LPVWindowNone 

No window function is applied.

LPVWindowHamming 

Hamming window, a raised cosine window that reaches \( 0.08 \) at the borders.

LPVWindowHann 

Hann window, a raised cosine window that reaches zero at the borders.

LPVWindowBlackman 

Blackman window, it has a lower side lobe than Hamming and Hann window, at the cost of a wider main lobe.

LPVWindowFlattop 

Flat top window, it has the lowest amplitude error but the widest main lobe.

LPVWindowKaiser 

Kaiser window, its shape is controlled by ShapeFactor.