[Dcmlib] Question regarding GDCM 1.3.2
Jean-Pierre Roux
jpr at creatis.insa-lyon.fr
Fri Nov 9 18:35:35 CET 2007
Neerav Patel wrote:
> Hi,
>
> I got GDCM 1.3.2 compiled and I have linked everything up in Visual
> C++ .NET 2003. But now when I went to the user manual and added
>
>
> gdcm::File *f = new gdcm::File();
Oops!
Sorry, this was the old synatx.
Use :
gdcm::File *f = gdcm::File::New();
Thank you very much for reporting the mistake (I fix it on the server)
Jean-Pierre Roux
> f->SetLoadMode(LD_NOSEQ); | depending
> on what
> f->SetLoadMode(LD_NOSHADOW); | you want *not*
> f->SetLoadMode(LD_NOSEQ | LD_NOSHADOW);| to load
> from the
> f->SetLoadMode(LD_NOSHADOWSEQ); | target file
> f->SetFileName(fileName);
> f->Load( );
>
> It comes up with errors. All I want to do is get the raw byte array
> of the dicom image?
>
> Does anyone have some sample code that will allow me to do this. The
> dicom image is a ultrasound image.
>
> Any help would be greatly appreciated.
>
> Neerav Patel
>
>
>
> ------------------------------------------------------------------------
> R U Ready for Windows Live Messenger Beta 8.5? Try it today!
> <http://entertainment.sympatico.msn.ca/WindowsLiveMessenger>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
More information about the Dcmlib
mailing list