 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
float radiusNormals
Definition: CorrespondenceMatching.h:69
ccPointCloud * m_sceneCloud
Definition: CorrespondenceMatching.h:36
virtual void dispToConsole(QString message, ConsoleMessageLevel level=STD_CONSOLE_MESSAGE)=0
virtual QString getErrorMessage(int errorCode)
Returns the error message corresponding to a given error code.
Definition: CorrespondenceMatching.cpp:497
ccHObject * getParent() const
Returns parent object.
Definition: ecvHObject.h:245
bool m_verification
Definition: CorrespondenceMatching.h:42
float getHoughBinSize() const
Definition: CorrespondenceMatchingDialog.cpp:150
float m_lrfRadius
Definition: CorrespondenceMatching.h:55
float regularizer
Definition: CorrespondenceMatching.h:68
float m_gcMinClusterSize
Definition: CorrespondenceMatching.h:52
float clusterReg
Definition: CorrespondenceMatching.h:64
virtual void setGLTransformation(const ccGLMatrix &trans)
Associates entity with a GL transformation (rotation + translation)
Definition: ecvDrawableObject.cpp:54
Double version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:56
virtual void setName(const QString &name)
Sets object name.
Definition: ecvObject.h:75
virtual int compute()
Performs the actual filter job.
Definition: CorrespondenceMatching.cpp:137
virtual void setGlobalScale(double scale)
Definition: ecvShiftedObject.cpp:33
static bool Print(const char *format,...)
Prints out a formatted message in console.
Definition: CVLog.cpp:113
PCL filter description.
Definition: BasePclModule.h:26
bool getScales(std::vector< float > &scales) const
Returns input scales.
Definition: CorrespondenceMatchingDialog.cpp:166
bool isGCActivated() const
Definition: CorrespondenceMatchingDialog.cpp:134
virtual ~CorrespondenceMatching()
Definition: CorrespondenceMatching.cpp:53
virtual int checkSelected()
Checks if current selection is compliant with the filter.
Definition: CorrespondenceMatching.cpp:58
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
int m_maxThreadCount
Definition: CorrespondenceMatching.h:43
std::vector< ccPointCloud * > m_modelClouds
Definition: CorrespondenceMatching.h:73
ccPointCloud * getModelCloudByIndex(int index)
Definition: CorrespondenceMatchingDialog.cpp:228
float getGcConsensusSetResolution() const
Definition: CorrespondenceMatchingDialog.cpp:138
int isFirstSelectedCcPointCloud()
Returns 1 if the first selected object is a ccPointCloud.
Definition: BasePclModule.cpp:358
bool m_gcMode
Definition: CorrespondenceMatching.h:41
float radiusClutter
Definition: CorrespondenceMatching.h:67
bool m_useVoxelGrid
Definition: CorrespondenceMatching.h:40
pcl::PCLPointCloud2 PCLCloud
Definition: PCLCloud.h:34
bool detectClutter
Definition: CorrespondenceMatching.h:70
void saveParamsToPersistentSettings()
Saves parameters to persistent settings.
Definition: CorrespondenceMatchingDialog.cpp:286
float getHoughThreshold() const
Definition: CorrespondenceMatchingDialog.cpp:154
float m_houghThreshold
Definition: CorrespondenceMatching.h:57
virtual void showColors(bool state)
Sets colors visibility.
Definition: ecvDrawableObject.h:84
int size
Definition: FileIOFactory.cpp:130
virtual const CCVector3d & getGlobalShift() const
Returns the shift applied to original coordinates.
Definition: ecvShiftedObject.h:46
Base abstract class for each implemented PCL filter.
Definition: BasePclModule.h:53
CANUPO plugin's training dialog.
Definition: CorrespondenceMatchingDialog.h:20
pcl::Normal NormalT
Definition: PCLCloud.h:26
static ccMesh * Convert(PCLTextureMesh::ConstPtr textureMesh)
Converts a PCL point cloud to a ccPointCloud.
virtual void getParametersFromDialog()
Collects parameters from the filter dialog (if openDialog is successful)
Definition: CorrespondenceMatching.cpp:78
CorrespondenceMatching()
Definition: CorrespondenceMatching.cpp:30
bool getVerificationFlag() const
Definition: CorrespondenceMatchingDialog.cpp:114
int m_icpMaxIterations
Definition: CorrespondenceMatching.h:60
@ ERR_CONSOLE_MESSAGE
Definition: ecvMainAppInterface.h:119
void applyTransformation(ccHObject *entity, const ccGLMatrixd &mat)
Definition: CorrespondenceMatching.cpp:489
CC to PCL cloud converter.
Definition: cc2sm.h:43
float m_icpCorrDistance
Definition: CorrespondenceMatching.h:61
void applyGLTransformation_recursive(const ccGLMatrix *trans=nullptr)
Applies the active OpenGL transformation to the entity (recursive)
Definition: ecvHObject.cpp:948
float getNormalKSearch() const
Returns the normal KSearch.
Definition: CorrespondenceMatchingDialog.cpp:130
float m_leafSize
Definition: CorrespondenceMatching.h:39
float m_sceneSearchRadius
Definition: CorrespondenceMatching.h:46
int EstimateGeometricConsistencyGrouping(const typename pcl::PointCloud< PointModelT >::ConstPtr modelKeypoints, const typename pcl::PointCloud< PointSceneT >::ConstPtr sceneKeypoints, const typename pcl::CorrespondencesConstPtr modelSceneCorrs, std::vector< Eigen::Matrix4f, Eigen::aligned_allocator< Eigen::Matrix4f >> &rotoTranslations, std::vector< pcl::Correspondences > &clusteredCorrs, float gcSize=0.01f, float gcThreshold=20.0f)
Definition: PCLModules.h:878
int m_normalKSearch
Definition: CorrespondenceMatching.h:48
void newEntity(ccHObject *)
Signal emitted when a new entity is created by the filter.
virtual void showSF(bool state)
Sets active scalarfield visibility.
Definition: ecvDrawableObject.h:108
ecvMainAppInterface * m_app
Associated application interface.
Definition: BasePclModule.h:296
void refreshCloudComboBox()
Definition: CorrespondenceMatchingDialog.cpp:50
int EstimateLocalReferenceFrame(const typename pcl::PointCloud< PointInT >::ConstPtr inCloud, const typename pcl::PointCloud< PointInT >::ConstPtr keyPoints, const typename pcl::PointCloud< NormalType >::ConstPtr normals, typename pcl::PointCloud< RFType >::Ptr outRF, float searchRadius=0.015f)
Definition: PCLModules.h:827
virtual void setVisible(bool state)
Sets entity visibility.
Definition: ecvDrawableObject.h:40
Correspondence Matching.
Definition: CorrespondenceMatching.h:18
float getHoughLRFRadius() const
Definition: CorrespondenceMatchingDialog.cpp:146
float getShotDescriptorRadius() const
Returns the Shot Descriptor Radius.
Definition: CorrespondenceMatchingDialog.cpp:126
unsigned getChildrenNumber() const
Returns the number of children.
Definition: ecvHObject.h:312
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
float m_houghBinSize
Definition: CorrespondenceMatching.h:56
bool setRGBColor(ColorCompType r, ColorCompType g, ColorCompType b)
Set a unique color for the whole cloud (shortcut)
Definition: ecvPointCloud.h:778
int getMaxThreadCount() const
Returns the max number of threads to use.
Definition: CorrespondenceMatchingDialog.cpp:110
CorrespondenceMatchingDialog * m_dialog
Definition: CorrespondenceMatching.h:37
RGB color structure.
Definition: ecvColorTypes.h:49
float getSceneSearchRadius() const
Returns the Scene Search Radius.
Definition: CorrespondenceMatchingDialog.cpp:122
std::vector< float > m_scales
Definition: CorrespondenceMatching.h:72
virtual double getGlobalScale() const
Returns the scale applied to original coordinates.
Definition: ecvShiftedObject.h:53
float getModelSearchRadius() const
Returns the Model Search Radius.
Definition: CorrespondenceMatchingDialog.cpp:118
virtual void setGlobalShift(double x, double y, double z)
Sets shift applied to original coordinates (information storage only)
Definition: ecvShiftedObject.h:33
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
float m_consensusResolution
Definition: CorrespondenceMatching.h:51
float m_shotDescriptorRadius
Definition: CorrespondenceMatching.h:47
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
float getVoxelGridLeafSize() const
Definition: CorrespondenceMatchingDialog.cpp:158
T * data()
Returns a pointer to internal data.
Definition: ecvGLMatrixTpl.h:810
static Rgb Random(bool lightOnly=true)
Generates a random color.
Definition: ecvColorTypes.cpp:84
#define TO_PCL_CLOUD
Definition: PCLConv.h:12
float occlusionThreshold
Definition: CorrespondenceMatching.h:66
float m_modelSearchRadius
Definition: CorrespondenceMatching.h:45
pcl::PointXYZ PointT
Definition: PCLCloud.h:16
std::vector< Pair > Correspondences
Definition: FastGlobalRegistration.h:16
virtual bool addChild(ccHObject *child, int dependencyFlags=DP_PARENT_OF_OTHER, int insertIndex=-1)
Adds a child.
Definition: ecvHObject.cpp:534
ccPointCloud * getEvaluationCloud()
Get evaluation point cloud.
Definition: CorrespondenceMatchingDialog.cpp:242
int EstimateHough3DGrouping(const typename pcl::PointCloud< PointModelT >::ConstPtr modelKeypoints, const typename pcl::PointCloud< PointSceneT >::ConstPtr sceneKeypoints, const typename pcl::PointCloud< PointModelRfT >::ConstPtr modelRF, const typename pcl::PointCloud< PointSceneRfT >::ConstPtr sceneRF, const typename pcl::CorrespondencesConstPtr modelSceneCorrs, std::vector< Eigen::Matrix4f, Eigen::aligned_allocator< Eigen::Matrix4f >> &rotoTranslations, std::vector< pcl::Correspondences > &clusteredCorrs, float houghBinSize=0.01f, float houghThreshold=5.0f)
Definition: PCLModules.h:848
float getGcMinClusterSize() const
Definition: CorrespondenceMatchingDialog.cpp:142
virtual int checkParameters()
Definition: CorrespondenceMatching.cpp:130
virtual QString getErrorMessage(int errorCode)
Returns the error message corresponding to a given error code.
Definition: BasePclModule.cpp:218
pcl::PointCloud< pcl::PointXYZ >::Ptr getXYZ2() const
Definition: cc2sm.cpp:218
float inlierThreshold
Definition: CorrespondenceMatching.h:65
pcl::PointCloud< PointT > PointCloudT
Definition: PCLCloud.h:17
virtual int openInputDialog()
Definition: CorrespondenceMatching.cpp:66