Skip to content

FiltersπŸ”—

On this topicπŸ”—

ArithmeticπŸ”—

abs_diff_imageAbsDiffImage: Calculate the absolute difference of two images.

abs_imageAbsImage: Calculate the absolute value (modulus) of an image.

acos_imageAcosImage: Calculate the arccosine of an image.

add_imageAddImage: Add two images.

asin_imageAsinImage: Calculate the arcsine of an image.

atan2_imageAtan2Image: Calculate the arctangent of two images.

atan_imageAtanImage: Calculate the arctangent of an image.

cos_imageCosImage: Calculate the cosine of an image.

div_imageDivImage: Divide two images.

exp_imageExpImage: Calculate the exponentiation of an image.

gamma_imageGammaImage: Perform a gamma encoding or decoding of an image.

invert_imageInvertImage: Invert an image.

log_imageLogImage: Calculate the logarithm of an image.

max_imageMaxImage: Calculate the maximum of two images pixel by pixel.

min_imageMinImage: Calculate the minimum of two images pixel by pixel.

mult_imageMultImage: Multiply two images.

pow_imagePowImage: Raise an image to a power.

scale_imageScaleImage: Scale the gray values of an image.

sin_imageSinImage: Calculate the sine of an image.

sqrt_imageSqrtImage: Calculate the square root of an image.

sub_imageSubImage: Subtract two images.

tan_imageTanImage: Calculate the tangent of an image.

BitπŸ”—

bit_andBitAnd: Bit-by-bit AND of all pixels of the input images.

bit_lshiftBitLshift: Left shift of all pixels of the image.

bit_maskBitMask: Logical β€œAND” of each pixel using a bit mask.

bit_notBitNot: Complement all bits of the pixels.

bit_orBitOr: Bit-by-bit OR of all pixels of the input images.

bit_rshiftBitRshift: Right shift of all pixels of the image.

bit_sliceBitSlice: Extract a bit from the pixels.

bit_xorBitXor: Bit-by-bit XOR of all pixels of the input images.

ColorπŸ”—

apply_color_trans_lutApplyColorTransLut: Color space transformation using pre-generated look-up-table.

cfa_to_rgbCfaToRgb: Convert a single-channel color filter array image into an RGB image.

clear_color_trans_lutClearColorTransLut: Release the look-up-table needed for color space transformation.

create_color_trans_lutCreateColorTransLut: Creates the look-up-table for transformation of an image from the RGB color space to an arbitrary color space.

gen_canonical_variates_transGenCanonicalVariatesTrans: Compute the transformation matrix of a multichannel image using the canonical variates analysis.

gen_principal_comp_transGenPrincipalCompTrans: Compute the transformation matrix of the principal component analysis of multichannel images.

linear_trans_colorLinearTransColor: Compute an affine transformation of the color values of a multichannel image.

principal_compPrincipalComp: Compute the principal components of multichannel images.

rgb1_to_grayRgb1ToGray: Transform an RGB image into a gray scale image.

rgb3_to_grayRgb3ToGray: Transform an RGB image to a gray scale image.

trans_from_rgbTransFromRgb: Transform an image from the RGB color space to an arbitrary color space.

trans_to_rgbTransToRgb: Transform an image from an arbitrary color space to the RGB color space.

EdgesπŸ”—

close_edgesCloseEdges: Close edge gaps using the edge amplitude image.

close_edges_lengthCloseEdgesLength: Close edge gaps using the edge amplitude image.

derivate_gaussDerivateGauss: Convolve an image with derivatives of the Gaussian.

diff_of_gaussDiffOfGauss: Approximate the LoG operator (Laplace of Gaussian).

edges_colorEdgesColor: Extract color edges using Canny, Deriche, or Shen filters.

edges_color_sub_pixEdgesColorSubPix: Extract subpixel precise color edges using Deriche, Shen, or Canny filters.

edges_imageEdgesImage: Extract edges using Deriche, Lanser, Shen, or Canny filters.

edges_sub_pixEdgesSubPix: Extract sub-pixel precise edges using Deriche, Lanser, Shen, or Canny filters.

