[MINC-development] mincinsert

Andrew Janke minc-development@bic.mni.mcgill.ca
Mon, 17 Feb 2003 16:55:14 +1000


No I haven't written it yet, (I'm thinking about it).

Does anyone else have a use for a complement to mincextract?

ie:

  # get a chunk of data
  $ mincextract -float -start 12,0,10 -count 10,10,10 file.mnc > raw_data

  # do something with it
  $ youfuncommand < raw_data > new_raw_data

  # put it back
  $ mincinsert -float -start 12,0,10 -count 10,10,10 file.mnc < new_raw_data

I am a bit unsure as to whether the volume should be modified in-place though as
none of the other minc commands do this.  dunno.

?

--
Andrew Janke   ( rotor@cmr.uq.edu.au || www.cmr.uq.edu.au/~rotor )
Australia->University of Queensland->Centre for Magnetic Resonance
Work: +61 7 3365 4100 || Home: +61 7 3800 4042