|
template<unsigned int tChannels, unsigned int tPatchSize> |
static uint32_t | patch8BitPerChannel (const uint8_t *const image0, const uint8_t *const image1, const unsigned int width0, const unsigned int width1, const unsigned int centerX0, const unsigned int centerY0, const unsigned int centerX1, const unsigned int centerY1, const unsigned int image0PaddingElements, const unsigned int image1PaddingElements) |
| Returns the sum of absolute differences between two square image patches. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static uint32_t | patchBuffer8BitPerChannel (const uint8_t *const image0, const unsigned int width0, const unsigned int centerX0, const unsigned int centerY0, const unsigned int image0PaddingElements, const uint8_t *const buffer1) |
| Returns the sum of absolute differences between an image patch and a memory buffer. More...
|
|
template<unsigned int tChannels, unsigned int tPixels> |
static uint32_t | buffer8BitPerChannel (const uint8_t *buffer0, const uint8_t *buffer1) |
| Returns the sum of square differences between two memory buffers. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static uint32_t | patchMirroredBorder8BitPerChannel (const uint8_t *image0, const uint8_t *image1, const unsigned int width0, const unsigned int height0, const unsigned int width1, const unsigned int height1, const unsigned int centerX0, const unsigned int centerY0, const unsigned int centerX1, const unsigned int centerY1, const unsigned int image0PaddingElements, const unsigned int image1PaddingElements) |
| Returns the sum of absolute differences between two patches within an image, patch pixels outside the image will be mirrored back into the image. More...
|
|
template<typename T , unsigned int tChannels> |
static void | determine (const T *firstFrame, const T *secondFrame, const unsigned int width, const unsigned int height, typename AbsoluteDifferenceValueTyper< T >::Type *absoluteDifferences, const unsigned int firstFramePaddingElements, const unsigned int secondFramePaddingElements) |
| Determines the sum of absolute differences between two individual frames, individually for each channel. More...
|
|
static bool | determine (const Frame &firstFrame, const Frame &secondFrame, Indices32 &absoluteDifferences) |
| Determines the sum of absolute differences between two individual frames, individually for each plane, and individually for each channel. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static OCEAN_FORCE_INLINE uint32_t | patch8BitPerChannelTemplate (const uint8_t *image0, const uint8_t *image1, const unsigned int width0, const unsigned int width1, const unsigned int centerX0, const unsigned int centerY0, const unsigned int centerX1, const unsigned int centerY1, const unsigned int image0PaddingElements, const unsigned int image1PaddingElements) |
| Returns the sum of absolute differences between two square patches. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static uint32_t | patch8BitPerChannelTemplate (const uint8_t *patch0, const uint8_t *patch1, const unsigned int patch0StrideElements, const unsigned int patch1StrideElements) |
| Returns the sum of absolute differences between two square patches. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static OCEAN_FORCE_INLINE uint32_t | patchBuffer8BitPerChannelTemplate (const uint8_t *image0, const unsigned int width0, const unsigned int centerX0, const unsigned int centerY0, const unsigned int image0PaddingElements, const uint8_t *buffer1) |
| Returns the sum of absolute differences between a square image patch and a buffer. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static uint32_t | patchBuffer8BitPerChannelTemplate (const uint8_t *patch0, const uint8_t *buffer1, const unsigned int patch0StrideElements) |
| Returns the sum of absolute differences between a square image patch and a buffer. More...
|
|
template<unsigned int tBufferSize> |
static uint32_t | buffer8BitPerChannelTemplate (const uint8_t *const buffer0, const uint8_t *const buffer1) |
| Returns the sum of absolute differences between two individual buffers. More...
|
|
template<unsigned int tChannels> |
static uint32_t | patchMirroredBorder8BitPerChannelTemplate (const uint8_t *image0, const uint8_t *image1, const unsigned int patchSize, const unsigned int width0, const unsigned int height0, const unsigned int width1, const unsigned int height1, const unsigned int centerX0, const unsigned int centerY0, const unsigned int centerX1, const unsigned int centerY1, const unsigned int image0PaddingElements, const unsigned int image1PaddingElements) |
| Returns the sum of absolute differences between two patches within an image, patch pixels outside the image will be mirrored back into the image. More...
|
|
static OCEAN_FORCE_INLINE uint32_t | patch8BitPerChannel (const uint8_t *image0, const uint8_t *image1, const unsigned int channels, const unsigned int patchSize, const unsigned int width0, const unsigned int width1, const unsigned int centerX0, const unsigned int centerY0, const unsigned int centerX1, const unsigned int centerY1, const unsigned int image0PaddingElements, const unsigned int image1PaddingElements) |
| Returns the sum of absolute differences between two square patches. More...
|
|
static uint32_t | patch8BitPerChannel (const uint8_t *patch0, const uint8_t *patch1, const unsigned int channels, const unsigned int patchSize, const unsigned int patch0StrideElements, const unsigned int patch1StrideElements) |
| Returns the sum of absolute differences between two square patches. More...
|
|
static OCEAN_FORCE_INLINE uint32_t | patchBuffer8BitPerChannel (const uint8_t *image0, unsigned int channels, unsigned int patchSize, const unsigned int width0, const unsigned int centerX0, const unsigned int centerY0, const unsigned int image0PaddingElements, const uint8_t *buffer1) |
| Returns the sum of absolute differences between a square image patch and a buffer. More...
|
|
static uint32_t | patchBuffer8BitPerChannel (const uint8_t *patch0, const uint8_t *buffer1, unsigned int channels, unsigned int patchSize, const unsigned int patch0StrideElements) |
| Returns the sum of absolute differences between a square image patch and a buffer. More...
|
|
static uint32_t | buffer8BitPerChannel (const uint8_t *const buffer0, const uint8_t *const buffer1, const unsigned int bufferSize) |
| Returns the sum of absolute differences between two individual buffers. More...
|
|
This class implements functions calculation the sum of absolute differences.