Spec-Zone.ru › PointCloudLibrary

TrajkovicKeypoint2D реализует детектор углов Трайковича и Хедли для упорядоченного облака точек с использованием информации об интенсивности. Подробнее...

#include <pcl/keypoints/trajkovic_2d.h>

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

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

enum ComputationMethod { FOUR_CORNERS , EIGHT_CORNERS }
using Ptr = shared_ptr< TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT > >
using ConstPtr = shared_ptr< const TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT > >
using PointCloudIn = typename Keypoint< PointInT, PointOutT >::PointCloudIn
using PointCloudOut = typename Keypoint< PointInT, PointOutT >::PointCloudOut
using PointCloudInConstPtr = typename PointCloudIn::ConstPtr
- Общедоступные типы, унаследованные от pcl::Keypoint< PointInT, PointOutT >
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

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

TrajkovicKeypoint2D (ComputationMethod method=FOUR_CORNERS, int window_size=3, float first_threshold=0.1, float second_threshold=100.0)
Конструктор. Подробнее...
void setMethod (ComputationMethod method)
Задать метод вычисления отклика. Подробнее...
ComputationMethod getMethod () const
void setWindowSize (int window_size)
Задать размер окна. Подробнее...
int getWindowSize () const
void setFirstThreshold (float threshold)
Задать first_threshold для отсеивания угловых точек на этапе простого вычисления углового отклика. Подробнее...
float getFirstThreshold () const
void setSecondThreshold (float threshold)
Задать второй порог для отсеивания угловых точек на заключительном этапе вычисления углового отклика. Подробнее...
float getSecondThreshold () const
void setNumberOfThreads (unsigned int nr_threads=0)
Инициализировать планировщик и задать количество используемых потоков. Подробнее...
unsigned int getNumberOfThreads () const
- Общедоступные функции-члены, унаследованные от pcl::Keypoint< PointInT, PointOutT >
Keypoint ()=default
Keypoint ()
Конструктор без параметров. Подробнее...
void harrisCorner (PointInT &output, PointInT &input, const float sigma_d, const float sigma_i, const float alpha, const float thresh)
void hessianBlob (PointInT &output, PointInT &input, const float sigma, bool SCALE)
void hessianBlob (PointInT &output, PointInT &input, const float start_scale, const float scaling_factor, const int num_scales)
void imageElementMultiply (PointInT &output, PointInT &input1, PointInT &input2)
~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 для сокращения кода. Подробнее...

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

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

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

- Защищённые атрибуты, унаследованные от pcl::Keypoint< PointInT, PointOutT >
std::string name_
Имя метода обнаружения ключевых точек. Подробнее...
SearchMethod search_method_
Шаблон метода поиска индексов. Подробнее...
SearchMethodSurface search_method_surface_
Шаблон метода поиска точек. Подробнее...
PointCloudInConstPtr surface_
Входное облако точек, описывающее поверхность, которая будет использоваться для поиска ближайших соседей. Подробнее...
KdTreePtr tree_
Указатель на объект пространственного поиска. Подробнее...
double search_parameter_
Фактический параметр поиска (приведённый из search_radius_ или k_). Подробнее...
double search_radius_
Радиус поиска ближайших соседей для каждой точки. Подробнее...
int k_
Количество ближайших соседей K, используемых для каждой точки. Подробнее...
pcl::PointIndicesPtr keypoints_indices_
Индексы ключевых точек во входном облаке. Подробнее...
- Защищённые атрибуты, унаследованные от pcl::PCLBase< PointInT >
PointCloudConstPtr input_
Входной набор данных облака точек. Подробнее...
IndicesPtr indices_
Указатель на вектор используемых индексов точек. Подробнее...
bool use_indices_
Установите значение true, если используются индексы точек. Подробнее...
bool fake_indices_
Если набор индексов не задан, создаётся набор фиктивных индексов, соответствующий входному облаку точек. Подробнее...

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

