| 20 | |
| 21 | template<typename inType, typename outType> |
| 22 | Array<outType> bilateral(const Array<inType> &in, const float &sSigma, |
| 23 | const float &cSigma) { |
| 24 | Array<outType> out = createEmptyArray<outType>(in.dims()); |
| 25 | kernel::bilateral<inType, outType>(out, in, sSigma, cSigma); |
| 26 | return out; |
| 27 | } |
| 28 | |
| 29 | #define INSTANTIATE(inT, outT) \ |
| 30 | template Array<outT> bilateral<inT, outT>(const Array<inT> &, \ |