-
Notifications
You must be signed in to change notification settings - Fork 3
/
dynamic_median_filter.h
27 lines (22 loc) · 1.04 KB
/
dynamic_median_filter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef DYNAMIC_MEDIAN_FILTER_H
#define DYNAMIC_MEDIAN_FILTER_H
#include <HalideBuffer.h>
void dynamic_median_filter(Halide::Runtime::Buffer<const uint8_t> src,
int radius,
Halide::Runtime::Buffer<uint8_t> &dst,
bool use_cuda = false,
int max_leaf = 0,
bool verbose = false);
void dynamic_median_filter(Halide::Runtime::Buffer<const uint16_t> src,
int radius,
Halide::Runtime::Buffer<uint16_t> &dst,
bool use_cuda = false,
int max_leaf = 0,
bool verbose = false);
void dynamic_median_filter(Halide::Runtime::Buffer<const float> src,
int radius,
Halide::Runtime::Buffer<float> &dst,
bool use_cuda = false,
int max_leaf = 0,
bool verbose = false);
#endif