Summary
Computes the tie points between overlapped mosaic dataset items. The tie points can then be used to compute the block adjustments for the mosaic dataset.
Usage
The tie points can be combined with control points using the Append Control Points tool.
The tie points and the optional control points are then used as the inputs for the Compute Block Adjustment tool.
If you have a mosaic dataset with many items, use caution when specifying the Output Image Features parameter, since your result may take a long time to process.
Syntax
arcpy.management.ComputeTiePoints(in_mosaic_dataset, out_control_points, {similarity}, {in_mask_dataset}, {out_image_features}, density, distribution, location_accuracy)
Parameter | Explanation | Data Type |
in_mosaic_dataset | The input mosaic dataset that will be used to create tie points. | Mosaic Layer; Mosaic Dataset |
out_control_points | The output control point table. The table will contain the tie points created by this tool. | Feature Class |
similarity (Optional) | Specifies the similarity level that will be used for matching tie points.
| String |
in_mask_dataset (Optional) | A polygon feature class used to exclude areas you do not want in the computation of control points. A field with a name of mask can control the inclusion or exclusion of areas. A value of 1 indicates that the areas defined by the polygons (inside) will be excluded from the computation. A value of 2 indicates the defined polygons (inside) will be included in the computation while areas outside of the polygons will be excluded. | Feature Layer |
out_image_features (Optional) | The output image feature points table. This will be saved as a polygon feature class. This output can be quite large. | Feature Class |
density | Specifies the number of tie points to be created.
| String |
distribution | Specifies whether the points will have regular or random distribution.
| String |
location_accuracy | Specifies the keyword that describes the accuracy of the imagery.
| String |
Code sample
ComputeTiePoints example 1 (Python window)
This is a Python sample for the ComputeTiePoints tool.
import arcpy
arcpy.ComputeTiePoints_management("c:/workspace/BD.gdb/redQB",
"c:/workspace/BD.gdb/redQB_tiePoints", "MEDIUM")
ComputeTiePoints example 2 (stand-alone script)
This is a stand-alone script sample for the ComputeTiePoints tool.
#compute tie points
import arcpy
arcpy.env.workspace = "c:/workspace"
#Compute tie points for a mosaic dataset
mdName = "BD.gdb/redlandsQB"
out_tiePoint = "BD.gdb/redlandsQB_tiePoints"
arcpy.ComputeTiePoints_management(mdName, out_tiePoint, "MEDIUM")
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes