Variables
compute_overlap Namespace Reference

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)
 

Variable Documentation

◆ compute_density

compute_overlap.compute_density
Initial value:
1 = PM.get().DataPointsFilterRegistrar.create("SurfaceNormalDataPointsFilter",
2  params)

Definition at line 103 of file compute_overlap.py.

◆ debug_I

int compute_overlap.debug_I = 1

Definition at line 33 of file compute_overlap.py.

◆ debug_J

int compute_overlap.debug_J = 0

Definition at line 37 of file compute_overlap.py.

◆ debug_mode

bool compute_overlap.debug_mode = False

Definition at line 29 of file compute_overlap.py.

◆ DP

compute_overlap.DP = PM.DataPoints

Definition at line 10 of file compute_overlap.py.

◆ file_info_list

compute_overlap.file_info_list = PMIO.FileInfoVector("../data/carCloudList.csv", "../data/")

Definition at line 23 of file compute_overlap.py.

◆ final_inlier_self

compute_overlap.final_inlier_self = self.getDescriptorViewByName("inliers")

Definition at line 163 of file compute_overlap.py.

◆ final_inlier_target

compute_overlap.final_inlier_target = target.getDescriptorViewByName("inliers")

Definition at line 164 of file compute_overlap.py.

◆ inlier_self

compute_overlap.inlier_self = self.getDescriptorViewByName("inliers")

Definition at line 152 of file compute_overlap.py.

◆ inlier_target

compute_overlap.inlier_target = target.getDescriptorViewByName("inliers")

Definition at line 153 of file compute_overlap.py.

◆ inliers_read

compute_overlap.inliers_read = np.zeros((1, reading.features.shape[1]))

Definition at line 111 of file compute_overlap.py.

◆ inliers_ref

compute_overlap.inliers_ref = np.zeros((1, reference.features.shape[1]))

Definition at line 117 of file compute_overlap.py.

◆ knn

int compute_overlap.knn = 20

Definition at line 128 of file compute_overlap.py.

◆ knn_all

int compute_overlap.knn_all = 50

Definition at line 129 of file compute_overlap.py.

◆ list_size_I

int compute_overlap.list_size_I = len(file_info_list)

Definition at line 52 of file compute_overlap.py.

◆ list_size_J

int compute_overlap.list_size_J = len(file_info_list)

Definition at line 53 of file compute_overlap.py.

◆ matcher_self

compute_overlap.matcher_self = PM.get().MatcherRegistrar.create("KDTreeMatcher", params)

Definition at line 132 of file compute_overlap.py.

◆ matcher_target

compute_overlap.matcher_target = PM.get().MatcherRegistrar.create("KDTreeVarDistMatcher", params)

Definition at line 137 of file compute_overlap.py.

◆ Matches

compute_overlap.Matches = PM.Matches

Definition at line 11 of file compute_overlap.py.

◆ max_density

compute_overlap.max_density = PM.get().DataPointsFilterRegistrar.create("MaxDensityDataPointsFilter")

Definition at line 93 of file compute_overlap.py.

◆ max_search_dist

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.

◆ output_base_directory

string compute_overlap.output_base_directory = "tests/compute_overlap/"

Definition at line 17 of file compute_overlap.py.

◆ output_base_file

string compute_overlap.output_base_file = "test"

Definition at line 20 of file compute_overlap.py.

◆ overlap_results

compute_overlap.overlap_results = np.ones((list_size_J, list_size_I), np.float)

Definition at line 55 of file compute_overlap.py.

◆ params

compute_overlap.params = pms.Parametrizable.Parameters()

Definition at line 12 of file compute_overlap.py.

◆ PM

compute_overlap.PM = pm.PointMatcher

Definition at line 8 of file compute_overlap.py.

◆ PMIO

compute_overlap.PMIO = pm.PointMatcherIO

Definition at line 9 of file compute_overlap.py.

◆ reading

compute_overlap.reading = DP.load(file_info_list[i].readingFileName)

Definition at line 70 of file compute_overlap.py.

◆ reference

compute_overlap.reference = DP.load(file_info_list[j].readingFileName)

Definition at line 71 of file compute_overlap.py.

◆ rigid_trans

compute_overlap.rigid_trans = PM.get().TransformationRegistrar.create("RigidTransformation")

Definition at line 43 of file compute_overlap.py.

◆ self

compute_overlap.self = reading

Definition at line 120 of file compute_overlap.py.

◆ self_matches

compute_overlap.self_matches = Matches(knn, self_pts_count)

Definition at line 143 of file compute_overlap.py.

◆ self_pts_count

compute_overlap.self_pts_count = self.features.shape[1]

Definition at line 124 of file compute_overlap.py.

◆ self_ratio

compute_overlap.self_ratio = np.count_nonzero(final_inlier_self) / final_inlier_self.shape[1]

Definition at line 165 of file compute_overlap.py.

◆ starting_I

int compute_overlap.starting_I = 0

Definition at line 51 of file compute_overlap.py.

◆ starting_J

int compute_overlap.starting_J = i + 1

Definition at line 62 of file compute_overlap.py.

◆ sub_sample

compute_overlap.sub_sample
Initial value:
1 = PM.get().DataPointsFilterRegistrar.create("RandomSamplingDataPointsFilter",
2  params)

Definition at line 89 of file compute_overlap.py.

◆ target

compute_overlap.target = reference

Definition at line 121 of file compute_overlap.py.

◆ target_matches

compute_overlap.target_matches = Matches(knn_all, target_pts_count)

Definition at line 149 of file compute_overlap.py.

◆ target_pts_count

compute_overlap.target_pts_count = target.features.shape[1]

Definition at line 125 of file compute_overlap.py.

◆ target_ratio

compute_overlap.target_ratio = np.count_nonzero(final_inlier_target) / final_inlier_target.shape[1]

Definition at line 166 of file compute_overlap.py.

◆ transformations

compute_overlap.transformations = PM.Transformations()

Definition at line 45 of file compute_overlap.py.

◆ Tread

compute_overlap.Tread = np.identity(4)

Definition at line 48 of file compute_overlap.py.

◆ Tref

compute_overlap.Tref = np.identity(4)

Definition at line 49 of file compute_overlap.py.



libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:04