FilterRectify Class Reference
Rectify image. More...
#include <filters/rectify.h>

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.
Definition at line 31 of file rectify.h.
Constructor & Destructor Documentation
| FilterRectify::FilterRectify | ( | RectificationInfoBlock * | rib, | |
| bool | mark_zeros = true | |||
| ) |
Constructor.
- Parameters:
-
rib Rectification Information Block mark_zeros if 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 50 of file rectify.cpp.
Member Function Documentation
| void FilterRectify::apply | ( | ) | [virtual] |
Apply the filter.
Apply the filter to the given source and destination buffers with given width and height and orientation (ori may be ignored for some filters).
Implements Filter.
Definition at line 74 of file rectify.cpp.
References Filter::dst, Filter::dst_roi, ROI::height, ROI::image_height, ROI::image_width, ROI::line_step, RectificationLutInfoBlock::lut_data(), RectificationInfoBlock::mapping(), RectificationLutInfoBlock::pixel_height(), ROI::pixel_step, RectificationLutInfoBlock::pixel_width(), Filter::src, Filter::src_roi, ROI::start, ROI::width, _rectinfo_lut_16x16_entry_t::x, fawkes::point_t::x, _rectinfo_lut_16x16_entry_t::y, and fawkes::point_t::y.
The documentation for this class was generated from the following files:
- src/firevision/filters/rectify.h
- src/firevision/filters/rectify.cpp