frei_ampFreiAmp: Detect edges (amplitude) using the Frei-Chen operator.

frei_dirFreiDir: Detect edges (amplitude and direction) using the Frei-Chen operator.

highpass_imageHighpassImage: Extract high frequency components from an image.

info_edgesInfoEdges: Return the filter coefficients of a filter in edges_imageEdgesImage.

kirsch_ampKirschAmp: Detect edges (amplitude) using the Kirsch operator.

kirsch_dirKirschDir: Detect edges (amplitude and direction) using the Kirsch operator.

laplaceLaplace: Calculate the Laplace operator by using finite differences.

laplace_of_gaussLaplaceOfGauss: LoG-Operator (Laplace of Gaussian).

prewitt_ampPrewittAmp: Detect edges (amplitude) using the Prewitt operator.

prewitt_dirPrewittDir: Detect edges (amplitude and direction) using the Prewitt operator.

robertsRoberts: Detect edges using the Roberts filter.

robinson_ampRobinsonAmp: Detect edges (amplitude) using the Robinson operator.

robinson_dirRobinsonDir: Detect edges (amplitude and direction) using the Robinson operator.

sobel_ampSobelAmp: Detect edges (amplitude) using the Sobel operator.

sobel_dirSobelDir: Detect edges (amplitude and direction) using the Sobel operator.

EnhancementπŸ”—

coherence_enhancing_diffCoherenceEnhancingDiff: Perform a coherence enhancing diffusion of an image.

emphasizeEmphasize: Enhance contrast of the image.

equ_histo_imageEquHistoImage: Histogram linearization of images

equ_histo_image_rectEquHistoImageRect: Histogram linearization within a rectangluar mask.

illuminateIlluminate: Illuminate image.

mean_curvature_flowMeanCurvatureFlow: Apply the mean curvature flow to an image.

scale_image_maxScaleImageMax: Maximum gray value spreading in the value range 00 to 255255.

shock_filterShockFilter: Apply a shock filter to an image.

FFTπŸ”—

convol_fftConvolFft: Multiply an image with a filter image in the frequency domain.

convol_gaborConvolGabor: Convolve an image with a Gabor filter in the frequency domain.

correlation_fftCorrelationFft: Multiply one image with the complex conjugate of another image in the frequency domain.

deserialize_fft_optimization_dataDeserializeFftOptimizationData: Deserialize FFT speed optimization data.

energy_gaborEnergyGabor: Calculate the energy of a two-channel image.

fft_genericFftGeneric: Compute the fast Fourier transform of an image.

fft_imageFftImage: Compute the fast Fourier transform of an image.

fft_image_invFftImageInv: Compute the inverse fast Fourier transform of an image.

gen_bandfilterGenBandfilter: Generate an ideal band filter.

gen_bandpassGenBandpass: Generate an ideal bandpass filter.

gen_derivative_filterGenDerivativeFilter: Generate a derivative filter in the frequency domain.

gen_filter_maskGenFilterMask: Store a filter mask in the spatial domain as a real-image.

gen_gaborGenGabor: Generate a Gabor filter.

gen_gauss_filterGenGaussFilter: Generate a Gaussian filter in the frequency domain.

gen_highpassGenHighpass: Generate an ideal highpass filter.

gen_lowpassGenLowpass: Generate an ideal lowpass filter.

gen_mean_filterGenMeanFilter: Generate a mean filter in the frequency domain.

gen_sin_bandpassGenSinBandpass: Generate a bandpass filter with sinusoidal shape.

gen_std_bandpassGenStdBandpass: Generate a bandpass filter with Gaussian or sinusoidal shape.

optimize_fft_speedOptimizeFftSpeed: Optimize the runtime of the FFT.

optimize_rft_speedOptimizeRftSpeed: Optimize the runtime of the real-valued FFT.

phase_correlation_fftPhaseCorrelationFft: Compute the phase correlation of two images in the frequency domain.

phase_degPhaseDeg: Return the phase of a complex image in degrees.

