asap.point_match_optimization package

Submodules

asap.point_match_optimization.point_match_optimization module

asap.point_match_optimization.schemas module

class asap.point_match_optimization.schemas.PointMatchOptimizationParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]

Bases: RenderParameters

This schema is designed to be a schema_type for an ArgSchemaParser object

PointMatchOptimizationParameters

key

description

default

field_type

json_type

input_json

file path of input json file

NA

InputFile

str

output_json

file path to output json file

NA

OutputFile

str

log_level

set the logging level of the module

ERROR

LogLevel

str

render

parameters to connect to render server

(REQUIRED)

RenderClientParameters

dict

stack

Name of the stack containing the tile pair

(REQUIRED)

String

str

tile_stack

Name of the stack that will hold these two tiles

None

String

str

tileId1

tileId of the first tile in the tile pair

(REQUIRED)

String

str

tileId2

tileId of the second tile in the tile pair

(REQUIRED)

String

str

pool_size

Pool size for parallel processing

10

Integer

int

SIFT_options

no description

(REQUIRED)

SIFT_options

dict

outputDirectory

Parent directory in which subdirectories will be created to store images and point-match results from SIFT

(REQUIRED)

OutputDir

str

url_options

no description

(REQUIRED)

url_options

dict

opts = <marshmallow.schema.SchemaOpts object>
class asap.point_match_optimization.schemas.PointMatchOptimizationParametersOutput(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]

Bases: DefaultSchema

PointMatchOptimizationParametersOutput

key

description

default

field_type

json_type

output_html

Output html file that shows all the tilepair plot and results

(REQUIRED)

String

str

opts = <marshmallow.schema.SchemaOpts object>
class asap.point_match_optimization.schemas.PtMatchOptimizationParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]

Bases: RenderParameters

This schema is designed to be a schema_type for an ArgSchemaParser object

PtMatchOptimizationParameters

key

description

default

field_type

json_type

input_json

file path of input json file

NA

InputFile

str

output_json

file path to output json file

NA

OutputFile

str

log_level

set the logging level of the module

ERROR

LogLevel

str

render

parameters to connect to render server

(REQUIRED)

RenderClientParameters

dict

stack

Name of the stack containing the tile pair (not the base stack)

(REQUIRED)

String

str

tile_stack

Name of the stack that will hold these two tiles

None

String

str

tilepair_file

Tile pair file

(REQUIRED)

InputFile

str

no_tilepairs_to_test

Number of tilepairs to be tested for optimization - default = 10

10

Integer

int

filter_tilepairs

Do you want filter the tilpair file for pairs that overlap? - default = False

False

Boolean

bool

max_tilepairs_with_matches

How many tilepairs with matches required for selection of optimized parameter set

0

Integer

int

numberOfThreads

Number of threads to run point matching job

5

Integer

int

SIFT_options

no description

(REQUIRED)

SIFT_options

dict

outputDirectory

Parent directory in which subdirectories will be created to store images and point-match results from SIFT

(REQUIRED)

OutputDir

str

url_options

no description

(REQUIRED)

url_options

dict

pool_size

Pool size for parallel processing

10

Integer

int

opts = <marshmallow.schema.SchemaOpts object>
validate_data(data)[source]
class asap.point_match_optimization.schemas.PtMatchOptimizationParametersOutput(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]

Bases: DefaultSchema

PtMatchOptimizationParametersOutput

key

description

default

field_type

json_type

output_html

Output html file that shows all the tilepair plot and results

(REQUIRED)

String

str

opts = <marshmallow.schema.SchemaOpts object>
class asap.point_match_optimization.schemas.SIFT_options(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]

Bases: DefaultSchema

SIFT_options

key

description

default

field_type

json_type

SIFTfdSize

SIFT feature descriptor size: how many samples per row and column

[8]

List

int

SIFTmaxScale

SIFT maximum scale: minSize * minScale < size < maxSize * maxScale

[0.85]

List

float

SIFTminScale

SIFT minimum scale: minSize * minScale < size < maxSize * maxScale

[0.5]

List

float

SIFTsteps

SIFT steps per scale octave

[3]

List

int

matchIterations

Match filter iterations

[1000]

List

int

matchMaxEpsilon

Minimal allowed transfer error for match filtering

[20.0]

List

float

matchMaxNumInliers

Maximum number of inliers for match filtering

[500]

List

int

matchMaxTrust

Reject match candidates with a cost larger than maxTrust * median cost

[3.0]

List

float

matchMinInlierRatio

Minimal ratio of inliers to candidates for match filtering

[0.0]

List

float

matchMinNumInliers

Minimal absolute number of inliers for match filtering

[10]

List

int

matchModelType

Type of model for match filtering Possible Values: [TRANSLATION, RIGID, SIMILARITY, AFFINE]

[‘AFFINE’]

List

str

matchRod

Ratio of distances for matches

[0.92]

List

float

renderScale

Render canvases at this scale

[0.35]

List

float

opts = <marshmallow.schema.SchemaOpts object>
class asap.point_match_optimization.schemas.url_options(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]

Bases: DefaultSchema

url_options

key

description

default

field_type

json_type

normalizeForMatching

normalize for matching

True

Boolean

bool

renderWithFilter

Render with Filter

True

Boolean

bool

renderWithoutMask

Render without mask

False

Boolean

bool

excludeAllTransforms

Exclude all transforms

False

Boolean

bool

excludeFirstTransformAndAllAfter

Exclude first transfrom and all after

False

Boolean

bool

excludeTransformsAfterLast

Exclude transforms after last

False

Boolean

bool

opts = <marshmallow.schema.SchemaOpts object>

Module contents