[Insight-developers] Double to float conversion warning

Bill Lorensen bill.lorensen at gmail.com
Fri Aug 17 18:38:18 EDT 2007


Mathieu,

I agree with Luis regarding DICOMParser. GDCMImageIO is a much better DICOM
implementation and is still under active development. If there are features
in DICOMParser that you need that are not in GDCMImageIO them we should try
to add them.

Bill

On 8/17/07, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
>
> Hi Mathieu,
>
> You can modify the DICOMParser. Please feel free to commit
> a fix to the repository.
>
>
> Note however that the use of this code is now discouraged
> because we consider that directory to be deprecated.
>
> We have moved to use GDCM as library providing DICOM
> reading and writing functionalities.
>
> I assume that you are not really using the code,
> and just want to solve the warning when you build
> ITK. Is that right ?
>
>
>      Thanks
>
>
>         Luis
>
>
> --------------------------
> Mathieu Coursolle wrote:
> > Hi,
> >
> > I currently use ITK to read some DICOM files from an XCode project.
> > However, I get
> > a warning coming from /Utilities/DICOMParser/DICOMAppHelper.h because
> > some double
> > values are set into float variables.
> >
> > ex:
> >
> > float x = 2.0;
> >
> > A sample fix would be :
> >
> > float x = 2.0f;
> >
> > However, my question is:
> >
> > Is DICOMParser part of the ITK code and can be modified, or is it code
> > from a 3rdParty
> > that is built as part of ITK? In the later, how can this be fixed?
> >
> > Thanks!
> >
> > Mathieu
> >
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20070817/4bc8c404/attachment.html


More information about the Insight-developers mailing list