Fawkes API  Fawkes Development Version
firevision::FilterRectify Class Reference

Rectify image. More...

#include <>>

Inheritance diagram for firevision::FilterRectify:

List of all members.

Public Member Functions

 FilterRectify (RectificationInfoBlock *rib, bool mark_zeros=true)
 Constructor.
virtual void apply ()
 Apply the filter.

Detailed Description

Rectify image.

This filter can be used to use a rectification information block to rectify the given image. It has special support for RectificationLutInfoBlocks by using the raw data pointer for fast access. For other info blocks it will simply use the RectificationInfoBlock::mapping() method to get the information.

Author:
Tim Niemueller

Constructor & Destructor Documentation

firevision::FilterRectify::FilterRectify ( RectificationInfoBlock rib,
bool  mark_zeros = true 
)

Constructor.

Parameters:
ribRectification Information Block
mark_zerosif set to true mappings in the rectification info block that point to (0, 0) are marked with red color (luminance value unchanged). This allows for easy spotting of dead regions and may explain images that look broken. Enabled by default.

Definition at line 55 of file rectify.cpp.


Member Function Documentation


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