ISIS Application Documentation
warp | Printer Friendly View | TOC | Home |
Warp an image using a Control Network
Overview | Parameters | Example 1 | Example 2 | Example 3 |
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: 02/21/2025 19:28:14 |
Parameter GroupsFiles
Warp parameters
Interpolation
|
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: 02/21/2025 19:28:14 |
Specify the input cube to be warped. This can be a level1 or level2 cube. All bands within the cube will be warped unless a specific band is specified.
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
This new output cube will contain the results of the warp processing. It will either be a single-band or multi-band cube based on the input bands specified in the FROM cube.
Type | cube |
---|---|
File Mode | output |
This input Control Network file contains image-to-image Control Points that will be used to apply the warp transformation. Exactly two images are allowed in this Control Network, one of which must be the FROM cube. This file is typically generated by the coreg application.
Type | filename |
---|---|
File Mode | input |
Filter | *.net |
The order of the polynomial to be used in the linear regression fit. Higher order polynomial requires more numerous Control Points.
Type | integer |
---|---|
Default | 1 |
Minimum | 1 (inclusive) |
With this option selected (default), specific pixel movement (input to output location) is based on Control Point distances from the pixel. That is, Control Points closest to a given input pixel will have greater weight (influence) on the computed output location than Control Coints furthest from the input pixel. Without this selection, all Control Points will have equal weight toward influencing individual pixel movement.
Type | boolean |
---|---|
Default | true |
This option determines how the size of the output cube is determined. The choices are MATCH, COMPUTE, and USER. The MATCH option (default) matches the output cube size to the size of the cube provided in the CUBE parameter. The COMPUTE option calculates the output cube size from the Control Network file. The USER parameter allows the user to set the output cube size by entering sample and line values in the ONS and ONL parameters.
Type | string | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | MATCH | ||||||||||||
Option List: |
|
The output cube will have the same dimensions as the cube entered here.
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
Requested number of lines for the output cube.
Type | integer |
---|---|
Minimum | 1 (inclusive) |
Requested number of samples for the output cube.
Type | integer |
---|---|
Minimum | 1 (inclusive) |
This is the type of interpolation to be performed on the input.
Type | string | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | CUBICCONVOLUTION | ||||||||||||
Option List: |
|
Example 1Warp Example 1 Description
Warp Example 1
Command Line
warp warp from=warp_from.cub to=warp_example1.cub
cnet=warp_example1.net osize=user onl=1000 ons=1000
This warp command will warp the from cube (warp_from.cub) which is a
100Sx1000L image, to a 1000Sx1000L image and match the points from the
Control Points in warp_example1.net.
See the Control Network input file for more details.
Input Image
Data FileLinks open in a new window.
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: 02/21/2025 19:28:14 |
Example 2Warp Example 2 Description
Warp Example 2
Command Line
warp warp from=warp_from.cub to=warp_example2.cub
cnetl=warp_example2.net osize=user onl=1000 ons=1000
This warp command will warp the from cube (warp_from.cub) which is a
100Sx1000L image, to a 1000Sx1000L image and match the points from the
Control Points in warp_example1.net.
See the Control Network input file for more details.
Input Image
Data FileLinks open in a new window.
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: 02/21/2025 19:28:14 |
Example 3Warp Grid Example 3 Description
This example shows the effect warm has on a grid. A 1000x1000 image
with grid lines every 50 pixels was created. The control net file has
4 points where the upper right and lower left corners were held. The
upper left and lower right points were move to 100,1 and 800,800,
respectively.
Command Line
warp warp from=grid_raw.cub to=grid_warp_weight.cub
cnet=warp_points.net osize=user onl=1000 ons=1000 interp=bilinear
This warp command will warp the from cube (grid_raw.cub) which is a
1000Sx1000L image, to a 1000Sx1000L image and match the points from the
Control Points in warp_points.net. See the Control Network input file
for more details.
Input Image
Data FileLinks open in a new window.
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: 02/21/2025 19:28:14 |