Variables
icp Namespace Reference

Variables

 cloud_dimension = ref.getEuclideanDim()
 
string complete_file_name = f"{output_base_directory + test_base}_{output_base_file}_complete_transfo.txt"
 
string config_file = "../data/default.yaml"
 
 data = DP(DP.load('../data/car_cloud401.csv'))
 
 data_out = DP(initialized_data)
 
 DP = PM.DataPoints
 
 icp = PM.ICP()
 
string icp_file_name = f"{output_base_directory + test_base}_{output_base_file}_icp.transfo.txt"
 
string init_file_name = f"{output_base_directory + test_base}_{output_base_file}_init_transfo.txt"
 
string init_rotation = "1,0,0;0,1,0;0,0,1" if is_3D else "1,0;0,1"
 
 init_transfo = np.matmul(translation, rotation)
 
string init_translation = "0,0,0" if is_3D else "0,0"
 
 initialized_data = rigid_trans.compute(data, init_transfo)
 
bool is_3D = True
 
bool is_transfo_saved = False
 
bool is_verbose = True
 
string output_base_directory = "tests/icp/"
 
string output_base_file = "test"
 
 PM = pm.PointMatcher
 
 ref = DP(DP.load('../data/car_cloud400.csv'))
 
 rigid_trans = PM.get().TransformationRegistrar.create("RigidTransformation")
 
 rotation = parse_rotation(init_rotation, cloud_dimension)
 
 T = icp(initialized_data, ref)
 
string test_base = "3D"
 
 translation = parse_translation(init_translation, cloud_dimension)
 

Variable Documentation

◆ cloud_dimension

icp.cloud_dimension = ref.getEuclideanDim()

Definition at line 68 of file icp.py.

◆ complete_file_name

string icp.complete_file_name = f"{output_base_directory + test_base}_{output_base_file}_complete_transfo.txt"

Definition at line 104 of file icp.py.

◆ config_file

string icp.config_file = "../data/default.yaml"

Definition at line 27 of file icp.py.

◆ data

icp.data = DP(DP.load('../data/car_cloud401.csv'))

Definition at line 50 of file icp.py.

◆ data_out

icp.data_out = DP(initialized_data)

Definition at line 93 of file icp.py.

◆ DP

icp.DP = PM.DataPoints

Definition at line 13 of file icp.py.

◆ icp

icp.icp = PM.ICP()

Definition at line 59 of file icp.py.

◆ icp_file_name

string icp.icp_file_name = f"{output_base_directory + test_base}_{output_base_file}_icp.transfo.txt"

Definition at line 103 of file icp.py.

◆ init_file_name

string icp.init_file_name = f"{output_base_directory + test_base}_{output_base_file}_init_transfo.txt"

Definition at line 102 of file icp.py.

◆ init_rotation

string icp.init_rotation = "1,0,0;0,1,0;0,0,1" if is_3D else "1,0;0,1"

Definition at line 45 of file icp.py.

◆ init_transfo

icp.init_transfo = np.matmul(translation, rotation)

Definition at line 76 of file icp.py.

◆ init_translation

string icp.init_translation = "0,0,0" if is_3D else "0,0"

Definition at line 42 of file icp.py.

◆ initialized_data

icp.initialized_data = rigid_trans.compute(data, init_transfo)

Definition at line 84 of file icp.py.

◆ is_3D

bool icp.is_3D = True

Definition at line 38 of file icp.py.

◆ is_transfo_saved

bool icp.is_transfo_saved = False

Definition at line 20 of file icp.py.

◆ is_verbose

bool icp.is_verbose = True

Definition at line 23 of file icp.py.

◆ output_base_directory

string icp.output_base_directory = "tests/icp/"

Definition at line 32 of file icp.py.

◆ output_base_file

string icp.output_base_file = "test"

Definition at line 35 of file icp.py.

◆ PM

icp.PM = pm.PointMatcher

Definition at line 12 of file icp.py.

◆ ref

icp.ref = DP(DP.load('../data/car_cloud400.csv'))

Definition at line 49 of file icp.py.

◆ rigid_trans

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

Definition at line 78 of file icp.py.

◆ rotation

icp.rotation = parse_rotation(init_rotation, cloud_dimension)

Definition at line 74 of file icp.py.

◆ T

Definition at line 87 of file icp.py.

◆ test_base

string icp.test_base = "3D"

Definition at line 51 of file icp.py.

◆ translation

icp.translation = parse_translation(init_translation, cloud_dimension)

Definition at line 73 of file icp.py.



libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:11