Spec-Zone.ru › PointCloudLibrary

Обнаруживает угловые точки AGAST в 2D. Подробнее...

#include <pcl/keypoints/agast_2d.h>

Inheritance graph
[легенда]
Collaboration graph
[легенда]

Общедоступные типы

using PointCloudOut = typename Keypoint< PointInT, PointOutT >::PointCloudOut
- Общедоступные типы, унаследованные от pcl::AgastKeypoint2DBase< PointInT, pcl::PointUV, pcl::common::IntensityFieldAccessor< PointInT > >
using PointCloudIn = typename Keypoint< PointInT, pcl::PointUV >::PointCloudIn
using PointCloudOut = typename Keypoint< PointInT, pcl::PointUV >::PointCloudOut
using KdTree = typename Keypoint< PointInT, pcl::PointUV >::KdTree
using PointCloudInConstPtr = typename PointCloudIn::ConstPtr
using AgastDetectorPtr = pcl::keypoints::agast::AbstractAgastDetector::Ptr
- Общедоступные типы, унаследованные от pcl::Keypoint< ImageType >
using Ptr = shared_ptr< Keypoint< PointInT, PointOutT > >
using ConstPtr = shared_ptr< const Keypoint< PointInT, PointOutT > >
using BaseClass = PCLBase< PointInT >
using KdTree = pcl::search::Search< PointInT >
using KdTreePtr = typename KdTree::Ptr
using PointCloudIn = pcl::PointCloud< PointInT >
using PointCloudInPtr = typename PointCloudIn::Ptr
using PointCloudInConstPtr = typename PointCloudIn::ConstPtr
using PointCloudOut = pcl::PointCloud< PointOutT >
using SearchMethod = std::function< int(pcl::index_t, double, pcl::Indices &, std::vector< float > &)>
using SearchMethodSurface = std::function< int(const PointCloudIn &cloud, pcl::index_t index, double, pcl::Indices &, std::vector< float > &)>
- Общедоступные типы, унаследованные от pcl::PCLBase< PointInT >
using PointCloud = pcl::PointCloud< PointInT >
using PointCloudPtr = typename PointCloud::Ptr
using PointCloudConstPtr = typename PointCloud::ConstPtr
using PointIndicesPtr = PointIndices::Ptr
using PointIndicesConstPtr = PointIndices::ConstPtr

Общедоступные функции-члены

