MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / open

Function open

IPL/src/processes/IPLMorphologyBinary.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136template<class CB>
137void 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
145template<class CB>
146void close(const IPLImagePlane &src, IPLImagePlane &dst, int iterations, const std::vector<bool> &kernel, CB progressCallback)

Callers 1

processInputDataMethod · 0.85

Calls 3

erodeFunction · 0.85
dilateFunction · 0.85
swapFunction · 0.50

Tested by

no test coverage detected