34 #include "modules/perception/lidar/detector/ncut_segmentation/common/graph_felzenszwalb/image.h" 35 #include "modules/perception/lidar/detector/ncut_segmentation/common/graph_felzenszwalb/misc.h" 38 namespace perception {
43 int width = im->
width();
45 T min =
imRef(im, 0, 0);
46 T max =
imRef(im, 0, 0);
47 for (
int y = 0; y < height; y++) {
48 for (
int x = 0; x < width; x++) {
49 T val =
imRef(im, x, y);
64 int width = src->
width();
65 int height = src->
height();
67 for (
int y = 0; y < height; y++) {
68 for (
int x = 0; x < width; x++) {
int height() const
Definition: image.h:55
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
int width() const
Definition: image.h:52
void min_max(Image< T > *im, T *ret_min, T *ret_max)
Definition: imutil.h:42
Image< uchar > * threshold(Image< T > *src, int t)
Definition: imutil.h:63
#define imRef(im, x, y)
Definition: image.h:68