phase_radPhaseRad: Return the phase of a complex image in radians.

power_bytePowerByte: Return the power spectrum of a complex image.

power_lnPowerLn: Return the power spectrum of a complex image.

power_realPowerReal: Return the power spectrum of a complex image.

read_fft_optimization_dataReadFftOptimizationData: Load FFT speed optimization data from a file.

rft_genericRftGeneric: Compute the real-valued fast Fourier transform of an image.

serialize_fft_optimization_dataSerializeFftOptimizationData: Serialize FFT speed optimization data.

write_fft_optimization_dataWriteFftOptimizationData: Store FFT speed optimization data in a file.

Geometric TransformationsπŸ”—

affine_trans_imageAffineTransImage: Apply an arbitrary affine 2D transformation to images.

affine_trans_image_sizeAffineTransImageSize: Apply an arbitrary affine 2D transformation to an image and specify the output image size.

convert_map_typeConvertMapType: Convert image maps into other map types.

map_imageMapImage: Apply a general transformation to an image.

mirror_imageMirrorImage: Mirror an image.

polar_trans_image_extPolarTransImageExt: Transform an annular arc in an image to polar coordinates.

polar_trans_image_invPolarTransImageInv: Transform an image in polar coordinates back to Cartesian coordinates

projective_trans_imageProjectiveTransImage: Apply a projective transformation to an image.

projective_trans_image_sizeProjectiveTransImageSize: Apply a projective transformation to an image and specify the output image size.

rotate_imageRotateImage: Rotate an image about its center.

zoom_image_factorZoomImageFactor: Zoom an image by a given factor.

zoom_image_sizeZoomImageSize: Zoom an image to a given size.

InpaintingπŸ”—

harmonic_interpolationHarmonicInterpolation: Perform a harmonic interpolation on an image region.

inpainting_anisoInpaintingAniso: Perform an inpainting by anisotropic diffusion.

inpainting_cedInpaintingCed: Perform an inpainting by coherence enhancing diffusion.

inpainting_ctInpaintingCt: Perform an inpainting by coherence transport.

inpainting_mcfInpaintingMcf: Perform an inpainting by smoothing of level lines.

inpainting_textureInpaintingTexture: Perform an inpainting by texture propagation.

LinesπŸ”—

bandpass_imageBandpassImage: Edge extraction using bandpass filters.

lines_colorLinesColor: Detect color lines and their width.

lines_facetLinesFacet: Detection of lines using the facet model.

lines_gaussLinesGauss: Detect lines and their width.

MatchπŸ”—

exhaustive_matchExhaustiveMatch: Matching of a template and an image.

exhaustive_match_mgExhaustiveMatchMg: Matching a template and an image in a resolution pyramid.

gen_gauss_pyramidGenGaussPyramid: Calculating a Gauss pyramid.

monotonyMonotony: Calculating the monotony operation.

MiscπŸ”—

convol_channelsConvolChannels: Perform a convolution along the channel dimension.

convol_imageConvolImage: Calculate the correlation between an image and an arbitrary filter mask

deviation_nDeviationN: Calculate standard deviation over several channels.

expand_domain_grayExpandDomainGray: Expand the domain of an image and set the gray values in the expanded domain.

gen_savitzky_golay_filterGenSavitzkyGolayFilter: Compute the filter coefficients of a Savitzky-Golay filter.

gray_insideGrayInside: Calculate the lowest possible gray value on an arbitrary path to the image border for each point in the image.

gray_skeletonGraySkeleton: Thinning of gray value images.

lut_transLutTrans: Transform an image with a gray-value look-up-table

symmetrySymmetry: Symmetry of gray values along a row.

topographic_sketchTopographicSketch: Compute the topographic primal sketch of an image.

NoiseπŸ”—

add_noise_distributionAddNoiseDistribution: Add noise to an image.

add_noise_whiteAddNoiseWhite: Add noise to an image.

gauss_distributionGaussDistribution: Generate a Gaussian noise distribution.

noise_distribution_meanNoiseDistributionMean: Determine the noise distribution of an image.

