# Translate an input data (such as CT) in CLI module

**URL:** <https://discourse.slicer.org/t/translate-an-input-data-such-as-ct-in-cli-module/14192>\
**Category:** Support\
**Created:** [October 21, 2020, 7:44pm UTC](https://discourse.slicer.org/t/translate-an-input-data-such-as-ct-in-cli-module/14192 "2020-10-21T19:44:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aseman](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@aseman](https://discourse.slicer.org/u/aseman)\
**Post date:** [October 21, 2020, 7:44pm UTC](https://discourse.slicer.org/t/translate-an-input-data-such-as-ct-in-cli-module/14192/1 "2020-10-21T19:44:38Z")

</div>

Slicer version: 4.10.1  
Hi 3D Slicer experts and all

Some modules, such as Gaussian Blur Image Filter, have parameter set that, when I set the parameters ( for example sigma=1, input volume: CT image), the command is shown in the log file, And it can be run in the command line. I want to do this, in the command line for the Transforms module, too.  
Now, I have some questions :  
1- Are modules like Gaussian Blur Image Filter, CLI module?

2- Is it possible to transform a CT image inside CLI module, And can I shift it in L-R, A-P, and S-I with a certain value that gets it as an argument?

3- In the Gaussian Blur image filter module, this Gaussian function gets Sigma isotropically. Can I give σx, σy, and σz non-isotropically?

4- In the IO panel, we can specify different Sigma values separately. Is it possible to define various values for Sigma in the command line?  
Thanks a lot

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 21, 2020, 8:31pm UTC](https://discourse.slicer.org/t/translate-an-input-data-such-as-ct-in-cli-module/14192/2 "2020-10-21T20:31:47Z")

</div>

You can do all these using CLI modules. However, image blurring and resampling are are all single-line operations in Python packages such as ITK or SimpleITK. Instead of running several executables, it is simpler to write a short Python script that uses ITK/SimpleITK directly.
