|
Nav2 Navigation Stack - jazzy
jazzy
ROS 2 Navigation Stack
|
Boundary case object. Used as parameter of class Window. Dereferences a pointer to a existing pixel. If the pixel is out of bounds, it returns a ref to 0. More...
#include <nav2_costmap_2d/include/nav2_costmap_2d/denoise/image_processing.hpp>
Public Member Functions | |
| ReplaceToZero (const T *up_row_start, const T *down_row_start, size_t columns) | |
| Create an object that will replace pointers outside the specified range. More... | |
| T & | up (T *v) |
| Return ref to pixel or to zero value if up_row_start_ is nullptr or the pointer is out of bounds. More... | |
| T & | down (T *v) |
| Return ref to pixel or to zero value if the pointer is out of bounds. More... | |
Boundary case object. Used as parameter of class Window. Dereferences a pointer to a existing pixel. If the pixel is out of bounds, it returns a ref to 0.
| T | image pixel type |
Definition at line 230 of file image_processing.hpp.
|
inline |
Create an object that will replace pointers outside the specified range.
| up_row_start | pointer to the first pixel of up row. Can be nullptr. |
| down_row_start | pointer to the first pixel of down row |
| columns | number of pixels in both rows |
Definition at line 239 of file image_processing.hpp.
|
inline |
Return ref to pixel or to zero value if the pointer is out of bounds.
| v | pointer to pixel |
Definition at line 259 of file image_processing.hpp.
|
inline |
Return ref to pixel or to zero value if up_row_start_ is nullptr or the pointer is out of bounds.
| v | pointer to pixel |
Definition at line 247 of file image_processing.hpp.