Simd Library Documentation.

Home | Release Notes | Download | Documentation | Issues | GitHub | SourceForge
Simd Namespace Reference

Namespaces

 Neural
 Contains Framework for learning of Convolutional Neural Network.
 
 Pixel
 Contains various pixel structures.
 

Data Structures

struct  Allocator
 Aligned memory allocator. More...
 
struct  ContourDetector
 ContourDetector structure provides detection of contours at the image. More...
 
struct  Detection
 The Detection structure provides object detection with using of HAAR and LBP cascade classifiers. More...
 
struct  Frame
 The Frame structure provides storage and manipulation of frames (multiplanar images). More...
 
struct  ImageMatcher
 The ImageMatcher structure provides fast algorithm of searching of similar images. More...
 
struct  Point
 The Point structure defines the x- and y-coordinates of a point. More...
 
struct  Pyramid
 The Pyramid structure provides storage and manipulation of pyramid images. More...
 
struct  Rectangle
 The Rectangle structure defines the positions of left, top, right and bottom sides of a rectangle. More...
 
struct  ShiftDetector
 ShiftDetector structure provides shift detection of given region at the image. More...
 
struct  View
 The View structure provides storage and manipulation of images. More...
 

Functions

template<typename T >
bool operator== (const Point< T > &p1, const Point< T > &p2)
 Compares two points on equality. More...
 
template<typename T >
bool operator!= (const Point< T > &p1, const Point< T > &p2)
 Compares two points on inequality. More...
 
template<typename T >
Point< T > operator+ (const Point< T > &p1, const Point< T > &p2)
 Adds two points. More...
 
template<typename T >
Point< T > operator- (const Point< T > &p1, const Point< T > &p2)
 Subtracts two points. More...
 
template<typename T >
Point< T > operator* (const Point< T > &p1, const Point< T > &p2)
 Multiplies two points. More...
 
template<typename T >
Point< T > operator/ (const Point< T > &p1, const Point< T > &p2)
 Divides two points. More...
 
template<typename T >
Point< T > operator- (const Point< T > &p)
 Returns point with coordinates with the opposite sign. More...
 
template<typename TP , typename TA >
Point< TP > operator/ (const Point< TP > &p, const TA &a)
 Divides the point on the scalar value. More...
 
template<typename TP , typename TA >
Point< TP > operator* (const Point< TP > &p, const TA &a)
 Multiplies the point on the scalar value. More...
 
template<typename TP , typename TA >
Point< TP > operator* (const TA &a, const Point< TP > &p)
 Multiplies the scalar value on the point. More...
 
template<typename T >
SquaredDistance (const Point< T > &p1, const Point< T > &p2)
 Gets squared distance between two points. More...
 
template<typename T >
double Distance (const Point< T > &p1, const Point< T > &p2)
 Gets distance between two points. More...
 
template<typename T >
DotProduct (const Point< T > &p1, const Point< T > &p2)
 Gets dot product of two points. More...
 
template<typename T >
CrossProduct (const Point< T > &p1, const Point< T > &p2)
 Gets cross product of two points. More...
 
template<typename T >
SIMD_INLINE bool operator== (const Point< T > &p1, const Point< T > &p2)
 Compares two points on equality. More...
 
template<typename T >
SIMD_INLINE bool operator!= (const Point< T > &p1, const Point< T > &p2)
 Compares two points on inequality. More...
 
template<typename T >
SIMD_INLINE Point< T > operator+ (const Point< T > &p1, const Point< T > &p2)
 Adds two points. More...
 
template<typename T >
SIMD_INLINE Point< T > operator- (const Point< T > &p1, const Point< T > &p2)
 Subtracts two points. More...
 
template<typename T >
SIMD_INLINE Point< T > operator* (const Point< T > &p1, const Point< T > &p2)
 Multiplies two points. More...
 
template<typename T >
SIMD_INLINE Point< T > operator/ (const Point< T > &p1, const Point< T > &p2)
 Divides two points. More...
 
template<typename T >
SIMD_INLINE Point< T > operator- (const Point< T > &p)
 Returns point with coordinates with the opposite sign. More...
 
template<typename TP , typename TA >
SIMD_INLINE Point< TP > operator/ (const Point< TP > &p, const TA &a)
 Divides the point on the scalar value. More...
 
template<typename TP , typename TA >
SIMD_INLINE Point< TP > operator* (const Point< TP > &p, const TA &a)
 Multiplies the point on the scalar value. More...
 
template<typename TP , typename TA >
SIMD_INLINE Point< TP > operator* (const TA &a, const Point< TP > &p)
 Multiplies the scalar value on the point. More...
 
template<typename T >
SIMD_INLINE T SquaredDistance (const Point< T > &p1, const Point< T > &p2)
 Gets squared distance between two points. More...
 
template<typename T >
SIMD_INLINE double Distance (const Point< T > &p1, const Point< T > &p2)
 Gets distance between two points. More...
 
template<typename T >
SIMD_INLINE T DotProduct (const Point< T > &p1, const Point< T > &p2)
 Gets dot product of two points. More...
 
template<typename T >
SIMD_INLINE T CrossProduct (const Point< T > &p1, const Point< T > &p2)
 Gets cross product of two points. More...
 
template<typename T >
bool operator== (const Rectangle< T > &r1, const Rectangle< T > &r2)
 Compares two rectangles on equality. More...
 
template<typename T >
bool operator!= (const Rectangle< T > &r1, const Rectangle< T > &r2)
 Compares two rectangles on inequality. More...
 
template<class T1 , class T2 >
Rectangle< T1 > operator/ (const Rectangle< T1 > &rect, const T2 &value)
 Divides the rectangle on the scalar value. More...
 
template<class T1 , class T2 >
Rectangle< T1 > operator* (const Rectangle< T1 > &rect, const T2 &value)
 Multiplies the rectangle on the scalar value. More...
 
template<class T1 , class T2 >
Rectangle< T1 > operator* (const T2 &value, const Rectangle< T1 > &rect)
 Multiplies the scalar value on the rectangle. More...
 
template<typename T >
Rectangle< T > operator+ (const Rectangle< T > &r1, const Rectangle< T > &r2)
 Sums the corresponding rectangle's coordinates of two rectangles.. More...
 
template<typename T >
SIMD_INLINE bool operator== (const Rectangle< T > &r1, const Rectangle< T > &r2)
 Compares two rectangles on equality. More...
 
template<typename T >
SIMD_INLINE bool operator!= (const Rectangle< T > &r1, const Rectangle< T > &r2)
 Compares two rectangles on inequality. More...
 
template<class T1 , class T2 >
SIMD_INLINE Rectangle< T1 > operator/ (const Rectangle< T1 > &rect, const T2 &value)
 Divides the rectangle on the scalar value. More...
 
template<class T1 , class T2 >
SIMD_INLINE Rectangle< T1 > operator* (const Rectangle< T1 > &rect, const T2 &value)
 Multiplies the rectangle on the scalar value. More...
 
template<class T1 , class T2 >
SIMD_INLINE Rectangle< T1 > operator* (const T2 &value, const Rectangle< T1 > &rect)
 Multiplies the scalar value on the rectangle. More...
 
template<class T >
SIMD_INLINE Rectangle< T > operator+ (const Rectangle< T > &r1, const Rectangle< T > &r2)
 Sums the corresponding rectangle's coordinates of two rectangles.. More...
 
template<template< class > class A, class T >
const T & At (const View< A > &view, size_t x, size_t y)
 
template<template< class > class A, class T >
T & At (View< A > &view, size_t x, size_t y)
 
template<template< class > class A, template< class > class B>
bool EqualSize (const View< A > &a, const View< B > &b)
 
template<template< class > class A>
bool EqualSize (const View< A > &a, const View< A > &b, const View< A > &c)
 
template<template< class > class A, template< class > class B>
bool Compatible (const View< A > &a, const View< B > &b)
 
template<template< class > class A>
bool Compatible (const View< A > &a, const View< A > &b, const View< A > &c)
 
template<template< class > class A>
bool Compatible (const View< A > &a, const View< A > &b, const View< A > &c, const View< A > &d)
 
template<template< class > class A>
bool Compatible (const View< A > &a, const View< A > &b, const View< A > &c, const View< A > &d, const View< A > &e)
 
template<template< class > class A, template< class > class B>
SIMD_INLINE bool EqualSize (const View< A > &a, const View< B > &b)
 
template<template< class > class A>
SIMD_INLINE bool EqualSize (const View< A > &a, const View< A > &b, const View< A > &c)
 
template<template< class > class A, template< class > class B>
SIMD_INLINE bool Compatible (const View< A > &a, const View< B > &b)
 
template<template< class > class A>
SIMD_INLINE bool Compatible (const View< A > &a, const View< A > &b, const View< A > &c)
 
template<template< class > class A>
SIMD_INLINE bool Compatible (const View< A > &a, const View< A > &b, const View< A > &c, const View< A > &d)
 
template<template< class > class A>
SIMD_INLINE bool Compatible (const View< A > &a, const View< A > &b, const View< A > &c, const View< A > &d, const View< A > &e)
 
template<template< class > class A>
SIMD_INLINE void AbsDifferenceSum (const View< A > &a, const View< A > &b, uint64_t &sum)
 Gets sum of absolute difference of two gray 8-bit images. More...
 
template<template< class > class A>
SIMD_INLINE void AbsDifferenceSum (const View< A > &a, const View< A > &b, const View< A > &mask, uint8_t index, uint64_t &sum)
 Gets sum of absolute difference of two gray 8-bit images based on gray 8-bit mask. More...
 
