Digital Image Correlation Engine  Version 1.0
A modular, high-performance, image correlation tool used to compute full-field displacements and strains from digital images
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
DICe::Camera::Camera_Info Struct Reference

helper struct for camera initialization (cleans up of the constructors for camera class so it only needs one) More...

#include <DICe_Camera.h>

Public Member Functions

void eulers (scalar_t &alpha, scalar_t &beta, scalar_t &gamma) const
 
void set_rotation_matrix (const scalar_t &alpha, const scalar_t &beta, const scalar_t &gamma)
 
void set_intrinsics (const std::vector< scalar_t > &in)
 
void set_extrinsic_translations (const scalar_t &tx, const scalar_t &ty, const scalar_t &tz)
 
bool is_valid ()
 
void check_valid () const
 
void clear ()
 
scalar_t diff (const Camera_Info &rhs) const
 

Static Public Member Functions

static Matrix< scalar_t, 3 > eulers_to_rotation_matrix (const scalar_t &alpha, const scalar_t &beta, const scalar_t &gamma)
 
static void rotation_matrix_to_eulers (const Matrix< scalar_t, 3 > &R, scalar_t &alpha, scalar_t &beta, scalar_t &gamma)
 
static void eulers_to_rotation_matrix_partials (const scalar_t &alpha, const scalar_t &beta, const scalar_t &gamma, Matrix< scalar_t, 3, 4 > &R_dx, Matrix< scalar_t, 3, 4 > &R_dy, Matrix< scalar_t, 3, 4 > &R_dz)
 

Public Attributes

std::vector< scalar_tintrinsics_
 
Matrix< scalar_t, 3 > rotation_matrix_
 
scalar_t tx_
 
scalar_t ty_
 
scalar_t tz_
 
Lens_Distortion_Model lens_distortion_model_
 
int_t image_width_
 
int_t image_height_
 
int_t pixel_depth_
 
std::string id_
 
std::string lens_
 
std::string comments_
 

Friends

DICE_LIB_DLL_EXPORT friend bool operator== (const Camera_Info &lhs, const Camera_Info &rhs)
 
DICE_LIB_DLL_EXPORT friend bool operator!= (const Camera_Info &lhs, const Camera_Info &rhs)
 
DICE_LIB_DLL_EXPORT friend std::ostream & operator<< (std::ostream &os, const Camera_Info &info)
 

Detailed Description

helper struct for camera initialization (cleans up of the constructors for camera class so it only needs one)