src/qvip/qvipp/qvipp.cpp File ReferenceFile from the QVision library. More...
#include <iostream>
#include <qvipp.h>
#include <QVMatrix>
#include <qvip/qvipp/macros.h>
#include <qvmath/qvmatrix.h>
Go to the source code of this file.
|
Functions |
void | YUV420ToRGB (const QVImage< uChar, 1 > &src1, const QVImage< uChar, 1 > &src2, const QVImage< uChar, 1 > &src3, QVImage< uChar, 3 > &dest, const QPoint &destROIOffset) |
void | RGBToYUV420 (const QVImage< uChar, 3 > &src, QVImage< uChar, 1 > &dst1, QVImage< uChar, 1 > &dst2, QVImage< uChar, 1 > &dst3, const QPoint &destROIOffset) |
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 | MinEigenValGetBufferSize (const QVGenericImage &image, QVImage< uChar > &buffer, uInt apertureSize, uInt avgWindow) |
| 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 | 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 | 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) |
QVector< int > | HistogramRange (const QVImage< uChar, 1 > &src) |
| Calculates frequency histogram for a given set of values, for a QVImage
This function computes the intensity histogram of an image in the ranges from 0 to 255.
|
QMap< sInt, int > | HistogramRange (const QVImage< uChar, 1 > &src, QList< uChar > values) |
| Calculates frequency histogram for a given set of values, for a QVImage
This 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).
|
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 | Filter (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QVMatrix kernel, const QPoint &destROIOffset) |
void | FilterColumn (const QVImage< sFloat > &src, QVImage< sFloat > &dest, const QVVector kernel, const QPoint &destROIOffset) |
| 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) |
| 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.
|
Detailed Description
File from the QVision library.
- Author:
- PARP Research Group. University of Murcia, Spain.
Definition in file qvipp.cpp.
Function Documentation
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.
- Parameters:
-
| src | source image to filter. |
| dest | destination image to hold the resulting image after filtering. |
| kernel | matrix containing filter kernel. |
- Note:
- ojo, quizás haya que indicar en IPP_POINT(0,0), el último elemento de la matriz 'kernel', tal y como pasa en las funciones FilterColumn y FilterRow.
Definition at line 295 of file qvipp.cpp.
void InpaintFreeC1 |
( |
IppiInpaintState_8u_C1R * |
pState |
) |
|
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 InpaintInitAllocC3 |
( |
IppiInpaintState_8u_C3R ** |
pState, |
|
|
const QVImage< sFloat > & |
distances, |
|
|
const QVImage< uChar > & |
mask, |
|
|
const sFloat |
radius, |
|
|
const IppiInpaintFlag |
flag | |
|
) |
| | |
|