サマリー
Creates a raster object by producing an orthorectified image using a sensor definition and terrain model.
説明
You can use this function when your raster data has rational polynomial coefficients.
For more information about how this function works, see the Geometric raster function.
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
構文
Geometric (raster, {geodata_transforms}, {append_geodata_xform}, {z_factor}, {z_offset}, {constant_z}, {correct_geoid}, {tolerance}, {dem})
パラメーター | 説明 | データ タイプ |
raster | The input raster. | Raster |
geodata_transforms | The transformation method for the geometric function. Transformation methods include Polynomial, Projective, or Identity. (デフォルト値は次のとおりです None) | String |
append_geodata_xform | Specifies whether to append the geodata transform to the input raster.
(デフォルト値は次のとおりです False) | Boolean |
z_factor | The z-factor value to rescale to meters, if the input elevation dataset uses vertical units other than meters. (デフォルト値は次のとおりです None) | Double |
z_offset | The base value to be added to the elevation values in the DEM. Use this argument to offset elevation values that do not start at sea level. (デフォルト値は次のとおりです None) | Double |
constant_z | A constant elevation value to use for the function. (デフォルト値は次のとおりです None) | Double |
correct_geoid | The geoid correction converts orthometric heights using a geoid before applying an orthorectification to your imagery. Most elevation datasets, such as USGS NED or ArcGIS Online World elevation, use orthometric heights, so it is necessary to select the Geoid correction for compatibility with satellite RPCs, which require ellipsoidal heights.
(デフォルト値は次のとおりです False) | Boolean |
tolerance | The maximum tolerable error in the geometric function, given in number of pixels. (デフォルト値は次のとおりです None) | Double |
dem | The DEM used to orthorectify the raster dataset. (デフォルト値は次のとおりです None) | Raster |
データ タイプ | 説明 |
Raster | The output raster. |
コードのサンプル
Orthorectifies a satellite image using a sensor model and a DEM.
# Import system modules
import arcpy
from arcpy.ia import *
# Set the local variables
raster = "C:/data/Image.JPG"
geodata_transforms = "Polynomial"
append_geodata_xform = True
z_factor = None
z_offset = None
constant_z = None
correct_geoid = False
tolerance = 2
dem = "C:/data/DEM.tif"
# Apply RegionGrow function
Orthorectified_raster = arcpy.ia.Geometric(raster, geodata_transforms, append_geodata_xform,
z_factor, z_offset, constant_z, correct_geoid,
tolerance, dem)
# Save the output
Orthorectified_raster.save("C:/arcpyExamples/outputs/Image_ortho.JPG")