Generates a subsampled version of an image extract
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.
This section describes in details the parameters available for this application. Table 4.18, page 430 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is Quicklook.
Parameter key | Parameter type |
Parameter description |
in | Input image |
Input Image |
out | Output image |
Output Image |
cl | List |
Channel List |
rox | Int |
ROI Origin X |
roy | Int |
ROI Origin Y |
rsx | Int |
ROI Size X |
rsy | Int |
ROI Size Y |
sr | Int |
Sampling ratio |
sx | Int |
Size X |
sy | Int |
Size Y |
inxml | XML input parameters file |
Load otb application from xml file |
outxml | XML output parameters file |
Save otb application to xml file |
|
||
|
||
|
||
|
||
|
To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
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.
This application has been written by OTB-Team.