Algorithms

The available algorithms are listed below.

vpi.BackgroundSubtractor(size, format[, backend])

Creates the main object of the BgSub algorithm.

vpi.Image.bilateral_filter(self, ksize, ...)

Runs a 2D bilateral filter over the image.

vpi.Image.box_filter(self, ksize, *[, ...])

Runs a 2D box filter over the image.

vpi.Image.convert(-> vpi.Image)

Converts the image to the desired format.

vpi.Image.convolution(-> vpi.Image)

Runs a generic 2D convolution over the image.

vpi.Image.eqhist(self, *[, backend, out, stream])

Equalize the histogram of the image.

vpi.Image.fft(self, *[, backend, out, stream])

Runs the direct FFT on the image.

vpi.Image.ifft([denorm, out, backend, stream])

Runs the inverse FFT on the image.

vpi.Image.irfft(self[, size, denorm, ...])

Runs the inverse (Real) FFT on the image.

vpi.Image.gaussian_filter(self, ksize, sigma, *)

Runs a 2D Gaussian filter over the image.

vpi.Image.gaussian_pyramid(-> vpi.Image)

Computes the Gaussian pyramid of the image.

vpi.Image.harriscorners(self, *[, backend, ...])

Runs Harris Corner Detector on the image.

vpi.Image.fastcorners(self[, backend, out, ...])

Runs FAST Corner Detector on the image.

vpi.Image.histogram(self[, bins, backend, ...])

Computes the image histogram.

vpi.Image.image_flip(self, flip_mode, *[, ...])

Flips the image.

vpi.Image.median_filter(self, kernel, *[, ...])

Runs a 2D median filter over the image.

vpi.Image.mixchannels(self, mappingIn, ...)

Runs mix channels on single input and output images.

vpi.mixchannels(inputs, outputs, mappingIn, ...)

Runs mix channels on multiple input and output images.

vpi.KLTFeatureTracker(-> vpi.KLTFeatureTracker)

Creates the basis for the KLT algorithm.

vpi.Image.laplacian_pyramid(...)

Computes the Laplacian pyramid of the image.

vpi.Image.minloc(self, *[, backend, ...])

Find minimum value locations in an image.

vpi.Image.maxloc(self, *[, backend, ...])

Find maximum value locations in an image.

vpi.Image.minmaxloc(self, *[, backend, ...])

Find min(max)imum value locations in an image.

vpi.Image.erode(self, kernel, *[, backend, ...])

Runs a 2D erode over the image.

vpi.Image.dilate(self, kernel, *[, backend, ...])

Runs a 2D dilate over the image.

vpi.optflow_dense(ref, frame, *[, backend, ...])

Runs dense Optical Flow on two frames.

vpi.OpticalFlowPyrLK(-> vpi.OpticalFlowPyrLK)

Creates the basis for the PyrLKOFlow algorithm.

vpi.Image.perspwarp(-> vpi.Image)

Applies a perspective warp on the image.

vpi.Image.remap(self, wmap[, size, backend, ...])

Remap the image.

vpi.Image.rescale(-> vpi.Image  -> vpi.Image)

Rescales the image.

vpi.stereodisp(left, right, *[, backend, ...])

Runs stereo processing on two images.

vpi.TemporalNoiseReduction(size, format[, ...])

Creates the main object of the TNR algorithm.

vpi.execute(host_function, *[, stream])

Executes a function on the stream.

vpi.WarpMap(-> vpi.WarpMap  -> vpi.WarpMap)

Creates warpmap for Lens Distortion Correction.