AgastKeypoint2D ()
Конструктор. Подробнее...
~AgastKeypoint2D () override=default
Деструктор. Подробнее...
- Общедоступные функции-члены, унаследованные от pcl::AgastKeypoint2DBase< PointInT, pcl::PointUV, pcl::common::IntensityFieldAccessor< PointInT > >
AgastKeypoint2DBase ()
Конструктор. Подробнее...
~AgastKeypoint2DBase () override=default
Деструктор. Подробнее...
void setThreshold (const double threshold)
Задает порог для обнаружения углов. Подробнее...
double getThreshold ()
Возвращает заданный пользователем порог для обнаружения углов. Подробнее...
void setMaxKeypoints (const unsigned int nr_max_keypoints)
Задает максимальное количество возвращаемых ключевых точек. Подробнее...
unsigned int getMaxKeypoints ()
Возвращает заданное пользователем максимальное количество возвращаемых ключевых точек. Подробнее...
void setMaxDataValue (const double bmax)
Задает максимальное значение данных изображения (влияет на количество итераций AGAST). Подробнее...
double getMaxDataValue ()
Возвращает заданное пользователем значение bmax для изображения. Подробнее...
void setNonMaxSuppression (const bool enabled)
Задает, следует ли применять подавление немаксимумов. Подробнее...
bool getNonMaxSuppression ()
Возвращает значение, указывающее, применяется ли подавление немаксимумов. Подробнее...
void setAgastDetector (const AgastDetectorPtr &detector)
AgastDetectorPtr getAgastDetector ()
- Общедоступные функции-члены, унаследованные от pcl::Keypoint< ImageType >
Keypoint ()=default
void harrisCorner (ImageType &output, ImageType &input, const float sigma_d, const float sigma_i, const float alpha, const float thresh)
void hessianBlob (ImageType &output, ImageType &input, const float sigma, bool SCALE)
void hessianBlob (ImageType &output, ImageType &input, const float start_scale, const float scaling_factor, const int num_scales)
void imageElementMultiply (ImageType &output, ImageType &input1, ImageType &input2)
Keypoint ()
Конструктор без параметров. Подробнее...
~Keypoint () override=default
Пустой деструктор. Подробнее...
virtual void setSearchSurface (const PointCloudInConstPtr &cloud)
Задает указатель на входной набор данных, для каждой точки которого требуется вычислить признаки. Подробнее...
PointCloudInConstPtr getSearchSurface ()
Возвращает указатель на набор точек поверхности. Подробнее...
void setSearchMethod (const KdTreePtr &tree)
Задает указатель на объект поиска. Подробнее...
KdTreePtr getSearchMethod ()
Возвращает указатель на используемый метод поиска. Подробнее...
double getSearchParameter ()
Возвращает внутренний параметр поиска. Подробнее...
void setKSearch (int k)
Задает количество k ближайших соседей, используемых для вычисления признаков. Подробнее...
int getKSearch ()
Возвращает количество k ближайших соседей, используемых для вычисления признаков. Подробнее...
void setRadiusSearch (double radius)
Задает радиус сферы для определения ближайших соседей, используемых при обнаружении ключевых точек. Подробнее...
double getRadiusSearch ()
Возвращает радиус сферы, используемый для определения соседей. Подробнее...
pcl::PointIndicesConstPtr getKeypointsIndices ()
void compute (PointCloudOut &output)
Базовый метод обнаружения ключевых точек для всех точек, заданных с помощью <setInputCloud (), setIndices ()>, с использованием поверхности, заданной в setSearchSurface (), и пространственного локатора, заданного в setSearchMethod (). Подробнее...
int searchForNeighbors (pcl::index_t index, double parameter, pcl::Indices &indices, std::vector< float > &distances) const
Выполняет поиск k ближайших соседей с помощью пространственного локатора, заданного в setSearchmethod, и указанной поверхности, заданной в setSearchSurface. Подробнее...
- Общедоступные функции-члены, унаследованные от pcl::PCLBase< PointInT >
PCLBase ()
Конструктор без параметров. Подробнее...
PCLBase (const PCLBase &base)
Конструктор копирования. Подробнее...
virtual ~PCLBase ()=default
Деструктор. Подробнее...
virtual void setInputCloud (const PointCloudConstPtr &cloud)
Задает указатель на входной набор данных. Подробнее...
PointCloudConstPtr const getInputCloud () const
Возвращает указатель на входной набор точек. Подробнее...
virtual void setIndices (const IndicesPtr &indices)
Задает указатель на вектор индексов, представляющий входные данные. Подробнее...
virtual void setIndices (const IndicesConstPtr &indices)
Задает указатель на вектор индексов, представляющий входные данные. Подробнее...
virtual void setIndices (const PointIndicesConstPtr &indices)
Задает указатель на вектор индексов, представляющий входные данные. Подробнее...
virtual void setIndices (std::size_t row_start, std::size_t col_start, std::size_t nb_rows, std::size_t nb_cols)
Задает индексы точек, расположенных в области интереса облака точек. Подробнее...
IndicesPtr getIndices ()
Получить указатель на используемый вектор индексов. Подробнее...
IndicesConstPtr const getIndices () const
Получить указатель на используемый вектор индексов. Подробнее...
const PointInT & operator[] (std::size_t pos) const
Переопределяет operator[] класса PointCloud для сокращения кода. Подробнее...

Защищённые функции-члены

void detectKeypoints (PointCloudOut &output) override
Обнаруживает ключевые точки. Подробнее...
- Защищённые функции-члены, унаследованные от pcl::AgastKeypoint2DBase< PointInT, pcl::PointUV, pcl::common::IntensityFieldAccessor< PointInT > >
bool initCompute () override
Инициализирует все необходимые данные и проверяет корректность входных данных. Подробнее...
void detectKeypoints (PointCloudOut &output) override=0
Обнаруживает ключевые точки. Подробнее...
- Защищённые функции-члены, унаследованные от pcl::Keypoint< ImageType >
const std::string & getClassName () const
Получить строковое представление имени этого класса. Подробнее...
- Защищённые функции-члены, унаследованные от pcl::PCLBase< PointInT >
bool initCompute ()
Этот метод следует вызывать перед началом фактических вычислений. Подробнее...
bool deinitCompute ()
Этот метод следует вызывать после завершения фактических вычислений. Подробнее...

Дополнительные унаследованные члены

- Защищённые атрибуты, унаследованные от pcl::AgastKeypoint2DBase< PointInT, pcl::PointUV, pcl::common::IntensityFieldAccessor< PointInT > >
pcl::common::IntensityFieldAccessor< PointInT > intensity_
Средство доступа к полю интенсивности. Подробнее...
double threshold_
Порог обнаружения углов. Подробнее...
bool apply_non_max_suppression_
Определяет, включено ли подавление немаксимумов. Подробнее...
double bmax_
Максимальное значение изображения. Подробнее...
AgastDetectorPtr detector_
Используемый детектор Agast. Подробнее...
unsigned int nr_max_keypoints_
Максимальное количество возвращаемых ключевых точек. Подробнее...
- Защищённые атрибуты, унаследованные от pcl::Keypoint< ImageType >
std::string name_
Имя метода обнаружения ключевых точек. Подробнее...
SearchMethod search_method_
Шаблон метода поиска для индексов. Подробнее...
SearchMethodSurface search_method_surface_
Шаблон метода поиска для точек. Подробнее...
PointCloudInConstPtr surface_
Входное облако точек, описывающее поверхность, используемую для оценки ближайших соседей. Подробнее...
KdTreePtr tree_
Указатель на объект пространственного поиска. Подробнее...
double search_parameter_ {0.0}
Фактический параметр поиска (приведённый к типу из search_radius_ или k_). Подробнее...
double search_radius_ {0.0}
Радиус поиска ближайших соседей для каждой точки. Подробнее...
int k_ {0}
Количество ближайших соседей K, используемых для каждой точки. Подробнее...
pcl::PointIndicesPtr keypoints_indices_
Индексы ключевых точек во входном облаке. Подробнее...
- Защищённые атрибуты, унаследованные от pcl::PCLBase< PointInT >
PointCloudConstPtr input_
Входной набор данных облака точек. Подробнее...
IndicesPtr indices_
Указатель на вектор индексов точек, которые необходимо использовать. Подробнее...
bool use_indices_
Установите значение true, если используются индексы точек. Подробнее...
bool fake_indices_
Если набор индексов не задан, создаётся набор фиктивных индексов, соответствующий входному PointCloud. Подробнее...