template<template< class > class A>
SIMD_INLINE void AbsDifferenceSums3x3 (const View< A > &current, const View< A > &background, uint64_t *sums)
 Gets 9 sums of absolute difference of two gray 8-bit images with various relative shifts in neighborhood 3x3. More...
 
template<template< class > class A>
SIMD_INLINE void AbsDifferenceSums3x3 (const View< A > &current, const View< A > &background, const View< A > &mask, uint8_t index, uint64_t *sums)
 Gets 9 sums of absolute difference of two gray 8-bit images with various relative shifts in neighborhood 3x3 based on gray 8-bit mask. More...
 
template<template< class > class A>
SIMD_INLINE void AbsGradientSaturatedSum (const View< A > &src, View< A > &dst)
 Puts to destination 8-bit gray image saturated sum of absolute gradient for every point of source 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void AddFeatureDifference (const View< A > &value, const View< A > &lo, const View< A > &hi, uint16_t weight, View< A > &difference)
 Adds feature difference to common difference sum. More...
 
template<template< class > class A>
SIMD_INLINE void AlphaBlending (const View< A > &src, const View< A > &alpha, View< A > &dst)
 Performs alpha blending operation. More...
 
template<template< class > class A>
SIMD_INLINE void BackgroundGrowRangeSlow (const View< A > &value, View< A > &lo, View< A > &hi)
 Performs background update (initial grow, slow mode). More...
 
template<template< class > class A>
SIMD_INLINE void BackgroundGrowRangeFast (const View< A > &value, View< A > &lo, View< A > &hi)
 Performs background update (initial grow, fast mode). More...
 
template<template< class > class A>
SIMD_INLINE void BackgroundIncrementCount (const View< A > &value, const View< A > &loValue, const View< A > &hiValue, View< A > &loCount, View< A > &hiCount)
 Performs collection of background statistic. More...
 
template<template< class > class A>
SIMD_INLINE void BackgroundAdjustRange (View< A > &loCount, View< A > &loValue, View< A > &hiCount, View< A > &hiValue, uint8_t threshold)
 Performs adjustment of background range. More...
 
template<template< class > class A>
SIMD_INLINE void BackgroundAdjustRange (View< A > &loCount, View< A > &loValue, View< A > &hiCount, View< A > &hiValue, uint8_t threshold, const View< A > &mask)
 Performs adjustment of background range with using adjust range mask. More...
 
template<template< class > class A>
SIMD_INLINE void BackgroundShiftRange (const View< A > &value, View< A > &lo, View< A > &hi)
 Shifts background range. More...
 
template<template< class > class A>
SIMD_INLINE void BackgroundShiftRange (const View< A > &value, View< A > &lo, View< A > &hi, const View< A > &mask)
 Shifts background range with using shift range mask. More...
 
template<template< class > class A>
SIMD_INLINE void BackgroundInitMask (const View< A > &src, uint8_t index, uint8_t value, View< A > &dst)
 Creates background update mask. More...
 
template<template< class > class A>
SIMD_INLINE void BayerToBgr (const View< A > &bayer, View< A > &bgr)
 Converts 8-bit Bayer image to 24-bit BGR. More...
 
template<template< class > class A>
SIMD_INLINE void BayerToBgra (const View< A > &bayer, View< A > &bgra, uint8_t alpha=0xFF)
 Converts 8-bit Bayer image to 32-bit BGRA. More...
 
template<template< class > class A>
SIMD_INLINE void BgraToBayer (const View< A > &bgra, View< A > &bayer)
 Converts 32-bit BGRA image to 8-bit Bayer image. More...
 
template<template< class > class A>
SIMD_INLINE void BgraToBgr (const View< A > &bgra, View< A > &bgr)
 Converts 32-bit BGRA image to 24-bit BGR image. More...
 
template<template< class > class A>
SIMD_INLINE void BgraToGray (const View< A > &bgra, View< A > &gray)
 Converts 32-bit BGRA image to 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void BgraToYuv420p (const View< A > &bgra, View< A > &y, View< A > &u, View< A > &v)
 Converts 32-bit BGRA image to YUV420P. More...
 
template<template< class > class A>
SIMD_INLINE void BgraToYuv422p (const View< A > &bgra, View< A > &y, View< A > &u, View< A > &v)
 Converts 32-bit BGRA image to YUV422P. More...
 
template<template< class > class A>
SIMD_INLINE void BgraToYuv444p (const View< A > &bgra, View< A > &y, View< A > &u, View< A > &v)
 Converts 32-bit BGRA image to YUV444P. More...
 
template<template< class > class A>
SIMD_INLINE void BgrToBayer (const View< A > &bgr, View< A > &bayer)
 Converts 24-bit BGR image to 8-bit Bayer image. More...
 
template<template< class > class A>
SIMD_INLINE void BgrToBgra (const View< A > &bgr, View< A > &bgra, uint8_t alpha=0xFF)
 Converts 24-bit BGR image to 32-bit BGRA image. More...
 
