Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  ENVI API  >  Processing  >  ENVIFilterTiePointsByPushbroomModelTask

ENVIFilterTiePointsByPushbroomModelTask

ENVIFilterTiePointsByPushbroomModelTask

This task uses the pushbroom model to filter the tie points. Both input images must contain an RPC spatial reference.

For images taken with a pushbroom sensor that have RPC information, the images of the same scene are related by epipolar geometry constraint. For a feature point in the first image, the corresponding point in the second image must lie on the epipolar line or curve. Both images must have RPCs. Imagery from pushbroom sensors use the line central projection. Each scan line has its own projection center, as the following figure shows.

Line central projection

The following diagram shows where this task belongs within an image-to-image registration workflow:

References

Jin, Xiaoying. ENVI automated image registration solutions. Harris Geospatial Systems whitepaper (2017). Available online at http://www.harrisgeospatial.com/Portals/0/pdfs/ENVI_Image_Registration_Whitepaper.pdf.

Jin, Xiaoying, and Robert Schafer. Method and system for automatic registration of images. Exelis, Inc., assignee; now owned by Harris Corporation. U.S. Patent No. 9,245,201 (issued January 26, 2016).

Example


This example uses sample Quickbird images and a USGS SRTM 1-arc second DEM. The files are available on the ENVI Resource DVD under the /image_reg directory or from the ENVI Tutorials web page. Click the "ENVI Tutorial Data" hyperlink. Copy the files to your local drive.

; Start the application
e = ENVI()
 
; Open QuickBird images and SRTM 1-arc second DEM
file1 = 'QuickBirdPhoenixWest.dat'
raster1 = e.OpenRaster(file1)
 
file2 = 'QuickBirdPhoenixEast.dat'
raster2 = e.OpenRaster(file2)
 
DEMFile = 'PhoenixDEMSubset.dat'
DEMRaster = e.OpenRaster(DEMFile)
 
; Get the task from the catalog of ENVITasks
Task = ENVITask('GenerateTiePointsByCrossCorrelationWithOrthorectification')
 
; Define inputs
Task.INPUT_RASTER1 = raster1
Task.INPUT_RASTER2 = raster2
Task.INPUT_DEM_RASTER = DEMRaster
Task.REQUESTED_NUMBER_OF_TIEPOINTS = 40
 
; Define outputs
Task.OUTPUT_TIEPOINTS_URI = e.GetTemporaryFilename('pts')
Task.OUTPUT_ORTHORECTIFIED_TIEPOINTS_URI = e.GetTemporaryFilename('pts')
 
; Run the task
Task.Execute
 
; Get the output tie points
TiePoints = Task.OUTPUT_TIEPOINTS
OrthoTiePoints = Task.OUTPUT_ORTHORECTIFIED_TIEPOINTS
 
; Get the tie point filter task from the catalog of ENVITasks
FilterTask = ENVITask('FilterTiePointsByPushbroomModel')
 
; Define inputs for the filtering task
FilterTask.INPUT_TIEPOINTS = TiePoints
 
; Run the task
FilterTask.Execute
 
; Define outputs for the filtering task
FilteredTiePoints = FilterTask.OUTPUT_TIEPOINTS
 
; Get the image-to-image registration task
RegTask = ENVITask('ImageToImageRegistration')
 
; Define inputs
RegTask.INPUT_TIEPOINTS = FilteredTiePoints
RegTask.WARPING = 'Triangulation'
 
; Run the image-to-image registration task
RegTask.Execute
 
; Get the output raster
WarpedRaster = RegTask.OUTPUT_RASTER
 
; Get the collection of data objects currently available in the Data Manager
DataColl = e.Data
 
; Add the output to the Data Manager
DataColl.Add, WarpedRaster
 
; Display the result
View = e.GetView()
Layer = View.CreateLayer(WarpedRaster)

Syntax


Result = ENVITask('FilterTiePointsByPushbroomModel')

Input properties (Set, Get): INPUT_TIEPOINTS, OUTPUT_TIEPOINTS_URI, REPROJECTION_ERROR_THRESHOLD

Output properties (Get only): OUTPUT_TIEPOINTS

Properties marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Properties marked as "Get" are those whose values you can retrieve but not set.

Methods


This task inherits the following methods from ENVITask:

AddParameter

Execute

Parameter

ParameterNames

RemoveParameter

Properties


This task inherits the following properties from ENVITask:

COMMUTE_ON_DOWNSAMPLE

COMMUTE_ON_SUBSET

DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

This task also contains the following properties:

INPUT_TIEPOINTS (optional)

This is a reference to the ENVITiePointSet object generated from ENVIGenerateTiePointsByCrossCorrelationTask or ENVIGenerateTiePointsByMutualInformationTask.

OUTPUT_TIEPOINTS

This is a reference to an ENVITiePointSet object with the output tie points.

OUTPUT_TIEPOINTS_URI (optional)

Specify a string with the fully qualified path and filename for OUTPUT_TIEPOINTS.

REPROJECTION_ERROR_THRESHOLD (optional)

Specify the reprojection error threshold to use. Specify the reprojection error threshold to use. It is defined as the perpendicular distance (in pixel units) of a point in one image from its corresponding epipolar line computed from a point in another image. The default value is 10.0.

Version History


ENVI 5.2, Service Pack 1

Introduced

API Version


3.2

See Also


ENVITask, ENVITask::Parameter, ENVIFilterTiePointsByFundamentalMatrixTask, ENVIFilterTiePointsByGlobalTransformTask, ENVIGenerateTiePointsByCrossCorrelationTask, ENVIGenerateTiePointsByMutualInformationTask, ENVIImageToImageRegistrationTask, ENVITiePointSet



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us