# Quicklook

## Brief Description

Generates a subsampled version of an image extract

## Tags

Image Manipulation

## Long Description

Generates a subsampled version of an extract of an image defined by ROIStart and ROISize. This extract is subsampled using the ratio OR the output image Size.

## Parameters

- [param] -in <string> The image to read. Mandatory: True. Default Value: ""
- [param] -out <string> The subsampled image. Mandatory: True. Default Value: ""
- [param] -rox <int32> first point of ROI in x-direction. Mandatory: False. Default Value: "0"
- [param] -roy <int32> first point of ROI in y-direction. Mandatory: False. Default Value: "0"
- [param] -rsx <int32> size of ROI in x-direction. Mandatory: False. Default Value: "0"
- [param] -rsy <int32> size of ROI in y-direction. Mandatory: False. Default Value: "0"
- [param] -sr <int32> Sampling Ratio, default is 2. Mandatory: False. Default Value: "2"
- [param] -sx <int32> quicklook size in x-direction (used if no sampling ration is given). Mandatory: False. Default Value: "0"
- [param] -sy <int32> quicklook size in y-direction (used if no sampling ration is given). Mandatory: False. Default Value: "0"
[choice] -cl Selected channels . Mandatory: False. Default Value: ""

## Limitations

This application does not provide yet the optimal way to decode coarser level of resolution from JPEG2000 images (like in Monteverdi). Trying to subsampled huge JPEG200 image with the application will lead to poor performances for now.

## Authors

OTB-Team

## See Also

## Example of use

- in: qb_RoadExtract.tif

- out: quicklookImage.tif