Hi
The insight toolkit (ITK) is a famous image processing library but do not support many formats. It's native format is a very easy .mha and .mhd format which stores data rawly and uncompressed. would it be possible to support it, i could post a MatLab code for writing and reading mhd files if necessary.
PS: Only difference between mha and mhd is that mha produces header and image data stuff in same file while mhd makes a seperate .raw file which stores image data, in the mhd only the header and link to raw is stored, so mhd's are readable by simple textreaders
mha and mhd support
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: mha and mhd support
Should be posible. Im can generate RAW data outputs. and even without a coder you should be able to get it to generate
both the mha and mhd data files.
see.. note on raw RGB data
http://www.imagemagick.org/Usage/formats/#rgb
also see formatted image output..
http://www.imagemagick.org/Usage/basics/#identify_alt
Both can be generated from the one command, but detailed knowledge of the mha and mhd is needed.
Their is also raw PbmPlus image file formats, whcih sounds pretty close to mha and mhd formats.
http://www.imagemagick.org/Usage/formats/#pbmplus
and the various pbmplus man pages whcih define the image file formats.
both the mha and mhd data files.
see.. note on raw RGB data
http://www.imagemagick.org/Usage/formats/#rgb
also see formatted image output..
http://www.imagemagick.org/Usage/basics/#identify_alt
Both can be generated from the one command, but detailed knowledge of the mha and mhd is needed.
Their is also raw PbmPlus image file formats, whcih sounds pretty close to mha and mhd formats.
http://www.imagemagick.org/Usage/formats/#pbmplus
and the various pbmplus man pages whcih define the image file formats.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/