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

anonymous enum
Enumerator
MONO 
RECT 
COLOR 
RECT_COLOR 
ALL 

Definition at line 62 of file processor.h.

Constructor & Destructor Documentation

◆ Processor()

image_proc::Processor::Processor ( )
inline

Definition at line 55 of file processor.h.

Member Function Documentation

◆ process()

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

◆ interpolation_

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 Wed Dec 7 2022 03:25:23