I know that Python's skimage's img_as_float function returns values between 0 and 1. However, when I run this piece of code, I can't explain why I am getting an output that does not make sense to me.
>>> img_as_float([1,2])
array([1.62630326e-19, 2.71050543e-19])
How were 1 and 2 transformed into these numbers? I thought that img_as_float outputs everything in float64 between 0 and 1, so I thought it would make sense for 1/256 and 2/256 to be the outputs.
Any help would be greatly appreciated. Currently very stuck at work because of this confusing issue.