|
Nav2 Navigation Stack - jazzy
jazzy
ROS 2 Navigation Stack
|
Define the label of a pixel in an 8-linked image. More...
#include <nav2_costmap_2d/include/nav2_costmap_2d/denoise/image_processing.hpp>
Static Public Member Functions | |
| template<class ImageWindow , class LabelsWindow , class Label , class IsBg > | |
| static void | pass (ImageWindow &image, LabelsWindow &label, EquivalenceLabelTrees< Label > &eq_trees, IsBg &&is_bg) |
| Set the label of the current pixel image.e() based on labels in its neighborhood. More... | |
Define the label of a pixel in an 8-linked image.
Definition at line 553 of file image_processing.hpp.
|
inlinestatic |
Set the label of the current pixel image.e() based on labels in its neighborhood.
| ImageWindow | Window parameterized by class DoNothing or ReplaceToZero |
| LabelsWindow | Window parameterized by class DoNothing or ReplaceToZero |
| Label | integer type of label |
| image | input image window. Image data will not be changed. De facto, image is a const ref |
| label | output label window |
| eq_trees | union-find structure |
| LabelOverflow | if all possible labels already used |
Definition at line 566 of file image_processing.hpp.
References nav2_costmap_2d::imgproc_impl::EquivalenceLabelTrees< Label >::makeLabel(), and nav2_costmap_2d::imgproc_impl::EquivalenceLabelTrees< Label >::unionTrees().