PARP Research Group University of Murcia, Spain


src/qvip/qvip.h File Reference

File from the QVision library. More...

#include <iostream>
#include <qvdefines.h>
#include <QVImage>
#include <QVPolyline>
#include <qvmath/qvvector.h>
#include <QPoint>

Go to the source code of this file.

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< uChar > &result)
void SobelCornerResponseImage (const QVImage< sFloat > &image, QVImage< sFloat > &result)
void FilterHessianCornerResponseImage (const QVImage< sFloat > &image, QVImage< sFloat > &result, 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 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.

QMap< sFloat, QPointF > maximalPoints (const QVImage< sFloat > &image, const double threshold=1.0, const int windowRadius=2)
QMap< sFloat, QPointF > fastMaximalPoints (const QVImage< sFloat > &image, 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.

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.

double IterativePointElimination (const QVPolyline &polyline, QVPolyline &result, const double param, bool maxNumberOfPointsMethod=FALSE, bool intersectLines=TRUE, double *max_removed_cost=NULL)
 Simplifies a contour eliminating points of little area using IPE algorithm

This function eliminates points of a QVPolylineF, simplificating it. Points are recursively eliminated while a) their distance to the line joining its two immediate neighbours is smaller than a given maximum value, or b) the number of points of the approximated polyline falls below a given number (depending on the chosen method).

double IterativePointElimination (const QVPolylineF &polyline, QVPolylineF &result, const double param, bool maxNumberOfPointsMethod=FALSE, bool intersectLines=TRUE, double *max_removed_cost=NULL)
 Simplifies a contour eliminating points of little area using IPE algorithm

This is an overloaded version of the IterativePointElimination, provided for convenience.

QVPolyline getConnectedSetBorderContourThreshold (const QVImage< uChar > &image, const QPoint point, const uChar threshold=128)
 Obtains the border contour of a connected set of pixels in an image, given a membership condition.

A contour is a sequence of pixels from an image, were every two contiguous pixels in the sequence are neighbours in the image.

QList< QVPolylinegetConnectedSetBorderContoursThreshold (const QVImage< uChar > &image, const uChar threshold=128)
 Obtains a list of the border contours of the connected sets in an image, according to a membership condition.

This function gets the border contours for all of the connected sets of pixels in an image, using the function getConnectedSetBorderContourThreshold(const QVImage<uChar> &, const QPoint, const uChar), and returns them in a list of polylines (QList<QVPolyline>).

QList< QVPolylinegetLineContoursThreshold4Connectivity (const QVImage< uChar > &image, const uChar threshold=128)
 Obtains a list of the 4-connected contour lines in the image

A contour is a sequence of pixels from an image, were every two contiguous pixels in the sequence are neighbours in the image.

QList< QVPolylinegetLineContoursThreshold8Connectivity (const QVImage< uChar > &image, const uChar threshold=128)
 Obtains a list of the 8-connected contour lines in the image

A contour is a sequence of pixels from an image, were every two contiguous pixels in the sequence are neighbours in the image.


Detailed Description

File from the QVision library.

Author:
PARP Research Group. University of Murcia, Spain.

Definition in file qvip.h.




QVision framework. PARP research group, copyright 2007, 2008.