[Vv] clitkCropImage behaviour

Thomas BAUDIER thomas.baudier at creatis.insa-lyon.fr
Fri Nov 9 15:58:55 CET 2018


Hi Benoit,

Usually, this crop tool is used when you have 2 overlayed images. And we 
cropped one image using the size of the second image. So we need to 
change the origin to keep the registration OK.

Maybe if you really need a crop without the origin modification, I can 
try to add an option (eg: --nooriginmodification)

Regards
Thomas


On 2018-11-08 18:16, Benoît Presles wrote:
> Dear vv users,
> 
> I am using clitkCropImage but I am not sure that this tool has the
> good behaviour.
> When I execute this command line: clitkCropImage -i WB_CTAC.nii -o
> WB_crop.nii --like=ROI_1_tumeur_autocrop.nii -v, the WB_crop image has
> the same size as the ROI_1_tumeur_autocrop image but has the same
> origin as the WB_CTAC image.
> 
> WB_crop should not have the same origin as the like image ?
> 
> 
> Best regards,
> Ben
> 
> _______________________________________________
> 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