PARP Research Group Universidad de Murcia


src/qvipp/qvipp.h File Reference

File from the QVision library. More...

#include <ipp.h>
#include <QMap>
#include <QSize>
#include <QPoint>
#include <QVImage>
#include <QVIndexedStringList>
#include <qvipp/qvippfunctions.h>

Go to the source code of this file.

Functions

void Copy (const QVImage< uChar, 1 > &src1, const QVImage< uChar, 1 > &src2, const QVImage< uChar, 1 > &src3, QVImage< uChar, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Composes color image from separate channel imagesThis function copies data from a source 1-channel image ROI src, to each of the channels of the destination 3-channel image ROI dest.
void Copy (const QVImage< uShort, 1 > &src1, const QVImage< uShort, 1 > &src2, const QVImage< uShort, 1 > &src3, QVImage< uShort, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Composes color image from separate channel images.
void Copy (const QVImage< sShort, 1 > &src1, const QVImage< sShort, 1 > &src2, const QVImage< sShort, 1 > &src3, QVImage< sShort, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Composes color image from separate channel images.
void Copy (const QVImage< sInt, 1 > &src1, const QVImage< sInt, 1 > &src2, const QVImage< sInt, 1 > &src3, QVImage< sInt, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Composes color image from separate channel images.
void Copy (const QVImage< sFloat, 1 > &src1, const QVImage< sFloat, 1 > &src2, const QVImage< sFloat, 1 > &src3, QVImage< sFloat, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Composes color image from separate channel images.
void Copy (const QVImage< uChar, 3 > &src, QVImage< uChar, 1 > &dest1, QVImage< uChar, 1 > &dest2, QVImage< uChar, 1 > &dest3, const QPoint &destROIOffset=QPoint(0, 0))
void Copy (const QVImage< sFloat, 3 > &src, QVImage< sFloat, 1 > &dest1, QVImage< sFloat, 1 > &dest2, QVImage< sFloat, 1 > &dest3, const QPoint &destROIOffset=QPoint(0, 0))
void Copy (const QVImage< uChar, 3 > &src, const uChar channel, QVImage< uChar, 1 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Copy a selected channel from a 3-channel image to a 1-channel imageThis function converts an RGB image to gray scale.
void Copy (const QVImage< uShort, 3 > &src, const uChar channel, QVImage< uShort, 1 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Copy a selected channel from a 3-channel image to a 1-channel image.
void Copy (const QVImage< sShort, 3 > &src, const uChar channel, QVImage< sShort, 1 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Copy a selected channel from a 3-channel image to a 1-channel image.
void Copy (const QVImage< sInt, 3 > &src, const uChar channel, QVImage< sInt, 1 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Copy a selected channel from a 3-channel image to a 1-channel image.
void Copy (const QVImage< sFloat, 3 > &src, const uChar channel, QVImage< sFloat, 1 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Copy a selected channel from a 3-channel image to a 1-channel image.
void Compare (const QVImage< uChar, 3 > &src1, const QVImage< uChar, 3 > &src2, QVImage< uChar > &dest, IppCmpOp ippCmpOp=ippCmpEq, const QPoint &destROIOffset=QPoint(0, 0))
 Compares pixel values of two images using a specified compare operation.
void Compare (const QVImage< uShort, 3 > &src1, const QVImage< uShort, 3 > &src2, QVImage< uChar > &dest, IppCmpOp ippCmpOp=ippCmpEq, const QPoint &destROIOffset=QPoint(0, 0))
 Compares pixel values of two images using a specified compare operation.
void Compare (const QVImage< sShort, 3 > &src1, const QVImage< sShort, 3 > &src2, QVImage< uChar > &dest, IppCmpOp ippCmpOp=ippCmpEq, const QPoint &destROIOffset=QPoint(0, 0))
 Compares pixel values of two images using a specified compare operation.
void Compare (const QVImage< sFloat, 3 > &src1, const QVImage< sFloat, 3 > &src2, QVImage< uChar > &dest, IppCmpOp ippCmpOp=ippCmpEq, const QPoint &destROIOffset=QPoint(0, 0))
 Compares pixel values of two images using a specified compare operation.
void YUV420ToRGB (const QVImage< uChar, 1 > &srcY, const QVImage< uChar, 1 > &srcU, const QVImage< uChar, 1 > &srcV, QVImage< uChar, 3 > &destRGB, const QPoint &destROIOffset=QPoint(0, 0))
void RGBToYUV420 (const QVImage< uChar, 3 > &src, QVImage< uChar, 1 > &dst1, QVImage< uChar, 1 > &dst2, QVImage< uChar, 1 > &dst3, const QPoint &destROIOffset=QPoint(0, 0))
void Filter (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QVMatrix kernel, const QPoint &destROIOffset=QPoint(0, 0))
 This function uses the general square kernel defined in the matrix kernel to filter an image, using a convolution operation.
void FilterColumn (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QVVector kernel, const QPoint &destROIOffset=QPoint(0, 0))
 Filters an image using a spatial kernel that consists of a single column.This function uses the vertical column kernel contained in vector kernel to filter an image ROI.
void FilterRow (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QVVector kernel, const QPoint &destROIOffset=QPoint(0, 0))
 Filters an image using a spatial kernel that consists of a single row.This function uses the vertical column kernel contained in vector kernel to filter an image ROI.
void FilterSharpen (const QVImage< uChar > &src, QVImage< uChar > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Filters an image using a sharpening filter.This function applies a sharpening filter to an image ROI. The corresponding kernel is the matrix of 3x3 size with the following values:
void FilterSharpen (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Filters an image using a sharpening filter.
void Erode3x3 (const QVImage< uChar > &src, QVImage< uChar > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Erode3x3 filter.
void Erode3x3 (const QVImage< uShort > &src, QVImage< uShort > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Erode3x3 filter.
void Erode3x3 (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Erode3x3 filter.
void Erode3x3 (const QVImage< uChar, 3 > &src, QVImage< uChar, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Erode3x3 filter.
void Erode3x3 (const QVImage< uShort, 3 > &src, QVImage< uShort, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Erode3x3 filter.
void Erode3x3 (const QVImage< sFloat, 3 > &src, QVImage< sFloat, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Erode3x3 filter.
void Dilate3x3 (const QVImage< uChar > &src, QVImage< uChar > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Dilate3x3 filter.
void Dilate3x3 (const QVImage< uShort > &src, QVImage< uShort > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Dilate3x3 filter.
void Dilate3x3 (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Dilate3x3 filter.
void Dilate3x3 (const QVImage< uChar, 3 > &src, QVImage< uChar, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Dilate3x3 filter.
void Dilate3x3 (const QVImage< uShort, 3 > &src, QVImage< uShort, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Dilate3x3 filter.
void Dilate3x3 (const QVImage< sFloat, 3 > &src, QVImage< sFloat, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a morphological Dilate3x3 filter.
void FilterSobelHoriz (const QVImage< uChar > &src, QVImage< uChar > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a horizontal Sobel derivative filter (3x3) to an image.
void FilterSobelHoriz (const QVImage< sShort > &src, QVImage< sShort > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a horizontal Sobel derivative filter (3x3) to an image.
void FilterSobelHoriz (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a horizontal Sobel derivative filter (3x3) to an image.
void FilterSobelHoriz (const QVImage< uChar, 3 > &src, QVImage< uChar, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a horizontal Sobel derivative filter (3x3) to an image.
void FilterSobelHoriz (const QVImage< sShort, 3 > &src, QVImage< sShort, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a horizontal Sobel derivative filter (3x3) to an image.
void FilterSobelHoriz (const QVImage< sFloat, 3 > &src, QVImage< sFloat, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a horizontal Sobel derivative filter (3x3) to an image.
void FilterSobelVert (const QVImage< uChar > &src, QVImage< uChar > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a vertical Sobel derivative filter (3x3) to an image.
void FilterSobelVert (const QVImage< sShort > &src, QVImage< sShort > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a vertical Sobel derivative filter (3x3) to an image.
void FilterSobelVert (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a vertical Sobel derivative filter (3x3) to an image.
void FilterSobelVert (const QVImage< uChar, 3 > &src, QVImage< uChar, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a vertical Sobel derivative filter (3x3) to an image.
void FilterSobelVert (const QVImage< sShort, 3 > &src, QVImage< sShort, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a vertical Sobel derivative filter (3x3) to an image.
void FilterSobelVert (const QVImage< sFloat, 3 > &src, QVImage< sFloat, 3 > &dest, const QPoint &destROIOffset=QPoint(0, 0))
 Applies a vertical Sobel derivative filter (3x3) to an image.
void FilterSobelHorizBorder (const QVImage< uChar > &src, QVImage< sShort > &dest, const IppiMaskSize maskSize, const IppiBorderType borderType, const uChar borderValue, QVImage< uChar > &buffer, const QPoint &destROIOffset=QPoint(0, 0))
 Applies horizontal Sobel filter with border.This function is similar to FilterSobelHorizMask, but automatically creates a required border and define appropriate pixel values.
void FilterSobelNegVertBorder (const QVImage< uChar > &src, QVImage< sShort > &dest, const IppiMaskSize maskSize, const IppiBorderType borderType, const uChar borderValue, QVImage< uChar > &buffer, const QPoint &destROIOffset=QPoint(0, 0))
 Applies vertical Sobel filter with border.This function is similar to FilterSobelVertMask, but uses negative values for the mask applied, and automatically create a required border and define appropriate pixel values.
void Resize (const QVImage< uChar > &src, QVImage< uChar > &dest, int interpolation=IPPI_INTER_LINEAR)
 Changes an image size.This function copies the content of the ROI in the source image, to the ROI of the destination image, adjusting it's original size to make it fit in the destination size It has the effect of resizing the original image, to fit the destination image, if both ROI's hold the whole of their respective images.
void Resize (const QVImage< sFloat > &src, QVImage< sFloat > &dest, int interpolation=IPPI_INTER_LINEAR)
 Changes an image size.
void Resize (const QVImage< uShort > &src, QVImage< uShort > &dest, int interpolation=IPPI_INTER_LINEAR)
 Changes an image size.
void Resize (const QVImage< uChar, 3 > &src, QVImage< uChar, 3 > &dest, int interpolation=IPPI_INTER_LINEAR)
 Changes an image size.
void CannyGetSize (const QVGenericImage &src, QVImage< uChar > &buffer)
 Allocates size in a buffer image for temporary data for function Canny.This function should be applied to any QVImage<uChar> image to be used as a buffer image for function Canny. Initializes dimensions for that buffer image, appropriated for canny algorithm.
void FilterSobelHorizGetBufferSize (const QVGenericImage &src, const IppiMaskSize maskSize, QVImage< uChar > &buffer)
 Allocates size in a buffer image for temporary data for function FilterSobelHoriz.This function should be applied to any QVImage<uChar> image to be used as a buffer image for function FilterSobelHoriz. Initializes dimensions for that buffer image, appropriated for that algorithm.
void FilterSobelNegVertGetBufferSize (const QVGenericImage &src, const IppiMaskSize maskSize, QVImage< uChar > &buffer)
 Allocates size in a buffer image for temporary data for function FilterSobelNegVert.This function should be applied to any QVImage<uChar> image to be used as a buffer image for function FilterSobelNegVert. Initializes dimensions for that buffer image, appropriated for that algorithm.
void MinEigenValGetBufferSize (const QVGenericImage &src, QVImage< uChar > &buffer, uInt apertureSize=5, uInt avgWindow=5)
 Allocates size in a buffer image for temporary data for function MinEigenValGet.This function should be applied to any QVImage<uChar> image to be used as a buffer image for function MinEigenVal. Initializes dimensions for that buffer image, appropriated for that algorithm.
void FloodFillGetSize (const QVGenericImage &src, QVImage< uChar > &buffer)
 Allocates size in a buffer image for temporary data for function family FloodFill.This function should be applied to any QVImage<uChar> image to be used as a buffer image for function family FloodFill. Initializes dimensions for that buffer image, appropriated for that algorithm.
void MinEigenVal (const QVImage< uChar > &src, QVImage< sFloat > &dest, QVImage< uChar > &buffer, uInt apertureSize=3, uInt avgWindow=5, IppiKernelType kernel=ippKernelSobel, const QPoint &destROIOffset=QPoint(0, 0))
 Calculates the minimal eigen value of image blocks for corner detection.This function takes a block around the pixel and computes the first derivatives Dx and Dy.
void FastMarchingGetBufferSize (const QVGenericImage &image, QVImage< uChar > &buffer)
 Allocates size in a buffer image for temporary data for function FastMarching.This function should be applied to any QVImage<uChar> image to be used as a buffer image for function FastMarching. Initializes dimensions for that buffer image, appropriated for that algorithm.
void InpaintInitAllocC3 (IppiInpaintState_8u_C3R **pState, const QVImage< sFloat > &distances, const QVImage< uChar > &mask, const sFloat radius, const IppiInpaintFlag flag)
void InpaintFreeC3 (IppiInpaintState_8u_C3R *pState)
void InpaintInitAllocC1 (IppiInpaintState_8u_C1R **pState, const QVImage< sFloat > &distances, const QVImage< uChar > &mask, const sFloat radius, const IppiInpaintFlag flag)
void InpaintFreeC1 (IppiInpaintState_8u_C1R *pState)
QMap< sInt, int > HistogramRange (const QVImage< uChar, 1 > &src, QList< uChar > values)
 Calculates frequency histogram for a given set of values, for a QVImageThis function computes the intensity histogram of an image in the ranges specified by the QList 'values'. Default value for this QList is empty list, indicating the set of integer which cover the group of valid values for uChar type (from 0 to 255).
QVector< int > HistogramRange (const QVImage< uChar, 1 > &src)
 Calculates frequency histogram for a given set of values, for a QVImageThis function computes the intensity histogram of an image in the ranges from 0 to 255.
void FloodFillRange4Connected (QVImage< uChar > &img, QVImage< uChar > &buffer, uInt seedX, uInt seedY, uChar newVal, uChar minDelta, uChar maxDelta)
 Performs flood filling of pixels with values in the specified range in the connected area on an image.This function performs flood filling of the group of connected pixels in the seed pixel neighborhoods whose pixel values $ v_i $ satisfies the following condition:
void FloodFillGradient4Connected (QVImage< uChar > &img, QVImage< uChar > &buffer, uInt seedX, uInt seedY, uChar newVal, uChar minDelta, uChar maxDelta)
 Performs gradient flood filling of connected area on an image.This function performs flood filling of the group of connected pixels in the seed pixel neighborhoods whose pixel values v satisfies the following conditions:
void FilterGaussBorder (const QVImage< sFloat, 1 > &src, QVImage< sFloat, 1 > &dest, QVImage< uChar > &buffer, sInt kernelSize, sFloat sigma, IppiBorderType borderType=ippBorderConst, sFloat borderValue=0.0, const QPoint &destROIOffset=QPoint(0, 0))
 Applies Gauss filter with border.This function applies the Gaussian filter to the source image ROI pSrc. The kernel of this filter is the matrix of size $ kernelSize x kernelSize $ with the standard deviation $ sigma $. The values of the elements of the Gaussian kernel are calculated according to the formula:
void FilterGaussGetBufferSize (const QVGenericImage &image, QVImage< uChar > &buffer, uInt kernelSize)
 Computes the size of the external buffer for the Gaussian filter with border.This function computes the size of the external buffer that is required for the filter function FilterGaussBorder. This buffer can be used to filter an image whose width and height are equal to or less than param QVGenericImage image, and the kernel size is equal to or less than kernelSize.
void FindPeaks3x3 (const QVImage< sInt, 1 > &img, QVImage< uChar > &buffer, QList< QPoint > &points, sInt threshold, IppiNorm norm, uInt border, uInt maxPeakCount)
 Finds coordinates of peaks (maximums or minimums) with absolute value exceeding threshold value.This function detects local maximum pixels in the source image, and stores their coordinates in the points point list. The neighborhood O(i, j) for the search is defined by the parameter norm. The number of detected maximums is returned in pPeakCount[0]. The operation is stopped The function requires a working image buffer whose size should be computed by the function FindPeaks3x3GetBufferSize beforehand.
void FindPeaks3x3 (const QVImage< sFloat, 1 > &img, QVImage< uChar > &buffer, QList< QPoint > &points, sFloat threshold, IppiNorm norm, uInt border, uInt maxPeakCount)
 Finds coordinates of peaks (maximums or minimums) with absolute value exceeding threshold value.
void FindPeaks3x3GetBufferSize (const QVImage< sInt, 1 > &image, QVImage< uChar > &buffer)
 Computes the size of the working buffer for the peak search.This function computes the size of the working image buffer required for the function FindPeaks3x3. The image buffer can be used to filter images with ROI width that is less than or equal to the image ROI width.
void FindPeaks3x3GetBufferSize (const QVImage< sFloat, 1 > &image, QVImage< uChar > &buffer)
 Computes the size of the working buffer for the peak search.
void WarpPerspective (const QVImage< uChar > &src, QVImage< uChar > &dest, const QVMatrix &rectifyingHomography, int interpolation=IPPI_INTER_LINEAR, const QPoint &destROIOffset=QPoint(0, 0))
 Performs perspective warping of the source image using the given transform coefficients.
void WarpPerspective (const QVImage< uChar, 3 > &src, QVImage< uChar, 3 > &dest, const QVMatrix &rectifyingHomography, int interpolation=IPPI_INTER_LINEAR, const QPoint &destROIOffset=QPoint(0, 0))
 Performs perspective warping of the source image using the given transform coefficients.

Detailed Description

File from the QVision library.

Author:
Copyright (C) PARP Research Group. University of Murcia, Spain.

Definition in file qvipp.h.




QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010, 2011.