cars.applications.sparse_matching.methods.sift_sparse_method

This module contains the SIFT sparse matching method implementation.

Attributes

AbstractSparseMatchingMethod

Classes

SiftSparseMethod

Implementation of SIFT as a sparse matching method.

Functions

is_positive(value)

Check if a value is positive.

Module Contents

cars.applications.sparse_matching.methods.sift_sparse_method.AbstractSparseMatchingMethod[source]
cars.applications.sparse_matching.methods.sift_sparse_method.is_positive(value)[source]

Check if a value is positive.

Parameters:

value (int or float) – value to check

Returns:

True if value is positive, False otherwise

Return type:

bool

class cars.applications.sparse_matching.methods.sift_sparse_method.SiftSparseMethod(conf)[source]

Bases: AbstractSparseMatchingMethod

Implementation of SIFT as a sparse matching method.

schema
used_config
method
sift_matching_threshold
sift_n_octave
sift_n_scale_per_octave
sift_peak_threshold
sift_edge_threshold
sift_magnification
sift_window_size
sift_back_matching
used_band
check_conf(conf)[source]

Merge user configuration with default values and validate schema. Extra keys in conf are preserved and ignored during schema validation.

get_required_bands()[source]

Get bands required by this method.

Returns:

required bands for left and right image

Return type:

dict

run(left_image_object, right_image_object, saving_info_left=None, disp_lower_bound=None, disp_upper_bound=None, classif_bands_to_mask=None)[source]

Compute and filter sparse matches for one pair of epipolar tiles.