Home | History | Annotate | Download | only in its

Lines Matching refs:float32

87         return ((y.astype(numpy.float32) / 255.0).reshape(h, w, 1),
88 (u.astype(numpy.float32) / 255.0).reshape(h/2, w/2, 1),
89 (v.astype(numpy.float32) / 255.0).reshape(h/2, w/2, 1))
117 flt = numpy.empty([h, w, 3], dtype=numpy.float32)
122 return rgb.astype(numpy.float32) / 255.0
164 return ((y.astype(numpy.float32) / 255.0).reshape(h, w, 1),
165 (u.astype(numpy.float32) / 255.0).reshape(h/2, w/2, 1),
166 (v.astype(numpy.float32) / 255.0).reshape(h/2, w/2, 1))
213 return (lut[(img * m).astype(numpy.uint16)] / m).astype(numpy.float32)
234 img2 = numpy.empty([h, w, 3], dtype=numpy.float32)