21.02
|
Go to the source code of this file.
Macros | |
#define | SORT(a, b) |
Sorts element-wise two vectors. More... | |
Functions | |
uchar8 | sort5 (uchar8 p0, uchar8 p1, uchar8 p2, uchar8 p3, uchar8 p4) |
Sorting network to sort 5 vectors of 8 elements and return their median. More... | |
uchar8 | sort9 (uchar8 p0, uchar8 p1, uchar8 p2, uchar8 p3, uchar8 p4, uchar8 p5, uchar8 p6, uchar8 p7, uchar8 p8) |
Sorting network to sort 9 vectors of 8 elements and return their median. More... | |
uchar8 | row_reduce_min_3 (uchar16 val) |
Calculate the minimum of a sliding window of size 3. More... | |
uchar8 | row_reduce_max_3 (uchar16 val) |
Calculate the maximum of a sliding window of size 3. More... | |
uchar8 | row_reduce_min_5 (uchar16 val) |
Calculate the minimum of a sliding window of size 5. More... | |
uchar8 | row_reduce_max_5 (uchar16 val) |
Calculate the maximum of a sliding window of size 5. More... | |
#define SORT | ( | a, | |
b | |||
) |
Sorts element-wise two vectors.
[in,out] | a | First vector |
[in,out] | b | Second vector |
Definition at line 30 of file non_linear_filter_helpers.h.
Referenced by median_box5x5(), median_disk5x5(), sort5(), and sort9().
|
inline |
Calculate the maximum of a sliding window of size 3.
val | Values to calculate the maximum values |
Definition at line 120 of file non_linear_filter_helpers.h.
Referenced by non_linear_filter_box3x3(), non_linear_filter_cross3x3(), non_linear_filter_disk3x3(), and non_linear_filter_disk5x5().
|
inline |
Calculate the maximum of a sliding window of size 5.
val | Values to calculate the maximum values |
Definition at line 142 of file non_linear_filter_helpers.h.
Referenced by non_linear_filter_box5x5(), non_linear_filter_cross5x5(), and non_linear_filter_disk5x5().
|
inline |
Calculate the minimum of a sliding window of size 3.
val | Values to calculate the minimum values |
Definition at line 109 of file non_linear_filter_helpers.h.
Referenced by non_linear_filter_box3x3(), non_linear_filter_cross3x3(), non_linear_filter_disk3x3(), and non_linear_filter_disk5x5().
|
inline |
Calculate the minimum of a sliding window of size 5.
val | Values to calculate the minimum values |
Definition at line 131 of file non_linear_filter_helpers.h.
Referenced by non_linear_filter_box5x5(), non_linear_filter_cross5x5(), and non_linear_filter_disk5x5().
|
inline |
Sorting network to sort 5 vectors of 8 elements and return their median.
[in] | p0 | First element vector |
[in] | p1 | Second element vector |
[in] | p2 | Third element vector |
[in] | p3 | Fourth element vector |
[in] | p4 | Fifth element vector |
Definition at line 50 of file non_linear_filter_helpers.h.
References SORT.
Referenced by NENonLinearFilterKernel::configure(), and non_linear_filter_cross3x3().
|
inline |
Sorting network to sort 9 vectors of 8 elements and return their median.
[in] | p0 | First element vector |
[in] | p1 | Second element vector |
[in] | p2 | Third element vector |
[in] | p3 | Fourth element vector |
[in] | p4 | Fifth element vector |
[in] | p5 | Sixth element vector |
[in] | p6 | Seventh element vector |
[in] | p7 | Eigth element vector |
[in] | p8 | Ninth element vector |
Definition at line 78 of file non_linear_filter_helpers.h.
References SORT.
Referenced by NENonLinearFilterKernel::configure(), non_linear_filter_box3x3(), non_linear_filter_cross5x5(), and non_linear_filter_disk3x3().