/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/pro/processes/ |
H A D | boxm2_roi_init_geotiff_process.cxx | 71 vpgl_geo_camera* geocam = nullptr; in boxm2_roi_init_geotiff_process() local 74 geocam = dynamic_cast<vpgl_geo_camera*> (cam.ptr()); in boxm2_roi_init_geotiff_process() 78 vpgl_geo_camera::init_geo_camera(img_res, lvcs, geocam); in boxm2_roi_init_geotiff_process() 81 if (!geocam) { in boxm2_roi_init_geotiff_process() 88 geocam->img_four_corners_in_utm(img_res->ni(), img_res->nj(), elev, e1, n1, e2, n2); in boxm2_roi_init_geotiff_process() 97 geocam->project(scene_bbox.min_x(), scene_bbox.min_y(), scene_bbox.min_z(), u, v); in boxm2_roi_init_geotiff_process() 99 geocam->project(scene_bbox.max_x(), scene_bbox.max_y(), scene_bbox.max_z(), u, v); in boxm2_roi_init_geotiff_process() 112 … geocam->local_to_utm(scene_bbox.min_x(), scene_bbox.min_y(), scene_bbox.min_z(), e, n, utm_zone); in boxm2_roi_init_geotiff_process() 114 … geocam->local_to_utm(scene_bbox.max_x(), scene_bbox.max_y(), scene_bbox.max_z(), e, n, utm_zone); in boxm2_roi_init_geotiff_process() 138 geocam->translate(min_i, min_j, 0); in boxm2_roi_init_geotiff_process() [all …]
|
H A D | boxm2_dem_to_xyz_process.cxx | 68 pro.set_input(3, geocam); in boxm2_dem_to_xyz_process_cons() 115 vpgl_geo_camera* geocam = nullptr; in boxm2_dem_to_xyz_process() local 123 if (!geocam) { in boxm2_dem_to_xyz_process() 218 geocam->project(local_x, local_y, scene_bbox.min_z(), u, v); in boxm2_dem_to_xyz_process() 293 vpgl_geo_camera* geocam = nullptr; in boxm2_shadow_heights_to_xyz_process() local 294 vpgl_geo_camera::init_geo_camera(dem_res, lvcs, geocam); in boxm2_shadow_heights_to_xyz_process() 386 pro.set_input(3, geocam); in boxm2_dem_to_xyz_process2_cons() 409 vpgl_geo_camera* geocam = nullptr; in boxm2_dem_to_xyz_process2() local 414 vpgl_geo_camera::init_geo_camera(dem_res, lvcs, geocam); in boxm2_dem_to_xyz_process2() 417 if (!geocam) { in boxm2_dem_to_xyz_process2() [all …]
|
H A D | boxm2_lidar_to_xyz_process.cxx | 368 vpgl_geo_camera* geocam = nullptr; in boxm2_label_to_xyz_process() local 371 geocam = dynamic_cast<vpgl_geo_camera*>(cam.ptr()); in boxm2_label_to_xyz_process() 376 vpgl_geo_camera::init_geo_camera(label_img, lvcs, geocam); in boxm2_label_to_xyz_process() 390 if (!geocam) { in boxm2_label_to_xyz_process() 442 geocam->global_to_img(lon, lat, gz, u, v); in boxm2_label_to_xyz_process() 583 vpgl_geo_camera* geocam = nullptr; in boxm2_label_to_xyz_process2() local 586 geocam = dynamic_cast<vpgl_geo_camera*>(cam.ptr()); in boxm2_label_to_xyz_process2() 591 vpgl_geo_camera::init_geo_camera(label_img, lvcs, geocam); in boxm2_label_to_xyz_process2() 605 if (!geocam) { in boxm2_label_to_xyz_process2() 609 if (!geocam) { in boxm2_label_to_xyz_process2() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/vpgl_pro/processes/ |
H A D | vpgl_geo_camera_processes.cxx | 169 auto* outcam = new vpgl_geo_camera(*geocam); in vpgl_translate_geo_camera_process() 302 if (!geocam) { in vpgl_geo_footprint_process() 308 geocam->img_to_global(0,0,lon,lat); in vpgl_geo_footprint_process() 311 geocam->img_to_global(0,nj,lon,lat); in vpgl_geo_footprint_process() 314 geocam->img_to_global(ni,0,lon,lat); in vpgl_geo_footprint_process() 317 geocam->img_to_global(ni,nj,lon,lat); in vpgl_geo_footprint_process() 369 if (!geocam) { in vpgl_geo_footprint_process2() 378 geocam->img_to_global(ni, 0, ur_lon, ur_lat); in vpgl_geo_footprint_process2() 442 geocam->global_to_img(lon, lat, 0.0, u, v); in vpgl_geo_cam_global_to_img_process() 475 if (!geocam) { in vpgl_geo_cam_img_to_global_process() [all …]
|
H A D | vpgl_find_connected_component_process.cxx | 61 vpgl_geo_camera* geocam = nullptr; in vpgl_find_connected_component_process() local 62 geocam = dynamic_cast<vpgl_geo_camera*> (cam_sptr.ptr()); in vpgl_find_connected_component_process() 63 if (!geocam) { in vpgl_find_connected_component_process() 158 geocam->img_to_global(u, v, lon, lat); in vpgl_find_connected_component_process()
|
H A D | vpgl_crop_img_using_3d_box_process.cxx | 405 auto* geocam = dynamic_cast<vpgl_geo_camera*> (cam.ptr()); in vpgl_crop_ortho_using_3d_box_process() local 424 geocam->global_to_img(box_corner.x(), box_corner.y(), box_corner.z(), u, v); in vpgl_crop_ortho_using_3d_box_process() 462 geocam->img_to_global(i0, j0, lon0, lat0); in vpgl_crop_ortho_using_3d_box_process() 463 geocam->img_to_global(i0+ni-1, j0+nj-1, lonn, latn); in vpgl_crop_ortho_using_3d_box_process() 476 vpgl_geo_camera* camera = new vpgl_geo_camera(trans_matrix, geocam->lvcs()); in vpgl_crop_ortho_using_3d_box_process()
|
H A D | vpgl_rectify_images_process.cxx | 697 auto* geocam = dynamic_cast<vpgl_geo_camera*>(cam.ptr()); in vpgl_construct_disparity_map_process() local 744 geocam->img_to_global(xx, yy, lon, lat); in vpgl_construct_disparity_map_process()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/pro/processes/ |
H A D | bvxm_dem_to_xyz_process.cxx | 61 vpgl_geo_camera* geocam = nullptr; in bvxm_dem_to_xyz_process() local 64 geocam = dynamic_cast<vpgl_geo_camera*> (cam.ptr()); in bvxm_dem_to_xyz_process() 68 vpgl_geo_camera::init_geo_camera(dem_res, lvcs, geocam); in bvxm_dem_to_xyz_process() 71 if (!geocam) { in bvxm_dem_to_xyz_process() 96 geocam->project(scene_bbox.min_x(), scene_bbox.min_y(), scene_bbox.min_z(), u, v); in bvxm_dem_to_xyz_process() 98 geocam->project(scene_bbox.max_x(), scene_bbox.max_y(), scene_bbox.max_z(), u, v); in bvxm_dem_to_xyz_process() 161 geocam->project(local_x, local_y, scene_bbox.min_z(), u, v); in bvxm_dem_to_xyz_process() 268 vpgl_geo_camera* geocam = nullptr; in bvxm_dem_to_xyz_process2() local 270 vpgl_geo_camera::init_geo_camera(dem_res, lvcs, geocam); in bvxm_dem_to_xyz_process2() 271 if (!geocam) { in bvxm_dem_to_xyz_process2() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/volm/exe/ |
H A D | boxm2_volm_prepare_location_hypotheses.cxx | 42 vpgl_geo_camera* geocam = nullptr; in main() local 43 vpgl_geo_camera::init_geo_camera(dem_res, lvcs, geocam); in main() 46 cams.push_back(geocam); in main()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/pro/processes/ |
H A D | boxm2_ocl_ingest_buckeye_process.cxx | 181 vpgl_geo_camera* geocam = nullptr; in boxm2_ocl_ingest_buckeye_dem_process() local 185 geocam = static_cast<vpgl_geo_camera*>(geocam_in.ptr()); in boxm2_ocl_ingest_buckeye_dem_process() 189 vpgl_geo_camera::init_geo_camera(a1_res, lvcs, geocam); in boxm2_ocl_ingest_buckeye_dem_process() 196 geocam->project(scene_bbox.min_x(), scene_bbox.min_y(), scene_bbox.min_z() + geoid_height, u, v); in boxm2_ocl_ingest_buckeye_dem_process() 198 geocam->project(scene_bbox.max_x(), scene_bbox.max_y(), scene_bbox.max_z() + geoid_height, u, v); in boxm2_ocl_ingest_buckeye_dem_process() 249 geocam->img_to_global(full_i, full_j, lon, lat); in boxm2_ocl_ingest_buckeye_dem_process()
|
H A D | boxm2_ocl_render_expected_depth_process.cxx | 200 auto* geocam = static_cast<vpgl_geo_camera*>(cam.ptr()); in boxm2_ocl_render_expected_depth_process() local 205 geocam->project(scene_bbox.min_x(), scene_bbox.min_y(), scene_bbox.min_z(), u, v); in boxm2_ocl_render_expected_depth_process() 207 geocam->project(scene_bbox.max_x(), scene_bbox.max_y(), scene_bbox.max_z(), u, v); in boxm2_ocl_render_expected_depth_process() 228 geocam->img_to_global(full_i, full_j, lon, lat); in boxm2_ocl_render_expected_depth_process()
|
H A D | boxm2_ocl_aux_update_view_direction_process.cxx | 171 auto* geocam = static_cast<vpgl_geo_camera*>(cam.ptr()); in boxm2_ocl_aux_update_view_direction_process() local 176 geocam->project(scene_bbox.min_x(), scene_bbox.min_y(), scene_bbox.min_z(), u, v); in boxm2_ocl_aux_update_view_direction_process() 178 geocam->project(scene_bbox.max_x(), scene_bbox.max_y(), scene_bbox.max_z(), u, v); in boxm2_ocl_aux_update_view_direction_process() 200 geocam->img_to_global(full_i, full_j, lon, lat); in boxm2_ocl_aux_update_view_direction_process()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/vcon/pro/processes/ |
H A D | vcon_calculate_trafficability_process.cxx | 81 auto *geocam = dynamic_cast<vpgl_geo_camera*>(cam_sptr.ptr()); in vcon_calculate_trafficability_process() local 82 if (!geocam) { in vcon_calculate_trafficability_process() 100 geocam->img_to_global(class_img.ni(), 0, ll_lon, ll_lat); in vcon_calculate_trafficability_process() 128 geocam->global_to_img(lon, lat, elev, uu, vv); in vcon_calculate_trafficability_process()
|
/dports/misc/vxl/vxl-3.3.2/core/vpgl/algo/ |
H A D | vpgl_camera_convert.h | 129 static bool convert( vpgl_geo_camera& geocam, int ni, int nj, double height, 134 …static bool convert( vpgl_geo_camera& geocam, int ni, int nj, double height, vgl_vector_3d<double>…
|
H A D | vpgl_camera_convert.cxx | 1446 vpgl_generic_camera_convert::convert(vpgl_geo_camera & geocam, in convert() argument 1465 geocam.backproject(i * scale, j * scale, x, y, z); in convert() 1477 vpgl_generic_camera_convert::convert(vpgl_geo_camera & geocam, in convert() argument 1494 geocam.backproject(i * scale, j * scale, x, y, z); in convert()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/algo/ |
H A D | boxm2_ocl_update_max_vis.cxx | 101 auto* geocam = static_cast<vpgl_geo_camera*>(cam.ptr()); in update_max_vis() local 108 geocam->project(scene_bbox.min_x(), scene_bbox.min_y(), scene_bbox.min_z(), u, v); in update_max_vis() 110 geocam->project(scene_bbox.max_x(), scene_bbox.max_y(), scene_bbox.max_z(), u, v); in update_max_vis() 133 geocam->img_to_global(full_i, full_j, lon, lat); in update_max_vis() 457 auto* geocam = static_cast<vpgl_geo_camera*>(cam.ptr()); in update_cosine_angle() local 464 geocam->project(scene_bbox.min_x(), scene_bbox.min_y(), scene_bbox.min_z(), u, v); in update_cosine_angle() 466 geocam->project(scene_bbox.max_x(), scene_bbox.max_y(), scene_bbox.max_z(), u, v); in update_cosine_angle() 491 geocam->img_to_global(full_i, full_j, lon, lat); in update_cosine_angle() 816 auto* geocam = static_cast<vpgl_geo_camera*>(cam.ptr()); in update_surface_density() local 821 geocam->project(scene_bbox.min_x(), scene_bbox.min_y(), scene_bbox.min_z(), u, v); in update_surface_density() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/volm/conf/ |
H A D | volm_conf_land_map_indexer.cxx | 153 …r::add_locations(vil_image_view<vxl_byte> const& image, vpgl_geo_camera* geocam, std::string const… in add_locations() argument 161 geocam->global_to_img(bbox_.min_x(), bbox_.min_y(), 0.0, min_u, min_v); in add_locations() 163 geocam->global_to_img(bbox_.max_x(), bbox_.max_y(), 0.0, max_u, max_v); in add_locations() 170 geocam->global_to_img(bbox_.min_x(), bbox_.max_y(), 0.0, min_uu, min_vv); in add_locations() 171 geocam->global_to_img(bbox_.max_x(), bbox_.min_y(), 0.0, max_uu, max_vv); in add_locations() 253 geocam->img_to_global(oi, oj, loc_lon, loc_lat); in add_locations()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/volm/ |
H A D | volm_loc_hyp.cxx | 18 …(vgl_polygon<double>& poly, vil_image_view<float>& dem, vpgl_geo_camera* geocam, int inc_i, int in… in add() argument 23 geocam->img_to_global(i,j,lon,lat); in add()
|
H A D | volm_loc_hyp.h | 44 …void add(vgl_polygon<double>& poly, vil_image_view<float>& dem, vpgl_geo_camera* geocam, int inc_i…
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/pyscripts/ |
H A D | vpgl_adaptor.py | 793 batch.set_input_from_db(0, geocam) 869 def translate_geo_camera(geocam, x, y): argument 871 batch.set_input_from_db(0, geocam) 899 def geo2generic(geocam, ni, nj, scene_height, level): argument 901 batch.set_input_from_db(0, geocam) 912 def geo2generic_nonnadir(geocam, ni, nj, scene_height, dir_x, dir_y, dir_z, level): argument 914 batch.set_input_from_db(0, geocam) 954 def geo_cam_global_to_img(geocam, lon, lat): argument 956 batch.set_input_from_db(0, geocam) 969 def geo_cam_img_to_global(geocam, i, j): argument [all …]
|
H A D | volm_adaptor.py | 510 def extract_building_outlines(height_img, class_img, geocam, csv_file_name, kml_file_name): argument 514 batch.set_input_from_db(2, geocam)
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/pyscripts/ |
H A D | boxm2_adaptor.py | 657 batch.set_input_from_db(6, geocam) 1761 geocam=None, fill_in_value=-1.0): argument 1766 if geocam: 1767 batch.set_input_from_db(3, geocam) 1792 if geocam: 1793 batch.set_input_from_db(3, geocam) 1902 def generate_xyz_from_label_img(scene, label_tiff, geocam=0): argument 1906 batch.set_input_from_db(2, geocam) 1929 def generate_xyz_from_label_img2(scene, label_tiff, geocam=0): argument 1933 batch.set_input_from_db(2, geocam) [all …]
|
H A D | boxm2_scene_adaptor.py | 320 geoid_height, geocam, device_string=""): argument 323 last_ret_fname, geoid_height, geocam,
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/volm/pro/processes/ |
H A D | volm_refine_bvxm_height_map_process.cxx | 210 auto* geocam = dynamic_cast<vpgl_geo_camera*> (cam.ptr()); in volm_extract_building_outlines_process() local 256 geocam->img_to_global(bi[i], bj[i], lon, lat); in volm_extract_building_outlines_process()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/pyscripts/ |
H A D | bvxm_adaptor.py | 432 def generate_xyz_from_dem(world, geotiff_dem, geoid_height, geocam=0, fill_in_value=-1.0): argument 437 batch.set_input_from_db(3, geocam)
|