Median image filters.
More...
|
SIMD_API void | SimdMedianFilterRhomb3x3 (const uint8_t *src, size_t srcStride, size_t width, size_t height, size_t channelCount, uint8_t *dst, size_t dstStride) |
| Performs median filtration of input image (filter window is a rhomb 3x3). More...
|
|
SIMD_API void | SimdMedianFilterRhomb5x5 (const uint8_t *src, size_t srcStride, size_t width, size_t height, size_t channelCount, uint8_t *dst, size_t dstStride) |
| Performs median filtration of input image (filter window is a rhomb 5x5). More...
|
|
SIMD_API void | SimdMedianFilterSquare3x3 (const uint8_t *src, size_t srcStride, size_t width, size_t height, size_t channelCount, uint8_t *dst, size_t dstStride) |
| Performs median filtration of input image (filter window is a square 3x3). More...
|
|
SIMD_API void | SimdMedianFilterSquare5x5 (const uint8_t *src, size_t srcStride, size_t width, size_t height, size_t channelCount, uint8_t *dst, size_t dstStride) |
| Performs median filtration of input image (filter window is a square 5x5). 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...
|
|
Median image filters.
void SimdMedianFilterRhomb3x3 |
( |
const uint8_t * |
src, |
|
|
size_t |
srcStride, |
|
|
size_t |
width, |
|
|
size_t |
height, |
|
|
size_t |
channelCount, |
|
|
uint8_t * |
dst, |
|
|
size_t |
dstStride |
|
) |
| |
Performs median filtration of input image (filter window is a rhomb 3x3).
All images must have the same width, height and format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).
- Note
- This function has a C++ wrappers: Simd::MedianFilterRhomb3x3(const View<A>& src, View<A>& dst).
- Parameters
-
[in] | src | - a pointer to pixels data of original input image. |
[in] | srcStride | - a row size of src image. |
[in] | width | - an image width. |
[in] | height | - an image height. |
[in] | channelCount | - a channel count. |
[out] | dst | - a pointer to pixels data of filtered output image. |
[in] | dstStride | - a row size of dst image. |
void SimdMedianFilterRhomb5x5 |
( |
const uint8_t * |
src, |
|
|
size_t |
srcStride, |
|
|
size_t |
width, |
|
|
size_t |
height, |
|
|
size_t |
channelCount, |
|
|
uint8_t * |
dst, |
|
|
size_t |
dstStride |
|
) |
| |
Performs median filtration of input image (filter window is a rhomb 5x5).
All images must have the same width, height and format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).
- Note
- This function has a C++ wrappers: Simd::MedianFilterRhomb5x5(const View<A>& src, View<A>& dst).
- Parameters
-
[in] | src | - a pointer to pixels data of original input image. |
[in] | srcStride | - a row size of src image. |
[in] | width | - an image width. |
[in] | height | - an image height. |
[in] | channelCount | - a channel count. |
[out] | dst | - a pointer to pixels data of filtered output image. |
[in] | dstStride | - a row size of dst image. |
void SimdMedianFilterSquare3x3 |
( |
const uint8_t * |
src, |
|
|
size_t |
srcStride, |
|
|
size_t |
width, |
|
|
size_t |
height, |
|
|
size_t |
channelCount, |
|
|
uint8_t * |
dst, |
|
|
size_t |
dstStride |
|
) |
| |
Performs median filtration of input image (filter window is a square 3x3).
All images must have the same width, height and format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).
- Note
- This function has a C++ wrappers: Simd::MedianFilterSquare3x3(const View<A>& src, View<A>& dst).
- Parameters
-
[in] | src | - a pointer to pixels data of original input image. |
[in] | srcStride | - a row size of src image. |
[in] | width | - an image width. |
[in] | height | - an image height. |
[in] | channelCount | - a channel count. |
[out] | dst | - a pointer to pixels data of filtered output image. |
[in] | dstStride | - a row size of dst image. |
void SimdMedianFilterSquare5x5 |
( |
const uint8_t * |
src, |
|
|
size_t |
srcStride, |
|
|
size_t |
width, |
|
|
size_t |
height, |
|
|
size_t |
channelCount, |
|
|
uint8_t * |
dst, |
|
|
size_t |
dstStride |
|
) |
| |
Performs median filtration of input image (filter window is a square 5x5).
All images must have the same width, height and format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).
- Note
- This function has a C++ wrappers: Simd::MedianFilterSquare5x5(const View<A>& src, View<A>& dst).
- Parameters
-
[in] | src | - a pointer to pixels data of original input image. |
[in] | srcStride | - a row size of src image. |
[in] | width | - an image width. |
[in] | height | - an image height. |
[in] | channelCount | - a channel count. |
[out] | dst | - a pointer to pixels data of filtered output image. |
[in] | dstStride | - a row size of dst image. |
void MedianFilterRhomb3x3 |
( |
const View< A > & |
src, |
|
|
View< A > & |
dst |
|
) |
| |
Performs median filtration of input image (filter window is a rhomb 3x3).
All images must have the same width, height and format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).
- Note
- This function is a C++ wrapper for function SimdMedianFilterRhomb3x3.
- Parameters
-
[in] | src | - an original input image. |
[out] | dst | - a filtered output image. |
void MedianFilterRhomb5x5 |
( |
const View< A > & |
src, |
|
|
View< A > & |
dst |
|
) |
| |
Performs median filtration of input image (filter window is a rhomb 5x5).
All images must have the same width, height and format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).
- Note
- This function is a C++ wrapper for function SimdMedianFilterRhomb5x5.
- Parameters
-
[in] | src | - an original input image. |
[out] | dst | - a filtered output image. |
void MedianFilterSquare3x3 |
( |
const View< A > & |
src, |
|
|
View< A > & |
dst |
|
) |
| |
Performs median filtration of input image (filter window is a square 3x3).
All images must have the same width, height and format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).
- Note
- This function is a C++ wrapper for function SimdMedianFilterSquare3x3.
- Parameters
-
[in] | src | - an original input image. |
[out] | dst | - a filtered output image. |
void MedianFilterSquare5x5 |
( |
const View< A > & |
src, |
|
|
View< A > & |
dst |
|
) |
| |
Performs median filtration of input image (filter window is a square 5x5).
All images must have the same width, height and format (8-bit gray, 16-bit UV, 24-bit BGR or 32-bit BGRA).
- Note
- This function is a C++ wrapper for function SimdMedianFilterSquare5x5.
- Parameters
-
[in] | src | - an original input image. |
[out] | dst | - a filtered output image. |
|