Multiply Mat and Scalar not working...help me
I coding by android studio using opencv.
I tried mutiply scalar with Mat but not working.
Mat A = new Mat();
Mat B = new Mat();
Mat C = new Mat();
Mat D = new Mat();
Scalar alpha = new Scalar(5);
I take this:
and i multiply C with "alpha":
Core.multiply(C,alpha,D);
i wana D become :
but D become :
please help me..