Class Undistorter¶
Defined in File undistorter.h
Inheritance Relationships¶
Derived Type¶
public aslam::MappedUndistorter
(Class MappedUndistorter)
Class Documentation¶
-
class
aslam
::
Undistorter
¶ A base class for image undistortion and resizing.
Subclassed by aslam::MappedUndistorter
Public Functions
-
ASLAM_POINTER_TYPEDEFS
(Undistorter)¶
-
ASLAM_DISALLOW_EVIL_CONSTRUCTORS
(Undistorter)¶
-
Undistorter
(Camera::Ptr input_camera, Camera::Ptr output_camera)¶ Construct an undistorter pipeline from the input and output cameras.
- Parameters
[in] input_camera
: The intrinsics associated with the input image.[in] output_camera
: The intrinsics associated with the output image.
-
inline virtual
~Undistorter
()¶
-
virtual void
processImage
(const cv::Mat &input_image, cv::Mat *output_image) const = 0¶ Produce an undistorted image from an input image.
-
inline const Camera &
getInputCamera
() const¶ Get the input camera that corresponds to the image passed in to processImage().
Because this processor may do things like image undistortion or rectification, the input and output camera may not be the same.
Get the input camera that corresponds to the image passed in to processImage().
Because this processor may do things like image undistortion or rectification, the input and output camera may not be the same.
Get the input camera that corresponds to the image passed in to processImage().
Because this processor may do things like image undistortion or rectification, the input and output camera may not be the same.
-
inline const Camera &
getOutputCamera
() const¶ Get the output camera that corresponds to the VisualFrame data that comes out.
Because this pipeline may do things like image undistortion or rectification, the input and output camera may not be the same.
Get the output camera that corresponds to the VisualFrame data that comes out.
Because this pipeline may do things like image undistortion or rectification, the input and output camera may not be the same.
Get the output camera that corresponds to the VisualFrame data that comes out.
Because this pipeline may do things like image undistortion or rectification, the input and output camera may not be the same.
Protected Functions
-
inline
Undistorter
()¶
-