title: How to scale the pixel values in the range [0,1] in opencv
body: <p>You can scale the pixel values ​​of a matrix of type uchar Mat in the range [0,1] and storing them in a Mat of type float?</p>
  
  <p>When I try to divide all pixels by 255 and store them in Mat of type float, I do not find in it the values ​​between [0,1] but the integer values zero and one.</p>