Hi David,
Yes, img_float.astype('uint16') will work, but you'll need to make sure you map
your float image to the range 0-65535.
Juan.
On 22 Jun 2017, 9:29 AM +1000, David Protter , wrote:
> Thank you! Will this also work going back the other way? (Float to uint?)
>
> > On Jun 21, 2017 5:16 PM,
Hi Dave,
I think this scikit-image should answers your questions:
http://scikit-image.org/docs/stable/user_guide/data_types.html
Best,
Cedric
On Wed, Jun 21, 2017 at 4:30 PM David Protter
wrote:
> Thank you! Will this also work going back the other way? (Float to uint?)
>
> On Jun 21, 2017 5
Thank you! Will this also work going back the other way? (Float to uint?)
On Jun 21, 2017 5:16 PM, "Stefan van der Walt" wrote:
> Hi Dave
>
> On Wed, Jun 21, 2017, at 15:22, David Protter wrote:
>
> Hi all, new here and having a lot of fun using Skimage for scientific
> image analysis.
>
>
> Gla
Hi Dave
On Wed, Jun 21, 2017, at 15:22, David Protter wrote:
> Hi all, new here and having a lot of fun using Skimage for scientific
> image analysis.
Glad to hear it!
> I’m doign some normalization on images coming in as uint16, to expand
> their dynamic range. After normalization, images are fl
Hi all, new here and having a lot of fun using Skimage for scientific image
analysis.
I’m doign some normalization on images coming in as uint16, to expand their
dynamic range. After normalization, images are float64, and I’m trying to
convert them back to uint16. However, it seems like all the im