Go to the documentation of this file.00001 #ifndef bmdl_defs_h_
00002 #define bmdl_defs_h_
00003
00004 #include <vcl_string.h>
00005 #include <vil/vil_image_resource.h>
00006 #include <vil/vil_image_view_base.h>
00007 #include <vil/vil_image_resource_sptr.h>
00008 #include <vpgl/file_formats/vpgl_geo_camera.h>
00009
00010 bool generate_mesh(vcl_string fpath_poly, vil_image_view_base_sptr label_img,
00011 vil_image_view_base_sptr height_img, vil_image_view_base_sptr ground_img,
00012 vcl_string fpath_mesh, vpgl_geo_camera* const lidar_cam, unsigned& num_of_buildings);
00013
00014
00015 bool trace_boundaries(vil_image_view_base_sptr label_img, vcl_string fpath);
00016
00017 bool classify(vil_image_view_base_sptr lidar_first,
00018 vil_image_view_base_sptr lidar_last,
00019 vil_image_view_base_sptr ground,
00020 vil_image_view_base_sptr& label_img,
00021 vil_image_view_base_sptr& height_img,
00022 float gthresh, float vthresh, float athresh, float hres);
00023
00024 bool lidar_roi(unsigned type,
00025 vil_image_resource_sptr lidar_first,
00026 vil_image_resource_sptr lidar_last,
00027 vil_image_resource_sptr ground,
00028 float min_lat, float min_lon,
00029 float max_lat, float max_lon,
00030 vil_image_view_base_sptr& first_roi,
00031 vil_image_view_base_sptr& last_roi,
00032 vil_image_view_base_sptr& ground_roi,
00033 vpgl_geo_camera*& camera);
00034
00035 #endif // bmdl_defs_h_