Lines Matching refs:anchor
79 anchor = _anchor;
113 anchor = _anchor;
216 anchor = _anchor;
391 anchor = _anchor;
560 anchor = _anchor;
725 anchor = _anchor;
875 anchor = _anchor;
1033 Size ksize, Point anchor, int borderType, bool normalize, bool sqr = false )
1046 if (anchor.x < 0)
1047 anchor.x = ksize.width / 2;
1048 if (anchor.y < 0)
1049 anchor.y = ksize.height / 2;
1122 cn, anchor.x, anchor.y, ksize.width, ksize.height,
1162 anchor.x, anchor.y, ksize.width, ksize.height, borderMap[borderType],
1212 cv::Ptr<cv::BaseRowFilter> cv::getRowSumFilter(int srcType, int sumType, int ksize, int anchor)
1217 if( anchor < 0 )
1218 anchor = ksize/2;
1221 return makePtr<RowSum<uchar, int> >(ksize, anchor);
1223 return makePtr<RowSum<uchar, double> >(ksize, anchor);
1225 return makePtr<RowSum<ushort, int> >(ksize, anchor);
1227 return makePtr<RowSum<ushort, double> >(ksize, anchor);
1229 return makePtr<RowSum<short, int> >(ksize, anchor);
1231 return makePtr<RowSum<int, int> >(ksize, anchor);
1233 return makePtr<RowSum<short, double> >(ksize, anchor);
1235 return makePtr<RowSum<float, double> >(ksize, anchor);
1237 return makePtr<RowSum<double, double> >(ksize, anchor);
1248 int anchor, double scale)
1253 if( anchor < 0 )
1254 anchor = ksize/2;
1257 return makePtr<ColumnSum<int, uchar> >(ksize, anchor, scale);
1259 return makePtr<ColumnSum<double, uchar> >(ksize, anchor, scale);
1261 return makePtr<ColumnSum<int, ushort> >(ksize, anchor, scale);
1263 return makePtr<ColumnSum<double, ushort> >(ksize, anchor, scale);
1265 return makePtr<ColumnSum<int, short> >(ksize, anchor, scale);
1267 return makePtr<ColumnSum<double, short> >(ksize, anchor, scale);
1269 return makePtr<ColumnSum<int, int> >(ksize, anchor, scale);
1271 return makePtr<ColumnSum<int, float> >(ksize, anchor, scale);
1273 return makePtr<ColumnSum<double, float> >(ksize, anchor, scale);
1275 return makePtr<ColumnSum<int, double> >(ksize, anchor, scale);
1277 return makePtr<ColumnSum<double, double> >(ksize, anchor, scale);
1288 Point anchor, bool normalize, int borderType )
1298 Ptr<BaseRowFilter> rowFilter = getRowSumFilter(srcType, sumType, ksize.width, anchor.x );
1300 dstType, ksize.height, anchor.y, normalize ? 1./(ksize.width*ksize.height) : 1);
1308 Size ksize, Point anchor,
1311 CV_OCL_RUN(_dst.isUMat(), ocl_boxFilter(_src, _dst, ddepth, ksize, anchor, borderType, normalize))
1327 if ( tegra::useTegra() && tegra::box(src, dst, ksize, anchor, normalize, borderType) )
1336 ocvAnchor.x = anchor.x < 0 ? ksize.width / 2 : anchor.x;
1337 ocvAnchor.y = anchor.y < 0 ? ksize.height / 2 : anchor.y;
1405 ksize, anchor, normalize, borderType );
1410 Size ksize, Point anchor, int borderType )
1412 boxFilter( src, dst, -1, ksize, anchor, true, borderType );
1431 anchor = _anchor;
1460 static Ptr<BaseRowFilter> getSqrRowSumFilter(int srcType, int sumType, int ksize, int anchor)
1465 if( anchor < 0 )
1466 anchor = ksize/2;
1469 return makePtr<SqrRowSum<uchar, int> >(ksize, anchor);
1471 return makePtr<SqrRowSum<uchar, double> >(ksize, anchor);
1473 return makePtr<SqrRowSum<ushort, double> >(ksize, anchor);
1475 return makePtr<SqrRowSum<short, double> >(ksize, anchor);
1477 return makePtr<SqrRowSum<float, double> >(ksize, anchor);
1479 return makePtr<SqrRowSum<double, double> >(ksize, anchor);
1491 Size ksize, Point anchor,
1509 ocl_boxFilter(_src, _dst, ddepth, ksize, anchor, borderType, normalize, true))
1520 Ptr<BaseRowFilter> rowFilter = getSqrRowSumFilter(srcType, sumType, ksize.width, anchor.x );
1522 dstType, ksize.height, anchor.y,