MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.RigidXfRansacParams Class Reference
Inheritance diagram for mrmeshpy.RigidXfRansacParams:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstRigidXfRansacParams arg0)
None __init__ (self, float inlierDistance, int maxIterations, float confidence, float edgeLengthRatio, int seed, ConstVertCoords overlapSrcPoints, ConstPointCloud overlapTgtCloud, ConstVertCoords overlapTgtPoints, ConstPointCloud overlapSrcCloud)
RigidXfRansacParams assign (self, ConstRigidXfRansacParams other)
float confidence (self)
None confidence (self, float arg1)
float edgeLengthRatio (self)
None edgeLengthRatio (self, float arg1)
float inlierDistance (self)
None inlierDistance (self, float arg1)
int maxIterations (self)
None maxIterations (self, int arg1)
PointCloud overlapSrcCloud (self)
None overlapSrcCloud (self, ConstPointCloud arg1)
VertCoords overlapSrcPoints (self)
None overlapSrcPoints (self, ConstVertCoords arg1)
PointCloud overlapTgtCloud (self)
None overlapTgtCloud (self, ConstPointCloud arg1)
VertCoords overlapTgtPoints (self)
None overlapTgtPoints (self, ConstVertCoords arg1)
int seed (self)
None seed (self, int arg1)
Public Member Functions inherited from mrmeshpy.ConstRigidXfRansacParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstRigidXfRansacParams
typing _offsetof_confidence = 8
typing _offsetof_edgeLengthRatio = 12
typing _offsetof_inlierDistance = 0
typing _offsetof_maxIterations = 4
typing _offsetof_overlapSrcCloud = 48
typing _offsetof_overlapSrcPoints = 24
typing _offsetof_overlapTgtCloud = 32
typing _offsetof_overlapTgtPoints = 40
typing _offsetof_seed = 16

Detailed Description

Generated from:  MR::RigidXfRansacParams

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.RigidXfRansacParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.RigidXfRansacParams.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.RigidXfRansacParams.__init__ ( self,
ConstRigidXfRansacParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.RigidXfRansacParams.__init__ ( self,
float inlierDistance,
int maxIterations,
float confidence,
float edgeLengthRatio,
int seed,
ConstVertCoords overlapSrcPoints,
ConstPointCloud overlapTgtCloud,
ConstVertCoords overlapTgtPoints,
ConstPointCloud overlapSrcCloud )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

RigidXfRansacParams mrmeshpy.RigidXfRansacParams.assign ( self,
ConstRigidXfRansacParams other )

◆ confidence() [1/2]

float mrmeshpy.RigidXfRansacParams.confidence ( self)
the search stops earlier when the probability to have tested at least one sample of three inliers reaches this value

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ confidence() [2/2]

None mrmeshpy.RigidXfRansacParams.confidence ( self,
float arg1 )
the search stops earlier when the probability to have tested at least one sample of three inliers reaches this value

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ edgeLengthRatio() [1/2]

float mrmeshpy.RigidXfRansacParams.edgeLengthRatio ( self)
a sample is skipped without fitting if the distances between its source points and between its target points
differ more than this ratio, since a rigid motion keeps distances

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ edgeLengthRatio() [2/2]

None mrmeshpy.RigidXfRansacParams.edgeLengthRatio ( self,
float arg1 )
a sample is skipped without fitting if the distances between its source points and between its target points
differ more than this ratio, since a rigid motion keeps distances

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ inlierDistance() [1/2]

float mrmeshpy.RigidXfRansacParams.inlierDistance ( self)
a match is an inlier of a transformation if it maps the source point within this distance from the target point

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ inlierDistance() [2/2]

None mrmeshpy.RigidXfRansacParams.inlierDistance ( self,
float arg1 )
a match is an inlier of a transformation if it maps the source point within this distance from the target point

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ maxIterations() [1/2]

int mrmeshpy.RigidXfRansacParams.maxIterations ( self)
the maximal number of random samples of three matches to test

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ maxIterations() [2/2]

None mrmeshpy.RigidXfRansacParams.maxIterations ( self,
int arg1 )
the maximal number of random samples of three matches to test

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ overlapSrcCloud() [1/2]

PointCloud mrmeshpy.RigidXfRansacParams.overlapSrcCloud ( self)

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ overlapSrcCloud() [2/2]

None mrmeshpy.RigidXfRansacParams.overlapSrcCloud ( self,
ConstPointCloud arg1 )

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ overlapSrcPoints() [1/2]

VertCoords mrmeshpy.RigidXfRansacParams.overlapSrcPoints ( self)
if both are set, a transformation is scored by how many of these source points it moves within inlierDistance
of some point of the target cloud, instead of by the number of its inlier matches;
this finds the transformation even when only a few matches are correct, at the cost of a closest point search per point

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ overlapSrcPoints() [2/2]

None mrmeshpy.RigidXfRansacParams.overlapSrcPoints ( self,
ConstVertCoords arg1 )
if both are set, a transformation is scored by how many of these source points it moves within inlierDistance
of some point of the target cloud, instead of by the number of its inlier matches;
this finds the transformation even when only a few matches are correct, at the cost of a closest point search per point

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ overlapTgtCloud() [1/2]

PointCloud mrmeshpy.RigidXfRansacParams.overlapTgtCloud ( self)

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ overlapTgtCloud() [2/2]

None mrmeshpy.RigidXfRansacParams.overlapTgtCloud ( self,
ConstPointCloud arg1 )

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ overlapTgtPoints() [1/2]

VertCoords mrmeshpy.RigidXfRansacParams.overlapTgtPoints ( self)
if both are set, the score also counts how many of these target points the inverse transformation moves
within inlierDistance of some point of the source cloud; can be set alone or together with the pair above

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ overlapTgtPoints() [2/2]

None mrmeshpy.RigidXfRansacParams.overlapTgtPoints ( self,
ConstVertCoords arg1 )
if both are set, the score also counts how many of these target points the inverse transformation moves
within inlierDistance of some point of the source cloud; can be set alone or together with the pair above

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ seed() [1/2]

int mrmeshpy.RigidXfRansacParams.seed ( self)
seed of pseudo-random sampling; the result depends on it but not on the number of threads

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.

◆ seed() [2/2]

None mrmeshpy.RigidXfRansacParams.seed ( self,
int arg1 )
seed of pseudo-random sampling; the result depends on it but not on the number of threads

Reimplemented from mrmeshpy.ConstRigidXfRansacParams.


The documentation for this class was generated from the following file: