|
Isis 3.0 Object Programmers' Reference |
Home |
#include <ThemisVisDistortionMap.h>
Inheritance diagram for Isis::Odyssey::ThemisVisDistortionMap:


Creates a map for adding/removing optical distortions from the focal plane of the Themis VIS camera.
Definition at line 20 of file ThemisVisDistortionMap.h.
Public Member Functions | |
| ThemisVisDistortionMap (Camera *parent) | |
| Constructs a Distortion Map for the Themis Vis Camera. | |
| virtual bool | SetFocalPlane (const double dx, const double dy) |
| Sets the focal plane value for the distortion map. | |
| virtual bool | SetUndistortedFocalPlane (const double ux, const double uy) |
| Sets the undistorted focal plane value for the distortion map. | |
| void | SetDistortion (const int naifIkCode) |
| Load distortion coefficients. | |
| double | FocalPlaneX () const |
| Return distorted focal plane x. | |
| double | FocalPlaneY () const |
| Return distorted focal plane y. | |
| double | UndistortedFocalPlaneX () const |
| Return undistorted focal plane x. | |
| double | UndistortedFocalPlaneY () const |
| Return undistorted focal plane y. | |
| double | UndistortedFocalPlaneZ () const |
| Return undistorted focal plane z. | |
Protected Attributes | |
| Camera * | p_camera |
| double | p_focalPlaneX |
| double | p_focalPlaneY |
| double | p_undistortedFocalPlaneX |
| double | p_undistortedFocalPlaneY |
| double | p_zDirection |
| std::vector< double > | p_odk |
Private Attributes | |
| double | p_irPixelPitch |
| Pixel Pitch for Themis Ir Camera. | |
| double | p_visPixelPitch |
| Pixel Pitch for Themis Vis Camera. | |
| double | p_ir_b5 |
| Effective Band 5 Detector Value for the Ir Camera. | |
| Isis::Odyssey::ThemisVisDistortionMap::ThemisVisDistortionMap | ( | Camera * | parent | ) |
Constructs a Distortion Map for the Themis Vis Camera.
| parent | Pointer to the parent Camera object |
Definition at line 13 of file ThemisVisDistortionMap.cpp.
References p_ir_b5, p_irPixelPitch, and p_visPixelPitch.
| double Isis::CameraDistortionMap::FocalPlaneX | ( | ) | const [inline, inherited] |
Return distorted focal plane x.
Definition at line 62 of file CameraDistortionMap.h.
References Isis::CameraDistortionMap::p_focalPlaneX.
Referenced by Isis::PushFrameCameraGroundMap::FindDistance(), Isis::LineScanCameraGroundMap::FindFocalPlane(), Isis::Camera::RawFocalPlanetoImage(), Isis::Camera::SetRightAscensionDeclination(), and Isis::LineScanCameraSkyMap::SetSky().
| double Isis::CameraDistortionMap::FocalPlaneY | ( | ) | const [inline, inherited] |
Return distorted focal plane y.
Definition at line 65 of file CameraDistortionMap.h.
References Isis::CameraDistortionMap::p_focalPlaneY.
Referenced by Isis::PushFrameCameraGroundMap::FindDistance(), Isis::LineScanCameraGroundMap::FindFocalPlane(), Isis::Camera::RawFocalPlanetoImage(), Isis::Camera::SetRightAscensionDeclination(), and Isis::LineScanCameraSkyMap::SetSky().
| void Isis::CameraDistortionMap::SetDistortion | ( | const int | naifIkCode | ) | [inherited] |
Load distortion coefficients.
This method loads the distortion coefficients from the instrument kernel. The coefficients in the NAIF instrument kernel are expected to be in the form of:
INSxxxxx_OD_K = ( coef1, coef2, ..., coefN) where xxxxx is the instrument code (always a negative number)
These coefficient will be used to convert from focal plane x,y to undistorted x,y as follows (add equation here)
| naifIkCode | Code to search for in instrument kernel |
Add latex equation to the documentation
Reimplemented in Isis::Lo::LoHighDistortionMap, Isis::Lo::LoMediumDistortionMap, Isis::Lro::LroNarrowAngleDistortionMap, and Isis::TaylorCameraDistortionMap.
Definition at line 64 of file CameraDistortionMap.cpp.
References Isis::CameraDistortionMap::p_camera, and Isis::CameraDistortionMap::p_odk.
Referenced by Isis::Mro::CTXCamera::CTXCamera(), Isis::Mro::HiriseCamera::HiriseCamera(), Isis::Messenger::MdisCamera::MdisCamera(), Isis::Lo::LoMediumDistortionMap::SetDistortion(), and Isis::Lo::LoHighDistortionMap::SetDistortion().
| bool Isis::Odyssey::ThemisVisDistortionMap::SetFocalPlane | ( | const double | dx, | |
| const double | dy | |||
| ) | [virtual] |
Sets the focal plane value for the distortion map.
| dx | The focal plane x value | |
| dy | The focal plane y value |
Reimplemented from Isis::CameraDistortionMap.
Definition at line 30 of file ThemisVisDistortionMap.cpp.
References Isis::CameraDistortionMap::p_focalPlaneX, Isis::CameraDistortionMap::p_focalPlaneY, p_ir_b5, p_irPixelPitch, Isis::CameraDistortionMap::p_undistortedFocalPlaneX, and Isis::CameraDistortionMap::p_undistortedFocalPlaneY.
| bool Isis::Odyssey::ThemisVisDistortionMap::SetUndistortedFocalPlane | ( | const double | ux, | |
| const double | uy | |||
| ) | [virtual] |
Sets the undistorted focal plane value for the distortion map.
| ux | The undistorted focal plane x value | |
| uy | The undistorted focal plane y value |
Reimplemented from Isis::CameraDistortionMap.
Definition at line 61 of file ThemisVisDistortionMap.cpp.
References Isis::CameraDistortionMap::p_focalPlaneX, Isis::CameraDistortionMap::p_focalPlaneY, p_ir_b5, p_irPixelPitch, Isis::CameraDistortionMap::p_undistortedFocalPlaneX, and Isis::CameraDistortionMap::p_undistortedFocalPlaneY.
| double Isis::CameraDistortionMap::UndistortedFocalPlaneX | ( | ) | const [inline, inherited] |
Return undistorted focal plane x.
Definition at line 68 of file CameraDistortionMap.h.
References Isis::CameraDistortionMap::p_undistortedFocalPlaneX.
Referenced by Isis::ControlPoint::ComputeApriori(), and Isis::Camera::SetImage().
| double Isis::CameraDistortionMap::UndistortedFocalPlaneY | ( | ) | const [inline, inherited] |
Return undistorted focal plane y.
Definition at line 71 of file CameraDistortionMap.h.
References Isis::CameraDistortionMap::p_undistortedFocalPlaneY.
Referenced by Isis::ControlPoint::ComputeApriori(), and Isis::Camera::SetImage().
| double Isis::CameraDistortionMap::UndistortedFocalPlaneZ | ( | ) | const [inline, inherited] |
Return undistorted focal plane z.
Definition at line 74 of file CameraDistortionMap.h.
Referenced by Isis::BundleAdjust::AddPartials(), and Isis::Camera::SetImage().
double Isis::Odyssey::ThemisVisDistortionMap::p_ir_b5 [private] |
Effective Band 5 Detector Value for the Ir Camera.
Definition at line 33 of file ThemisVisDistortionMap.h.
Referenced by SetFocalPlane(), SetUndistortedFocalPlane(), and ThemisVisDistortionMap().
double Isis::Odyssey::ThemisVisDistortionMap::p_irPixelPitch [private] |
Pixel Pitch for Themis Ir Camera.
Definition at line 29 of file ThemisVisDistortionMap.h.
Referenced by SetFocalPlane(), SetUndistortedFocalPlane(), and ThemisVisDistortionMap().
double Isis::Odyssey::ThemisVisDistortionMap::p_visPixelPitch [private] |
Pixel Pitch for Themis Vis Camera.
Definition at line 30 of file ThemisVisDistortionMap.h.
Referenced by ThemisVisDistortionMap().