working with raw image files

Terry Reedy tjreedy at udel.edu
Mon Jun 13 14:49:36 EDT 2011


On 6/13/2011 2:18 PM, kafooster wrote:
> I am working on some medical image data, and I try to look into
> specific slice of   3d  *.raw image. I know voxels are 16 bit int, and
> dimensions are 352*470*96. I checked it in some pro medical image
> viewer, it is alright. However, with the code I use, I display just
> white noise image.(but worked well for other, 8bit raw image).
>   Also, printed size is half the original size, like it was 8 bit. I
> read some documentations on PIL, numpy etc but I think I just do not
> understand something.

You might get a better answer to such a specialized question on the 
scipy list (or PIL list, if there is one) than here.

-- 
Terry Jan Reedy




More information about the Python-list mailing list