Home
last modified time | relevance | path

Searched refs:sac_model_ (Results 1 – 25 of 47) sorted by relevance

12

/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/sample_consensus/include/pcl/sample_consensus/impl/
H A Drmsac.hpp62 Eigen::VectorXf model_coefficients (sac_model_->getModelSize ()); in computeModel()
72 …std::size_t fraction_nr_points = pcl_lrint (static_cast<double>(sac_model_->getIndices ()->size ()… in computeModel()
78 sac_model_->getSamples (iterations_, selection); in computeModel()
83 if (!sac_model_->computeModelCoefficients (selection, model_coefficients)) in computeModel()
92 this->getRandomSamples (sac_model_->getIndices (), fraction_nr_points, indices_subset); in computeModel()
94 if (!sac_model_->doSamplesVerifyModel (indices_subset, model_coefficients, threshold_)) in computeModel()
106 sac_model_->getDistancesToModel (model_coefficients, distances); in computeModel()
130 …double w = static_cast<double> (n_inliers_count) / static_cast<double>(sac_model_->getIndices ()->… in computeModel()
156 sac_model_->getDistancesToModel (model_coefficients_, distances); in computeModel()
157 Indices &indices = *sac_model_->getIndices (); in computeModel()
H A Drransac.hpp62 Eigen::VectorXf model_coefficients (sac_model_->getModelSize ()); in computeModel()
66 const double one_over_indices = 1.0 / static_cast<double> (sac_model_->getIndices ()->size ()); in computeModel()
74 …const std::size_t fraction_nr_points = pcl_lrint (static_cast<double>(sac_model_->getIndices ()->s… in computeModel()
80 sac_model_->getSamples (iterations_, selection); in computeModel()
89 if (!sac_model_->computeModelCoefficients (selection, model_coefficients)) in computeModel()
107 this->getRandomSamples (sac_model_->getIndices (), fraction_nr_points, indices_subset); in computeModel()
108 if (!sac_model_->doSamplesVerifyModel (indices_subset, model_coefficients, threshold_)) in computeModel()
116 n_inliers_count = sac_model_->countWithinDistance (model_coefficients, threshold_); in computeModel()
158 sac_model_->selectWithinDistance (model_coefficients_, threshold_, inliers_); in computeModel()
H A Dprosac.hpp65 const std::size_t N = sac_model_->indices_->size (); in computeModel()
66 const std::size_t m = sac_model_->getSampleSize (); in computeModel()
87 Eigen::VectorXf model_coefficients (sac_model_->getModelSize ()); in computeModel()
93 index_pool.push_back (sac_model_->indices_->operator[](i)); in computeModel()
108 index_pool.push_back (sac_model_->indices_->at(static_cast<unsigned int> (n - 1))); in computeModel()
116 sac_model_->indices_->swap (index_pool); in computeModel()
118 sac_model_->getSamples (iterations_, selection); in computeModel()
122 selection.push_back (sac_model_->indices_->at(static_cast<unsigned int> (n - 1))); in computeModel()
126 sac_model_->indices_->swap (index_pool); in computeModel()
135 if (!sac_model_->computeModelCoefficients (selection, model_coefficients)) in computeModel()
[all …]
H A Dmlesac.hpp64 Eigen::VectorXf model_coefficients (sac_model_->getModelSize ()); in computeModel()
68 …sigma_ = computeMedianAbsoluteDeviation (sac_model_->getInputCloud (), sac_model_->getIndices (), … in computeModel()
76 getMinMax (sac_model_->getInputCloud (), sac_model_->getIndices (), min_pt, max_pt); in computeModel()
90 sac_model_->getSamples (iterations_, selection); in computeModel()
95 if (!sac_model_->computeModelCoefficients (selection, model_coefficients)) in computeModel()
103 sac_model_->getDistancesToModel (model_coefficients, distances); in computeModel()
117 indices_size = sac_model_->getIndices ()->size (); in computeModel()
132 gamma /= static_cast<double>(sac_model_->getIndices ()->size ()); in computeModel()
157 …double w = static_cast<double> (n_inliers_count) / static_cast<double> (sac_model_->getIndices ()-… in computeModel()
183 sac_model_->getDistancesToModel (model_coefficients_, distances); in computeModel()
[all …]
H A Dlmeds.hpp62 Eigen::VectorXf model_coefficients (sac_model_->getModelSize ()); in computeModel()
73 sac_model_->getSamples (iterations_, selection); in computeModel()
82 if (!sac_model_->computeModelCoefficients (selection, model_coefficients)) in computeModel()
94 sac_model_->getDistancesToModel (model_coefficients, distances); in computeModel()
104 …const auto new_end = (sac_model_->getInputCloud()->is_dense ? distances.end() : std::partition (di… in computeModel()
150 sac_model_->getDistancesToModel (model_coefficients_, distances); in computeModel()
158 Indices &indices = *sac_model_->getIndices (); in computeModel()
H A Dmsac.hpp62 Eigen::VectorXf model_coefficients (sac_model_->getModelSize ()); in computeModel()
74 sac_model_->getSamples (iterations_, selection); in computeModel()
79 if (!sac_model_->computeModelCoefficients (selection, model_coefficients)) in computeModel()
88 sac_model_->getDistancesToModel (model_coefficients, distances); in computeModel()
112 …double w = static_cast<double> (n_inliers_count) / static_cast<double> (sac_model_->getIndices ()-… in computeModel()
138 sac_model_->getDistancesToModel (model_coefficients_, distances); in computeModel()
139 Indices &indices = *sac_model_->getIndices (); in computeModel()
H A Dransac.hpp71 Eigen::VectorXf model_coefficients (sac_model_->getModelSize ()); in computeModel()
74 const double one_over_indices = 1.0 / static_cast<double> (sac_model_->getIndices ()->size ()); in computeModel()
117sac_model_->getSamples (iterations_, selection); // The random number generator used when choosing… in computeModel()
127 …if (!sac_model_->computeModelCoefficients (selection, model_coefficients)) // This function has to… in computeModel()
146 …std::size_t n_inliers_count = sac_model_->countWithinDistance (model_coefficients, threshold_); //… in computeModel()
215 sac_model_->selectWithinDistance (model_coefficients_, threshold_, inliers_); in computeModel()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/cuda/sample_consensus/src/
H A Dransac.cu77 sac_model_->generateModelHypotheses (h, max_iterations_); in computeModel()
84 sac_model_->getSamples (iterations_, selection); in computeModel()
93 if (!sac_model_->computeModelCoefficients (selection, model_coefficients)) in computeModel()
100 n_inliers_count = sac_model_->countWithinDistance (model_coefficients, threshold_); in computeModel()
105 …n_inliers_count = sac_model_->selectWithinDistance (h, iterations_, threshold_, inl_stencil, centr… in computeModel()
131 … float w = (float)((float)n_best_inliers_count / (float)sac_model_->getIndices ()->size ()); in computeModel()
171sac_model_->selectWithinDistance (model_coefficients_, threshold_, inliers_, inliers_stencil_); in computeModel()
176sac_model_->selectWithinDistance (h, good_coeff, threshold_, inliers_stencil_, centroid);//inliers… in computeModel()
H A Dmulti_ransac.cu73 int nr_points = sac_model_->getIndices ()->size (); in computeModel()
122 sac_model_->getIndices (); in computeModel()
127sac_model_->generateModelHypotheses (h[cur_batch], h_samples[cur_batch], iterations_per_batch_); in computeModel()
162 …n_inliers_count = sac_model_->selectWithinDistance (h[cur_batch], i, threshold_, inl_stencil, cent… in computeModel()
204 … nr_remaining_points = sac_model_->deleteIndices (hypotheses_inliers_stencils[extracted_model]); in computeModel()
271 … if (sac_model_->isSampleInlier (hypotheses_inliers_stencils[extracted_model], h_samples[b], j)) in computeModel()
288 n_inliers_count = sac_model_->deleteIndices (h[b], j, in computeModel()
H A Dmsac.cpp57 int nr_points = sac_model_->getIndices ()->size (); in computeModel()
98 sac_model_->getIndices (); in computeModel()
103sac_model_->generateModelHypotheses (h[cur_batch], h_samples[cur_batch], iterations_per_batch_); in computeModel()
141 …n_inliers_count = sac_model_->selectWithinDistance (h[cur_batch], i, threshold_, inl_stencil, cent… in computeModel()
183 … nr_remaining_points = sac_model_->deleteIndices (hypotheses_inliers_stencils[extracted_model]); in computeModel()
249 … if (sac_model_->isSampleInlier (hypotheses_inliers_stencils[extracted_model], h_samples[b], j)) in computeModel()
265 n_inliers_count = sac_model_->deleteIndices (h[b], j, in computeModel()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/sample_consensus/include/pcl/sample_consensus/
H A Dsac.h78 : sac_model_ (model) in sac_model_() function
101 : sac_model_ (model) in sac_model_() function
122 sac_model_ = model; in setSampleConsensusModel()
129 return (sac_model_); in getSampleConsensusModel()
191 if (!sac_model_)
208sac_model_->optimizeModelCoefficients (prev_inliers, new_model_coefficients, new_model_coefficient…
212 sac_model_->selectWithinDistance (new_model_coefficients, error_threshold, new_inliers);
225 double variance = sac_model_->computeVariance ();
320 SampleConsensusModelPtr sac_model_;
/dports/graphics/opengv/opengv-91f4b19/include/opengv/sac/implementation/
H A DLmeds.hpp81 sac_model_->getSamples(iterations_, selection); in computeModel()
89 if(!sac_model_->computeModelCoefficients(selection, model_coefficients)) in computeModel()
99 sac_model_->getDistancesToModel(model_coefficients, distances); in computeModel()
118 size_t mid = sac_model_->getIndices()->size() / 2; in computeModel()
126 if (sac_model_->getIndices()->size() % 2 == 0) { in computeModel()
165 sac_model_->getDistancesToModel(model_coefficients_, distances); in computeModel()
173 std::vector<int> &indices = *sac_model_->getIndices(); in computeModel()
H A DRansac.hpp68 sac_model_->getSamples( iterations_, selection ); in computeModel()
78 if(!sac_model_->computeModelCoefficients( selection, model_coefficients )) in computeModel()
90 n_inliers_count = sac_model_->countWithinDistance( in computeModel()
104 static_cast<double> (sac_model_->getIndices()->size()); in computeModel()
141 sac_model_->selectWithinDistance( model_coefficients_, threshold_, inliers_ ); in computeModel()
H A DMultiRansac.hpp68 sac_model_->getSamples( iterations_, selection ); in computeModel()
78 if(!sac_model_->computeModelCoefficients( selection, model_coefficients )) in computeModel()
90 n_inliers_count = sac_model_->countWithinDistance( model_coefficients, threshold_ ); in computeModel()
103 sac_model_->getIndices(); in computeModel()
156 sac_model_->selectWithinDistance( model_coefficients_, threshold_, inliers_ ); in computeModel()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/cuda/sample_consensus/include/pcl/cuda/sample_consensus/
H A Dsac.h75 sac_model_(model), probability_ (0.99), iterations_ (0), threshold_ (DBL_MAX), in SampleConsensus()
84 sac_model_(model), probability_ (0.99), iterations_ (0), threshold_ (threshold), in SampleConsensus()
173 SampleConsensusModelPtr sac_model_;
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/segmentation/include/pcl/segmentation/impl/
H A Dcpc_segmentation.hpp309 sac_model_->setIndices (model_pt_indices_); in computeModel()
310 sac_model_->getSamples (iterations_, selection); in computeModel()
319 if (!sac_model_->computeModelCoefficients (selection, model_coefficients)) in computeModel()
326 sac_model_->setIndices (full_cloud_pt_indices_); in computeModel()
329 sac_model_->selectWithinDistance (model_coefficients, threshold_, *current_inliers); in computeModel()
371 sac_model_->selectWithinDistance (model_coefficients_, threshold_, inliers_); in computeModel()
/dports/graphics/opengv/opengv-91f4b19/matlab/
H A Dopengv.cpp774 ransac.sac_model_ = problem; in mexFunction()
807 ransac.sac_model_ = problem; in mexFunction()
839 ransac.sac_model_ = problem; in mexFunction()
920 ransac.sac_model_ = problem; in mexFunction()
1260 ransac.sac_model_ = problem; in mexFunction()
1292 ransac.sac_model_ = problem; in mexFunction()
1329 ransac.sac_model_ = problem; in mexFunction()
1361 ransac.sac_model_ = problem; in mexFunction()
1393 ransac.sac_model_ = problem; in mexFunction()
1425 ransac.sac_model_ = problem; in mexFunction()
[all …]
H A Dopengv_donotuse.cpp788 ransac.sac_model_ = problem; in mexFunction()
820 ransac.sac_model_ = problem; in mexFunction()
852 ransac.sac_model_ = problem; in mexFunction()
945 ransac.sac_model_ = problem; in mexFunction()
1329 ransac.sac_model_ = problem; in mexFunction()
1361 ransac.sac_model_ = problem; in mexFunction()
1398 ransac.sac_model_ = problem; in mexFunction()
1430 ransac.sac_model_ = problem; in mexFunction()
1462 ransac.sac_model_ = problem; in mexFunction()
1494 ransac.sac_model_ = problem; in mexFunction()
[all …]
/dports/graphics/opengv/opengv-91f4b19/test/
H A Dtest_absolute_pose_sac.cpp100 ransac.sac_model_ = absposeproblem_ptr; in main()
126 lmeds.sac_model_ = absposeproblem_ptr; in main()
H A Dtest_noncentral_absolute_pose_sac.cpp105 ransac.sac_model_ = absposeproblem_ptr; in main()
131 lmeds.sac_model_ = absposeproblem_ptr; in main()
H A Dtest_point_cloud_sac.cpp98 ransac.sac_model_ = relposeproblem_ptr; in main()
126 lmeds.sac_model_ = relposeproblem_ptr; in main()
H A Dtest_relative_pose_rotationOnly_sac.cpp109 ransac.sac_model_ = relposeproblem_ptr; in main()
137 lmeds.sac_model_ = relposeproblem_ptr; in main()
H A Dtest_eigensolver_sac.cpp108 ransac.sac_model_ = eigenproblem_ptr; in main()
143 lmeds.sac_model_ = eigenproblem_ptr; in main()
H A Dtest_noncentral_relative_pose_sac.cpp118 ransac.sac_model_ = relposeproblem_ptr; in main()
146 lmeds.sac_model_ = relposeproblem_ptr; in main()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/segmentation/include/pcl/segmentation/
H A Dcpc_segmentation.h252 full_cloud_pt_indices_.reset (new Indices (* (sac_model_->getIndices ()))); in initialize()
253 point_cloud_ptr_ = sac_model_->getInputCloud (); in initialize()

12