[Insight-developers] Double to float conversion warning
Mathieu Coursolle
mcoursolle at rogue-research.com
Mon Aug 20 09:06:25 EDT 2007
Hi Luis,
You are right, I am using GDCM.
But there is just this little warning in
DICOMParser that I wanted to get rid of.
I'll commit the fix today.
Thank you.
Mathieu
>
>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
>>
>
More information about the Insight-developers
mailing list