Home
last modified time | relevance | path

Searched refs:cam_path (Results 1 – 25 of 69) sorted by relevance

123

/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bwm/
H A Dbwm_observer_proj_cam.cxx22 read_camera(std::string cam_path, std::string subtype, in read_camera() argument
25 std::string ext = vul_file_extension(cam_path); in read_camera()
32 vsl_b_ifstream bp_in(cam_path.c_str()); in read_camera()
48 bwm_io_kml_camera::read_camera(cam_path, right_fov, top_fov, in read_camera()
62 std::ifstream cam_stream(cam_path.data()); in read_camera()
83 std::ifstream cam_stream(cam_path.data()); in read_camera()
95 std::string& cam_path, in bwm_observer_proj_cam() argument
117 if (subtype!="identity"&&cam_path.size() == 0) in bwm_observer_proj_cam()
122 this->set_camera_path(cam_path); in bwm_observer_proj_cam()
126 camera_ = bwm_observer_proj_cam::read_camera(cam_path,subtype, in bwm_observer_proj_cam()
[all …]
H A Dbwm_tableau_factory.cxx43 cam_tab->img_path, cam_tab->cam_path, cam_tab->cam_type, false); in create_tableau()
45 if (t->name == "") t->name = cam_tab->cam_path; in create_tableau()
52 cam_tab->img_path, cam_tab->cam_path, false); in create_tableau()
54 if (t->name == "") t->name = cam_tab->cam_path; in create_tableau()
61 … cam_tab->img_path, cam_tab->cam_path, cam_tab->cam_type, false); in create_tableau()
63 if (t->name == "") t->name = cam_tab->cam_path; in create_tableau()
71 cam_tab->img_path, cam_tab->cam_path, cam_tab->cam_type, false); in create_tableau()
73 if (t->name == "") t->name = cam_tab->cam_path; in create_tableau()
H A Dbwm_observer_generic_cam.cxx23 std::string& cam_path, in bwm_observer_generic_cam() argument
44 if (cam_path.size() == 0) in bwm_observer_generic_cam()
49 this->set_camera_path(cam_path); in bwm_observer_generic_cam()
52 bwm_observer_proj_cam::read_camera(cam_path, "perspective", ni, nj); in bwm_observer_generic_cam()
54 cam = bwm_observer_proj_cam::read_camera(cam_path, "projective", ni, nj); in bwm_observer_generic_cam()
56 cam = bwm_observer_rat_cam::read_camera(cam_path, local); in bwm_observer_generic_cam()
67 name = cam_path; in bwm_observer_generic_cam()
H A Dbwm_observer_proj_cam.h23 std::string& cam_path,
36 void set_camera(vpgl_proj_camera<double> *camera, std::string cam_path) in set_camera() argument
37 { bwm_observer_cam::set_camera(camera, cam_path);} in set_camera()
51 read_camera(std::string cam_path, std::string subtype, unsigned ni = 0,
H A Dbwm_tableau_proj_cam.cxx27 std::string cam_path = my_observer_->camera_path(); in save_camera() local
32 std::string new_cam_path = vul_file::strip_extension(cam_path); in save_camera()
40 new_cam_path += "_v" + str + vul_file::extension(cam_path); in save_camera()
62 return cam_path; in save_camera()
H A Dbwm_observer_rat_cam.h31 std::string& cam_path,
44 void set_camera(vpgl_rational_camera<double> *camera, std::string cam_path) in set_camera() argument
45 { camera_ = camera; bwm_observer_cam::set_camera(camera, cam_path);} in set_camera()
49 static vpgl_camera<double>* read_camera(std::string cam_path,
H A Dbwm_tableau_rat_cam.cxx72 std::string cam_path = my_observer_->camera_path(); in save_camera() local
77 std::string new_cam_path = vul_file::strip_extension(cam_path); in save_camera()
85 new_cam_path += "_v" + str + vul_file::extension(cam_path); in save_camera()
96 return cam_path; in save_camera()
H A Dbwm_observer_generic_cam.h27 std::string& cam_path,
39 void set_camera(vpgl_generic_camera<double> *camera, std::string cam_path) in set_camera() argument
40 { bwm_observer_cam::set_camera(camera, cam_path);} in set_camera()
H A Dbwm_observer_cam.h42 …observer_cam(bgui_image_tableau_sptr const& img, vpgl_camera<double> *camera, std::string cam_path) in bwm_observer_cam() argument
44 camera_(camera), cam_path_(cam_path), cam_adjusted_(false), in bwm_observer_cam()
62 void set_camera_path(std::string const& cam_path) { cam_path_=cam_path; } in set_camera_path() argument
68 void set_camera(vpgl_camera<double> *camera, std::string cam_path) in set_camera() argument
69 { camera_ = camera; cam_path_ = cam_path; cam_adjusted_ = false; } in set_camera()
H A Dbwm_tableau_generic_cam.cxx27 std::string cam_path = my_observer_->camera_path(); in save_camera() local
28 return cam_path; in save_camera()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/vpgl_pro/processes/
H A Dvpgl_correct_rational_cameras_multi_corr_process.cxx72 std::string cam_path; in vpgl_correct_rational_cameras_mult_corr_process() local
73 ifs >> cam_path; in vpgl_correct_rational_cameras_mult_corr_process()
74 if (cam_path.size() < 2) continue; in vpgl_correct_rational_cameras_mult_corr_process()
75 std::cout << "reading cam: " << cam_path << std::endl; in vpgl_correct_rational_cameras_mult_corr_process()
76 std::string img_name = vul_file::strip_directory(cam_path); in vpgl_correct_rational_cameras_mult_corr_process()
80 vpgl_rational_camera<double> *ratcam = read_rational_camera<double>(cam_path); in vpgl_correct_rational_cameras_mult_corr_process()
175 std::string cam_path; in vpgl_correct_rational_cameras_mult_corr_refine_process() local
176 ifs >> cam_path; in vpgl_correct_rational_cameras_mult_corr_refine_process()
177 if (cam_path.size() < 2) continue; in vpgl_correct_rational_cameras_mult_corr_refine_process()
178 std::cout << "reading cam: " << cam_path << std::endl; in vpgl_correct_rational_cameras_mult_corr_refine_process()
[all …]
H A Dvpgl_correct_rational_cameras_process.cxx71 std::string cam_path, orig_cam_path; in vpgl_correct_rational_cameras_process() local
72 line >> cam_path; in vpgl_correct_rational_cameras_process()
73 if (cam_path.size() < 2) continue; in vpgl_correct_rational_cameras_process()
77 std::cout << "reading cam: " << cam_path << '\n' in vpgl_correct_rational_cameras_process()
79 std::string img_name = vul_file::strip_directory(cam_path); in vpgl_correct_rational_cameras_process()
85 vpgl_local_rational_camera<double> *ratcam = read_local_rational_camera<double>(cam_path); in vpgl_correct_rational_cameras_process()
88 vpgl_rational_camera<double> *ratcam2 = read_rational_camera<double>(cam_path); in vpgl_correct_rational_cameras_process()
90 std::cerr << "Failed to load rational camera from file" << cam_path << '\n'; in vpgl_correct_rational_cameras_process()
97 vpgl_rational_camera<double> *ratcam2 = read_rational_camera<double>(cam_path); in vpgl_correct_rational_cameras_process()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bwm/io/
H A Dbwm_io_structs.h81 cam_path(c_path), cam_type(c_type) {} in bwm_io_tab_config()
84 : bwm_io_tab_config(t), img_path(t.img_path), cam_path(t.cam_path), cam_type(t.cam_type) {} in bwm_io_tab_config_cam()
86 …bwm_io_tab_config_cam* clone() {return new bwm_io_tab_config_cam(name, status, img_path, cam_path,… in clone()
88 std::string cam_path; member
110 : bwm_io_tab_config(COIN3D_TABLEAU_TAG, name, status), cam_path(c_path), cam_type(c_type) {} in bwm_io_tab_config_coin3d()
112 …bwm_io_tab_config_coin3d* clone() {return new bwm_io_tab_config_coin3d(name, status, cam_path, cam… in clone()
113 std::string cam_path; member
121 : bwm_io_tab_config(PROJ2D_TABLEAU_TAG, name, status), cam_path(c_path), in bwm_io_tab_config_proj2d()
124 …lone() { return new bwm_io_tab_config_proj2d(name, status, proj2d_type, cam_path, cam_type, coin3d… in clone()
125 std::string cam_path; member
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/vecf/ocl/tests/
H A Dtest_transform.cxx66 std::string cam_path = base_dir_path + "putin_small_cam.txt"; in test_transform()
68 std::ifstream ist(cam_path.c_str()); in test_transform()
83 std::string cam_path = base_dir_path + "putin_small_cam.txt"; in test_transform()
84 std::ifstream ist(cam_path.c_str()); in test_transform()
99 std::string cam_path = base_dir_path + "putin_small_cam.txt"; in test_transform()
100 std::ifstream ist(cam_path.c_str()); in test_transform()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bwm/exe/
H A Dbwm_3d_fixed_transform.cxx76 std::string cam_path = ""; in main() local
91 if (cam_path.compare("") != 0) { in main()
92 if (cam_path.compare(cp.camera_path()) != 0) { in main()
97 cam_path = cp.camera_path(); in main()
125 std::cout << "cam_path from site files: " << cam_path << std::endl; in main()
129 bwm_video_cam_istream_sptr cstr = new bwm_video_cam_istream(cam_path); in main()
H A Dbwm_compute_orientation_variance.cxx73 std::string cam_path = ""; in main() local
88 if (cam_path.compare("") != 0) { in main()
89 if (cam_path.compare(cp.camera_path()) != 0) { in main()
94 cam_path = cp.camera_path(); in main()
100 std::cout << "cam_path from site files: " << cam_path << std::endl; in main()
104 bwm_video_cam_istream_sptr cstr = new bwm_video_cam_istream(cam_path); in main()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/icam_pro/processes/
H A Dicam_create_view_sphere_process.cxx99 std::stringstream cam_path; in icam_create_view_sphere_process() local
100 cam_path << "camera" << uid << ".txt"; in icam_create_view_sphere_process()
101 std::ofstream ofs(cam_path.str().c_str()); in icam_create_view_sphere_process()
109 file << uid << ' ' << cam_path.str() << std::endl; in icam_create_view_sphere_process()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bpgl/
H A Dbpgl_segmented_rolling_shutter_camera.hxx121 bool bpgl_segmented_rolling_shutter_camera<T>::save(std::string cam_path) in save() argument
124 file_out.open(cam_path.c_str()); in save()
126 std::cerr << "error: bad filename: " << cam_path << std::endl; in save()
152 …gl_segmented_rolling_shutter_camera<T>* read_segmented_rolling_shutter_camera(std::string cam_path) in read_segmented_rolling_shutter_camera() argument
H A Dbpgl_comp_rational_camera.hxx73 bpgl_comp_rational_camera<T>::bpgl_comp_rational_camera(std::string cam_path) in bpgl_comp_rational_camera() argument
75 vpgl_rational_camera<T> *rcam = read_rational_camera<T >(cam_path); in bpgl_comp_rational_camera()
78 file_inp.open(cam_path.c_str()); in bpgl_comp_rational_camera()
80 std::cout << "error: bad filename: " << cam_path << std::endl; in bpgl_comp_rational_camera()
261 bool bpgl_comp_rational_camera<T>::save(std::string cam_path) in save() argument
264 file_out.open(cam_path.c_str()); in save()
266 std::cerr << "error: bad filename: " << cam_path << std::endl; in save()
/dports/misc/vxl/vxl-3.3.2/core/vpgl/
H A Dvpgl_rational_camera.hxx434 std::string cam_path, in save() argument
440 file_out.open(cam_path.c_str()); in save()
442 std::cerr << "error: bad filename: " << cam_path << std::endl; in save()
460 bool vpgl_rational_camera<T>::read_pvl(std::string cam_path) in read_pvl() argument
464 file_inp.open(cam_path.c_str()); in read_pvl()
466 std::cout << "error: bad filename: " << cam_path << std::endl; in read_pvl()
648 bool vpgl_rational_camera<T>::read_txt(std::string cam_path) in read_txt() argument
652 file_inp.open(cam_path.c_str()); in read_txt()
654 std::cout << "error: bad filename: " << cam_path << std::endl; in read_txt()
845 if (!cam.read_pvl(cam_path)) in read_rational_camera()
[all …]
H A Dvpgl_local_rational_camera.hxx195 vpgl_local_rational_camera<T>* read_local_rational_camera(std::string cam_path) in read_local_rational_camera() argument
198 if (!cam.read_pvl(cam_path)) in read_local_rational_camera()
216 vpgl_local_rational_camera<T>* read_local_rational_camera_from_txt(std::string cam_path) in read_local_rational_camera_from_txt() argument
219 if (!cam.read_txt(cam_path)) in read_local_rational_camera_from_txt()
H A Dvpgl_rational_camera.h360 std::string cam_path,
370 bool read_pvl(std::string cam_path);
374 bool read_txt(std::string cam_path);
399 vpgl_rational_camera<T>* read_rational_camera(std::string cam_path);
409 vpgl_rational_camera<T>* read_rational_camera_from_txt(std::string cam_path);
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/pro/processes/
H A Dboxm2_create_camera_position_from_kml.cxx59 std::string cam_path = pro.get_input<std::string>(i++); in boxm2_create_camera_from_kml_path_process() local
66 std::FILE* kmlFile = std::fopen(cam_path.c_str(), "r"); in boxm2_create_camera_from_kml_path_process()
68 std::cerr << cam_path.c_str() << " error on opening the input kml file\n"; in boxm2_create_camera_from_kml_path_process()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/betr/pro/processes/
H A Dbetr_set_event_trigger_data_multi_ref_process.cxx87 std::string cam_path = (ref_cam_paths->data_array)[i]; in betr_set_event_trigger_data_multi_ref_process() local
88 vpgl_rational_camera<double>* rcam_ptr = read_rational_camera_from_txt<double>(cam_path); in betr_set_event_trigger_data_multi_ref_process()
90 std::cout << "can't read reference camera from txt file " << cam_path << std::endl; in betr_set_event_trigger_data_multi_ref_process()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bpgl/tests/
H A Dtest_segmented_rolling_shutter_camera.cxx170 std::string cam_path = "cam_path"; in test_segmented_rolling_shutter_camera()
171 std::ofstream os(cam_path.c_str()); in test_segmented_rolling_shutter_camera()
174 std::ifstream is(cam_path.c_str()); in test_segmented_rolling_shutter_camera()
179 vpl_unlink(cam_path.c_str()); in test_segmented_rolling_shutter_camera()

123