MCPcopy Create free account
hub / github.com/creatale/node-dv / cvErode

Function cvErode

deps/opencv/modules/imgproc/src/morph.cpp:1503–1511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1501
1502
1503CV_IMPL void
1504cvErode( const CvArr* srcarr, CvArr* dstarr, IplConvKernel* element, int iterations )
1505{
1506 cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), kernel;
1507 CV_Assert( src.size() == dst.size() && src.type() == dst.type() );
1508 cv::Point anchor;
1509 convertConvKernel( element, kernel, anchor );
1510 cv::erode( src, dst, kernel, anchor, iterations, cv::BORDER_REPLICATE );
1511}
1512
1513
1514CV_IMPL void

Callers

nothing calls this directly

Calls 4

cvarrToMatFunction · 0.85
convertConvKernelFunction · 0.85
sizeMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected