MeshLib C Docs
Loading...
Searching...
No Matches
MRRigidXfRansac.h File Reference
#include <MRCMisc/exports.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_RigidXfRansacParams MR_RigidXfRansacParams

Functions

MRC_API const float * MR_RigidXfRansacParams_Get_inlierDistance (const MR_RigidXfRansacParams *_this)
MRC_API void MR_RigidXfRansacParams_Set_inlierDistance (MR_RigidXfRansacParams *_this, float value)
MRC_API float * MR_RigidXfRansacParams_GetMutable_inlierDistance (MR_RigidXfRansacParams *_this)
MRC_API const int * MR_RigidXfRansacParams_Get_maxIterations (const MR_RigidXfRansacParams *_this)
MRC_API void MR_RigidXfRansacParams_Set_maxIterations (MR_RigidXfRansacParams *_this, int value)
MRC_API int * MR_RigidXfRansacParams_GetMutable_maxIterations (MR_RigidXfRansacParams *_this)
MRC_API const float * MR_RigidXfRansacParams_Get_confidence (const MR_RigidXfRansacParams *_this)
MRC_API void MR_RigidXfRansacParams_Set_confidence (MR_RigidXfRansacParams *_this, float value)
MRC_API float * MR_RigidXfRansacParams_GetMutable_confidence (MR_RigidXfRansacParams *_this)
MRC_API const float * MR_RigidXfRansacParams_Get_edgeLengthRatio (const MR_RigidXfRansacParams *_this)
MRC_API void MR_RigidXfRansacParams_Set_edgeLengthRatio (MR_RigidXfRansacParams *_this, float value)
MRC_API float * MR_RigidXfRansacParams_GetMutable_edgeLengthRatio (MR_RigidXfRansacParams *_this)
MRC_API const unsigned int * MR_RigidXfRansacParams_Get_seed (const MR_RigidXfRansacParams *_this)
MRC_API void MR_RigidXfRansacParams_Set_seed (MR_RigidXfRansacParams *_this, unsigned int value)
MRC_API unsigned int * MR_RigidXfRansacParams_GetMutable_seed (MR_RigidXfRansacParams *_this)
MRC_API const MR_VertCoords *const * MR_RigidXfRansacParams_Get_overlapSrcPoints (const MR_RigidXfRansacParams *_this)
MRC_API void MR_RigidXfRansacParams_Set_overlapSrcPoints (MR_RigidXfRansacParams *_this, const MR_VertCoords *value)
MRC_API const MR_VertCoords ** MR_RigidXfRansacParams_GetMutable_overlapSrcPoints (MR_RigidXfRansacParams *_this)
MRC_API const MR_PointCloud *const * MR_RigidXfRansacParams_Get_overlapTgtCloud (const MR_RigidXfRansacParams *_this)
MRC_API void MR_RigidXfRansacParams_Set_overlapTgtCloud (MR_RigidXfRansacParams *_this, const MR_PointCloud *value)
MRC_API const MR_PointCloud ** MR_RigidXfRansacParams_GetMutable_overlapTgtCloud (MR_RigidXfRansacParams *_this)
MRC_API const MR_VertCoords *const * MR_RigidXfRansacParams_Get_overlapTgtPoints (const MR_RigidXfRansacParams *_this)
MRC_API void MR_RigidXfRansacParams_Set_overlapTgtPoints (MR_RigidXfRansacParams *_this, const MR_VertCoords *value)
MRC_API const MR_VertCoords ** MR_RigidXfRansacParams_GetMutable_overlapTgtPoints (MR_RigidXfRansacParams *_this)
MRC_API const MR_PointCloud *const * MR_RigidXfRansacParams_Get_overlapSrcCloud (const MR_RigidXfRansacParams *_this)
MRC_API void MR_RigidXfRansacParams_Set_overlapSrcCloud (MR_RigidXfRansacParams *_this, const MR_PointCloud *value)
MRC_API const MR_PointCloud ** MR_RigidXfRansacParams_GetMutable_overlapSrcCloud (MR_RigidXfRansacParams *_this)
MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_DefaultConstruct (void)
MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_DefaultConstructArray (size_t num_elems)
MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_ConstructFrom (float inlierDistance, int maxIterations, float confidence, float edgeLengthRatio, unsigned int seed, const MR_VertCoords *overlapSrcPoints, const MR_PointCloud *overlapTgtCloud, const MR_VertCoords *overlapTgtPoints, const MR_PointCloud *overlapSrcCloud)
MRC_API const MR_RigidXfRansacParams * MR_RigidXfRansacParams_OffsetPtr (const MR_RigidXfRansacParams *ptr, ptrdiff_t i)
MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_OffsetMutablePtr (MR_RigidXfRansacParams *ptr, ptrdiff_t i)
MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_ConstructFromAnother (const MR_RigidXfRansacParams *_other)
MRC_API void MR_RigidXfRansacParams_Destroy (const MR_RigidXfRansacParams *_this)
 Destroys a heap-allocated instance of MR_RigidXfRansacParams. Does nothing if the pointer is null.
MRC_API void MR_RigidXfRansacParams_DestroyArray (const MR_RigidXfRansacParams *_this)
 Destroys a heap-allocated array of MR_RigidXfRansacParams. Does nothing if the pointer is null.
MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_AssignFromAnother (MR_RigidXfRansacParams *_this, const MR_RigidXfRansacParams *_other)
MRC_API size_t MR_countInliers (const MR_VertCoords *srcPoints, const MR_VertCoords *tgtPoints, const MR_std_vector_std_pair_MR_VertId_MR_VertId *matches, const MR_AffineXf3f *xf, float inlierDistance)
MRC_API MR_expected_MR_AffineXf3f_std_string * MR_findRigidXfRansac (const MR_VertCoords *srcPoints, const MR_VertCoords *tgtPoints, const MR_std_vector_std_pair_MR_VertId_MR_VertId *matches, const MR_RigidXfRansacParams *params, const MR_std_function_bool_from_float *progress)
 Finds the rigid transformation of source points to target points from given matches, many of which can be wrong: tests the transformations through random samples of three matches and keeps the one with most inliers (or the largest overlap, see RigidXfRansacParams::overlapSrcPoints), then refines it by least squares fitting on all its inlier matches.

Typedef Documentation

◆ MR_RigidXfRansacParams

Generated from class MR::RigidXfRansacParams. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_countInliers()

MRC_API size_t MR_countInliers ( const MR_VertCoords * srcPoints,
const MR_VertCoords * tgtPoints,
const MR_std_vector_std_pair_MR_VertId_MR_VertId * matches,
const MR_AffineXf3f * xf,
float inlierDistance )

counts the matches (source point, target point) that given transformation maps within given distance from their target points Generated from function MR::countInliers. Parameter srcPoints can not be null. It is a single object. Parameter tgtPoints can not be null. It is a single object. Parameter matches can not be null. It is a single object. Parameter xf can not be null. It is a single object.

◆ MR_findRigidXfRansac()

MRC_API MR_expected_MR_AffineXf3f_std_string * MR_findRigidXfRansac ( const MR_VertCoords * srcPoints,
const MR_VertCoords * tgtPoints,
const MR_std_vector_std_pair_MR_VertId_MR_VertId * matches,
const MR_RigidXfRansacParams * params,
const MR_std_function_bool_from_float * progress )

Finds the rigid transformation of source points to target points from given matches, many of which can be wrong: tests the transformations through random samples of three matches and keeps the one with most inliers (or the largest overlap, see RigidXfRansacParams::overlapSrcPoints), then refines it by least squares fitting on all its inlier matches.

Parameters
matches(source point, target point) pairs, e.g. from findFPFHMatches(...)
Returns
rigid transformation of source points to target points, or error if there are less than three matches, no consistent sample was found or progress returned false Generated from function MR::findRigidXfRansac. Parameter srcPoints can not be null. It is a single object. Parameter tgtPoints can not be null. It is a single object. Parameter matches can not be null. It is a single object. Parameter params can not be null. It is a single object. Parameter progress is a single object. Parameter progress has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_AffineXf3f_std_string_Destroy() to free it when you're done using it.

◆ MR_RigidXfRansacParams_AssignFromAnother()

MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_AssignFromAnother ( MR_RigidXfRansacParams * _this,
const MR_RigidXfRansacParams * _other )

Generated from method MR::RigidXfRansacParams::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_RigidXfRansacParams_ConstructFrom()

MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_ConstructFrom ( float inlierDistance,
int maxIterations,
float confidence,
float edgeLengthRatio,
unsigned int seed,
const MR_VertCoords * overlapSrcPoints,
const MR_PointCloud * overlapTgtCloud,
const MR_VertCoords * overlapTgtPoints,
const MR_PointCloud * overlapSrcCloud )

Constructs MR::RigidXfRansacParams elementwise. The reference to the parameter seed might be preserved in the constructed object. The reference to the parameter overlapSrcPoints might be preserved in the constructed object. The reference to the parameter overlapTgtCloud might be preserved in the constructed object. The reference to the parameter overlapTgtPoints might be preserved in the constructed object. The reference to the parameter overlapSrcCloud might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_RigidXfRansacParams_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_RigidXfRansacParams_ConstructFromAnother()

MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_ConstructFromAnother ( const MR_RigidXfRansacParams * _other)

Generated from constructor MR::RigidXfRansacParams::RigidXfRansacParams. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_RigidXfRansacParams_Destroy() to free it when you're done using it.

◆ MR_RigidXfRansacParams_DefaultConstruct()

MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_RigidXfRansacParams_Destroy() to free it when you're done using it.

◆ MR_RigidXfRansacParams_DefaultConstructArray()

MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_RigidXfRansacParams_DestroyArray(). Use MR_RigidXfRansacParams_OffsetMutablePtr() and MR_RigidXfRansacParams_OffsetPtr() to access the array elements.

◆ MR_RigidXfRansacParams_Destroy()

MRC_API void MR_RigidXfRansacParams_Destroy ( const MR_RigidXfRansacParams * _this)

Destroys a heap-allocated instance of MR_RigidXfRansacParams. Does nothing if the pointer is null.

◆ MR_RigidXfRansacParams_DestroyArray()

MRC_API void MR_RigidXfRansacParams_DestroyArray ( const MR_RigidXfRansacParams * _this)

Destroys a heap-allocated array of MR_RigidXfRansacParams. Does nothing if the pointer is null.

◆ MR_RigidXfRansacParams_Get_confidence()

MRC_API const float * MR_RigidXfRansacParams_Get_confidence ( const MR_RigidXfRansacParams * _this)

the search stops earlier when the probability to have tested at least one sample of three inliers reaches this value Returns a pointer to a member variable of class MR::RigidXfRansacParams named confidence. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_Get_edgeLengthRatio()

MRC_API const float * MR_RigidXfRansacParams_Get_edgeLengthRatio ( const MR_RigidXfRansacParams * _this)

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 Returns a pointer to a member variable of class MR::RigidXfRansacParams named edgeLengthRatio. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_Get_inlierDistance()

MRC_API const float * MR_RigidXfRansacParams_Get_inlierDistance ( const MR_RigidXfRansacParams * _this)

a match is an inlier of a transformation if it maps the source point within this distance from the target point Returns a pointer to a member variable of class MR::RigidXfRansacParams named inlierDistance. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_Get_maxIterations()

MRC_API const int * MR_RigidXfRansacParams_Get_maxIterations ( const MR_RigidXfRansacParams * _this)

the maximal number of random samples of three matches to test Returns a pointer to a member variable of class MR::RigidXfRansacParams named maxIterations. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_Get_overlapSrcCloud()

MRC_API const MR_PointCloud *const * MR_RigidXfRansacParams_Get_overlapSrcCloud ( const MR_RigidXfRansacParams * _this)

Returns a pointer to a member variable of class MR::RigidXfRansacParams named overlapSrcCloud. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_Get_overlapSrcPoints()

MRC_API const MR_VertCoords *const * MR_RigidXfRansacParams_Get_overlapSrcPoints ( const MR_RigidXfRansacParams * _this)

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 Returns a pointer to a member variable of class MR::RigidXfRansacParams named overlapSrcPoints. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_Get_overlapTgtCloud()

MRC_API const MR_PointCloud *const * MR_RigidXfRansacParams_Get_overlapTgtCloud ( const MR_RigidXfRansacParams * _this)

Returns a pointer to a member variable of class MR::RigidXfRansacParams named overlapTgtCloud. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_Get_overlapTgtPoints()

MRC_API const MR_VertCoords *const * MR_RigidXfRansacParams_Get_overlapTgtPoints ( const MR_RigidXfRansacParams * _this)

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 Returns a pointer to a member variable of class MR::RigidXfRansacParams named overlapTgtPoints. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_Get_seed()

MRC_API const unsigned int * MR_RigidXfRansacParams_Get_seed ( const MR_RigidXfRansacParams * _this)

seed of pseudo-random sampling; the result depends on it but not on the number of threads Returns a pointer to a member variable of class MR::RigidXfRansacParams named seed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_GetMutable_confidence()

MRC_API float * MR_RigidXfRansacParams_GetMutable_confidence ( MR_RigidXfRansacParams * _this)

the search stops earlier when the probability to have tested at least one sample of three inliers reaches this value Returns a mutable pointer to a member variable of class MR::RigidXfRansacParams named confidence. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_GetMutable_edgeLengthRatio()

MRC_API float * MR_RigidXfRansacParams_GetMutable_edgeLengthRatio ( MR_RigidXfRansacParams * _this)

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 Returns a mutable pointer to a member variable of class MR::RigidXfRansacParams named edgeLengthRatio. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_GetMutable_inlierDistance()

MRC_API float * MR_RigidXfRansacParams_GetMutable_inlierDistance ( MR_RigidXfRansacParams * _this)

a match is an inlier of a transformation if it maps the source point within this distance from the target point Returns a mutable pointer to a member variable of class MR::RigidXfRansacParams named inlierDistance. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_GetMutable_maxIterations()

MRC_API int * MR_RigidXfRansacParams_GetMutable_maxIterations ( MR_RigidXfRansacParams * _this)

the maximal number of random samples of three matches to test Returns a mutable pointer to a member variable of class MR::RigidXfRansacParams named maxIterations. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_GetMutable_overlapSrcCloud()

MRC_API const MR_PointCloud ** MR_RigidXfRansacParams_GetMutable_overlapSrcCloud ( MR_RigidXfRansacParams * _this)

Returns a mutable pointer to a member variable of class MR::RigidXfRansacParams named overlapSrcCloud. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_GetMutable_overlapSrcPoints()

MRC_API const MR_VertCoords ** MR_RigidXfRansacParams_GetMutable_overlapSrcPoints ( MR_RigidXfRansacParams * _this)

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 Returns a mutable pointer to a member variable of class MR::RigidXfRansacParams named overlapSrcPoints. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_GetMutable_overlapTgtCloud()

MRC_API const MR_PointCloud ** MR_RigidXfRansacParams_GetMutable_overlapTgtCloud ( MR_RigidXfRansacParams * _this)

Returns a mutable pointer to a member variable of class MR::RigidXfRansacParams named overlapTgtCloud. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_GetMutable_overlapTgtPoints()

MRC_API const MR_VertCoords ** MR_RigidXfRansacParams_GetMutable_overlapTgtPoints ( MR_RigidXfRansacParams * _this)

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 Returns a mutable pointer to a member variable of class MR::RigidXfRansacParams named overlapTgtPoints. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_GetMutable_seed()

MRC_API unsigned int * MR_RigidXfRansacParams_GetMutable_seed ( MR_RigidXfRansacParams * _this)

