ISIS Application Documentation
enlarge | Printer Friendly View | TOC | Home |
Enlarge the pixel dimensions of an image
Overview | Parameters | Example 1 | Example 2 |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 10/05/2024 02:42:31 |
Parameter GroupsFiles
Scaling Parameters
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 10/05/2024 02:42:31 |
Use this parameter to select the filename. All bands within the file will be enlarged unless a specific band is specified.
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
This file will contain the results of the enlargement.
Type | cube |
---|---|
File Mode | output |
This is the type of interpolation to be performed on the input.
Type | string | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | CUBICCONVOLUTION | ||||||||||||
Option List: |
|
Select between enlarging the image to a multiple of the original (by a scaling factor) or to specific dimensions (in terms of total number of pixels).
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | SCALE | |||||||||
Option List: |
|
This determines new size of the cube in the sample direction only. The number of samples will be multiplied by this number.
Type | double |
---|---|
Default | 1.0 |
Minimum | 1.0 (inclusive) |
This determines new size of the cube in the line direction only. The number of linees will be multiplied by this number.
Type | double |
---|---|
Default | 1.0 |
Minimum | 1.0 (inclusive) |
The number of samples desired in the output cube. This value must be greater than or equal to the number of samples in the input image.
Type | integer |
---|---|
Minimum | 1 (inclusive) |
The number of lines desired in the output cube. This value must be greater than or equal to the number of lines in the input image.
Type | integer |
---|---|
Minimum | 1 (inclusive) |
Example 1Enlarge the number of samples by a scaling factor of 2, while leaving the number of lines the same. Description
Here, the 1024 x 1024 image "peaks.cub" has had the application "reduce"
applied to it in order to produce a 512 x 1024 image called
"reducedPeaks.cub". In this example, the reduced image,
reducedPeaks.cub, will be enlarged by a factor of 2 along the sample
dimension in an attempt to restore it back to its original form.
Command Line
enlarge
from=reducedPeaks.cub
to=restoredPeaks.cub
sscale=2.0
In order to double the number of sample pixels, the sample scale is
set to 2.0, and the line scale remains at its default of 1.0. Since
no mode or interpolation has been specified, the application will
default to scale and cube convolution interpolation, respectively.
GUI Screenshot
Input Images
Output Image
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 10/05/2024 02:42:31 |
Example 2Enlarge the number of samples to 768, and keep the number of lines at 1024 Description
Here the mode has been set to enlarge to a total number of pixels along
the sample and line dimensions, with all other parameters kept at their
default settings.
Command Line
enlarge
from=reducedPeaks.cub
to=enlargeTotalPeaks.cub
mode=total
ons=768
onl=1024
In order to enlarge to specific dimensions, the mode is set here to
"total". Also, because total lines and samples do not have default
values, the output number of lines must still be specified, even
though they will be unchanged.
GUI Screenshot
Input Image
Output Image |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 10/05/2024 02:42:31 |