Preserving Image Geometry From File Headers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Preserving Image Geometry From File Headers

Nick Rubert
All you Java Experts,

I'd like to open images in imageJ and have it automatically read in image
dimensions in units such as mm or cm for performing area and length
measurements using the ROI tools.  This feature seems to work well for DICOM
formats.  However it hasn't worked for me when I've tried adjusting the
header to png files.  Is there an image file format, preferably simpler than
DICOM files, that this works well for?  Additionally, what I'd like to do is
write an image file from a numpy array in python, then open the image in
imageJ and see information about the physical size of the thing the image
represents be read from the header.  If anyone has done this or something
similar advice would be greatly appreciated.  Also, I don't know where to
begin with Java programming.  Though, I am comfortable working with C/C++

Thanks,

Nick
Reply | Threaded
Open this post in threaded view
|

Re: Preserving Image Geometry From File Headers

gabibau
Hi,

TIFF preserves scale when the sanner puts it there, so I guess you coud
write it there too.


Gabriela Bauermann
Santa Maria /RS /Brasil
Processamento e AnĂ¡lise de Imagens
www.imagesurvey.com.br


On Wed, Sep 30, 2009 at 1:44 PM, Nick Rubert <[hidden email]> wrote:

> All you Java Experts,
>
> I'd like to open images in imageJ and have it automatically read in image
> dimensions in units such as mm or cm for performing area and length
> measurements using the ROI tools.  This feature seems to work well for
> DICOM
> formats.  However it hasn't worked for me when I've tried adjusting the
> header to png files.  Is there an image file format, preferably simpler
> than
> DICOM files, that this works well for?  Additionally, what I'd like to do
> is
> write an image file from a numpy array in python, then open the image in
> imageJ and see information about the physical size of the thing the image
> represents be read from the header.  If anyone has done this or something
> similar advice would be greatly appreciated.  Also, I don't know where to
> begin with Java programming.  Though, I am comfortable working with C/C++
>
> Thanks,
>
> Nick
>