sp_distributionSpDistribution: Generate a salt-and-pepper noise distribution.

Optical FlowπŸ”—

derivate_vector_fieldDerivateVectorField: Convolve a vector field with derivatives of the Gaussian.

optical_flow_mgOpticalFlowMg: Compute the optical flow between two images.

unwarp_image_vector_fieldUnwarpImageVectorField: Unwarp an image using a vector field.

vector_field_lengthVectorFieldLength: Compute the length of the vectors of a vector field.

PointsπŸ”—

corner_responseCornerResponse: Searching corners in images.

dots_imageDotsImage: Enhance circular dots in an image.

points_foerstnerPointsFoerstner: Detect points of interest using the FΓΆrstner operator.

points_harrisPointsHarris: Detect points of interest using the Harris operator.

points_harris_binomialPointsHarrisBinomial: Detect points of interest using the binomial approximation of the Harris operator.

points_lepetitPointsLepetit: Detect points of interest using the Lepetit operator.

points_sojkaPointsSojka: Find corners using the Sojka operator.

Scene FlowπŸ”—

scene_flow_calibSceneFlowCalib: Compute the calibrated scene flow between two stereo image pairs.

scene_flow_uncalibSceneFlowUncalib: Compute the uncalibrated scene flow between two stereo image pairs.

SmoothingπŸ”—

anisotropic_diffusionAnisotropicDiffusion: Perform an anisotropic diffusion of an image.

bilateral_filterBilateralFilter: bilateral filtering of an image.

binomial_filterBinomialFilter: Smooth an image using the binomial filter.

eliminate_min_maxEliminateMinMax: Smooth an image in the spatial domain to suppress noise.

eliminate_spEliminateSp: Replace values outside of thresholds with average value.

fill_interlaceFillInterlace: Interpolate 2 video half images.

gauss_filterGaussFilter: Smooth using discrete Gauss functions.

guided_filterGuidedFilter: Guided filtering of an image.

info_smoothInfoSmooth: Information on smoothing filter smooth_imageSmoothImage.

isotropic_diffusionIsotropicDiffusion: Perform an isotropic diffusion of an image.

mean_imageMeanImage: Smooth by averaging.

mean_image_shapeMeanImageShape: Smooth image using a mean filter with arbitrary mask.

mean_nMeanN: Average gray values over several channels.

mean_spMeanSp: Suppress salt and pepper noise.

median_imageMedianImage: Compute a median filter with various masks.

median_rectMedianRect: Compute a median filter with rectangular masks.

median_separateMedianSeparate: Separated median filtering with rectangle masks.

median_weightedMedianWeighted: Weighted median filtering with different rank masks.

midrange_imageMidrangeImage: Calculate the average of maximum and minimum inside any mask.

rank_imageRankImage: Compute a rank filter with arbitrary masks.

rank_nRankN: Return gray values with given rank from multiple channels.

rank_rectRankRect: Compute a rank filter with rectangular masks.

sigma_imageSigmaImage: Non-linear smoothing with the sigma filter.

smooth_imageSmoothImage: Smooth an image using various filters.

trimmed_meanTrimmedMean: Smooth an image with an arbitrary rank mask.

TextureπŸ”—

deviation_imageDeviationImage: Calculate the standard deviation of gray values within rectangular windows.

entropy_imageEntropyImage: Calculate the entropy of gray values within a rectangular window.

texture_lawsTextureLaws: Filter an image using a Laws texture filter.

Wiener FilterπŸ”—

gen_psf_defocusGenPsfDefocus: Generate an impulse response of an uniform out-of-focus blurring.

gen_psf_motionGenPsfMotion: Generate an impulse response of a (linearly) motion blurring.

simulate_defocusSimulateDefocus: Simulate an uniform out-of-focus blurring of an image.

simulate_motionSimulateMotion: Simulation of (linearly) motion blur.

wiener_filterWienerFilter: Image restoration by Wiener filtering.

wiener_filter_niWienerFilterNi: Image restoration by Wiener filtering.