[Vv] clitkAffineTransform - double to float

Benoît Presles benoit.presles at u-bourgogne.fr
Mon Nov 26 17:47:24 CET 2018


Hello Thomas,

I have just checked and everything works as expected now.
Thanks a lot.

Best regards,
Ben


Le 26/11/2018 à 16:54, Thomas BAUDIER a écrit :
> Hi Benoit,
>
> Thank you for your observation. I did the modification:
> https://github.com/open-vv/vv/commit/4155f049dc94e05e1f88a9cbdeb817243706c900 
>
>
> I do not know why double images were not managed by this filter. Maybe 
> you could encounter the same problem with other filters in the future; 
> contact me.
>
> Regards
> Thomas
>
> On 2018-11-23 19:46, Benoît Presles wrote:
>> Dear Thomas,
>>
>> I have just noticed that when I use clitkAffineTransform to resample a
>> double image (clitkAffineTransform -i WB_crop.nii -o
>> resampledWB_CTAC.nii --size=32,32,31  --adaptive), the output image is
>> not in double format but in float.
>> Is it a normal behaviour ?
>> Below are the outputs of clitkImageInfo:
>> clitkImageInfo WB_crop.nii - 3D double 15x15x14 4x4x4
>> 113.414x-156.586x-480.5 3150
>> clitkImageInfo resampledWB_CTAC.nii - 3D float 32x32x31
>> 1.875x1.875x1.80645 112.352x-157.648x-481.597 31744
>>
>>
>> Best regards,
>> Ben
>>
>>
>> _______________________________________________
>> vv mailing list
>> vv at creatis.insa-lyon.fr
>> https://www.creatis.insa-lyon.fr/mailman/listinfo/vv
> _______________________________________________
> vv mailing list
> vv at creatis.insa-lyon.fr
> https://www.creatis.insa-lyon.fr/mailman/listinfo/vv




More information about the vv mailing list