/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/sample_consensus/include/pcl/sample_consensus/impl/ |
H A D | rmsac.hpp | 62 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 D | rransac.hpp | 62 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 D | prosac.hpp | 65 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 D | mlesac.hpp | 64 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 D | lmeds.hpp | 62 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 D | msac.hpp | 62 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 D | ransac.hpp | 71 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() 117 …sac_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 D | ransac.cu | 77 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() 171 … sac_model_->selectWithinDistance (model_coefficients_, threshold_, inliers_, inliers_stencil_); in computeModel() 176 …sac_model_->selectWithinDistance (h, good_coeff, threshold_, inliers_stencil_, centroid);//inliers… in computeModel()
|
H A D | multi_ransac.cu | 73 int nr_points = sac_model_->getIndices ()->size (); in computeModel() 122 sac_model_->getIndices (); in computeModel() 127 … sac_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 D | msac.cpp | 57 int nr_points = sac_model_->getIndices ()->size (); in computeModel() 98 sac_model_->getIndices (); in computeModel() 103 … sac_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 D | sac.h | 78 : 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_) 208 …sac_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 D | Lmeds.hpp | 81 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 D | Ransac.hpp | 68 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 D | MultiRansac.hpp | 68 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 D | sac.h | 75 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 D | cpc_segmentation.hpp | 309 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 D | opengv.cpp | 774 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 D | opengv_donotuse.cpp | 788 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 D | test_absolute_pose_sac.cpp | 100 ransac.sac_model_ = absposeproblem_ptr; in main() 126 lmeds.sac_model_ = absposeproblem_ptr; in main()
|
H A D | test_noncentral_absolute_pose_sac.cpp | 105 ransac.sac_model_ = absposeproblem_ptr; in main() 131 lmeds.sac_model_ = absposeproblem_ptr; in main()
|
H A D | test_point_cloud_sac.cpp | 98 ransac.sac_model_ = relposeproblem_ptr; in main() 126 lmeds.sac_model_ = relposeproblem_ptr; in main()
|
H A D | test_relative_pose_rotationOnly_sac.cpp | 109 ransac.sac_model_ = relposeproblem_ptr; in main() 137 lmeds.sac_model_ = relposeproblem_ptr; in main()
|
H A D | test_eigensolver_sac.cpp | 108 ransac.sac_model_ = eigenproblem_ptr; in main() 143 lmeds.sac_model_ = eigenproblem_ptr; in main()
|
H A D | test_noncentral_relative_pose_sac.cpp | 118 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 D | cpc_segmentation.h | 252 full_cloud_pt_indices_.reset (new Indices (* (sac_model_->getIndices ()))); in initialize() 253 point_cloud_ptr_ = sac_model_->getInputCloud (); in initialize()
|