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
key
description
default
field_type
json_type
input_json
file path of input json file
NA
str
output_json
file path to output json file
NA
str
log_level
set the logging level of the module
ERROR
str
render
parameters to connect to render server
(REQUIRED)
dict
stack
Name of the stack containing the tile pair
(REQUIRED)
str
tile_stack
Name of the stack that will hold these two tiles
None
str
tileId1
tileId of the first tile in the tile pair
(REQUIRED)
str
tileId2
tileId of the second tile in the tile pair
(REQUIRED)
str
pool_size
Pool size for parallel processing
10
int
SIFT_options
no description
(REQUIRED)
dict
outputDirectory
Parent directory in which subdirectories will be created to store images and point-match results from SIFT
(REQUIRED)
str
url_options
no description
(REQUIRED)
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
key
description
default
field_type
json_type
output_html
Output html file that shows all the tilepair plot and results
(REQUIRED)
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
key
description
default
field_type
json_type
input_json
file path of input json file
NA
str
output_json
file path to output json file
NA
str
log_level
set the logging level of the module
ERROR
str
render
parameters to connect to render server
(REQUIRED)
dict
stack
Name of the stack containing the tile pair (not the base stack)
(REQUIRED)
str
tile_stack
Name of the stack that will hold these two tiles
None
str
tilepair_file
Tile pair file
(REQUIRED)
str
no_tilepairs_to_test
Number of tilepairs to be tested for optimization - default = 10
10
int
filter_tilepairs
Do you want filter the tilpair file for pairs that overlap? - default = False
False
bool
max_tilepairs_with_matches
How many tilepairs with matches required for selection of optimized parameter set
0
int
numberOfThreads
Number of threads to run point matching job
5
int
SIFT_options
no description
(REQUIRED)
dict
outputDirectory
Parent directory in which subdirectories will be created to store images and point-match results from SIFT
(REQUIRED)
str
url_options
no description
(REQUIRED)
dict
pool_size
Pool size for parallel processing
10
int
- opts = <marshmallow.schema.SchemaOpts object>
- 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
key
description
default
field_type
json_type
output_html
Output html file that shows all the tilepair plot and results
(REQUIRED)
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
key
description
default
field_type
json_type
SIFTfdSize
SIFT feature descriptor size: how many samples per row and column
[8]
int
SIFTmaxScale
SIFT maximum scale: minSize * minScale < size < maxSize * maxScale
[0.85]
float
SIFTminScale
SIFT minimum scale: minSize * minScale < size < maxSize * maxScale
[0.5]
float
SIFTsteps
SIFT steps per scale octave
[3]
int
matchIterations
Match filter iterations
[1000]
int
matchMaxEpsilon
Minimal allowed transfer error for match filtering
[20.0]
float
matchMaxNumInliers
Maximum number of inliers for match filtering
[500]
int
matchMaxTrust
Reject match candidates with a cost larger than maxTrust * median cost
[3.0]
float
matchMinInlierRatio
Minimal ratio of inliers to candidates for match filtering
[0.0]
float
matchMinNumInliers
Minimal absolute number of inliers for match filtering
[10]
int
matchModelType
Type of model for match filtering Possible Values: [TRANSLATION, RIGID, SIMILARITY, AFFINE]
[‘AFFINE’]
str
matchRod
Ratio of distances for matches
[0.92]
float
renderScale
Render canvases at this scale
[0.35]
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
key
description
default
field_type
json_type
normalizeForMatching
normalize for matching
True
bool
renderWithFilter
Render with Filter
True
bool
renderWithoutMask
Render without mask
False
bool
excludeAllTransforms
Exclude all transforms
False
bool
excludeFirstTransformAndAllAfter
Exclude first transfrom and all after
False
bool
excludeTransformsAfterLast
Exclude transforms after last
False
bool
- opts = <marshmallow.schema.SchemaOpts object>