|
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 square differences between two square image patches. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static unsigned int | 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 square differences between an image patch and a memory buffer. More...
|
|
template<unsigned int tChannels, unsigned int tPixels> |
static uint32_t | buffer8BitPerChannel (const uint8_t *const buffer0, const uint8_t *const buffer1) |
| Returns the sum of square differences between two memory buffers. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static IndexPair32 | patchAtBorder8BitPerChannel (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 square differences between two square image patches which can be partially outside of the images. 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 square differences between two patches within an image, patch pixels outside the image will be mirrored back into the image. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static OCEAN_FORCE_INLINE uint32_t | patch8BitPerChannelTemplate (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 square 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 square 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 square 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 square 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 square differences between two individual buffers. More...
|
|
template<unsigned int tChannels, unsigned int tPatchSize> |
static IndexPair32 | patchAtBorder8BitPerChannelTemplate (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 square differences between two square image patches which can be partially outside of the images. 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 square 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 *const image0, const uint8_t *const 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 square 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 square 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 square 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 square 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 square differences between two individual buffers. More...
|
|
static IndexPair32 | patchAtBorder8BitPerChannel (const uint8_t *image0, const uint8_t *image1, const unsigned int channels, 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 square differences between two square image patches which can be partially outside of the images. More...
|
|
This class implements functions calculating the sum of square differences.