seed of pseudo-random sampling; the result depends on it but not on the number of threads Returns a mutable pointer to a member variable of class MR::RigidXfRansacParams named seed. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_RigidXfRansacParams_OffsetMutablePtr()

MRC_API MR_RigidXfRansacParams * MR_RigidXfRansacParams_OffsetMutablePtr ( MR_RigidXfRansacParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_RigidXfRansacParams_OffsetPtr()

MRC_API const MR_RigidXfRansacParams * MR_RigidXfRansacParams_OffsetPtr ( const MR_RigidXfRansacParams * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_RigidXfRansacParams_Set_confidence()

MRC_API void MR_RigidXfRansacParams_Set_confidence ( MR_RigidXfRansacParams * _this,
float value )

the search stops earlier when the probability to have tested at least one sample of three inliers reaches this value Modifies a member variable of class MR::RigidXfRansacParams named confidence. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in confidence.

◆ MR_RigidXfRansacParams_Set_edgeLengthRatio()

MRC_API void MR_RigidXfRansacParams_Set_edgeLengthRatio ( MR_RigidXfRansacParams * _this,
float value )

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 Modifies a member variable of class MR::RigidXfRansacParams named edgeLengthRatio. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in edgeLengthRatio.

◆ MR_RigidXfRansacParams_Set_inlierDistance()

MRC_API void MR_RigidXfRansacParams_Set_inlierDistance ( MR_RigidXfRansacParams * _this,
float value )

a match is an inlier of a transformation if it maps the source point within this distance from the target point Modifies a member variable of class MR::RigidXfRansacParams named inlierDistance. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in inlierDistance.

◆ MR_RigidXfRansacParams_Set_maxIterations()

MRC_API void MR_RigidXfRansacParams_Set_maxIterations ( MR_RigidXfRansacParams * _this,
int value )

the maximal number of random samples of three matches to test Modifies a member variable of class MR::RigidXfRansacParams named maxIterations. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in maxIterations.

◆ MR_RigidXfRansacParams_Set_overlapSrcCloud()

MRC_API void MR_RigidXfRansacParams_Set_overlapSrcCloud ( MR_RigidXfRansacParams * _this,
const MR_PointCloud * value )

Modifies a member variable of class MR::RigidXfRansacParams named overlapSrcCloud. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element overlapSrcCloud. When this function is called, this object will drop object references it held previously in overlapSrcCloud.

◆ MR_RigidXfRansacParams_Set_overlapSrcPoints()

MRC_API void MR_RigidXfRansacParams_Set_overlapSrcPoints ( MR_RigidXfRansacParams * _this,
const MR_VertCoords * value )

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 Modifies a member variable of class MR::RigidXfRansacParams named overlapSrcPoints. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element overlapSrcPoints. When this function is called, this object will drop object references it held previously in overlapSrcPoints.

◆ MR_RigidXfRansacParams_Set_overlapTgtCloud()

MRC_API void MR_RigidXfRansacParams_Set_overlapTgtCloud ( MR_RigidXfRansacParams * _this,
const MR_PointCloud * value )

Modifies a member variable of class MR::RigidXfRansacParams named overlapTgtCloud. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element overlapTgtCloud. When this function is called, this object will drop object references it held previously in overlapTgtCloud.

◆ MR_RigidXfRansacParams_Set_overlapTgtPoints()

MRC_API void MR_RigidXfRansacParams_Set_overlapTgtPoints ( MR_RigidXfRansacParams * _this,
const MR_VertCoords * value )

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 Modifies a member variable of class MR::RigidXfRansacParams named overlapTgtPoints. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element overlapTgtPoints. When this function is called, this object will drop object references it held previously in overlapTgtPoints.

◆ MR_RigidXfRansacParams_Set_seed()

MRC_API void MR_RigidXfRansacParams_Set_seed ( MR_RigidXfRansacParams * _this,
unsigned int value )

seed of pseudo-random sampling; the result depends on it but not on the number of threads Modifies a member variable of class MR::RigidXfRansacParams named seed. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element seed. When this function is called, this object will drop object references it held previously in seed.