Spec-Zone.ru › PointCloudLibrary

Сегментация графов с множественными метками с использованием случайных блужданий. Подробнее...

#include <pcl/segmentation/impl/random_walker.hpp>

Публичные типы

using Цвет = typename boost::property_traits< VertexColorMap >::value_type
using Вес = typename boost::property_traits< EdgeWeightMap >::value_type
using Графы = boost::graph_traits< Graph >
using ОписаниеРебра = typename GraphTraits::edge_descriptor
using ОписаниеВершины = typename GraphTraits::vertex_descriptor
using ИтераторРебер = typename GraphTraits::edge_iterator
using ИтераторВыходящихРебер = typename GraphTraits::out_edge_iterator
using VertexIterator = typename GraphTraits::vertex_iterator
using VertexIndexMap = typename boost::property_map< Graph, boost::vertex_index_t >::type
using VertexDegreeMap = boost::iterator_property_map< typename std::vector< Weight >::iterator, VertexIndexMap >
using SparseMatrix = Eigen::SparseMatrix< Weight >
using Matrix = Eigen::Matrix< Weight, Eigen::Dynamic, Eigen::Dynamic >
using Vector = Eigen::Matrix< Weight, Eigen::Dynamic, 1 >

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

RandomWalker (Graph &g, EdgeWeightMap weights, VertexColorMap colors)
bool segment ()
void computeVertexDegrees ()
void buildLinearSystem ()
bool solveLinearSystem ()
void assignColors ()
void getPotentials (Matrix &potentials, std::map< Color, std::size_t > &color_to_column_map)

Статические публичные члены-функции

template<typename T >
static std::size_t insertInBimap (boost::bimap< std::size_t, T > &bimap, T value)

Публичные атрибуты

Граф & g_
EdgeWeightMap weight_map_
VertexColorMap color_map_
VertexIndexMap index_map_
std::vector< VertexDescriptor > seeds_
std::set< Color > colors_
std::vector< Weight > degree_storage_
VertexDegreeMap degree_map_
SparseMatrix L
SparseMatrix B
Matrix X
boost::bimap< std::size_t, VertexDescriptor > L_vertex_bimap
boost::bimap< std::size_t, Color > B_color_bimap

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

template<class Graph, class EdgeWeightMap, class VertexColorMap>
class pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >

Многозначная сегментация графа с использованием случайных блужданий.

Это реализация алгоритма, описанного в статье «Случайные блуждания для сегментации изображений» Лео Гради.

Подробности см. в документации функции randomWalker().

Автор
Sergey Alexandrov

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

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

Color

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::Color = typename boost::property_traits<VertexColorMap>::value_type

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

EdgeDescriptor

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::EdgeDescriptor = typename GraphTraits::edge_descriptor

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

EdgeIterator

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::EdgeIterator = typename GraphTraits::edge_iterator

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

GraphTraits

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::GraphTraits = boost::graph_traits<Graph>

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

Matrix

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::Matrix = Eigen::Matrix<Weight, Eigen::Dynamic, Eigen::Dynamic>

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

OutEdgeIterator

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::OutEdgeIterator = typename GraphTraits::out_edge_iterator

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

SparseMatrix

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::SparseMatrix = Eigen::SparseMatrix<Weight>

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

Вектор

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::Vector = Eigen::Matrix<Weight, Eigen::Dynamic, 1>

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

КартаСтепенейВершин

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::VertexDegreeMap = boost::iterator_property_map<typename std::vector<Weight>::iterator, VertexIndexMap>

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

Описание вершины

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::VertexDescriptor = typename GraphTraits::vertex_descriptor

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

Карта индексов вершин

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::VertexIndexMap = typename boost::property_map<Graph, boost::vertex_index_t>::type

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

VertexIterator

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::VertexIterator = typename GraphTraits::vertex_iterator

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

Weight

template<class Graph , class EdgeWeightMap , class VertexColorMap >
using pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::Weight = typename boost::property_traits<EdgeWeightMap>::value_type

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

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

RandomWalker()

template<class Graph , class EdgeWeightMap , class VertexColorMap >
pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::RandomWalker ( Graph & g,
EdgeWeightMap weights,
VertexColorMap colors
)
inline

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

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

assignColors()

template<class Graph , class EdgeWeightMap , class VertexColorMap >
void pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::assignColors ( )
inline

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

