# GridBasedImageResampling

## Brief Description

Resamples an image according to a resampling grid

## Tags

Geometry

## Long Description

This application allows performing image resampling from an input resampling grid.

## Parameters

- [param] -io <string> This group of parameters allows setting the input and output images.. Mandatory: True. Default Value: "0"
- [param] -grid <string> . Mandatory: True. Default Value: "0"
- [param] -out <string> Parameters of the output image. Mandatory: True. Default Value: "0"
- [param] -ram <int32> Available memory for processing (in MB). 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

otbStereorecificationGridGeneration

## Example of use

- io.in: ROI_IKO_PAN_LesHalles_sub.tif

- io.out: ROI_IKO_PAN_LesHalles_sub_resampled.tif uint8

- grid.in: ROI_IKO_PAN_LesHalles_sub_deformation_field.tif

- out.sizex: 256

- out.sizey: 256

- grid.type: def