/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bstm/ocl/ |
H A D | bstm_ocl_util.cxx | 48 persp_cam[cnt++]=(cl_float)Ut(i,j); in set_persp_camera() 50 persp_cam[cnt++]=0; in set_persp_camera() 56 persp_cam[cnt++]=(cl_float)V(i,j); in set_persp_camera() 60 persp_cam[cnt++]=(cl_float)Winv(i); in set_persp_camera() 64 persp_cam[cnt++]=(cl_float)cam_center.x(); in set_persp_camera() 65 persp_cam[cnt++]=(cl_float)cam_center.y(); in set_persp_camera() 66 persp_cam[cnt++]=(cl_float)cam_center.z(); in set_persp_camera() 67 persp_cam[cnt++]=(cl_float) 0.0f; in set_persp_camera() 71 persp_cam[cnt++] = K.x_scale()*K.focal_length(); in set_persp_camera() 73 persp_cam[cnt++] = K.principal_point().x(); in set_persp_camera() [all …]
|
H A D | bstm_ocl_util.h | 16 static void set_ocl_camera(vpgl_camera_double_sptr& cam, cl_float* persp_cam); 17 static void set_persp_camera(vpgl_perspective_camera<double> * pcam, cl_float* persp_cam);
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/ |
H A D | boxm2_ocl_util.cxx | 126 persp_cam[cnt++]=(cl_float)Ut(i,j); in set_persp_camera() 128 persp_cam[cnt++]=0; in set_persp_camera() 134 persp_cam[cnt++]=(cl_float)V(i,j); in set_persp_camera() 138 persp_cam[cnt++]=(cl_float)Winv(i); in set_persp_camera() 142 persp_cam[cnt++]=(cl_float)cam_center.x(); in set_persp_camera() 143 persp_cam[cnt++]=(cl_float)cam_center.y(); in set_persp_camera() 144 persp_cam[cnt++]=(cl_float)cam_center.z(); in set_persp_camera() 145 persp_cam[cnt++]=(cl_float) 0.0f; in set_persp_camera() 149 persp_cam[cnt++] = K.x_scale()*K.focal_length(); in set_persp_camera() 151 persp_cam[cnt++] = K.principal_point().x(); in set_persp_camera() [all …]
|
H A D | boxm2_ocl_util.h | 18 static void set_ocl_camera(vpgl_camera_double_sptr& cam, cl_float* persp_cam); 19 static void set_persp_camera(vpgl_perspective_camera<double> * pcam, cl_float* persp_cam);
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/pro/processes/ |
H A D | bvxm_synth_world_generator.cxx | 156 vpgl_perspective_camera<double> persp_cam; in generate_cameras_z() local 157 generate_persp_camera(focal_length,principal_point, x_scale, y_scale, camera_center, persp_cam); in generate_cameras_z() 158 persp_cam.look_at(vgl_homg_point_3d<double>(centroid)); in generate_cameras_z() 159 …nal_camera<double>* rat_cam = new vpgl_rational_camera<double>(perspective_to_rational(persp_cam)); in generate_cameras_z() 165 persp_cam.project(c.x(), c.y() ,c.z(), u, v); in generate_cameras_z() 207 vpgl_perspective_camera<double> persp_cam; in generate_cameras_yz() local 208 generate_persp_camera(focal_length,principal_point, x_scale, y_scale, camera_center, persp_cam); in generate_cameras_yz() 209 persp_cam.look_at(vgl_homg_point_3d<double>(centroid)); in generate_cameras_yz() 210 persp_cameras.push_back(new vpgl_perspective_camera<double>(persp_cam)); in generate_cameras_yz() 217 cam_out << persp_cam; in generate_cameras_yz() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/brec/pro/tests/ |
H A D | test_brec_update_changes_process.cxx | 113 vpgl_perspective_camera<double> persp_cam; in create_syn_world_camera() local 117 persp_cam.set_calibration(K); in create_syn_world_camera() 118 persp_cam.set_camera_center(camera_center); in create_syn_world_camera() 120 persp_cam.look_at(vgl_homg_point_3d<double>(centroid)); in create_syn_world_camera() 121 …_camera_double_sptr rat_cam = new vpgl_rational_camera<double>(perspective_to_rational(persp_cam)); in create_syn_world_camera() 127 persp_cam.project(c.x(), c.y() ,c.z(), u, v); in create_syn_world_camera()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/algo/ |
H A D | boxm2_ocl_camera_converter.cxx | 112 …bocl_mem * persp_cam=new bocl_mem(device->context(), cam_buffer, 3*sizeof(cl_float16), "persp cam… in convert_persp_to_generic() local 113 persp_cam->create_buffer(CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR); in convert_persp_to_generic() 129 persp_to_generic_kernel->set_arg( persp_cam ); in convert_persp_to_generic() 146 delete persp_cam; in convert_persp_to_generic()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/pro/processes/ |
H A D | boxm2_ocl_update_histogram_process.cxx | 133 …bocl_mem_sptr persp_cam=new bocl_mem(device->context(), cam_buffer, 3*sizeof(cl_float16), "persp c… in boxm2_ocl_update_histogram_process() local 134 persp_cam->create_buffer(CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR); in boxm2_ocl_update_histogram_process() 215 kern->set_arg( persp_cam.ptr() ); in boxm2_ocl_update_histogram_process() 247 kern->set_arg( persp_cam.ptr() ); in boxm2_ocl_update_histogram_process()
|
H A D | boxm2_ocl_probability_of_image_gl_process.cxx | 196 …bocl_mem_sptr persp_cam=new bocl_mem(device->context(), cam_buffer, 3*sizeof(cl_float16), "persp c… in boxm2_ocl_probability_of_image_gl_process() local 197 persp_cam->create_buffer(CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR); in boxm2_ocl_probability_of_image_gl_process() 278 kern->set_arg( persp_cam.ptr() ); in boxm2_ocl_probability_of_image_gl_process()
|
H A D | boxm2_ocl_probability_of_image_process.cxx | 196 …bocl_mem_sptr persp_cam=new bocl_mem(device->context(), cam_buffer, 3*sizeof(cl_float16), "persp c… in boxm2_ocl_probability_of_image_process() local 197 persp_cam->create_buffer(CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR); in boxm2_ocl_probability_of_image_process() 284 kern->set_arg( persp_cam.ptr() ); in boxm2_ocl_probability_of_image_process()
|
H A D | boxm2_ocl_render_expected_z_image_process.cxx | 144 …bocl_mem_sptr persp_cam=new bocl_mem(device->context(), cam_buffer, 3*sizeof(cl_float16), "persp c… in boxm2_ocl_render_expected_z_image_process() 145 persp_cam->create_buffer(CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR); in boxm2_ocl_render_expected_z_image_process()
|
H A D | boxm2_ocl_render_expected_depth_process.cxx | 160 …bocl_mem_sptr persp_cam=new bocl_mem(device->context(), cam_buffer, 3*sizeof(cl_float16), "persp c… in boxm2_ocl_render_expected_depth_process() 161 persp_cam->create_buffer(CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR); in boxm2_ocl_render_expected_depth_process()
|
H A D | boxm2_ocl_render_expected_depth_region_process.cxx | 172 …bocl_mem_sptr persp_cam=new bocl_mem(device->context(), cam_buffer, 3*sizeof(cl_float16), "persp c… in boxm2_ocl_render_expected_depth_region_process() 173 persp_cam->create_buffer(CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR); in boxm2_ocl_render_expected_depth_region_process()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/pyscripts/ |
H A D | vpgl_adaptor.py | 423 def get_view_at_point(persp_cam, x, y, z): argument 425 batch.set_input_from_db(0, persp_cam)
|