template<typename PointInT, typename PointOutT, typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
class pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >

TrajkovicKeypoint2D реализует детектор углов Трайковича и Хедли на упорядоченном облаке точек с использованием информации об интенсивности.

Для определения изменения интенсивности в горизонтальном или вертикальном направлении используется статистика первого порядка.

Автор
Nizar Sallem

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

Описание псевдонимов типов-членов

ConstPtr

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
using pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::ConstPtr = shared_ptr<const TrajkovicKeypoint2D<PointInT, PointOutT, IntensityT> >

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

PointCloudIn

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
using pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::PointCloudIn = typename Keypoint<PointInT, PointOutT>::PointCloudIn

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

PointCloudInConstPtr

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
using pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::PointCloudInConstPtr = typename PointCloudIn::ConstPtr

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

PointCloudOut

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
using pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::PointCloudOut = typename Keypoint<PointInT, PointOutT>::PointCloudOut

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

Ptr

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
using pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::Ptr = shared_ptr<TrajkovicKeypoint2D<PointInT, PointOutT, IntensityT> >

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

Описание перечислений-членов

ComputationMethod

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
enum pcl::TrajkovicKeypoint2D::ComputationMethod
Элементы перечисления
FOUR_CORNERS
EIGHT_CORNERS

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

Описание конструктора и деструктора

TrajkovicKeypoint2D()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::TrajkovicKeypoint2D ( ComputationMethod method = FOUR_CORNERS,
int window_size = 3,
float first_threshold = 0.1,
float second_threshold = 100.0
)
inline

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

Параметры
[in] method метод, используемый для определения отклика углов
[in] window_size
[in] first_threshold порог, используемый в простом тесте на угловую выраженность.
[in] second_threshold порог, используемый для отбрасывания слабых углов.

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

Ссылки: pcl::Keypoint< PointInT, PointOutT >::name_.

Описание функций-членов

detectKeypoints()

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

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

Ссылки: pcl::B.

getFirstThreshold()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
float pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::getFirstThreshold ( ) const
inline
Возвращает
первый порог

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

getMethod()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
ComputationMethod pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::getMethod ( ) const
inline
Возвращает
метод вычисления

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

getNumberOfThreads()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
unsigned int pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::getNumberOfThreads ( ) const
inline
Возвращает
количество потоков

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

getSecondThreshold()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
float pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::getSecondThreshold ( ) const
inline
Возвращает
второй порог

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

getWindowSize()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
int pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::getWindowSize ( ) const
inline
Возвращает
размер окна, то есть ширина или высота окна

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

initCompute()

template<typename PointInT , typename PointOutT , typename IntensityT >
bool pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::initCompute
overrideprotectedvirtual

Переопределён из pcl::Keypoint< PointInT, PointOutT >.

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

setFirstThreshold()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
void pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::setFirstThreshold ( float threshold )
inline

Задаёт first_threshold для отбраковки угловых точек на этапе простого вычисления углового отклика.

Параметры
[in] threshold

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

setMethod()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
void pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::setMethod ( ComputationMethod method )
inline

Задаёт метод вычисления отклика.

Параметры
[in] method 4 или 8 угловых точек

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

setNumberOfThreads()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
void pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::setNumberOfThreads ( unsigned int nr_threads = 0 )
inline

Инициализирует планировщик и задаёт количество используемых потоков.

Параметры
nr_threads количество используемых аппаратных потоков; 0 означает автоматический выбор.

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

setSecondThreshold()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
void pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::setSecondThreshold ( float threshold )
inline

Задаёт второй порог для отбраковки угловых точек на заключительном этапе вычисления углового отклика.

Параметры
[in] threshold

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

setWindowSize()

template<typename PointInT , typename PointOutT , typename IntensityT = pcl::common::IntensityFieldAccessor<PointInT>>
void pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >::setWindowSize ( int window_size )
inline

Задаёт размер окна.

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


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

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

Spec-Zone.ru

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