PARP Research Group | Universidad de Murcia |

## Math functionalitySeveral classes and functions for numeric, vector and matrix scientific computations. More...
## Detailed DescriptionSeveral classes and functions for numeric, vector and matrix scientific computations. ## Typedef Documentation
Type for a pair of points. Definition at line 91 of file qvdefines.h. ## Function Documentation
Iterative bit counting routine. This method counts the number of bits set to 1 in the input integer. It is the slower method for bit counting included in QVision, but can count bits on 64 bit integers. **Parameters:**-
*N*input unsigned integer
**Returns:**- the number of bits set to 1 in the input integer
Definition at line 27 of file qvbitcount.cpp.
Bit counting routine from the MIT HAKMEM. This method counts the number of bits set to 1 in the input integer. It is included in the HAKMEM, or AI Memo 239, which is a technical report from the MIT AI Lab. **Note:**- This method can count only the 32 less significant bits.
**Parameters:**-
*N*input unsigned integer
**Returns:**- the number of bits set to 1 in the input integer
Definition at line 39 of file qvbitcount.cpp.
Nifty parallel bit counting routine. This method counts the number of bits set to 1 in the input integer. It is slightly faster than the qvMITHAKMEMBitCount method, and much faster than qvIteratedBitCount method. **Note:**- This method can count only the 32 less significant bits.
**Parameters:**-
*n*input unsigned integer
**Returns:**- the number of bits set to 1 in the input integer
Definition at line 49 of file qvbitcount.cpp. Referenced by QVBRIEFDetector::distance().
Prints the complex number contained in a complex number objecto to an output stream. Definition at line 82 of file qvcomplex.cpp.
Writes a directed graph in a .dot file. **Parameters:**-
*fileName*Name for the .dot file. *graph*Graph to store in the .dot file. *nodeLabels*List of labels for the nodes in the .dot file.
Definition at line 40 of file qvdirectedgraph.cpp.
Obtains the number of combinations of a fixed size over the elements of a set. Given a set size of
Definition at line 52 of file qvmath.cpp. Referenced by QVCombinationIterator::getSubsetNumber().
Returns the angle between two 2D vectors. This function returns the angle defined between two input points. **Parameters:**-
*point1*First point. *point2*Second point.
**Returns:**- A value in the range corresponding to the angle from the first point to the second.
Definition at line 85 of file qvmath.cpp.
Obtains the three complex (or real) solutions for a third grade polynomial. This function returns the three complex values which satisfy the following equation: **Note:**- The value should not be zero, so the polynomial is bond to have three root values.
**Parameters:**-
*a0*coefficient of the polynomial. *a1*coefficient of the polynomial. *a2*coefficient of the polynomial. *a3*coefficient of the polynomial.
Definition at line 134 of file qvmath.cpp.
Obtains the geometric distance between a point and a line in the 2D plane. Given a point and a line this function returns the geometric distance between the 2D point , and the closest point in the line . This distance is evaluated with the following expression: **Parameters:**-
*l*3D vector, containing the line coefficients . *p*Point
Definition at line 286 of file qvmath.cpp.
Returns the natural number closest to a given real value. **Parameters:**-
*value*Real value
Definition at line 291 of file qvmath.cpp. Referenced by QVBRIEFDetector::QVBRIEFDetector().
**Todo:**- detailed description should follow
Definition at line 963 of file qvmatrix.cpp.
**Todo:**- detailed description should follow
Definition at line 985 of file qvmatrix.cpp.
**Todo:**- detailed description should follow
Definition at line 1029 of file qvmatrix.cpp.
Writes the content of a QVMatrix object in an ASCII file. **Parameters:**-
*fileName*The name of the file to create. It is overwritten if already exists. The matrix values are stored in text format. *matrix*The matrix to store in the file. *precission*Number of decimal digits to display for the matrix elements.
**Returns:**- TRUE if success, FALSE otherwise.
Definition at line 1046 of file qvmatrix.cpp.
Reads the content of a QVMatrix object from an ASCII file. **Parameters:**-
*fileName*The name of the file to read from. *matrix*The image to store in the file.
**Returns:**- TRUE if success, FALSE otherwise.
Definition at line 1060 of file qvmatrix.cpp.
Obtains the element from the Lie algebra so(3) corresponding to a rotation matrix. The special orthogonal group in three dimensions SO(3), also known as the rotation group, is a Lie group that contains the possible rotation matrices. This function converts a rotation matrix (an element of the rotation group) to its corresponding element on the Lie algebra so(3). The Lie algebra so(3) is used commonly to represent rotations in a regular space using only 3 coordinates. Both elements and will satisfy the following equation: There the operator maps a vector to its corresponding cross product matrix, and the operator is the matrix exponential operator. **Parameters:**-
*R*The rotation matrix
**Returns:**- The vector .
**See also:**- expSO3
**Note:**- This function is based on code from the TooN library
Definition at line 1141 of file qvmatrix.cpp. Referenced by globalEpipolarAdjustment(), and incrementalGEA().
Obtains the rotation matrix corresponding to the element from the Lie algebra so(3). The special orthogonal group in three dimensions SO(3), also known as the rotation group, is a Lie group that contains the possible rotation matrices. This function converts an element on the Lie algebra so(3) to its corresponding rotation matrix on the rotation group SO(3). The Lie algebra so(3) is used commonly to represent rotations in a regular space using only 3 coordinates. Both elements and will satisfy the following equation: Where the operator maps a vector to its corresponding cross product matrix, and the operator is the matrix exponential operator. **Parameters:**-
*w*The element from the Lie algebra so(3).
**Returns:**- The rotation matrix .
**See also:**- lnSO3
**Note:**- This function is based on code from the TooN library
Definition at line 1117 of file qvmatrix.cpp. Referenced by globalEpipolarAdjustment(), and incrementalGEA().
Output stream operator for QVPermutaion. Definition at line 100 of file qvpermutation.cpp.
**Todo:**- detailed description should follow
Definition at line 428 of file qvvector.cpp.
**Todo:**- detailed description should follow
Definition at line 441 of file qvvector.cpp. |