Isis Developer Reference
OsirisRexOcamsDistortionMap.h
Go to the documentation of this file.
1#ifndef OsirisRexOcamsDistortionMap_h
2#define OsirisRexOcamsDistortionMap_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include <QSharedPointer>
13
14#include "CameraDistortionMap.h"
15#include "CameraFocalPlaneMap.h"
16
17namespace Isis {
36 public:
37 OsirisRexOcamsDistortionMap(Camera *parent, double zDirection = 1.0);
38
40
41 virtual void SetDistortion(int naifIkCode);
42
43 virtual bool SetFocalPlane(double dx, double dy);
44
45 virtual bool SetUndistortedFocalPlane(double ux, double uy);
46
47 protected:
48 double m_pixelPitch;
53 double p_tolerance;
54 bool p_debug;
55
56 QSharedPointer<CameraFocalPlaneMap> m_focalMap; // Local focal plane map
57 };
58};
59#endif
Distort/undistort focal plane coordinates.
Definition CameraDistortionMap.h:41
Definition Camera.h:236
Distort/undistort focal plane coordinates for OSIRIS REx's cameras.
Definition OsirisRexOcamsDistortionMap.h:35
double m_detectorOriginLine
The origin of the detector's line coordinate.
Definition OsirisRexOcamsDistortionMap.h:50
virtual bool SetFocalPlane(double dx, double dy)
Compute undistorted focal plane x/y.
Definition OsirisRexOcamsDistortionMap.cpp:125
virtual ~OsirisRexOcamsDistortionMap()
Default Destructor.
Definition OsirisRexOcamsDistortionMap.cpp:59
QSharedPointer< CameraFocalPlaneMap > m_focalMap
Definition OsirisRexOcamsDistortionMap.h:56
double p_tolerance
Convergence tolerance.
Definition OsirisRexOcamsDistortionMap.h:53
double m_distortionOriginLine
The distortion's origin line coordinate.
Definition OsirisRexOcamsDistortionMap.h:52
bool p_debug
Debug the model.
Definition OsirisRexOcamsDistortionMap.h:54
double m_distortionOriginSample
The distortion's origin sample coordinate.
Definition OsirisRexOcamsDistortionMap.h:51
virtual void SetDistortion(int naifIkCode)
Load distortion coefficients and center-of-distortion for OCAMS.
Definition OsirisRexOcamsDistortionMap.cpp:85
double m_pixelPitch
The pixel pitch for OCAMS.
Definition OsirisRexOcamsDistortionMap.h:48
virtual bool SetUndistortedFocalPlane(double ux, double uy)
Compute distorted focal plane x/y.
Definition OsirisRexOcamsDistortionMap.cpp:227
OsirisRexOcamsDistortionMap(Camera *parent, double zDirection=1.0)
OSIRIS REx Camera distortion map constructor.
Definition OsirisRexOcamsDistortionMap.cpp:33
double m_detectorOriginSample
The origin of the detector's sample coordinate.
Definition OsirisRexOcamsDistortionMap.h:49
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16