Подробное описание

template<typename PointInT, typename PointOutT = pcl::PointUV>
class pcl::AgastKeypoint2D< PointInT, PointOutT >

Обнаруживает двумерные угловые точки AGAST.

Основано на оригинальной работе и статье

Elmar Mair, Gregory D. Hager, Darius Burschka, Michael Suppa и Gerhard Hirzinger. Адаптивное и универсальное обнаружение углов на основе ускоренного сегментного теста. В материалах Европейской конференции по компьютерному зрению (ECCV'10), сентябрь 2010 г.

Пример кода:

pcl::PointCloud<pcl::PointXYZRGBA> cloud;
pcl::AgastKeypoint2D<pcl::PointXYZRGBA> agast;
agast.setThreshold (30);
agast.setInputCloud (cloud);
 
PointCloud<pcl::PointUV> keypoints;
agast.compute (keypoints);
pcl::AgastKeypoint2DBase::setThresholdvoid setThreshold(const double threshold)Sets the threshold for corner detection.Definition: agast_2d.h:586
pcl::AgastKeypoint2DBase::setThreshold
void setThreshold(const double threshold)
Sets the threshold for corner detection.
Definition: agast_2d.h:586
pcl::AgastKeypoint2DDetects 2D AGAST corner points.Definition: agast_2d.h:716
pcl::AgastKeypoint2D
Detects 2D AGAST corner points.
Definition: agast_2d.h:716
pcl::Keypoint::computevoid compute(PointCloudOut &output)Base method for key point detection for all points given in <setInputCloud (), setIndices ()> using t...Definition: keypoint.hpp:137
pcl::Keypoint::compute
void compute(PointCloudOut &output)
Base method for key point detection for all points given in <setInputCloud (), setIndices ()> using t...
Definition: keypoint.hpp:137
pcl::PCLBase::setInputCloudvirtual void setInputCloud(const PointCloudConstPtr &cloud)Provide a pointer to the input dataset.Definition: pcl_base.hpp:65
pcl::PCLBase::setInputCloud
virtual void setInputCloud(const PointCloudConstPtr &cloud)
Provide a pointer to the input dataset.
Definition: pcl_base.hpp:65
pcl::PointCloud< pcl::PointXYZRGBA >
pcl::PointCloud< pcl::PointXYZRGBA >
Примечание
Используется тип ключевых точек AGAST 7_12s.
Автор
Stefan Holzer, Radu B. Rusu

Определение в строке 715 файла agast_2d.h.

Документация псевдонима типа-члена

PointCloudOut

template<typename PointInT , typename PointOutT = pcl::PointUV>
using pcl::AgastKeypoint2D< PointInT, PointOutT >::PointCloudOut = typename Keypoint<PointInT, PointOutT>::PointCloudOut

Определение в строке 718 файла agast_2d.h.

Документация конструктора и деструктора

AgastKeypoint2D()

template<typename PointInT , typename PointOutT = pcl::PointUV>
pcl::AgastKeypoint2D< PointInT, PointOutT >::AgastKeypoint2D ( )
inline

Конструктор.

Определение в строке 732 файла agast_2d.h.

Ссылки: pcl::Keypoint< ImageType >::name_.

~AgastKeypoint2D()

template<typename PointInT , typename PointOutT = pcl::PointUV>
pcl::AgastKeypoint2D< PointInT, PointOutT >::~AgastKeypoint2D ( )
overridedefault

Деструктор.

Документация функций-членов

detectKeypoints()

template<typename PointInT , typename PointOutT >
void pcl::AgastKeypoint2D< PointInT, PointOutT >::detectKeypoints ( PointCloudOut & output )
overrideprotected

Обнаруживает ключевые точки.

Параметры
[out] output результирующие ключевые точки

Определение в строке 68 файла agast_2d.hpp.


Документация этого класса создана на основе следующих файлов:
  • pcl/keypoints/agast_2d.h
  • pcl/keypoints/impl/agast_2d.hpp

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_agast_keypoint2_d.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API