image-js / tiff

TIFF image decoder written entirely in JavaScript
MIT License
195 stars 17 forks source link

32 bit decoding #4

Closed max-mapper closed 8 years ago

max-mapper commented 8 years ago

not sure if this is all that is required, but it seems to work for .decodeat least

screen shot 2015-11-23 at 6 22 05 pm
targos commented 8 years ago

Have you checked if the image is correctly decoded ? I think that 32bit images are encoded with floating point numbers.

targos commented 8 years ago

What is the value of the sampleFormat field for your ifds ?

targos commented 8 years ago

Actually would it be possible that you send us the tif file ? We could use it for tests

max-mapper commented 8 years ago

Yes will do, its 45MB and im on slow internet right now. Will try to remember to do it later

max-mapper commented 8 years ago

@targos ok I uploaded it here: https://github.com/maxogden/messages/releases/tag/untagged-ae092b0e70fd9a33e998. It's a rodent brain volume I got from a neuroscientist

targos commented 8 years ago

Thanks, but the link seems to be dead

max-mapper commented 8 years ago

@targos oops sorry, forgot to publish the github release (im abusing github releases) https://github.com/maxogden/messages/releases/download/dropbox/vol_denoised_dfof_0.tif