Public Types | Public Member Functions | Public Attributes | List of all members
image_proc::Processor Class Reference

#include <processor.h>

Public Types

enum  {
  MONO = 1 << 0, RECT = 1 << 1, COLOR = 1 << 2, RECT_COLOR = 1 << 3,
  ALL = MONO | RECT | COLOR | RECT_COLOR
}
 

Public Member Functions

bool process (const sensor_msgs::ImageConstPtr &raw_image, const image_geometry::PinholeCameraModel &model, ImageSet &output, int flags=ALL) const
 
 Processor ()
 

Public Attributes

int interpolation_
 

Detailed Description

Definition at line 52 of file processor.h.

Member Enumeration Documentation

anonymous enum
Enumerator
MONO 
RECT 
COLOR 
RECT_COLOR 
ALL 

Definition at line 62 of file processor.h.

Constructor & Destructor Documentation

image_proc::Processor::Processor ( )
inline

Definition at line 55 of file processor.h.

Member Function Documentation

bool image_proc::Processor::process ( const sensor_msgs::ImageConstPtr &  raw_image,
const image_geometry::PinholeCameraModel model,
ImageSet output,
int  flags = ALL 
) const
Todo:
Faster to convert directly to mono when color is not requested, but OpenCV doesn't support
Todo:
If no distortion, could just point to the colorized data. But copy is already way faster than remap.

Definition at line 42 of file processor.cpp.

Member Data Documentation

int image_proc::Processor::interpolation_

Definition at line 60 of file processor.h.


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


image_proc
Author(s): Patrick Mihelich, Kurt Konolige, Jeremy Leibs
autogenerated on Fri May 3 2019 02:59:51