Variables | |
compute_density | |
int | debug_I = 1 |
int | debug_J = 0 |
bool | debug_mode = False |
DP = PM.DataPoints | |
file_info_list = PMIO.FileInfoVector("../data/carCloudList.csv", "../data/") | |
final_inlier_self = self.getDescriptorViewByName("inliers") | |
final_inlier_target = target.getDescriptorViewByName("inliers") | |
inlier_self = self.getDescriptorViewByName("inliers") | |
inlier_target = target.getDescriptorViewByName("inliers") | |
inliers_read = np.zeros((1, reading.features.shape[1])) | |
inliers_ref = np.zeros((1, reference.features.shape[1])) | |
int | knn = 20 |
int | knn_all = 50 |
list_size_I = len(file_info_list) | |
list_size_J = len(file_info_list) | |
matcher_self = PM.get().MatcherRegistrar.create("KDTreeMatcher", params) | |
matcher_target = PM.get().MatcherRegistrar.create("KDTreeVarDistMatcher", params) | |
Matches = PM.Matches | |
max_density = PM.get().DataPointsFilterRegistrar.create("MaxDensityDataPointsFilter") | |
max_search_dist = np.sqrt(self_matches.dists.max(axis=0, keepdims=True), order='F') | |
string | output_base_directory = "tests/compute_overlap/" |
string | output_base_file = "test" |
overlap_results = np.ones((list_size_J, list_size_I), np.float) | |
params = pms.Parametrizable.Parameters() | |
PM = pm.PointMatcher | |
PMIO = pm.PointMatcherIO | |
reading = DP.load(file_info_list[i].readingFileName) | |
reference = DP.load(file_info_list[j].readingFileName) | |
rigid_trans = PM.get().TransformationRegistrar.create("RigidTransformation") | |
self = reading | |
self_matches = Matches(knn, self_pts_count) | |
self_pts_count = self.features.shape[1] | |
self_ratio = np.count_nonzero(final_inlier_self) / final_inlier_self.shape[1] | |
int | starting_I = 0 |
int | starting_J = i + 1 |
sub_sample | |
target = reference | |
target_matches = Matches(knn_all, target_pts_count) | |
target_pts_count = target.features.shape[1] | |
target_ratio = np.count_nonzero(final_inlier_target) / final_inlier_target.shape[1] | |
transformations = PM.Transformations() | |
Tread = np.identity(4) | |
Tref = np.identity(4) | |
compute_overlap.compute_density |
Definition at line 103 of file compute_overlap.py.
int compute_overlap.debug_I = 1 |
Definition at line 33 of file compute_overlap.py.
int compute_overlap.debug_J = 0 |
Definition at line 37 of file compute_overlap.py.
bool compute_overlap.debug_mode = False |
Definition at line 29 of file compute_overlap.py.
compute_overlap.DP = PM.DataPoints |
Definition at line 10 of file compute_overlap.py.
compute_overlap.file_info_list = PMIO.FileInfoVector("../data/carCloudList.csv", "../data/") |
Definition at line 23 of file compute_overlap.py.
compute_overlap.final_inlier_self = self.getDescriptorViewByName("inliers") |
Definition at line 163 of file compute_overlap.py.
compute_overlap.final_inlier_target = target.getDescriptorViewByName("inliers") |
Definition at line 164 of file compute_overlap.py.
compute_overlap.inlier_self = self.getDescriptorViewByName("inliers") |
Definition at line 152 of file compute_overlap.py.
compute_overlap.inlier_target = target.getDescriptorViewByName("inliers") |
Definition at line 153 of file compute_overlap.py.
compute_overlap.inliers_read = np.zeros((1, reading.features.shape[1])) |
Definition at line 111 of file compute_overlap.py.
compute_overlap.inliers_ref = np.zeros((1, reference.features.shape[1])) |
Definition at line 117 of file compute_overlap.py.
int compute_overlap.knn = 20 |
Definition at line 128 of file compute_overlap.py.
int compute_overlap.knn_all = 50 |
Definition at line 129 of file compute_overlap.py.
int compute_overlap.list_size_I = len(file_info_list) |
Definition at line 52 of file compute_overlap.py.
int compute_overlap.list_size_J = len(file_info_list) |
Definition at line 53 of file compute_overlap.py.
compute_overlap.matcher_self = PM.get().MatcherRegistrar.create("KDTreeMatcher", params) |
Definition at line 132 of file compute_overlap.py.
compute_overlap.matcher_target = PM.get().MatcherRegistrar.create("KDTreeVarDistMatcher", params) |
Definition at line 137 of file compute_overlap.py.
compute_overlap.Matches = PM.Matches |
Definition at line 11 of file compute_overlap.py.
compute_overlap.max_density = PM.get().DataPointsFilterRegistrar.create("MaxDensityDataPointsFilter") |
Definition at line 93 of file compute_overlap.py.
compute_overlap.max_search_dist = np.sqrt(self_matches.dists.max(axis=0, keepdims=True), order='F') |
Definition at line 146 of file compute_overlap.py.
string compute_overlap.output_base_directory = "tests/compute_overlap/" |
Definition at line 17 of file compute_overlap.py.
string compute_overlap.output_base_file = "test" |
Definition at line 20 of file compute_overlap.py.
compute_overlap.overlap_results = np.ones((list_size_J, list_size_I), np.float) |
Definition at line 55 of file compute_overlap.py.
compute_overlap.params = pms.Parametrizable.Parameters() |
Definition at line 12 of file compute_overlap.py.
compute_overlap.PM = pm.PointMatcher |
Definition at line 8 of file compute_overlap.py.
compute_overlap.PMIO = pm.PointMatcherIO |
Definition at line 9 of file compute_overlap.py.
compute_overlap.reading = DP.load(file_info_list[i].readingFileName) |
Definition at line 70 of file compute_overlap.py.
compute_overlap.reference = DP.load(file_info_list[j].readingFileName) |
Definition at line 71 of file compute_overlap.py.
compute_overlap.rigid_trans = PM.get().TransformationRegistrar.create("RigidTransformation") |
Definition at line 43 of file compute_overlap.py.
compute_overlap.self = reading |
Definition at line 120 of file compute_overlap.py.
compute_overlap.self_matches = Matches(knn, self_pts_count) |
Definition at line 143 of file compute_overlap.py.
compute_overlap.self_pts_count = self.features.shape[1] |
Definition at line 124 of file compute_overlap.py.
compute_overlap.self_ratio = np.count_nonzero(final_inlier_self) / final_inlier_self.shape[1] |
Definition at line 165 of file compute_overlap.py.
int compute_overlap.starting_I = 0 |
Definition at line 51 of file compute_overlap.py.
int compute_overlap.starting_J = i + 1 |
Definition at line 62 of file compute_overlap.py.
compute_overlap.sub_sample |
Definition at line 89 of file compute_overlap.py.
compute_overlap.target = reference |
Definition at line 121 of file compute_overlap.py.
compute_overlap.target_matches = Matches(knn_all, target_pts_count) |
Definition at line 149 of file compute_overlap.py.
compute_overlap.target_pts_count = target.features.shape[1] |
Definition at line 125 of file compute_overlap.py.
compute_overlap.target_ratio = np.count_nonzero(final_inlier_target) / final_inlier_target.shape[1] |
Definition at line 166 of file compute_overlap.py.
compute_overlap.transformations = PM.Transformations() |
Definition at line 45 of file compute_overlap.py.
compute_overlap.Tread = np.identity(4) |
Definition at line 48 of file compute_overlap.py.
compute_overlap.Tref = np.identity(4) |
Definition at line 49 of file compute_overlap.py.