Hi Lisa - I think the easiest way to get your result is to use one of the publicly available DICOM to Analyze filters. Analyze files come with a separate header, and a raw data file, with .hdr and .img extensions, respectively. Google "DICOM to Analyze" to get a little more information.
> Hi list users,
>
> Could I have some help on the following problem please.
>
> I have some DICOM images. I want to perform certain operations on them. My
> program works better with raw images rather than DICOM so I converted these
> DICOM series to a raw image using Image J.
>
> I know that raw is just a string of binary. But, since the raw image I obtain
> contains both the image and the header information from the DICOM series,
> I am confused as to how I may (i.e. how my program will) be able to distinguish
> the image from the header, like, for eg:- how many bytes will be alloted to
> the header and what all information will be present in the header(all the
> information from the DICOM or only certain significant information?) and
> also whether the header is followed by the image or vice-versa.
>
> If I read the raw image using Image J's raw image reader I see that
> the original
> series is reproduced. How can I achieve this? Essentially I want to read in
> the input raw image and separate the header and the image into 2 different
> files.
>
> Thanks a lot people
> Lisa
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html