Nav2 Navigation Stack - rolling
main
ROS 2 Navigation Stack
|
Forward scan mask sliding window Provides an interface for access to neighborhood of the current pixel (includes three neighbors of the top row, the pixel to the left and the current one). In the illustration below, the current pixel is e. |a|b|c| |d|e| | | | | |. More...
#include <nav2_costmap_2d/include/nav2_costmap_2d/denoise/image_processing.hpp>
Public Member Functions | |
Window (T *up_row, T *down_row, Border< T > border={}) | |
T & | a () |
T & | b () |
T & | c () |
T & | d () |
T & | e () |
const T * | anchor () const |
void | next () |
Shifts the window to the right. | |
Forward scan mask sliding window Provides an interface for access to neighborhood of the current pixel (includes three neighbors of the top row, the pixel to the left and the current one). In the illustration below, the current pixel is e. |a|b|c| |d|e| | | | | |.
T | image pixel type |
Border | optional check of access to pixels outside the image boundary (DoNothing or ReplaceToZero) |
Definition at line 298 of file image_processing.hpp.
|
inline |
Construct mask window
up_row | pointer to the pixel above the current one (a) |
down_row | pointer to the current pixel (e) |
border | boundary case object |
Definition at line 307 of file image_processing.hpp.