Use Slice, but across the other dimension.  Have Slice in a Sequencer loop
and use Format to name each file differently with Export.  You can then use
IM convert or other utilities to manipulate the collection of files.



Cameron Huddlestone-Holmes
<[EMAIL PROTECTED]>@opendx.watson.ibm.com on 02/12/2003 12:42:14
AM

Please respond to [email protected]

Sent by:    [EMAIL PROTECTED]


To:    Opendx-Users <[email protected]>
cc:
Subject:    Re: [opendx-users] Converting data from DX format



Thanks.

When I originally imported my data, I had a stack of tiffs that I defined
as
being in the x-y plane, each file representing a z-dimension increment.
When
I dump the data back out as a bin file, the data is "stacked" so that they
are y-z "planes" with x dimension varying the slowest. I am using
Imagemagick to read the bin file into tiff files and I want to keep them as
x-y planes. Any ideas on how to get the bin file to be x-y "planes" with
the
z dimension varying the slowest?

Thanks again,
Cameron

>
>
>
>
> The Export module can dump raw data.  If you say "dx ieee 2" for format,
> you'll get two files, .dx and .bin.  The dx header will point to the .bin
> containing the binary arrays.  If format="array", you'll get an ASCII
dump.
>
> Cameron Huddlestone-Holmes
> <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 02/10/2003 09:14:36
> PM
>
> Please respond to [email protected]
>
> Sent by:    [EMAIL PROTECTED]
>
>
> To:    Opendx-Users <[email protected]>
> cc:
> Subject:    [opendx-users] Converting data from DX format
>
>
>
> Does anyone have a utility for converting dx format data files into raw
> data?
>
> I have a large dataset of X-ray CT data that I have imported into dx. I
> have
> made subsets of this data using dx and now I want to convert some of
these
> subsets back into raw data (or tiffs).
>
> The data is on a regular grid and is just 16-bit pixel values. I have
> thought of using "slice" and "writeimage" but I am concerned about
applying
> a colour map as I want to preserve the raw data values.
>
> Thanks,
>
> Cameron Huddlestone-Holmes
> School of Earth Sciences,
> James Cook University,
> Townsville,
> Queensland. 4811.
> Australia.
> [EMAIL PROTECTED]
> +61 7 4781 4884
> --
>
>
>
>


Reply via email to