[Insight-users] converting a pointset to an image and
then converting the image to DICOM volume
Martin Urschler
martin at urschler.info
Tue Oct 18 12:46:43 EDT 2005
Zien wrote:
> Hi,all:
>
> Could anyone tell me what is the problem I have when converting a pointset
> to an image and then converting the image to DICOM volume with the
> PointSetToImage and ImageFileWriter class?
perhaps you should explain us what exactly the problem is, that you are
referring to...
compiling problem?
linker problem?
point set reading problem?
dicom file writing problem?
if you mean the last thing:
the dicom file format needs a large number of meta data information, in
my experience it requires care to set up the meta information that you
need for writing dicom
in your code i can nowhere see the meta information specification
normally one would take a dicom input image, store the meta information
and give it to the dicom writer again before writing (see the examples
and the software guide for a more thorough explanation)
since you are not reading a dicom image you will have to create your own
dicom meta information object...
i'd suggest storing your image in a different volume data format, since
it is not really dicom information (which essentially is volume data
plus patient information)
regards,
Martin
More information about the Insight-users
mailing list