users > [solved] uncompressed detached header reformatx output file
Showing 1-4 of 4 posts
Jun 27, 2018 01:06 PM | Hugo Trentesaux
[solved] uncompressed detached header reformatx output file
Is there a way to deactivate compression when running reformatx
with a detached header nrrd file as output ('*.nhdr') ?
When I run `cmtk reformatx -o output.nhdr --floating floatingStack.nhdr fixedStack.nhdr affine.xform` it gives me as output a *.nhdr text file plus a *.tar.gz compressed binary file. I would like a *.nhdr with a *.raw or *.bin non-compressed binary file.
When I run `cmtk reformatx -o output.nhdr --floating floatingStack.nhdr fixedStack.nhdr affine.xform` it gives me as output a *.nhdr text file plus a *.tar.gz compressed binary file. I would like a *.nhdr with a *.raw or *.bin non-compressed binary file.
Jun 27, 2018 01:06 PM | Greg Jefferis
RE: uncompressed detached header reformatx output file
Torsten is best for this, but I think you can set an environment
variable CMTK_WRITE_UNCOMPRESSED, something like:
Best,
Greg.
CMTK_WRITE_UNCOMPRESSED=TRUE cmtk
reformatx -o output.nhdr --floating floatingStack.nhdr
fixedStack.nhdr affine.xform
Best,
Greg.
Jun 27, 2018 02:06 PM | Hugo Trentesaux
RE: uncompressed detached header reformatx output file
Thanks for your quick answer !
Jun 27, 2018 02:06 PM | Hugo Trentesaux
RE: uncompressed detached header reformatx output file
That was in the user manual !! My bad.
It is written:
export CMTK_WRITE_UNCOMPRESSED=1
As always, the final answer is "read the doc"...
It is written:
export CMTK_WRITE_UNCOMPRESSED=1
As always, the final answer is "read the doc"...