BaseElemWiseOp 18 modules/core/test/test_arithm.cpp BaseElemWiseOp(int _ninputs, int _flags, double _alpha, double _beta, BaseElemWiseOp 96 modules/core/test/test_arithm.cpp struct BaseAddOp : public BaseElemWiseOp BaseElemWiseOp 99 modules/core/test/test_arithm.cpp : BaseElemWiseOp(_ninputs, _flags, _alpha, _beta, _gamma) {} BaseElemWiseOp 194 modules/core/test/test_arithm.cpp struct MulOp : public BaseElemWiseOp BaseElemWiseOp 196 modules/core/test/test_arithm.cpp MulOp() : BaseElemWiseOp(2, FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 218 modules/core/test/test_arithm.cpp struct DivOp : public BaseElemWiseOp BaseElemWiseOp 220 modules/core/test/test_arithm.cpp DivOp() : BaseElemWiseOp(2, FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 235 modules/core/test/test_arithm.cpp struct RecipOp : public BaseElemWiseOp BaseElemWiseOp 237 modules/core/test/test_arithm.cpp RecipOp() : BaseElemWiseOp(1, FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 278 modules/core/test/test_arithm.cpp struct LogicOp : public BaseElemWiseOp BaseElemWiseOp 280 modules/core/test/test_arithm.cpp LogicOp(char _opcode) : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK, 1, 1, Scalar::all(0)), opcode(_opcode) {} BaseElemWiseOp 308 modules/core/test/test_arithm.cpp struct LogicSOp : public BaseElemWiseOp BaseElemWiseOp 311 modules/core/test/test_arithm.cpp : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+(_opcode != '~' ? SUPPORT_MASK : 0), 1, 1, Scalar::all(0)), opcode(_opcode) {} BaseElemWiseOp 341 modules/core/test/test_arithm.cpp struct MinOp : public BaseElemWiseOp BaseElemWiseOp 343 modules/core/test/test_arithm.cpp MinOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 358 modules/core/test/test_arithm.cpp struct MaxOp : public BaseElemWiseOp BaseElemWiseOp 360 modules/core/test/test_arithm.cpp MaxOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 375 modules/core/test/test_arithm.cpp struct MinSOp : public BaseElemWiseOp BaseElemWiseOp 377 modules/core/test/test_arithm.cpp MinSOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 392 modules/core/test/test_arithm.cpp struct MaxSOp : public BaseElemWiseOp BaseElemWiseOp 394 modules/core/test/test_arithm.cpp MaxSOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 409 modules/core/test/test_arithm.cpp struct CmpOp : public BaseElemWiseOp BaseElemWiseOp 411 modules/core/test/test_arithm.cpp CmpOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) { cmpop = 0; } BaseElemWiseOp 414 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); BaseElemWiseOp 437 modules/core/test/test_arithm.cpp struct CmpSOp : public BaseElemWiseOp BaseElemWiseOp 439 modules/core/test/test_arithm.cpp CmpSOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)) { cmpop = 0; } BaseElemWiseOp 442 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); BaseElemWiseOp 467 modules/core/test/test_arithm.cpp struct CopyOp : public BaseElemWiseOp BaseElemWiseOp 469 modules/core/test/test_arithm.cpp CopyOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK, 1, 1, Scalar::all(0)) { } BaseElemWiseOp 489 modules/core/test/test_arithm.cpp struct SetOp : public BaseElemWiseOp BaseElemWiseOp 491 modules/core/test/test_arithm.cpp SetOp() : BaseElemWiseOp(0, FIX_ALPHA+FIX_BETA+SUPPORT_MASK, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 650 modules/core/test/test_arithm.cpp struct InRangeSOp : public BaseElemWiseOp BaseElemWiseOp 652 modules/core/test/test_arithm.cpp InRangeSOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 667 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); BaseElemWiseOp 669 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); BaseElemWiseOp 680 modules/core/test/test_arithm.cpp struct InRangeOp : public BaseElemWiseOp BaseElemWiseOp 682 modules/core/test/test_arithm.cpp InRangeOp() : BaseElemWiseOp(3, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 706 modules/core/test/test_arithm.cpp struct ConvertScaleOp : public BaseElemWiseOp BaseElemWiseOp 708 modules/core/test/test_arithm.cpp ConvertScaleOp() : BaseElemWiseOp(1, FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)), ddepth(0) { } BaseElemWiseOp 730 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); BaseElemWiseOp 741 modules/core/test/test_arithm.cpp struct ConvertScaleAbsOp : public BaseElemWiseOp BaseElemWiseOp 743 modules/core/test/test_arithm.cpp ConvertScaleAbsOp() : BaseElemWiseOp(1, FIX_BETA+REAL_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 759 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); BaseElemWiseOp 809 modules/core/test/test_arithm.cpp struct FlipOp : public BaseElemWiseOp BaseElemWiseOp 811 modules/core/test/test_arithm.cpp FlipOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) { flipcode = 0; } BaseElemWiseOp 835 modules/core/test/test_arithm.cpp struct TransposeOp : public BaseElemWiseOp BaseElemWiseOp 837 modules/core/test/test_arithm.cpp TransposeOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 856 modules/core/test/test_arithm.cpp struct SetIdentityOp : public BaseElemWiseOp BaseElemWiseOp 858 modules/core/test/test_arithm.cpp SetIdentityOp() : BaseElemWiseOp(0, FIX_ALPHA+FIX_BETA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 877 modules/core/test/test_arithm.cpp struct SetZeroOp : public BaseElemWiseOp BaseElemWiseOp 879 modules/core/test/test_arithm.cpp SetZeroOp() : BaseElemWiseOp(0, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 953 modules/core/test/test_arithm.cpp struct ExpOp : public BaseElemWiseOp BaseElemWiseOp 955 modules/core/test/test_arithm.cpp ExpOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 980 modules/core/test/test_arithm.cpp struct LogOp : public BaseElemWiseOp BaseElemWiseOp 982 modules/core/test/test_arithm.cpp LogOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) {} BaseElemWiseOp 1062 modules/core/test/test_arithm.cpp struct CartToPolarToCartOp : public BaseElemWiseOp BaseElemWiseOp 1064 modules/core/test/test_arithm.cpp CartToPolarToCartOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA, 1, 1, Scalar::all(0)) BaseElemWiseOp 1106 modules/core/test/test_arithm.cpp struct MeanOp : public BaseElemWiseOp BaseElemWiseOp 1108 modules/core/test/test_arithm.cpp MeanOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) BaseElemWiseOp 1129 modules/core/test/test_arithm.cpp struct SumOp : public BaseElemWiseOp BaseElemWiseOp 1131 modules/core/test/test_arithm.cpp SumOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) BaseElemWiseOp 1152 modules/core/test/test_arithm.cpp struct CountNonZeroOp : public BaseElemWiseOp BaseElemWiseOp 1154 modules/core/test/test_arithm.cpp CountNonZeroOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SCALAR_OUTPUT+SUPPORT_MASK, 1, 1, Scalar::all(0)) BaseElemWiseOp 1185 modules/core/test/test_arithm.cpp struct MeanStdDevOp : public BaseElemWiseOp BaseElemWiseOp 1190 modules/core/test/test_arithm.cpp MeanStdDevOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) BaseElemWiseOp 1229 modules/core/test/test_arithm.cpp struct NormOp : public BaseElemWiseOp BaseElemWiseOp 1231 modules/core/test/test_arithm.cpp NormOp() : BaseElemWiseOp(2, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) BaseElemWiseOp 1276 modules/core/test/test_arithm.cpp struct MinMaxLocOp : public BaseElemWiseOp BaseElemWiseOp 1278 modules/core/test/test_arithm.cpp MinMaxLocOp() : BaseElemWiseOp(1, FIX_ALPHA+FIX_BETA+FIX_GAMMA+SUPPORT_MASK+SCALAR_OUTPUT, 1, 1, Scalar::all(0)) BaseElemWiseOp 1325 modules/core/test/test_arithm.cpp typedef Ptr<cvtest::BaseElemWiseOp> ElemWiseOpPtr; BaseElemWiseOp 1340 modules/core/test/test_arithm.cpp bool haveMask = (op->flags & cvtest::BaseElemWiseOp::SUPPORT_MASK) != 0 && rng.uniform(0, 4) == 0; BaseElemWiseOp 1352 modules/core/test/test_arithm.cpp if( (haveMask || ninputs == 0) && !(op->flags & cvtest::BaseElemWiseOp::SCALAR_OUTPUT))