template<template< class > class A>
SIMD_INLINE void Bgr48pToBgra32 (const View< A > &blue, const View< A > &green, const View< A > &red, View< A > &bgra, uint8_t alpha=0xFF)
 Converts 48-bit planar BGR image to 32-bit BGRA image. More...
 
template<template< class > class A>
SIMD_INLINE void BgrToGray (const View< A > &bgr, View< A > &gray)
 Converts 24-bit BGR image to 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void BgrToHsl (const View< A > &bgr, View< A > &hsl)
 Converts 24-bit BGR image to 24-bit HSL(Hue, Saturation, Lightness) image. More...
 
template<template< class > class A>
SIMD_INLINE void BgrToHsv (const View< A > &bgr, View< A > &hsv)
 Converts 24-bit BGR image to 24-bit HSV(Hue, Saturation, Value) image. More...
 
template<template< class > class A>
SIMD_INLINE void BgrToYuv420p (const View< A > &bgr, View< A > &y, View< A > &u, View< A > &v)
 Converts 24-bit BGR image to YUV420P. More...
 
template<template< class > class A>
SIMD_INLINE void BgrToYuv422p (const View< A > &bgr, View< A > &y, View< A > &u, View< A > &v)
 Converts 24-bit BGR image to YUV422P. More...
 
template<template< class > class A>
SIMD_INLINE void BgrToYuv444p (const View< A > &bgr, View< A > &y, View< A > &u, View< A > &v)
 Converts 24-bit BGR image to YUV444P. More...
 
template<template< class > class A>
SIMD_INLINE void Binarization (const View< A > &src, uint8_t value, uint8_t positive, uint8_t negative, View< A > &dst, SimdCompareType compareType)
 Performs binarization of 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void AveragingBinarization (const View< A > &src, uint8_t value, size_t neighborhood, uint8_t threshold, uint8_t positive, uint8_t negative, View< A > &dst, SimdCompareType compareType)
 Performs averaging binarization of 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void ConditionalCount8u (const View< A > &src, uint8_t value, SimdCompareType compareType, uint32_t &count)
 Calculates number of points satisfying certain condition for 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void ConditionalCount16i (const View< A > &src, int16_t value, SimdCompareType compareType, uint32_t &count)
 Calculates number of points satisfying certain condition for 16-bit signed integer image. More...
 
template<template< class > class A>
SIMD_INLINE void ConditionalSum (const View< A > &src, const View< A > &mask, uint8_t value, SimdCompareType compareType, uint64_t &sum)
 Calculates sum of image points when mask points satisfying certain condition. More...
 
template<template< class > class A>
SIMD_INLINE void ConditionalSquareSum (const View< A > &src, const View< A > &mask, uint8_t value, SimdCompareType compareType, uint64_t &sum)
 Calculates sum of squared image points when mask points satisfying certain condition. More...
 
template<template< class > class A>
SIMD_INLINE void ConditionalSquareGradientSum (const View< A > &src, const View< A > &mask, uint8_t value, SimdCompareType compareType, uint64_t &sum)
 Calculates sum of squared gradient of image points when mask points satisfying certain condition. More...
 
template<template< class > class A>
SIMD_INLINE void ConditionalFill (const View< A > &src, uint8_t threshold, SimdCompareType compareType, uint8_t value, View< A > &dst)
 Fills pixels of 8-bit gray image by given value if corresponding pixels of input 8-bit gray image satisfy certain condition. More...
 
template<template< class > class A, template< class > class B>
SIMD_INLINE void Copy (const View< A > &src, View< B > &dst)
 Copies pixels data of image from source to destination. More...
 
template<template< class > class A>
SIMD_INLINE void CopyFrame (const View< A > &src, const Rectangle< ptrdiff_t > &frame, View< A > &dst)
 Copies pixels data of image from source to destination except for the portion bounded frame. More...
 
template<template< class > class A>
SIMD_INLINE void DeinterleaveUv (const View< A > &uv, View< A > &u, View< A > &v)
 Deinterleaves 16-bit UV interleaved image into separated 8-bit U and V planar images. More...
 
template<template< class > class A>
SIMD_INLINE void DeinterleaveBgr (const View< A > &bgr, View< A > &b, View< A > &g, View< A > &r)
 Deinterleaves 24-bit BGR interleaved image into separated 8-bit Blue, Green and Red planar images. More...
 
template<template< class > class A>
SIMD_INLINE void DeinterleaveBgra (const View< A > &bgra, View< A > &b, View< A > &g, View< A > &r, View< A > &a)
 Deinterleaves 32-bit BGRA interleaved image into separated 8-bit Blue, Green, Red and Alpha planar images. More...
 
template<template< class > class A>
SIMD_INLINE void EdgeBackgroundGrowRangeSlow (const View< A > &value, View< A > &background)
 Performs edge background update (initial grow, slow mode). More...
 
template<template< class > class A>
SIMD_INLINE void EdgeBackgroundGrowRangeFast (const View< A > &value, View< A > &background)
 Performs edge background update (initial grow, fast mode). More...
 
template<template< class > class A>
SIMD_INLINE void EdgeBackgroundIncrementCount (const View< A > &value, const View< A > &backgroundValue, View< A > &backgroundCount)
 Performs collection of edge background statistic. More...
 
template<template< class > class A>
SIMD_INLINE void EdgeBackgroundAdjustRange (View< A > &backgroundCount, View< A > &backgroundValue, uint8_t threshold)
 Performs adjustment of edge background range. More...
 
template<template< class > class A>
SIMD_INLINE void EdgeBackgroundAdjustRange (View< A > &backgroundCount, View< A > &backgroundValue, uint8_t threshold, const View< A > &mask)
 Performs adjustment of edge background range with using adjust range mask. More...
 
template<template< class > class A>
SIMD_INLINE void EdgeBackgroundShiftRange (const View< A > &value, View< A > &background)
 Shifts edge background range. More...
 
template<template< class > class A>
SIMD_INLINE void EdgeBackgroundShiftRange (const View< A > &value, View< A > &background, const View< A > &mask)
 Shifts edge background range with using shift range mask. More...
 
template<template< class > class A>
SIMD_INLINE void Fill (View< A > &dst, uint8_t value)
 Fills pixels data of image by given value. More...
 
template<template< class > class A>
SIMD_INLINE void FillFrame (View< A > &dst, const Rectangle< ptrdiff_t > &frame, uint8_t value)
 Fills pixels data of image except for the portion bounded frame by given value. More...
 
template<template< class > class A>
SIMD_INLINE void FillBgr (View< A > &dst, uint8_t blue, uint8_t green, uint8_t red)
 Fills pixels data of 24-bit BGR image by given color(blue, green, red). More...
 
template<template< class > class A>
SIMD_INLINE void FillBgra (View< A > &dst, uint8_t blue, uint8_t green, uint8_t red, uint8_t alpha=0xFF)
 Fills pixels data of 32-bit BGRA image by given color(blue, green, red, alpha). More...
 
template<template< class > class A>
SIMD_INLINE void GaussianBlur3x3 (const View< A > &src, View< A > &dst)
 Performs Gaussian blur filtration with window 3x3. More...
 
template<template< class > class A>
SIMD_INLINE void GrayToBgr (const View< A > &gray, View< A > &bgr)
 Converts 8-bit gray image to 24-bit BGR image. More...
 
template<template< class > class A>
SIMD_INLINE void GrayToBgra (const View< A > &gray, View< A > &bgra, uint8_t alpha=0xFF)
 Converts 8-bit gray image to 32-bit BGRA image. More...
 
template<template< class > class A>
SIMD_INLINE void AbsSecondDerivativeHistogram (const View< A > &src, size_t step, size_t indent, uint32_t *histogram)
 Calculates histogram of second derivative for 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void Histogram (const View< A > &src, uint32_t *histogram)
 Calculates histogram for 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void HistogramMasked (const View< A > &src, const View< A > &mask, uint8_t index, uint32_t *histogram)
 Calculates histogram for 8-bit gray image with using mask. More...
 
template<template< class > class A>
SIMD_INLINE void HistogramConditional (const View< A > &src, const View< A > &mask, uint8_t value, SimdCompareType compareType, uint32_t *histogram)
 Calculates histogram of 8-bit gray image for those points when mask points satisfying certain condition. More...
 
template<template< class > class A>
SIMD_INLINE void NormalizeHistogram (const View< A > &src, View< A > &dst)
 Normalizes histogram for 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void HogExtractFeatures (const View< A > &src, float *features)
 Extracts HOG features for 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void Int16ToGray (const View< A > &src, View< A > &dst)
 Converts 16-bit signed integer image to 8-bit gray image with saturation. More...
 
template<template< class > class A>
SIMD_INLINE void Integral (const View< A > &src, View< A > &sum)
 Calculates integral images for input 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void Integral (const View< A > &src, View< A > &sum, View< A > &sqsum)
 Calculates integral images for input 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void Integral (const View< A > &src, View< A > &sum, View< A > &sqsum, View< A > &tilted)
 Calculates integral images for input 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void InterferenceIncrement (View< A > &dst, uint8_t increment, int16_t saturation)
 Increments statistic of interference detector. More...
 
template<template< class > class A>
SIMD_INLINE void InterferenceIncrementMasked (View< A > &dst, uint8_t increment, int16_t saturation, const View< A > &mask, uint8_t index)
 Increments statistic of interference detector with using segmentation mask. More...
 
template<template< class > class A>
SIMD_INLINE void InterferenceDecrement (View< A > &dst, uint8_t decrement, int16_t saturation)
 Decrements statistic of interference detector. More...
 
template<template< class > class A>
SIMD_INLINE void InterferenceDecrementMasked (View< A > &dst, uint8_t decrement, int16_t saturation, const View< A > &mask, uint8_t index)
 Decrements statistic of interference detector with using segmentation mask. More...
 
