|
The blo Library
|
Utilities. More...
Namespaces | |
| namespace | blo |
| The blo library. | |
Functions | |
| template<typename T > | |
| T * | blo::ptrObject (T *pSrc, int srcStride0, int index0) |
| Retrieves the pointer to an object (vector or matrix). | |
| template<typename T > | |
| T * | blo::ptrRow (T *pSrc, int srcStride1, int index1) |
| Retrieves the pointer to a row in a matrix. | |
| template<typename T > | |
| T * | blo::ptrRow (T *pSrc, int srcStride0, int srcStride1, int index0, int index1) |
| Retrieves the pointer to a row in a matrix. | |
| template<typename T > | |
| T * | blo::ptrElement (T *pSrc, int srcStride2, int index2) |
| Retrieves the pointer to an element in a vector. | |
| template<typename T > | |
| T * | blo::ptrElement (T *pSrc, int srcStride1, int srcStride2, int index1, int index2) |
| Retrieves the pointer to an element in a matrix. | |
| template<typename U > | |
| U * | blo::ptrElement (U *pSrc, int srcStride0, int srcStride2, int index0, int index2) |
| Retrieves the pointer to an element in a vector. | |
| template<typename T > | |
| T * | blo::ptrElement (T *pSrc, int srcStride0, int srcStride1, int srcStride2, int index0, int index1, int index2) |
| Retrieves the pointer to an element in a matrix. | |
| template<typename T > | |
| T * | blo::ptrNextObject (T *pSrc, int srcStride0) |
| Retrieves the pointer to the next object (vector or matrix) in the source array. | |
| template<typename T > | |
| T * | blo::ptrNextRow (T *pSrc, int srcStride1) |
| Retrieves the pointer to the next row in the source matrix or image. | |
| template<typename T > | |
| T * | blo::ptrNextElement (T *pSrc, int srcStride2) |
| Retrieves the pointer to the next element in the source vector or matrix. | |
| template<size_t C, typename T > | |
| T * | blo::ptrPixel (T *pSrc, int srcStep, int x, int y) |
| Retrieves the pointer to an image pixel. | |
| template<size_t C, typename T > | |
| T * | blo::ptrValid (T *pSrc, int srcStep, int kernelWidth, int kernelHeight, const Point< int, 2 > &anchor) |
| Retrieves the pointer to the pixel at the beginning of the valid region of an image. | |
| template<typename T > | |
| T * | blo::ptrValidColumn (T *pSrc, int srcStep, int kernelSize, int yAnchor) |
| Retrieves the pointer to the pixel at the beginning of the valid region of an image. | |
| template<size_t C, typename T > | |
| T * | blo::ptrValidRow (T *pSrc, int srcStep, int kernelSize, int xAnchor) |
| Retrieves the pointer to the pixel at the beginning of the valid region of an image. | |
| template<size_t C, typename T > | |
| T * | blo::ptrBegin (T *pSrc, int srcStep, int kernelWidth, int kernelHeight, const Point< int, 2 > &anchor) |
| Retrieves the pointer to the pixel at the beginning of an image. | |
| template<typename T > | |
| T * | blo::ptrBeginColumn (T *pSrc, int srcStep, int kernelSize, int yAnchor) |
| Retrieves the pointer to the pixel at the beginning of an image. | |
| template<size_t C, typename T > | |
| T * | blo::ptrBeginRow (T *pSrc, int srcStep, int kernelSize, int xAnchor) |
| Retrieves the pointer to the pixel at the beginning of an image. | |
| BLO_API bool | blo::isFinite (double x) |
| Determines whether the given value is finite. | |
| BLO_API bool | blo::isFinite (float x) |
| Determines whether the given value is finite. | |
| template<typename T > | |
| bool | blo::isFinite (const std::complex< T > &x) |
| Determines whether the given value is finite. | |
| BLO_API bool | blo::isInf (double x) |
| Determines whether the given value is infinite. | |
| BLO_API bool | blo::isInf (float x) |
| Determines whether the given value is infinite. | |
| template<typename T > | |
| bool | blo::isInf (const std::complex< T > &x) |
| Determines whether the given value is infinite. | |
| BLO_API bool | blo::isNaN (double x) |
| Determines whether the given value is not a number (NaN). | |
| BLO_API bool | blo::isNaN (float x) |
| Determines whether the given value is not a number (NaN). | |
| template<typename T > | |
| bool | blo::isNaN (const std::complex< T > &x) |
| Determines whether the given value is not a number (NaN). | |
| BLO_API double | blo::copySign (double x, double y) |
| Computes one value with the sign of another value. | |
| BLO_API float | blo::copySign (float x, float y) |
| Computes one value with the sign of another value. | |
| BLO_API float | blo::epsilon (float x) |
| Computes the relative accuracy of a number. | |
| BLO_API double | blo::epsilon (double x) |
| Computes the relative accuracy of a number. | |
| BLO_API uint32_t | blo::absDiffUlps (float x, float y) |
| Computes the absolute difference in units in the last place (ULPs) between two floating point numbers. | |
| BLO_API uint64_t | blo::absDiffUlps (double x, double y) |
| Computes the absolute difference in units in the last place (ULPs) between two floating point numbers. | |
| template<typename T > | |
| void | blo::cartesianToPolar (const T &x, const T &y, T &r, T &theta) |
| Converts Cartesian coordinates to polar coordinates. | |
| template<typename T > | |
| void | blo::polarToCartesian (const T &r, const T &theta, T &x, T &y) |
| Converts polar coordinates to Cartesian coordinates. | |
| double | blo::degreesToRadians (double x) |
| Converts degrees to radians. | |
| double | blo::radiansToDegrees (double x) |
| Converts radians to degrees. | |
| double | blo::feetToMeters (double x) |
| Converts International feet to meters. | |
| double | blo::metersToFeet (double x) |
| Converts meters to International feet. | |
| double | blo::USSurveyFeetToMeters (double x) |
| Converts US Survey feet to meters. | |
| double | blo::metersToUSSurveyFeet (double x) |
| Converts meters to US Survey feet. | |
| double | blo::degMinSecToDegrees (int deg, int min, double sec) |
| Converts degrees, minutes, and seconds (DMS) to degrees. | |
| void | blo::degreesToDegMinSec (double degrees, int °, int &min, double &sec) |
| Converts degrees to degrees, minutes, and seconds (DMS). | |
| uint8_t | blo::swapBytes_uint8 (uint8_t value) |
| Reverses the byte order, 8 bit (1 byte) unsigned integer. | |
| uint16_t | blo::swapBytes_uint16 (uint16_t value) |
| Reverses the byte order, 16 bit (2 byte) unsigned integer. | |
| uint32_t | blo::swapBytes_uint32 (uint32_t value) |
| Reverses the byte order, 32 bit (4 byte) unsigned integer. | |
| uint64_t | blo::swapBytes_uint64 (uint64_t value) |
| Reverses the byte order, 64 bit (8 byte) unsigned integer. | |
Utilities.