---
name: "otbgui_GridBasedImageResampling"
section: "1"
platform: "linux"
package: "otb-bin-qt"
version: "6.6.1+dfsg-1+b1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/otbgui_GridBasedImageResampling"
---

# otbgui\_GridBasedImageResampling(1)

OTB GridBasedImageResampling application

## NAME

otbgui\_GridBasedImageResampling - OTB GridBasedImageResampling application

## DESCRIPTION

This is the GridBasedImageResampling application, version 5.2.0 Resamples an image according to a resampling grid

Complete documentation: http://www.orfeo-toolbox.org/Applications/GridBasedImageResampling.html

### Parameters:

- **-progress**

  \<boolean\>        Report progress

 **-io**.in                   \<string\>         Input image  (mandatory)\
  **-io**.out                  \<string\> \[pixel\] Output Image  \[pixel=uint8/uint16/int16/uint32/int32/float/double\] (default value is float) (mandatory)\
  **-grid**.in                 \<string\>         Input resampling grid  (mandatory)

- **-grid**.type

  \<string\>         Grid Type \[def/loc\] (mandatory, default value is def)

- **-out**.ulx

  \<float\>          Upper Left X  (mandatory, default value is 0)

- **-out**.uly

  \<float\>          Upper Left Y  (mandatory, default value is 0)

 **-out**.sizex               \<int32\>          Size X  (mandatory)\
  **-out**.sizey               \<int32\>          Size Y  (mandatory)

- **-out**.spacingx

  \<float\>          Pixel Size X  (mandatory, default value is 1)

- **-out**.spacingy

  \<float\>          Pixel Size Y  (mandatory, default value is 1)

- **-out**.default

  \<float\>          Default value  (mandatory, default value is 0)

- **-interpolator**

  \<string\>         Interpolation \[nn/linear/bco\] (mandatory, default value is bco)

- **-interpolator**.bco.radius \<int32\>

  Radius for bicubic interpolation  (mandatory, default value is 2)

- **-ram**

  \<int32\>          Available RAM (Mb)  (optional, off by default, default value is 128)

- **-inxml**

  \<string\>         Load otb application from xml file  (optional, off by default)

## EXAMPLES

otbgui\_GridBasedImageResampling -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

## SEE ALSO

The full documentation for **otbgui\_GridBasedImageResampling** is maintained as a Texinfo manual.  If the **info** and **otbgui\_GridBasedImageResampling** programs are properly installed at your site, the command

-

  **info otbgui\_GridBasedImageResampling**

should give you access to the complete manual.