Ссылки на pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::B_color_bimap, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::color_map_, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::L_vertex_bimap и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::X.

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::solveLinearSystem().

buildLinearSystem()

template<class Graph , class EdgeWeightMap , class VertexColorMap >
void pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem ( )
inline

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

Ссылки на pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::B, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::B_color_bimap, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::color_map_, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::colors_, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::degree_map_, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::g_, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::insertInBimap(), pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::L, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::L_vertex_bimap, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::seeds_, и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::weight_map_.

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::segment().

computeVertexDegrees()

template<class Graph , class EdgeWeightMap , class VertexColorMap >
void pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::computeVertexDegrees ( )
inline

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

Ссылки на pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::degree_map_, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::g_ и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::weight_map_.

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::segment().

getPotentials()

template<class Graph , class EdgeWeightMap , class VertexColorMap >
void pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::getPotentials ( Matrix & potentials,
std::map< Color, std::size_t > & отображение_цвета_на_столбец
)
inline

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

Ссылки на pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::B_color_bimap, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::color_map_, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::colors_, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::g_, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::insertInBimap(), pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::L_vertex_bimap, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::seeds_ и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::X.

insertInBimap()

template<class Graph , class EdgeWeightMap , class VertexColorMap >
template<typename T >
static std::size_t pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::insertInBimap ( boost::bimap< std::size_t, T > & bimap,
T value
)
inlinestatic

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem(), и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::getPotentials().

segment()

template<class Graph , class EdgeWeightMap , class VertexColorMap >
bool pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::segment ( )
inline

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

Ссылки на pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem(), pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::computeVertexDegrees() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::solveLinearSystem().

solveLinearSystem()

template<class Graph , class EdgeWeightMap , class VertexColorMap >
bool pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::solveLinearSystem ( )
inline

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

Ссылки на pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::assignColors(), pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::B, pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::L и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::X.

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::segment().

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

B

template<class Graph , class EdgeWeightMap , class VertexColorMap >
SparseMatrix pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::B

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::solveLinearSystem().

B_color_bimap

template<class Graph , class EdgeWeightMap , class VertexColorMap >
boost::bimap<std::size_t, Color> pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::B_color_bimap

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::assignColors(), pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::getPotentials().

color_map_

template<class Graph , class EdgeWeightMap , class VertexColorMap >
VertexColorMap pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::color_map_

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::assignColors(), pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::getPotentials().

colors_

template<class Graph , class EdgeWeightMap , class VertexColorMap >
std::set<Color> pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::colors_

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::getPotentials().

degree_map_

template<class Graph , class EdgeWeightMap , class VertexColorMap >
VertexDegreeMap pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::degree_map_

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::computeVertexDegrees().

degree_storage_

template<class Graph , class EdgeWeightMap , class VertexColorMap >
std::vector<Weight> pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::degree_storage_

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

g_

template<class Graph , class EdgeWeightMap , class VertexColorMap >
Graph& pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::g_

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem(), pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::computeVertexDegrees() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::getPotentials().

index_map_

template<class Graph , class EdgeWeightMap , class VertexColorMap >
VertexIndexMap pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::index_map_

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

L

template<class Graph , class EdgeWeightMap , class VertexColorMap >
SparseMatrix pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::L

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::solveLinearSystem().

L_vertex_bimap

template<class Graph , class EdgeWeightMap , class VertexColorMap >
boost::bimap<std::size_t, VertexDescriptor> pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::L_vertex_bimap

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::assignColors(), pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::getPotentials().

seeds_

template<class Graph , class EdgeWeightMap , class VertexColorMap >
std::vector<VertexDescriptor> pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::seeds_

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::getPotentials().

weight_map_

template<class Graph , class EdgeWeightMap , class VertexColorMap >
EdgeWeightMap pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::weight_map_

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::buildLinearSystem() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::computeVertexDegrees().

X

template<class Graph , class EdgeWeightMap , class VertexColorMap >
Matrix pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::X

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

Используется в pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::assignColors(), pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::getPotentials() и pcl::segmentation::detail::RandomWalker< Graph, EdgeWeightMap, VertexColorMap >::solveLinearSystem().


Документация для этого класса была сгенерирована из следующего файла:
  • pcl/segmentation/impl/random_walker.hpp

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

Spec-Zone.ru

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