91
Your values ranged from 0 to 255. For each value, you “subtracted” 0 from x, and
divided by 255 – 0, which is just 255. Rescaling the pixel values from a range of [0, 255] to
[0, 1] is common in image tasks and can be done with colored images as well.
There are other methods, including
Do'stlaringiz bilan baham: