# RigidTransformResample

## Brief Description

Resample an image with a rigid transform

## Tags

Conversion,Geometry

## Long Description

This application performs a parametric transform on the input image. Scaling, translation and rotation with scaling factor are handled. Parameters of the transform is expressed in physical units, thus particular attention must be paid on pixel size (value, and sign). Moreover transform is expressed from input space to output space (on the contrary ITK Transforms are expressed form output space to input space).

## Parameters

- [param] -in <string> The input image to translate.. Mandatory: True. Default Value: ""
- [param] -out <string> The transformed output image.. Mandatory: True. Default Value: ""
- [param] -transform <string> This group of parameters allows setting the transformation to apply.. Mandatory: True. Default Value: "0"
- [param] -ram <int32> This allows setting the maximum amount of RAM available for processing. As the writing task is time consuming, it is better to write large pieces of data, which can be achieved by increasing this parameter (pay attention to your system capabilities). Mandatory: False. Default Value: "128"
- [param] -inxml <string> Load otb application from xml file. Mandatory: False. Default Value: ""
- [param] -outxml <string> Save otb application to xml file. Mandatory: False. Default Value: ""
[choice] -interpolator This group of parameters allows one to define how the input image will be interpolated during resampling. nn,linear,bco. Mandatory: True. Default Value: "bco"

- [group] -nn

- [group] -linear

- [group] -bco

- [param] -interpolator.bco.radius <int32> This parameter allows controlling the size of the bicubic interpolation filter. If the target pixel size is higher than the input pixel size, increasing this parameter will reduce aliasing artefacts.. Mandatory: True. Default Value: "2"

## Limitations

None

## Authors

OTB-Team

## See Also

Translation

## Example of use

- in: qb_toulouse_sub.tif

- out: rigitTransformImage.tif

- transform.type: rotation

- transform.type.rotation.angle: 20

- transform.type.rotation.scalex: 2.

- transform.type.rotation.scaley: 2.