BrownDistortionModel Class Reference
Brown Distortion Model class. More...
#include <gz/sensors/BrownDistortionModel.hh>
Public Member Functions | |
| BrownDistortionModel () | |
| Constructor. | |
| virtual | ~BrownDistortionModel () |
| Destructor. | |
| math::Vector2d | Center () const |
| Get the distortion center. | |
| double | K1 () const |
| Get the radial distortion coefficient k1. | |
| double | K2 () const |
| Get the radial distortion coefficient k2. | |
| double | K3 () const |
| Get the radial distortion coefficient k3. | |
| virtual void | Load (const sdf::Camera &_sdf) override |
| Load distortion parameters from sdf. | |
| double | P1 () const |
| Get the tangential distortion coefficient p1. | |
| double | P2 () const |
| Get the tangential distortion coefficient p2. | |
| virtual void | Print (std::ostream &_out) const override |
| Documentation inherited. | |
Public Member Functions inherited from Distortion | |
| Distortion (DistortionType _type) | |
| Constructor. This should not be called directly unless creating an empty distortion model. Use DistortionFactory::NewDistortionModel to instantiate a new distortion model. | |
| virtual | ~Distortion () |
| Destructor. | |
| DistortionType | Type () const |
| Accessor for DistortionType. | |
Detailed Description
Brown Distortion Model class.
Constructor & Destructor Documentation
◆ BrownDistortionModel()
Constructor.
◆ ~BrownDistortionModel()
|
virtual |
Destructor.
Member Function Documentation
◆ Center()
| math::Vector2d Center | ( | ) | const |
Get the distortion center.
- Returns
- Distortion center.
◆ K1()
| double K1 | ( | ) | const |
Get the radial distortion coefficient k1.
- Returns
- Distortion coefficient k1.
◆ K2()
| double K2 | ( | ) | const |
Get the radial distortion coefficient k2.
- Returns
- Distortion coefficient k2.
◆ K3()
| double K3 | ( | ) | const |
Get the radial distortion coefficient k3.
- Returns
- Distortion coefficient k3.
◆ Load()
|
overridevirtual |
Load distortion parameters from sdf.
- Parameters
-
[in] _sdf SDF Distortion DOM object.
Reimplemented from Distortion.
Reimplemented in ImageBrownDistortionModel.
◆ P1()
| double P1 | ( | ) | const |
Get the tangential distortion coefficient p1.
- Returns
- Distortion coefficient p1.
◆ P2()
| double P2 | ( | ) | const |
Get the tangential distortion coefficient p2.
- Returns
- Distortion coefficient p2.
◆ Print()
|
overridevirtual |
The documentation for this class was generated from the following file:
Public Member Functions inherited from