| 135 | |
| 136 | template<class CB> |
| 137 | void open(const IPLImagePlane &src, IPLImagePlane &dst, int iterations, const std::vector<bool> &kernel, CB progressCallback) |
| 138 | { |
| 139 | IPLImagePlane input(src); //Don't mutate the original image plane |
| 140 | erode (input,dst,iterations,kernel,progressCallback); |
| 141 | std::swap(input,dst); |
| 142 | dilate(input,dst,iterations,kernel,progressCallback); |
| 143 | } |
| 144 | |
| 145 | template<class CB> |
| 146 | void close(const IPLImagePlane &src, IPLImagePlane &dst, int iterations, const std::vector<bool> &kernel, CB progressCallback) |
no test coverage detected