| 19 | |
| 20 | template<typename T> |
| 21 | Array<T> floodFill(const Array<T>& image, const Array<uint>& seedsX, |
| 22 | const Array<uint>& seedsY, const T newValue, |
| 23 | const T lowValue, const T highValue, |
| 24 | const af::connectivity nlookup) { |
| 25 | auto out = createValueArray(image.dims(), T(0)); |
| 26 | getQueue().enqueue(kernel::floodFill<T>, out, image, seedsX, seedsY, |
| 27 | newValue, lowValue, highValue, nlookup); |
| 28 | return out; |
| 29 | } |
| 30 | |
| 31 | #define INSTANTIATE(T) \ |
| 32 | template Array<T> floodFill(const Array<T>&, const Array<uint>&, \ |
no test coverage detected