Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Static Public Member Functions
pcl::MaskMap Class Reference

#include <pcl/recognition/mask_map.h>

Public Member Functions

 MaskMap ()=default
 
 MaskMap (std::size_t width, std::size_t height)
 
virtual ~MaskMap ()=default
 
void resize (std::size_t width, std::size_t height)
 
std::size_t getWidth () const
 
std::size_t getHeight () const
 
unsigned char * getData ()
 
const unsigned char * getData () const
 
void set (const std::size_t x, const std::size_t y)
 
void unset (const std::size_t x, const std::size_t y)
 
bool isSet (const std::size_t x, const std::size_t y) const
 
void reset ()
 
unsigned char & operator() (const std::size_t x, const std::size_t y)
 
const unsigned char & operator() (const std::size_t x, const std::size_t y) const
 
void erode (MaskMap &eroded_mask) const
 

Static Public Member Functions

static void getDifferenceMask (const MaskMap &mask0, const MaskMap &mask1, MaskMap &diff_mask)
 
static PCL_NODISCARD MaskMap getDifferenceMask (const MaskMap &mask0, const MaskMap &mask1)
 

Detailed Description

Definition at line 46 of file mask_map.h.

Constructor & Destructor Documentation

◆ MaskMap() [1/2]

pcl::MaskMap::MaskMap ( )
default

◆ MaskMap() [2/2]

pcl::MaskMap::MaskMap ( std::size_t  width,
std::size_t  height 
)

◆ ~MaskMap()

virtual pcl::MaskMap::~MaskMap ( )
virtualdefault

Member Function Documentation

◆ erode()

void pcl::MaskMap::erode ( MaskMap eroded_mask) const

◆ getData() [1/2]

unsigned char* pcl::MaskMap::getData ( )
inline

◆ getData() [2/2]

const unsigned char* pcl::MaskMap::getData ( ) const
inline

Definition at line 76 of file mask_map.h.

References PCL_NODISCARD.

◆ getDifferenceMask() [1/2]

static void pcl::MaskMap::getDifferenceMask ( const MaskMap mask0,
const MaskMap mask1,
MaskMap diff_mask 
)
static

◆ getDifferenceMask() [2/2]

static PCL_NODISCARD MaskMap pcl::MaskMap::getDifferenceMask ( const MaskMap mask0,
const MaskMap mask1 
)
static

◆ getHeight()

std::size_t pcl::MaskMap::getHeight ( ) const
inline

◆ getWidth()

std::size_t pcl::MaskMap::getWidth ( ) const
inline

◆ isSet()

bool pcl::MaskMap::isSet ( const std::size_t  x,
const std::size_t  y 
) const
inline

Definition at line 102 of file mask_map.h.

◆ operator()() [1/2]

unsigned char& pcl::MaskMap::operator() ( const std::size_t  x,
const std::size_t  y 
)
inline

Definition at line 114 of file mask_map.h.

◆ operator()() [2/2]

const unsigned char& pcl::MaskMap::operator() ( const std::size_t  x,
const std::size_t  y 
) const
inline

Definition at line 120 of file mask_map.h.

◆ reset()

void pcl::MaskMap::reset ( )
inline

Definition at line 108 of file mask_map.h.

◆ resize()

void pcl::MaskMap::resize ( std::size_t  width,
std::size_t  height 
)

◆ set()

void pcl::MaskMap::set ( const std::size_t  x,
const std::size_t  y 
)
inline

Definition at line 90 of file mask_map.h.

◆ unset()

void pcl::MaskMap::unset ( const std::size_t  x,
const std::size_t  y 
)
inline

Definition at line 96 of file mask_map.h.


The documentation for this class was generated from the following file: