Transform Image Shapes (Image Analyst)

Available with Image Analyst license.

Summary

Transforms features from image space to map space.

Usage

  • The Input Image Shape Table parameter value must have an ishape field. This is created by the deep learning inferencing tools when the data is processed in image space.

  • Image orientations are typically stored in a mosaic dataset.

Parameters

LabelExplanationData Type
Input Image Shape Table

The feature class containing the image shapes and iShape field.

Feature Class; Feature Layer
Output Image Shape Table

The output feature class with the image shapes.

Feature Class
Image Orientations

The orientation information of the image collection.

Mosaic Dataset; Mosaic Layer; String
Input DEM
(Optional)

The DEM that will be used to improve the accuracy of the transformation.

Raster Dataset

TransformImageShapes(in_shape_table, out_shape_table, in_orientations, {in_dem})
NameExplanationData Type
in_shape_table

The feature class containing the image shapes and iShape field.

Feature Class; Feature Layer
out_shape_table

The output feature class with the image shapes.

Feature Class
in_orientations

The orientation information of the image collection.

Mosaic Dataset; Mosaic Layer; String
in_dem
(Optional)

The DEM that will be used to improve the accuracy of the transformation.

Raster Dataset

Code sample

TransformImageShapes example 1 (Python window)

This example transforms a collections of hydrants from image space to map space.

import arcpy
arcpy.env.workspace = r"C:\Data\MyProject.gdb"

arcpy.ia.TransformImageShapes("ImgeCollection_Objects_Hydrants",
    "Image Collection", "dem")
TransformImageShapes example 2 (stand-alone script)

This example transforms a collections of hydrants from image space to map space.

# Import system modules
import arcpy
from arcpy.ia import *

# Check out the ArcGIS Image Analyst extension license
arcpy.CheckOutExtension("ImageAnalyst")

# Set local variables
in_shape_table = r"C:\DL\MyProject.gdb\ImageCollection_Objects_Hydrants"
in_orientations = r"C:\DL\MyProject.gdb\ImageCollection"
in_dem = r"C:\DL\dem.tif"

# Execute 
arcpy.ia.TransformImageShapes(in_shape_table, in_orientations, in_dem)

Licensing information

  • Basic: Requires Image Analyst
  • Standard: Requires Image Analyst
  • Advanced: Requires Image Analyst

Related topics