template<template< class > class A>
SIMD_INLINE void InterleaveUv (const View< A > &u, const View< A > &v, View< A > &uv)
 Interleaves 8-bit U and V planar images into one 16-bit UV interleaved image. More...
 
template<template< class > class A>
SIMD_INLINE void InterleaveBgr (const View< A > &b, const View< A > &g, const View< A > &r, View< A > &bgr)
 Interleaves 8-bit Blue, Green and Red planar images into one 24-bit BGR interleaved image. More...
 
template<template< class > class A>
SIMD_INLINE void InterleaveBgra (const View< A > &b, const View< A > &g, const View< A > &r, const View< A > &a, View< A > &bgra)
 Interleaves 8-bit Blue, Green, Red and Alpha planar images into one 32-bit BGRA interleaved image. More...
 
template<template< class > class A>
SIMD_INLINE void Laplace (const View< A > &src, View< A > &dst)
 Calculates Laplace's filter. More...
 
template<template< class > class A>
SIMD_INLINE void LaplaceAbs (const View< A > &src, View< A > &dst)
 Calculates absolute value of Laplace's filter. More...
 
template<template< class > class A>
SIMD_INLINE void LaplaceAbsSum (const View< A > &src, uint64_t &sum)
 Calculates sum of absolute value of Laplace's filter. More...
 
template<template< class > class A>
SIMD_INLINE void LbpEstimate (const View< A > &src, View< A > &dst)
 Calculates LBP (Local Binary Patterns) for 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void MeanFilter3x3 (const View< A > &src, View< A > &dst)
 Performs an averaging with window 3x3. More...
 
template<template< class > class A>
SIMD_INLINE void MedianFilterRhomb3x3 (const View< A > &src, View< A > &dst)
 Performs median filtration of input image (filter window is a rhomb 3x3). More...
 
template<template< class > class A>
SIMD_INLINE void MedianFilterRhomb5x5 (const View< A > &src, View< A > &dst)
 Performs median filtration of input image (filter window is a rhomb 5x5). More...
 
template<template< class > class A>
SIMD_INLINE void MedianFilterSquare3x3 (const View< A > &src, View< A > &dst)
 Performs median filtration of input image (filter window is a square 3x3). More...
 
template<template< class > class A>
SIMD_INLINE void MedianFilterSquare5x5 (const View< A > &src, View< A > &dst)
 Performs median filtration of input image (filter window is a square 5x5). More...
 
template<template< class > class A>
SIMD_INLINE void NeuralConvert (const View< A > &src, float *dst, size_t stride, bool inversion)
 Converts a 8-bit gray image to the 32-bit float array. More...
 
template<template< class > class A>
SIMD_INLINE void OperationBinary8u (const View< A > &a, const View< A > &b, View< A > &dst, SimdOperationBinary8uType type)
 Performs given operation between two images. More...
 
template<template< class > class A>
SIMD_INLINE void OperationBinary16i (const View< A > &a, const View< A > &b, View< A > &dst, SimdOperationBinary16iType type)
 Performs given operation between two images. More...
 
template<template< class > class A>
SIMD_INLINE void VectorProduct (const uint8_t *vertical, const uint8_t *horizontal, View< A > &dst)
 Calculates result 8-bit gray image as product of two vectors. More...
 
template<template< class > class A>
SIMD_INLINE void ReduceGray2x2 (const View< A > &src, View< A > &dst)
 Performs reducing (in 2 times) and Gaussian blurring a 8-bit gray image with using window 2x2. More...
 
template<template< class > class A>
SIMD_INLINE void ReduceGray3x3 (const View< A > &src, View< A > &dst, bool compensation=true)
 Performs reducing (in 2 times) and Gaussian blurring a 8-bit gray image with using window 3x3. More...
 
template<template< class > class A>
SIMD_INLINE void ReduceGray4x4 (const View< A > &src, View< A > &dst)
 Performs reducing (in 2 times) and Gaussian blurring a 8-bit gray image with using window 4x4. More...
 
template<template< class > class A>
SIMD_INLINE void ReduceGray5x5 (const View< A > &src, View< A > &dst, bool compensation=true)
 Performs reducing (in 2 times) and Gaussian blurring a 8-bit gray image with using window 5x5. More...
 
template<template< class > class A>
SIMD_INLINE void ReduceGray (const View< A > &src, View< A > &dst, ::SimdReduceType reduceType, bool compensation=true)
 Performs reducing (in 2 times) and Gaussian blurring a 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void ResizeBilinear (const View< A > &src, View< A > &dst)
 Performs resizing of input image with using bilinear interpolation. More...
 
template<template< class > class A>
SIMD_INLINE void SegmentationChangeIndex (View< A > &mask, uint8_t oldIndex, uint8_t newIndex)
 Changes certain index in mask. More...
 
