Public Member Functions | |
None | __init__ (self, MeshOrPoints flt, MeshOrPoints ref, AffineXf3f fltXf, AffineXf3f refXf, VertBitSet fltSamples='{}', VertBitSet refSamples='{}') |
None | __init__ (self, MeshOrPointsXf flt, MeshOrPointsXf ref, VertBitSet fltSamples='{}', VertBitSet refSamples='{}') |
None | __init__ (self, MeshOrPoints flt, MeshOrPoints ref, AffineXf3f fltXf, AffineXf3f refXf, float samplingVoxelSize) |
None | __init__ (self, MeshOrPointsXf flt, MeshOrPointsXf ref, float samplingVoxelSize) |
None | __init__ (self, ICP arg0) |
AffineXf3f | autoSelectFloatXf (self) |
AffineXf3f | calculateTransformation (self) |
PointPairs | getFlt2RefPairs (self) |
str | getLastICPInfo (self) |
float | getMeanSqDistToPlane (self) |
float | getMeanSqDistToPoint (self) |
int | getNumActivePairs (self) |
int | getNumSamples (self) |
ICPProperties | getParams (self) |
PointPairs | getRef2FltPairs (self) |
str | getStatusInfo (self) |
None | recomputeBitSet (self, float fltSamplingVoxelSize) |
None | sampleFltPoints (self, float samplingVoxelSize) |
None | samplePoints (self, float samplingVoxelSize) |
None | sampleRefPoints (self, float samplingVoxelSize) |
None | setBadIterCount (self, int iter) |
None | setCosineLimit (self, float cos) |
None | setDistanceLimit (self, float dist) |
None | setFarDistFactor (self, float factor) |
None | setFloatXf (self, AffineXf3f fltXf) |
None | setFltSamples (self, VertBitSet fltSamples) |
None | setParams (self, ICPProperties prop) |
None | setRefSamples (self, VertBitSet refSamples) |
None | setXfs (self, AffineXf3f fltXf, AffineXf3f refXf) |
None | updatePointPairs (self) |
Static Protected Member Functions | |
_pybind11_conduit_v1_ (*args, **kwargs) | |
Generated from: MR::ICP This class allows you to register two object with similar shape using Iterative Closest Points (ICP) point-to-point or point-to-plane algorithms
None mrmeshpy.ICP.__init__ | ( | self, | |
MeshOrPoints | flt, | ||
MeshOrPoints | ref, | ||
AffineXf3f | fltXf, | ||
AffineXf3f | refXf, | ||
VertBitSet | fltSamples = '{}', | ||
VertBitSet | refSamples = '{}' ) |
Constructs ICP framework with given sample points on both objects \\param flt floating object \\param ref reference object \\param fltXf transformation from floating object space to global space \\param refXf transformation from reference object space to global space \\param fltSamples samples on floating object to find projections on the reference object during the algorithm \\param refSamples samples on reference object to find projections on the floating object during the algorithm
None mrmeshpy.ICP.__init__ | ( | self, | |
MeshOrPointsXf | flt, | ||
MeshOrPointsXf | ref, | ||
VertBitSet | fltSamples = '{}', | ||
VertBitSet | refSamples = '{}' ) |
None mrmeshpy.ICP.__init__ | ( | self, | |
MeshOrPoints | flt, | ||
MeshOrPoints | ref, | ||
AffineXf3f | fltXf, | ||
AffineXf3f | refXf, | ||
float | samplingVoxelSize ) |
Constructs ICP framework with automatic points sampling on both objects \\param flt floating object \\param ref reference object \\param fltXf transformation from floating object space to global space \\param refXf transformation from reference object space to global space \\param samplingVoxelSize approximate distance between samples on each of two objects
None mrmeshpy.ICP.__init__ | ( | self, | |
MeshOrPointsXf | flt, | ||
MeshOrPointsXf | ref, | ||
float | samplingVoxelSize ) |
None mrmeshpy.ICP.__init__ | ( | self, | |
ICP | arg0 ) |
Implicit copy constructor.
|
staticprotected |
AffineXf3f mrmeshpy.ICP.autoSelectFloatXf | ( | self | ) |
automatically selects initial transformation for the floating object based on covariance matrices of both floating and reference objects; applies the transformation to the floating object and returns it
AffineXf3f mrmeshpy.ICP.calculateTransformation | ( | self | ) |
runs ICP algorithm given input objects, transformations, and parameters; \\return adjusted transformation of the floating object to match reference object
PointPairs mrmeshpy.ICP.getFlt2RefPairs | ( | self | ) |
returns current pairs formed from samples on floating object and projections on reference object
str mrmeshpy.ICP.getLastICPInfo | ( | self | ) |
float mrmeshpy.ICP.getMeanSqDistToPlane | ( | self | ) |
computes root-mean-square deviation from points to target planes
float mrmeshpy.ICP.getMeanSqDistToPoint | ( | self | ) |
computes root-mean-square deviation between points
int mrmeshpy.ICP.getNumActivePairs | ( | self | ) |
computes the number of active point pairs
int mrmeshpy.ICP.getNumSamples | ( | self | ) |
computes the number of samples able to form pairs
ICPProperties mrmeshpy.ICP.getParams | ( | self | ) |
PointPairs mrmeshpy.ICP.getRef2FltPairs | ( | self | ) |
returns current pairs formed from samples on reference object and projections on floating object
str mrmeshpy.ICP.getStatusInfo | ( | self | ) |
None mrmeshpy.ICP.recomputeBitSet | ( | self, | |
float | fltSamplingVoxelSize ) |
None mrmeshpy.ICP.sampleFltPoints | ( | self, | |
float | samplingVoxelSize ) |
None mrmeshpy.ICP.samplePoints | ( | self, | |
float | samplingVoxelSize ) |
select pairs with origin samples on both objects
None mrmeshpy.ICP.sampleRefPoints | ( | self, | |
float | samplingVoxelSize ) |
None mrmeshpy.ICP.setBadIterCount | ( | self, | |
int | iter ) |
None mrmeshpy.ICP.setCosineLimit | ( | self, | |
float | cos ) |
None mrmeshpy.ICP.setDistanceLimit | ( | self, | |
float | dist ) |
None mrmeshpy.ICP.setFarDistFactor | ( | self, | |
float | factor ) |
None mrmeshpy.ICP.setFloatXf | ( | self, | |
AffineXf3f | fltXf ) |
sets to-world transformation for the floating object
None mrmeshpy.ICP.setFltSamples | ( | self, | |
VertBitSet | fltSamples ) |
select pairs with origin samples on floating object
None mrmeshpy.ICP.setParams | ( | self, | |
ICPProperties | prop ) |
tune algorithm params before run calculateTransformation()
None mrmeshpy.ICP.setRefSamples | ( | self, | |
VertBitSet | refSamples ) |
select pairs with origin samples on reference object
None mrmeshpy.ICP.setXfs | ( | self, | |
AffineXf3f | fltXf, | ||
AffineXf3f | refXf ) |
sets to-world transformations both for floating and reference objects
None mrmeshpy.ICP.updatePointPairs | ( | self | ) |
recompute point pairs after manual change of transformations or parameters