Image processingFunctions for Image Processing.
More...
|
Modules |
| IPP wrapper functions |
| Comprehensive set of wrapper functions for Intel(R) Integrated Performance Primitives (IPP).
|
| Image features |
| Functions for image feature detection and matching.
|
Functions |
void | FilterHarrisCornerResponseImage (const QVImage< uChar > &image, QVImage< sFloat > &result, int aperture=3, int avgwindow=5, const QPoint &destROIOffset=QPoint(0, 0)) |
void | FilterDoG (const QVImage< uChar > &image, QVImage< sFloat > &result) |
void | SobelCornerResponseImage (const QVImage< sFloat > &image, QVImage< sFloat > &result) |
void | FilterHessianCornerResponseImage (const QVImage< sFloat > &image, QVImage< sFloat > &result, const IppiMaskSize maskSize=ippMskSize3x3, const QPoint &destROIOffset=QPoint(0, 0)) |
void | FilterNormalize (const QVImage< uChar, 1 > &image, QVImage< uChar, 1 > &equalized, const QPoint &destROIOffset=QPoint(0, 0)) |
void | FilterNormalize (const QVImage< sFloat, 1 > &image, QVImage< sFloat, 1 > &equalized, const QPoint &destROIOffset=QPoint(0, 0)) |
void | FilterSeparable (const QVImage< sFloat, 1 > &image, QVImage< sFloat, 1 > &dest, const QVVector &rowFilter, const QVVector &colFilter, const QPoint &destROIOffset=QPoint(0, 0)) |
void | FilterLocalMax (const QVImage< sFloat > &src, QVImage< uChar > &dest, uInt colMaskSize, uInt rowMaskSize, sFloat threshold=0) |
| Generates a binary image of local grey-scale maximal value pixels.
|
QMap< sFloat, QPointF > | GetMaximalResponsePoints (const QVImage< sFloat > &cornerResponseImage, const double threshold=1.0, const int windowSize=2) |
QVector< QVector
< QPoint > > | CountingSort (const QVImage< uChar, 1 > &img) |
| Sorts pixels in an image, given their gray-scale value.
|
Detailed Description
Functions for Image Processing.
This package contains image processing tools and Computer Vision algorithms and data types for the QVision. It includes image filtering functionality and image feature detectors.
QVision makes use of Intel's IPP library, and offers many of its functionality to QVision users by means of wrapper functions. These functions are contained in the package IPP wrapper functions, which you can check to learn more about it. Package Image features contains the functions related to image feature detection and identification.
Function Documentation
QVector< QVector< QPoint > > CountingSort |
( |
const QVImage< uChar, 1 > & |
img |
) |
|
Sorts pixels in an image, given their gray-scale value.
- Todo:
- document this
\xrefitem todo 45 - Deprecated:
- use GetMaximalResponsePoints instead.
This function obtains a QVector, that maps any gray-scale values (0..255) to the set of QPoints that hold that gray-scale value, in a given image. It can be used for very fast pixel sorting.
The function itself is based in Counting Sort algorithm , so the cost of this function is O(number_of_columns * number_of_rows).
- Parameters:
-
| img | source image to obtain sorted lists of QPoints. |
- Returns:
- A QVector, indexed by the gray-scale value (0-255), to a QVector of QPoints, containing the corresponding points to the pixels that hold that gray-scale value in the image.
Definition at line 369 of file qvip.cpp.
void FilterDoG |
( |
const QVImage< uChar > & |
image, |
|
|
QVImage< sFloat > & |
result | |
|
) |
| | |
void FilterHarrisCornerResponseImage |
( |
const QVImage< uChar > & |
image, |
|
|
QVImage< sFloat > & |
result, |
|
|
int |
aperture = 3 , |
|
|
int |
avgwindow = 5 , |
|
|
const QPoint & |
destROIOffset = QPoint(0, 0) | |
|
) |
| | |
void FilterHessianCornerResponseImage |
( |
const QVImage< sFloat > & |
image, |
|
|
QVImage< sFloat > & |
result, |
|
|
const IppiMaskSize |
maskSize = ippMskSize3x3 , |
|
|
const QPoint & |
destROIOffset = QPoint(0, 0) | |
|
) |
| | |
void FilterLocalMax |
( |
const QVImage< sFloat > & |
src, |
|
|
QVImage< uChar > & |
dest, |
|
|
uInt |
colMaskSize, |
|
|
uInt |
rowMaskSize, |
|
|
sFloat |
threshold = 0 | |
|
) |
| | |
Generates a binary image of local grey-scale maximal value pixels.
This function receives a QVImage, and generates a binary image where each pixel is set to IPP_MAX_8U if the pixel in the original image is strict maximal in value regarding to pixels in a vicinity window of colMaskSize width, and rowMaskSize height.
- Todo:
- Fix resulting image ROI, obtain maximums restricted to the ROI.
- Use IPP functions to obtain the result.
- Parameters:
-
| src | source image. |
| dest | binary image that will contain maximal values. |
| colMaskSize | width of the vicinity. |
| rowMaskSize | height of the vicinity. |
Definition at line 32 of file qvip.cpp.
void FilterNormalize |
( |
const QVImage< sFloat, 1 > & |
image, |
|
|
QVImage< sFloat, 1 > & |
equalized, |
|
|
const QPoint & |
destROIOffset = QPoint(0, 0) | |
|
) |
| | |
void FilterNormalize |
( |
const QVImage< uChar, 1 > & |
image, |
|
|
QVImage< uChar, 1 > & |
equalized, |
|
|
const QPoint & |
destROIOffset = QPoint(0, 0) | |
|
) |
| | |
QMap<sFloat, QPointF> GetMaximalResponsePoints |
( |
const QVImage< sFloat > & |
cornerResponseImage, |
|
|
const double |
threshold = 1.0 , |
|
|
const int |
windowSize = 2 | |
|
) |
| | |
void SobelCornerResponseImage |
( |
const QVImage< sFloat > & |
image, |
|
|
QVImage< sFloat > & |
result | |
|
) |
| | |
|