template<template< class > class A>
SIMD_INLINE void SegmentationFillSingleHoles (View< A > &mask, uint8_t index)
 Fill single holes in mask. More...
 
template<template< class > class A>
SIMD_INLINE void SegmentationPropagate2x2 (const View< A > &parent, View< A > &child, const View< A > &difference, uint8_t currentIndex, uint8_t invalidIndex, uint8_t emptyIndex, uint8_t differenceThreshold)
 Propagates mask index from parent (upper) to child (lower) level of mask pyramid with using 2x2 scan window. More...
 
template<template< class > class A>
SIMD_INLINE void SegmentationShrinkRegion (const View< A > &mask, uint8_t index, Rectangle< ptrdiff_t > &rect)
 Finds actual region of mask index location. More...
 
template<template< class > class A>
SIMD_INLINE void ShiftBilinear (const View< A > &src, const View< A > &bkg, const Point< double > &shift, const Rectangle< ptrdiff_t > &crop, View< A > &dst)
 Performs shifting of input image with using bilinear interpolation. More...
 
template<template< class > class A>
SIMD_INLINE void SobelDx (const View< A > &src, View< A > &dst)
 Calculates Sobel's filter along x axis. More...
 
template<template< class > class A>
SIMD_INLINE void SobelDxAbs (const View< A > &src, View< A > &dst)
 Calculates absolute value of Sobel's filter along x axis. More...
 
template<template< class > class A>
SIMD_INLINE void SobelDxAbsSum (const View< A > &src, uint64_t &sum)
 Calculates sum of absolute value of Sobel's filter along x axis. More...
 
template<template< class > class A>
SIMD_INLINE void SobelDy (const View< A > &src, View< A > &dst)
 Calculates Sobel's filter along y axis. More...
 
template<template< class > class A>
SIMD_INLINE void SobelDyAbs (const View< A > &src, View< A > &dst)
 Calculates absolute value of Sobel's filter along y axis. More...
 
template<template< class > class A>
SIMD_INLINE void SobelDyAbsSum (const View< A > &src, uint64_t &sum)
 Calculates sum of absolute value of Sobel's filter along y axis. More...
 
template<template< class > class A>
SIMD_INLINE void ContourMetrics (const View< A > &src, View< A > &dst)
 Calculates contour metrics based on absolute value and direction of Sobel's filter along y and y axis. More...
 
template<template< class > class A>
SIMD_INLINE void ContourMetrics (const View< A > &src, const View< A > &mask, uint8_t indexMin, View< A > &dst)
 Calculates contour metrics based on absolute value and direction of Sobel's filter along y and y axis with using mask. More...
 
template<template< class > class A>
SIMD_INLINE void ContourAnchors (const View< A > &src, size_t step, int16_t threshold, View< A > &dst)
 Extract contour anchors from contour metrics. More...
 
template<template< class > class A>
SIMD_INLINE void SquaredDifferenceSum (const View< A > &a, const View< A > &b, uint64_t &sum)
 Calculates sum of squared differences for two 8-bit gray images. More...
 
template<template< class > class A>
SIMD_INLINE void SquaredDifferenceSum (const View< A > &a, const View< A > &b, const View< A > &mask, uint8_t index, uint64_t &sum)
 Calculates sum of squared differences for two images with using mask. More...
 
template<template< class > class A>
SIMD_INLINE void GetStatistic (const View< A > &src, uint8_t &min, uint8_t &max, uint8_t &average)
 Finds minimal, maximal and average pixel values for given image. More...
 
template<template< class > class A>
SIMD_INLINE void GetMoments (const View< A > &mask, uint8_t index, uint64_t &area, uint64_t &x, uint64_t &y, uint64_t &xx, uint64_t &xy, uint64_t &yy)
 Calculate statistical characteristics (moments) of pixels with given index. More...
 
template<template< class > class A>
SIMD_INLINE void GetRowSums (const View< A > &src, uint32_t *sums)
 Calculate sums of rows for given 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void GetColSums (const View< A > &src, uint32_t *sums)
 Calculate sums of columns for given 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void GetAbsDyRowSums (const View< A > &src, uint32_t *sums)
 Calculate sums of absolute derivate along y axis for rows for given 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void GetAbsDxColSums (const View< A > &src, uint32_t *sums)
 Calculate sums of absolute derivate along x axis for columns for given 8-bit gray image. More...
 
template<template< class > class A>
SIMD_INLINE void ValueSum (const View< A > &src, uint64_t &sum)
 Gets sum of value of pixels for gray 8-bit image. More...
 
template<template< class > class A>
SIMD_INLINE void SquareSum (const View< A > &src, uint64_t &sum)
 Gets sum of squared value of pixels for gray 8-bit image. More...
 
template<template< class > class A>
SIMD_INLINE void CorrelationSum (const View< A > &a, const View< A > &b, uint64_t &sum)
 Gets sum of pixel correlation for two gray 8-bit images. More...
 
