45 const Eigen::Matrix3d &intrinsic_matrix);
62 int width,
int height,
double fx,
double fy,
double cx,
double cy);
76 int width,
int height,
double fx,
double fy,
double cx,
double cy) {
Contains the pinhole camera intrinsic parameters.
Definition: PinholeCameraIntrinsic.h:32
std::pair< double, double > GetPrincipalPoint() const
Definition: PinholeCameraIntrinsic.h:93
bool ConvertFromJsonValue(const Json::Value &value) override
Definition: PinholeCameraIntrinsic.cpp:55
int width_
Width of the image.
Definition: PinholeCameraIntrinsic.h:108
std::pair< double, double > GetFocalLength() const
Returns the focal length in a tuple of X-axis and Y-axis focal lengths.
Definition: PinholeCameraIntrinsic.h:87
~PinholeCameraIntrinsic() override
Definition: PinholeCameraIntrinsic.cpp:43
PinholeCameraIntrinsic()
Default Constructor.
Definition: PinholeCameraIntrinsic.cpp:19
bool IsValid() const
Returns true iff both the width and height are greater than 0.
Definition: PinholeCameraIntrinsic.h:101
Eigen::Matrix3d intrinsic_matrix_
Definition: PinholeCameraIntrinsic.h:116
int height_
Height of the image.
Definition: PinholeCameraIntrinsic.h:110
bool ConvertToJsonValue(Json::Value &value) const override
Definition: PinholeCameraIntrinsic.cpp:45
double GetSkew() const
Returns the skew.
Definition: PinholeCameraIntrinsic.h:98
void SetIntrinsics(int width, int height, double fx, double fy, double cx, double cy)
Set camera intrinsic parameters.
Definition: PinholeCameraIntrinsic.h:75
Definition: IJsonConvertible.h:40
PinholeCameraIntrinsicParameters
Sets default camera intrinsic parameters for sensors.
Definition: PinholeCameraIntrinsic.h:20
@ PrimeSenseDefault
Default settings for PrimeSense camera sensor.
@ Kinect2DepthCameraDefault
Default settings for Kinect2 depth camera.
@ Kinect2ColorCameraDefault
Default settings for Kinect2 color camera.
OPEN3D_HOST_DEVICE Pair< First, Second > make_pair(const First &_first, const Second &_second)
Definition: SlabTraits.h:49
Definition: PinholeCameraIntrinsic.cpp:16