/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/common/src/ |
H A D | projection_matrix.cpp | 44 Eigen::Matrix3f& camera_matrix) in getCameraMatrixFromProjectionMatrix() argument 53 camera_matrix.coeffRef (8) = 1.0; in getCameraMatrixFromProjectionMatrix() 55 if (camera_matrix.Flags & Eigen::RowMajorBit) in getCameraMatrixFromProjectionMatrix() 57 camera_matrix.coeffRef (2) = cam.coeff (2); in getCameraMatrixFromProjectionMatrix() 58 camera_matrix.coeffRef (5) = cam.coeff (5); in getCameraMatrixFromProjectionMatrix() 60 …camera_matrix.coeffRef (1) = (cam.coeff (1) - cam.coeff (2) * cam.coeff (5)) / camera_matrix.coeff… in getCameraMatrixFromProjectionMatrix() 61 …camera_matrix.coeffRef (0) = static_cast<float> (::sqrt (cam.coeff (0) - camera_matrix.coeff (1) *… in getCameraMatrixFromProjectionMatrix() 65 camera_matrix.coeffRef (6) = cam.coeff (2); in getCameraMatrixFromProjectionMatrix() 66 camera_matrix.coeffRef (7) = cam.coeff (5); in getCameraMatrixFromProjectionMatrix() 68 …camera_matrix.coeffRef (3) = (cam.coeff (1) - cam.coeff (2) * cam.coeff (5)) / camera_matrix.coeff… in getCameraMatrixFromProjectionMatrix() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/tests/ |
H A D | test_voxel_world_update.cxx | 46 camera_matrix.put(0,0,1); in test_voxel_world_update() 47 camera_matrix.put(0,1,0); in test_voxel_world_update() 48 camera_matrix.put(0,2,0); in test_voxel_world_update() 49 camera_matrix.put(0,3,1); in test_voxel_world_update() 50 camera_matrix.put(1,0,0); in test_voxel_world_update() 51 camera_matrix.put(1,1,1); in test_voxel_world_update() 52 camera_matrix.put(1,2,0); in test_voxel_world_update() 53 camera_matrix.put(1,3,1); in test_voxel_world_update() 54 camera_matrix.put(2,0,0); in test_voxel_world_update() 55 camera_matrix.put(2,1,0); in test_voxel_world_update() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/calib3d/src/ |
H A D | calib3d_c_api.h | 123 void cvGetOptimalNewCameraMatrix( const CvMat* camera_matrix, 176 const CvMat* translation_vector, const CvMat* camera_matrix, 187 const CvMat* camera_matrix, 198 CvMat* camera_matrix, 246 CvMat* camera_matrix, 261 CvMat* camera_matrix, 272 void cvCalibrationMatrixValues( const CvMat *camera_matrix, 390 const CvMat* camera_matrix, 397 void cvInitUndistortMap( const CvMat* camera_matrix, 404 void cvInitUndistortRectifyMap( const CvMat* camera_matrix, [all …]
|
/dports/graphics/opencv/opencv-4.5.3/samples/python/ |
H A D | camera_calibration_show_extrinsics.py | 33 def create_camera_model(camera_matrix, width, height, scale_focal, draw_frame_axis=False): argument 34 fx = camera_matrix[0,0] 35 fy = camera_matrix[1,1] 119 def draw_camera_boards(ax, camera_matrix, cam_width, cam_height, scale_focal, argument 130 X_moving = create_camera_model(camera_matrix, cam_width, cam_height, scale_focal) 133 X_static = create_camera_model(camera_matrix, cam_width, cam_height, scale_focal, True) 183 camera_matrix = fs.getNode('camera_matrix').mat() 196 min_values, max_values = draw_camera_boards(ax, camera_matrix, cam_width, cam_height,
|
H A D | calibrate.py | 100 …rms, camera_matrix, dist_coefs, _rvecs, _tvecs = cv.calibrateCamera(obj_points, img_points, (w, h)… 103 print("camera matrix:\n", camera_matrix) 118 … newcameramtx, roi = cv.getOptimalNewCameraMatrix(camera_matrix, dist_coefs, (w, h), 1, (w, h)) 120 dst = cv.undistort(img, camera_matrix, dist_coefs, None, newcameramtx)
|
/dports/misc/vxl/vxl-3.3.2/core/vpgl/ |
H A D | vpgl_affine_camera.h | 36 vpgl_affine_camera( const vnl_matrix_fixed<T,2,4>& camera_matrix ) { in vpgl_affine_camera() argument 37 *this = vpgl_affine_camera(camera_matrix.get_row(0), camera_matrix.get_row(1)); in vpgl_affine_camera() 42 vpgl_affine_camera( const vnl_matrix_fixed<T,3,4>& camera_matrix );
|
H A D | vpgl_proj_camera.hxx | 34 vpgl_proj_camera<T>::vpgl_proj_camera( const vnl_matrix_fixed<T,3,4>& camera_matrix ) : in vpgl_proj_camera() argument 35 P_( camera_matrix ), in vpgl_proj_camera() 42 vpgl_proj_camera<T>::vpgl_proj_camera( const T* camera_matrix ) : in vpgl_proj_camera() argument 43 P_( camera_matrix ), in vpgl_proj_camera()
|
H A D | vpgl_proj_camera.h | 78 vpgl_proj_camera( const vnl_matrix_fixed<T,3,4>& camera_matrix ); 81 vpgl_proj_camera( const T* camera_matrix );
|
H A D | vpgl_perspective_camera.hxx | 269 bool vpgl_perspective_decomposition( const vnl_matrix_fixed<T,3,4>& camera_matrix, in vpgl_perspective_decomposition() argument 273 vnl_matrix_fixed<T,3,3> H = camera_matrix.extract(3,3); in vpgl_perspective_decomposition() 274 vnl_vector_fixed<T,3> t = camera_matrix.get_column(3); in vpgl_perspective_decomposition() 619 template bool vpgl_perspective_decomposition(const vnl_matrix_fixed<T,3,4>& camera_matrix, \
|
H A D | vpgl_affine_camera.hxx | 44 vpgl_affine_camera<T>::vpgl_affine_camera( const vnl_matrix_fixed<T,3,4>& camera_matrix ) in vpgl_affine_camera() argument 46 set_matrix( camera_matrix ); in vpgl_affine_camera()
|
H A D | vpgl_perspective_camera.h | 200 bool vpgl_perspective_decomposition( const vnl_matrix_fixed<T,3,4>& camera_matrix,
|
/dports/misc/visp/visp-3.4.0/example/calibration/ |
H A D | camera_calibration_show_extrinsics.py | 99 def create_camera_model(camera_matrix, width, height, scale_focal, draw_frame_axis=False): argument 100 fx = camera_matrix[0,0] 101 fy = camera_matrix[1,1] 184 def draw_camera_boards(ax, camera_matrix, cam_width, cam_height, scale_focal, argument 195 X_moving = create_camera_model(camera_matrix, cam_width, cam_height, scale_focal) 198 X_static = create_camera_model(camera_matrix, cam_width, cam_height, scale_focal, True)
|
/dports/graphics/opencv/opencv-4.5.3/modules/calib3d/misc/python/test/ |
H A D | test_calibration.py | 53 …rms, camera_matrix, dist_coefs, _rvecs, _tvecs = cv.calibrateCamera(obj_points, img_points, (w, h)… 67 self.assertLess(cv.norm(camera_matrix - cameraMatrixTest, cv.NORM_L1), normCamEps)
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/common/include/pcl/common/ |
H A D | projection_matrix.h | 73 … Eigen::Matrix<float, 3, 4, Eigen::RowMajor>& projection_matrix, Eigen::Matrix3f& camera_matrix);
|
/dports/astro/siril/siril/src/opencv/findHomography/ |
H A D | calib3d.hpp | 128 CVAPI(void) cvGetOptimalNewCameraMatrix( const CvMat* camera_matrix, 179 const CvMat* translation_vector, const CvMat* camera_matrix, 190 const CvMat* camera_matrix, 201 CvMat* camera_matrix, 247 CvMat* camera_matrix, 257 CVAPI(void) cvCalibrationMatrixValues( const CvMat *camera_matrix,
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/sandbox/share/ |
H A D | mitsuba2appleseed.py | 214 camera_matrix = None 226 camera_matrix = get_matrix(child.find("matrix")) 233 if camera_matrix is not None: 235 camera_matrix = camera_matrix * roty 236 camera.transform_sequence().set_transform(0.0, asr.Transformd(camera_matrix))
|
/dports/graphics/opencv/opencv-4.5.3/samples/data/ |
H A D | left_intrinsics.yml | 11 camera_matrix: !!opencv-matrix
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/ |
H A D | bvxm_util.cxx | 204 vnl_matrix_fixed<double,3,4> camera_matrix = persp_camera->get_matrix(); in downsample_persp_camera() local 213 vnl_matrix_fixed<double,3,4> new_camera_matrix = scale_matrix*camera_matrix; in downsample_persp_camera()
|
/dports/devel/godot/godot-3.2.3-stable/servers/visual/ |
H A D | visual_server_scene.cpp | 1397 CameraMatrix camera_matrix; in _light_instance_update_shadow() local 1721 CameraMatrix camera_matrix; in render_camera() local 1727 camera_matrix.set_orthogonal( in render_camera() 1737 camera_matrix.set_perspective( in render_camera() 1748 camera_matrix.set_frustum( in render_camera() 1796 float z_near = camera_matrix.get_z_near(); // get our near plane in render_camera() 1797 float z_far = camera_matrix.get_z_far(); // get our far plane in render_camera() 1798 float width = (2.0 * z_near) / camera_matrix.matrix[0][0]; in render_camera() 1799 float x_shift = width * camera_matrix.matrix[2][0]; in render_camera() 1800 float height = (2.0 * z_near) / camera_matrix.matrix[1][1]; in render_camera() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/servers/visual/ |
H A D | visual_server_scene.cpp | 1397 CameraMatrix camera_matrix; in _light_instance_update_shadow() local 1721 CameraMatrix camera_matrix; in render_camera() local 1727 camera_matrix.set_orthogonal( in render_camera() 1737 camera_matrix.set_perspective( in render_camera() 1748 camera_matrix.set_frustum( in render_camera() 1796 float z_near = camera_matrix.get_z_near(); // get our near plane in render_camera() 1797 float z_far = camera_matrix.get_z_far(); // get our far plane in render_camera() 1798 float width = (2.0 * z_near) / camera_matrix.matrix[0][0]; in render_camera() 1799 float x_shift = width * camera_matrix.matrix[2][0]; in render_camera() 1800 float height = (2.0 * z_near) / camera_matrix.matrix[1][1]; in render_camera() [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/search/include/pcl/search/impl/ |
H A D | organized.hpp | 326 pcl::search::OrganizedNeighbor<PointT>::computeCameraMatrix (Eigen::Matrix3f& camera_matrix) const in computeCameraMatrix() 328 pcl::getCameraMatrixFromProjectionMatrix (projection_matrix_, camera_matrix); in computeCameraMatrix()
|
/dports/graphics/magnum-examples/magnum-examples-2019.10/src/python/ |
H A D | magnum-primitives-scenegraph.py | 48 camera.camera_matrix.transform_point((7.0, 5.0, 2.5))
|
H A D | magnum-viewer.py | 50 camera.camera_matrix.transform_point((-3.0, 10.0, 10.0))
|
/dports/graphics/opencv/opencv-4.5.3/doc/tutorials/calib3d/camera_calibration_square_chess/ |
H A D | camera_calibration_square_chess.markdown | 50 fs["camera_matrix"] >> intrinsics;
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/search/include/pcl/search/ |
H A D | organized.h | 118 computeCameraMatrix (Eigen::Matrix3f& camera_matrix) const;
|