2017-08-15 02:41:51 -0600 | asked a question | Adding (blending) two images using OpenCV input error System information (version)
I was testing Adding (blending) two images using OpenCV sample but noticed that when I enter floating point data as " .1" or " 0.1" or "0.1f" or "0.1d", cin does not accept it and the code uses its initial value for alfa which is 0.5. At last I've tried scientific numbers such as "1e-10" and "9e-10" and it worked. I've googled it but it seems it is regular input method for floating point numbers to use dot notation, so I guess it should be something wrong in this code! Any Help would be appreciated. |