GCPCAND

Candidate generation for automatic GCP collection


Environments
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details

Back to top

Description


GCPCAND processes reference images to generate candidates for automatic collection of ground control points (GCP).
Back to top

Parameters


Name Type Length Value range
Input: Reference image channel(s) Raster port 0 - 1024  
Source background options String 0 -   Default: File Metadata
Source background values Integer 0 - 1024 Default: 0
LOCLMASK String 0 -   Default: NONE
Candidate samples source method String 0 -   SUSAN | GRID
Default: GRID
Distribution: Distribution unit Text port 0 -   MAPSPACING | PIXELSPACING | ENTIRE
Default: MAPSPACING
Parameter to control the number of candidates String 0 -    
Distribution number String 0 -    
Parameter to control the number of trials per candidate Integer 0 - 1 1 - 8
Default: 1
Report String 0 - 192 See parameter description
Back to top

Parameter descriptions

Input: Reference image channel(s)

The channel or channels in the reference-image file from which to extract the SUSAN corner features when using the SUSAN detector. When there are multiple channels, they are averaged together.

If no value is specified for this parameter, the first channel is processed by default.

This parameter is ignored when the value of the SMPLSRC (Candidate samples source method) parameter is any option other than SUSAN.

Source background options

The pixels in the source image to consider, potentially with the value of the Source Background Values parameter, as background (NoData) pixels. In general, if a pixel is considered NoData, GCPCAND processes the pixel in a specific manner.

You can choose from the following options:

For specific examples, see the Source background values parameter.

Source background values

The source background value or values when the following options are specified for the Source Background Options parameter:
Note: To specify multiple values, use a comma-delimited list. The first value applies to the first channel, the second value to the second channel, and so on. If fewer values are specified than the number of input channels, the last value is repeated for all remaining channels. If more values are specified than the number of input channels, the extra values are ignored.
For example:

LOCLMASK

Specify whether to apply a local mask to prevent points from being collected in those locations. If no value is specified for this parameter (default), or you specify a value, but one or more of the images do not contain a bitmap or vector segment, no local exclusion mask will be applied for those images.

The syntax for LOCLMASK is:
LOCLMASK = (NONE | BIT | VEC | <n>)
You can specify the value of LOCLMASK using the following:

This parameter is optional.

Candidate samples source method

Available options are:

The SUSAN and GRID options determine how to find the candidate positions in the reference image. AutoGCP will attempt to collect GCPs at these locations.

When collecting GCPs, the GRID option is preferred, because the SUSAN option finds candidates on building corners that may not be represented in the digital elevation model (DEM), leading to GCPs with higher residuals due to height errors.

Distribution: Distribution unit

The unit of value to use for the Distribution number parameter.

You can choose from the following options:

Parameter to control the number of candidates

This controls the number of GCPs to find, in the units specified for the DISTRIB (Distribution) parameter. The default value generally produces approximately 100 points evenly distributed over the reference image. When the value of the DISTRIB (Distribution) parameter is MAPSPACING, and the reference image has a projection in degrees, you can specify a string in the format degrees-minutes-seconds. The specific format is as follows:

Distribution number

This controls the number of GCPs to find, in the units specified for the DISTRIB (Distribution) parameter. When the value of the DISTRIB (Distribution) parameter is MAPSPACING, and the reference image has a projection in degrees, you can specify a string in the format degrees-minutes-seconds.

Parameter to control the number of trials per candidate

The number of trials per candidate. Trials are backup candidates to try when the main candidate failed to match a given raw image. When there is an insufficient number of stereo GCPs, it is recommended that you use a denser distribution rather than more trials, as the backup trials are only collected if the main candidate failed to match for a particular image.

Report

Specifies where to direct the generated report.

Available options are:

Back to top

Details

GCPCAND generates candidates for automatic GCP collection by preprocessing reference images and writing a vector segment containing the generated candidates to a file. These candidates can be used by AUTOGCP to collect GCPs. The vector segment created by GCPCAND will be named GCPCand and have a description of GCP candidate points.

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