template<template< class > class A>
SIMD_INLINE void StretchGray2x2 (const View< A > &src, View< A > &dst)
 Stretches input 8-bit gray image in two times. More...
 
template<template< class > class A>
SIMD_INLINE void TextureBoostedSaturatedGradient (const View< A > &src, uint8_t saturation, uint8_t boost, View< A > &dx, View< A > &dy)
 Calculates boosted saturated gradients for given input image. More...
 
template<template< class > class A>
SIMD_INLINE void TextureBoostedUv (const View< A > &src, uint8_t boost, View< A > &dst)
 Calculates boosted colorized texture feature of input image (actual for U and V components of YUV format). More...
 
template<template< class > class A>
SIMD_INLINE void TextureGetDifferenceSum (const View< A > &src, const View< A > &lo, const View< A > &hi, int64_t &sum)
 Calculates difference between current image and background. More...
 
template<template< class > class A>
SIMD_INLINE void TexturePerformCompensation (const View< A > &src, int shift, View< A > &dst)
 Performs brightness compensation of input image. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv420pToBgr (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &bgr)
 Converts YUV420P image to 24-bit BGR image. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv422pToBgr (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &bgr)
 Converts YUV422P image to 24-bit BGR image. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv444pToBgr (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &bgr)
 Converts YUV444P image to 24-bit BGR image. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv420pToBgra (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &bgra, uint8_t alpha=0xFF)
 Converts YUV420P image to 32-bit BGRA image. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv422pToBgra (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &bgra, uint8_t alpha=0xFF)
 Converts YUV422P image to 32-bit BGRA image. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv444pToBgra (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &bgra, uint8_t alpha=0xFF)
 Converts YUV444P image to 32-bit BGRA image. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv444pToHsl (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &hsl)
 Converts YUV444P image to 24-bit HSL(Hue, Saturation, Lightness) image. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv444pToHsv (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &hsv)
 Converts YUV444P image to 24-bit HSV(Hue, Saturation, Value) image. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv420pToHue (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &hue)
 Converts YUV420P image to 8-bit image with Hue component of HSV or HSL color space. More...
 
template<template< class > class A>
SIMD_INLINE void Yuv444pToHue (const View< A > &y, const View< A > &u, const View< A > &v, View< A > &hue)
 Converts YUV444P image to 8-bit image with Hue component of HSV or HSL color space. More...
 
template<template< class > class A>
SIMD_INLINE void Convert (const View< A > &src, View< A > &dst)
 Converts an image of one format to an image of another format. More...
 
template<template< class > class A>
SIMD_INLINE void Fill (Pyramid< A > &pyramid, uint8_t value)
 Fills pixels data of images in the pyramid by given value. More...
 
template<template< class > class A>
SIMD_INLINE void Build (Pyramid< A > &pyramid, ::SimdReduceType reduceType, bool compensation=true)
 Builds the pyramid (fills upper levels on the base of the lowest level). More...
 
template<template< class > class A, template< class > class B>
bool EqualSize (const Frame< A > &a, const Frame< B > &b)
 
template<template< class > class A, template< class > class B>
bool Compatible (const Frame< A > &a, const Frame< B > &b)
 
template<template< class > class A, template< class > class B>
void Copy (const Frame< A > &src, Frame< B > &dst)
 Copies one frame to another frame. More...
 
template<template< class > class A>
void Convert (const Frame< A > &src, Frame< A > &dst)
 Converts one frame to another frame. More...
 
template<template< class > class A, template< class > class B>
SIMD_INLINE bool EqualSize (const Frame< A > &a, const Frame< B > &b)
 
template<template< class > class A, template< class > class B>
SIMD_INLINE bool Compatible (const Frame< A > &a, const Frame< B > &b)
 
template<template< class > class A, template< class > class B>
SIMD_INLINE void Copy (const Frame< A > &src, Frame< B > &dst)
 Copies one frame to another frame. More...
 
template<template< class > class A>
SIMD_INLINE void Convert (const Frame< A > &src, Frame< A > &dst)
 Converts one frame to another frame. More...
 
Point< ptrdiff_t > Scale (Point< ptrdiff_t > size, int scale=2)
 Scales size of an image. More...
 
template<template< class > class A, class Color >
SIMD_INLINE void DrawLine (View< A > &canvas, ptrdiff_t x1, ptrdiff_t y1, ptrdiff_t x2, ptrdiff_t y2, const Color &color, size_t width=1)
 Draws a line at the image. More...
 
template<template< class > class A, class Color >
SIMD_INLINE void DrawLine (View< A > &canvas, const Point< ptrdiff_t > &p1, const Point< ptrdiff_t > &p2, const Color &color, size_t width=1)
 Draws a line at the image. More...
 
template<template< class > class A, class Color >
SIMD_INLINE void DrawRectangle (View< A > &canvas, const Rectangle< ptrdiff_t > &rect, const Color &color, size_t width=1)
 Draws a rectangle at the image. More...
 

Detailed Description