Home
last modified time | relevance | path

Searched refs:camera_matrix (Results 1 – 25 of 39) sorted by relevance

12

/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/common/src/
H A Dprojection_matrix.cpp44 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()
60camera_matrix.coeffRef (1) = (cam.coeff (1) - cam.coeff (2) * cam.coeff (5)) / camera_matrix.coeff… in getCameraMatrixFromProjectionMatrix()
61camera_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()
68camera_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 Dtest_voxel_world_update.cxx46 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 Dcalib3d_c_api.h123 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 Dcamera_calibration_show_extrinsics.py33 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 Dcalibrate.py100 …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 Dvpgl_affine_camera.h36 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 Dvpgl_proj_camera.hxx34 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 Dvpgl_proj_camera.h78 vpgl_proj_camera( const vnl_matrix_fixed<T,3,4>& camera_matrix );
81 vpgl_proj_camera( const T* camera_matrix );
H A Dvpgl_perspective_camera.hxx269 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 Dvpgl_affine_camera.hxx44 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 Dvpgl_perspective_camera.h200 bool vpgl_perspective_decomposition( const vnl_matrix_fixed<T,3,4>& camera_matrix,
/dports/misc/visp/visp-3.4.0/example/calibration/
H A Dcamera_calibration_show_extrinsics.py99 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 Dtest_calibration.py53 …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 Dprojection_matrix.h73 … Eigen::Matrix<float, 3, 4, Eigen::RowMajor>& projection_matrix, Eigen::Matrix3f& camera_matrix);
/dports/astro/siril/siril/src/opencv/findHomography/
H A Dcalib3d.hpp128 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 Dmitsuba2appleseed.py214 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 Dleft_intrinsics.yml11 camera_matrix: !!opencv-matrix
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/
H A Dbvxm_util.cxx204 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 Dvisual_server_scene.cpp1397 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 Dvisual_server_scene.cpp1397 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 Dorganized.hpp326 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 Dmagnum-primitives-scenegraph.py48 camera.camera_matrix.transform_point((7.0, 5.0, 2.5))
H A Dmagnum-viewer.py50 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 Dcamera_calibration_square_chess.markdown50 fs["camera_matrix"] >> intrinsics;
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/search/include/pcl/search/
H A Dorganized.h118 computeCameraMatrix (Eigen::Matrix3f& camera_matrix) const;

12