These blocks of data hold the ceres parameters upon which the optimizaition proceeds Static cameras have a block of parameters for their 6Dof Pose they have a block of 4 parameters for pinhole projection model intrinsics they have a block of 10 parameters for their distortion projection intrinsics The 1st 4 parameters of the 10 distortion model are the same variables Moving cameras have identical sets of. More...
#include <calibration_job.hpp>
Public Member Functions | |
bool | addMovingCamera (boost::shared_ptr< Camera > camera_to_add, int scene_id) |
adds a moving camera to job's list of cameras | |
bool | addMovingCamera (boost::shared_ptr< Camera > camera_to_add, int scene_id) |
adds a moving camera to job's list of cameras | |
bool | addMovingTarget (boost::shared_ptr< Target > target_to_add, int scene_id) |
adds a static target to job's list of static targets | |
bool | addMovingTarget (boost::shared_ptr< Target > target_to_add, int scene_id) |
adds a static target to job's list of static targets | |
bool | addStaticCamera (boost::shared_ptr< Camera > camera_to_add) |
adds a static camera to job's list of cameras | |
bool | addStaticCamera (boost::shared_ptr< Camera > camera_to_add) |
adds a static camera to job's list of cameras | |
bool | addStaticTarget (boost::shared_ptr< Target > target_to_add) |
adds a static target to job's list of static targets | |
bool | addStaticTarget (boost::shared_ptr< Target > target_to_add) |
adds a static target to job's list of static targets | |
CeresBlocks () | |
Constructor. | |
CeresBlocks () | |
Constructor. | |
void | clearCamerasTargets () |
clear all static and moving cameras and targets | |
void | clearCamerasTargets () |
clear all static and moving cameras and targets | |
const boost::shared_ptr< Camera > | getCameraByName (const std::string &camera_name) |
grabs a camera from the camera list given the camera name | |
P_BLOCK | getMovingCameraParameterBlockExtrinsics (std::string camera_name, int scene_id) |
gets a pointer to the extrisic parameters of a moving camera | |
P_BLOCK | getMovingCameraParameterBlockExtrinsics (std::string camera_name, int scene_id) |
gets a pointer to the extrisic parameters of a moving camera | |
P_BLOCK | getMovingCameraParameterBlockIntrinsics (std::string camera_name) |
gets a pointer to the intrinsic parameters of a moving camera | |
P_BLOCK | getMovingCameraParameterBlockIntrinsics (std::string camera_name) |
gets a pointer to the intrinsic parameters of a moving camera | |
P_BLOCK | getMovingTargetPointParameterBlock (std::string target_name, int pnt_id) |
gets a pointer to the point's position parameters | |
P_BLOCK | getMovingTargetPointParameterBlock (std::string target_name, int pnt_id) |
gets a pointer to the point's position parameters | |
P_BLOCK | getMovingTargetPoseParameterBlock (std::string target_name, int scene_id) |
gets a pointer to the targets pose parameters | |
P_BLOCK | getMovingTargetPoseParameterBlock (std::string target_name, int scene_id) |
gets a pointer to the targets pose parameters | |
P_BLOCK | getStaticCameraParameterBlockExtrinsics (std::string camera_name) |
gets a pointer to the extrinsics parameters of a static camera | |
P_BLOCK | getStaticCameraParameterBlockExtrinsics (std::string camera_name) |
gets a pointer to the extrinsics parameters of a static camera | |
P_BLOCK | getStaticCameraParameterBlockIntrinsics (std::string camera_name) |
P_BLOCK | getStaticCameraParameterBlockIntrinsics (std::string camera_name) |
gets a pointer to the intrinsic parameters of a static camera | |
P_BLOCK | getStaticTargetPointParameterBlock (std::string target_name, int point_id) |
gets a pointer to the position parameters of a static target's point | |
P_BLOCK | getStaticTargetPointParameterBlock (std::string target_name, int point_id) |
gets a pointer to the position parameters of a static target's point | |
P_BLOCK | getStaticTargetPoseParameterBlock (std::string target_name) |
gets a pointer to the pose parameters of a static target | |
P_BLOCK | getStaticTargetPoseParameterBlock (std::string target_name) |
gets a pointer to the pose parameters of a static target | |
const boost::shared_ptr< Target > | getTargetByName (const std::string &target_name) |
grabs a target from the target list given the target name | |
~CeresBlocks () | |
Destructor. | |
~CeresBlocks () | |
Destructor. | |
Public Attributes | |
std::vector< boost::shared_ptr < MovingCamera > > | moving_cameras_ |
std::vector< boost::shared_ptr < MovingTarget > > | moving_targets_ |
std::vector< boost::shared_ptr < Camera > > | static_cameras_ |
std::vector< boost::shared_ptr < Target > > | static_targets_ |
These blocks of data hold the ceres parameters upon which the optimizaition proceeds Static cameras have a block of parameters for their 6Dof Pose they have a block of 4 parameters for pinhole projection model intrinsics they have a block of 10 parameters for their distortion projection intrinsics The 1st 4 parameters of the 10 distortion model are the same variables Moving cameras have identical sets of.
Definition at line 224 of file calibration_job.hpp.
Constructor.
Definition at line 85 of file calibration_job.cpp.
Destructor.
Definition at line 88 of file calibration_job.cpp.
Constructor.
Destructor.
bool industrial_extrinsic_cal::CeresBlocks::addMovingCamera | ( | boost::shared_ptr< Camera > | camera_to_add, |
int | scene_id | ||
) |
adds a moving camera to job's list of cameras
camera_to_add | this is the camera added to the list |
scene_id | the scene's id, only one camera of given name exist in each scene |
bool industrial_extrinsic_cal::CeresBlocks::addMovingCamera | ( | boost::shared_ptr< Camera > | camera_to_add, |
int | scene_id | ||
) |
adds a moving camera to job's list of cameras
camera_to_add | this is the camera added to the list |
scene_id | the scene's id, only one camera of given name existe in each scene |
bool industrial_extrinsic_cal::CeresBlocks::addMovingTarget | ( | boost::shared_ptr< Target > | target_to_add, |
int | scene_id | ||
) |
adds a static target to job's list of static targets
target_to_add | this is the target added to the list |
scene_id | the scene's id, only one target of given name exist in each scene |
bool industrial_extrinsic_cal::CeresBlocks::addMovingTarget | ( | boost::shared_ptr< Target > | target_to_add, |
int | scene_id | ||
) |
adds a static target to job's list of static targets
target_to_add | this is the target added to the list |
scene_id | the scene's id, only one target of given name exist in each scene |
bool industrial_extrinsic_cal::CeresBlocks::addStaticCamera | ( | boost::shared_ptr< Camera > | camera_to_add | ) |
adds a static camera to job's list of cameras
camera_to_add | this is the camera added to the list |
bool industrial_extrinsic_cal::CeresBlocks::addStaticCamera | ( | boost::shared_ptr< Camera > | camera_to_add | ) |
adds a static camera to job's list of cameras
camera_to_add | this is the camera added to the list |
bool industrial_extrinsic_cal::CeresBlocks::addStaticTarget | ( | boost::shared_ptr< Target > | target_to_add | ) |
adds a static target to job's list of static targets
target_to_add | this is the target added to the list |
bool industrial_extrinsic_cal::CeresBlocks::addStaticTarget | ( | boost::shared_ptr< Target > | target_to_add | ) |
adds a static target to job's list of static targets
target_to_add | this is the target added to the list |
clear all static and moving cameras and targets
clear all static and moving cameras and targets
Definition at line 92 of file calibration_job.cpp.
const boost::shared_ptr< Camera > industrial_extrinsic_cal::CeresBlocks::getCameraByName | ( | const std::string & | camera_name | ) |
grabs a camera from the camera list given the camera name
camera_name | is the name of the camera |
camera | this is the camera from the list, either moving or static |
Definition at line 206 of file ceres_blocks.cpp.
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getMovingCameraParameterBlockExtrinsics | ( | std::string | camera_name, |
int | scene_id | ||
) |
gets a pointer to the extrisic parameters of a moving camera
camera_name | the camera's name |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getMovingCameraParameterBlockExtrinsics | ( | std::string | camera_name, |
int | scene_id | ||
) |
gets a pointer to the extrisic parameters of a moving camera
camera_name | the camera's name |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getMovingCameraParameterBlockIntrinsics | ( | std::string | camera_name | ) |
gets a pointer to the intrinsic parameters of a moving camera
camera_name | the camera's name |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getMovingCameraParameterBlockIntrinsics | ( | std::string | camera_name | ) |
gets a pointer to the intrinsic parameters of a moving camera
camera_name | the camera's name |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getMovingTargetPointParameterBlock | ( | std::string | target_name, |
int | pnt_id | ||
) |
gets a pointer to the point's position parameters
target_name | moving target's name |
point_id | id of point on target |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getMovingTargetPointParameterBlock | ( | std::string | target_name, |
int | pnt_id | ||
) |
gets a pointer to the point's position parameters
target_name | moving target's name |
point_id | id of point on target |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getMovingTargetPoseParameterBlock | ( | std::string | target_name, |
int | scene_id | ||
) |
gets a pointer to the targets pose parameters
target_name | moving target's name |
point_id | id of point on target |
scene_id | id of scene where target was imaged |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getMovingTargetPoseParameterBlock | ( | std::string | target_name, |
int | scene_id | ||
) |
gets a pointer to the targets pose parameters
target_name | moving target's name |
point_id | id of point on target |
scene_id | id of scene where target was imaged |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getStaticCameraParameterBlockExtrinsics | ( | std::string | camera_name | ) |
gets a pointer to the extrinsics parameters of a static camera
camera_name | the camera's name |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getStaticCameraParameterBlockExtrinsics | ( | std::string | camera_name | ) |
gets a pointer to the extrinsics parameters of a static camera
camera_name | the camera's name |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getStaticCameraParameterBlockIntrinsics | ( | std::string | camera_name | ) |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getStaticCameraParameterBlockIntrinsics | ( | std::string | camera_name | ) |
gets a pointer to the intrinsic parameters of a static camera
camera_name | the camera's name |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getStaticTargetPointParameterBlock | ( | std::string | target_name, |
int | point_id | ||
) |
gets a pointer to the position parameters of a static target's point
target_name | the target's name |
point_id | id of point on target |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getStaticTargetPointParameterBlock | ( | std::string | target_name, |
int | point_id | ||
) |
gets a pointer to the position parameters of a static target's point
target_name | the target's name |
point_id | id of point on target |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getStaticTargetPoseParameterBlock | ( | std::string | target_name | ) |
gets a pointer to the pose parameters of a static target
target_name | the target's name |
P_BLOCK industrial_extrinsic_cal::CeresBlocks::getStaticTargetPoseParameterBlock | ( | std::string | target_name | ) |
gets a pointer to the pose parameters of a static target
target_name | the target's name |
const boost::shared_ptr< Target > industrial_extrinsic_cal::CeresBlocks::getTargetByName | ( | const std::string & | target_name | ) |
grabs a target from the target list given the target name
target_name | is the name of the target |
target | is the target from the list, either moving or static |
Definition at line 235 of file ceres_blocks.cpp.
std::vector< boost::shared_ptr< MovingCamera > > industrial_extrinsic_cal::CeresBlocks::moving_cameras_ |
Definition at line 330 of file calibration_job.hpp.
std::vector< boost::shared_ptr< MovingTarget > > industrial_extrinsic_cal::CeresBlocks::moving_targets_ |
Definition at line 332 of file calibration_job.hpp.
std::vector< boost::shared_ptr< Camera > > industrial_extrinsic_cal::CeresBlocks::static_cameras_ |
all non-moving cameras in job
Definition at line 329 of file calibration_job.hpp.
std::vector< boost::shared_ptr< Target > > industrial_extrinsic_cal::CeresBlocks::static_targets_ |
only one camera of a given name per scene all non-moving targets in job
Definition at line 331 of file calibration_job.hpp.