OpenCV arithmetische Operationen erzeugen eine cv::MatExpr
, zum Beispiel:Was ist der Zweck von cv :: MatExpr?
MatExpr
operator+
(const Mat & a, const Mat &b);
Ich sehe, dass dies einen Ausdruck darstellen verwendet wird, bevor es ausgewertet wird. Was ist der Zweck, dies zu tun?
https://en.wikipedia.org/wiki/Expression_templates – Miki
@Miki Dies scheint anders zu sein, weil 'cv :: MatExpr' nicht Templat ist. – Owen
http://docs.opencv.org/2.4/modules/core/doc/basic_structures.html#matrixexpressions –