OEBLUNDER

Detect and remove blunders


EnvironmentsPYTHON :: EASI :: MODELER
Quick linksDescription :: Parameters :: Parameter descriptions :: Return Value :: Details :: Example

Back to top

Description


OEBLUNDER automatically detects and removes errors, or blunders in images, and with tie points (TP), and ground control points (GCP) in a CATALYST Professional OrthoEngine project file (*.prj).
Back to top

Parameters


oeblunder(oeproji, oeprojo)

Name Type Caption Length Value range
OEPROJI* str Input OrthoEngine project file 1 -    
OEPROJO* str Output OrthoEngine project file 1 -    

* Required parameter
Back to top

Parameter descriptions

OEPROJI

The path and file name of the input OrthoEngine project file.

OEPROJO

The path and file name of the output OrthoEngine project file.

Note: If you specify your input project as your output project, then the input OrthoEngine project is updated with the recalculated math models, as applicable.
Back to top

Return Value

Returns: Execution status

Type:  PCI_INT

The return value is 0. This function returns only if it executes successfully; otherwise, it throws an exception.

Back to top

Details

OEBLUNDER detects and eliminates blunder points and images in an OrthoEngine project file.

The algorithm eliminates items from the project based on the following logical tests:

With some supported types of math models, such as airphoto, RPC, and ADS, an additional blunder-removal step is performed after removing the logical blunders. In this step, the root mean square (RMS) error is calculated for the entire project by using the input math model. Any points in the project in which the error value is equal to or greater than the total project error multiplied by five are eliminated.

Back to top

Example

In the following example, OEBLUNDER is run to detect and remove blunders of TPs, GCPs, and images.

from pci.oeblunder import *

oeproji	=	"airphoto_model.prj"
oeprojo	=	"a.prj"

oeblunder (oeproji, oeprojo )

© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.