OpenCVのcv :: subtractとoperatorの違いは何ですか?
Mat original = imread...; Mat smoothed, difference, result;
平滑化 - ガウスのカーネルを使った畳み込みで処理された元の画像。
1)
difference = original - smoothed;
2)
cv::subtract(smoothed, original, difference);
Check this link, both are same.