#include <brct_algos.h>
Definition at line 53 of file brct_algos.h.
Public Member Functions | |
| brct_algos () | |
| virtual | ~brct_algos () |
Static Public Member Functions | |
| static void | add_box_vrml (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax) |
| static vsol_box_3d_sptr | get_bounding_box (vcl_vector< vgl_point_3d< double > > &pts_3d) |
| static vgl_point_3d< double > | bundle_reconstruct_3d_point (vcl_vector< vnl_double_2 > &pts, vcl_vector< vnl_double_3x4 > &P) |
| static vgl_point_2d< double > | projection_3d_point (const vgl_point_3d< double > &x, const vnl_double_3x4 &P) |
| static bugl_gaussian_point_2d< double > | project_3d_point (const vnl_double_3x4 &P, const bugl_gaussian_point_3d< double > &X) |
| static vnl_double_2 | projection_3d_point (const vnl_double_3x4 &P, const vnl_double_3 &X) |
| static vgl_point_2d< double > | closest_point (vdgl_digital_curve_sptr dc, vgl_point_2d< double > pt) |
| get closet point from a digital curve. | |
| static vgl_point_2d< double > | most_possible_point (vdgl_digital_curve_sptr dc, bugl_gaussian_point_2d< double > &pt) |
| get point on a digital curve which is most possible to the guassian pdf. | |
| static vgl_point_3d< double > | triangulate_3d_point (const vgl_point_2d< double > &x1, const vnl_double_3x4 &P1, const vgl_point_2d< double > &x2, const vnl_double_3x4 &P2) |
| pointwise reconstruction. | |
| static bool | solve_p_matrix (vcl_vector< vgl_homg_point_2d< double > >const &image_points, vcl_vector< vgl_homg_point_3d< double > >const &world_points, vnl_double_3x4 &P) |
| solve a general projective P matrix. | |
| static bool | compute_euclidean_camera (vcl_vector< vgl_point_2d< double > > const &image_points, vcl_vector< vgl_point_3d< double > > const &world_points, vnl_double_3x3 const &K, vnl_double_3x4 &P) |
| compute the Euclidean camera from 3d-2d correspondences given K. | |
| static bool | homography (vcl_vector< vgl_point_3d< double > > const &world_points, vcl_vector< vgl_point_2d< double > > const &image_points, vgl_h_matrix_2d< double > &H, bool optimize=false) |
| compute a world to image homography from Euclidean Points. | |
| static bool | homography_ransac (vcl_vector< vgl_point_3d< double > > const &world_points, vcl_vector< vgl_point_2d< double > > const &image_points, vgl_h_matrix_2d< double > &H, bool optimize=false) |
| compute a world to image homography from Euclidean Points (ransac). | |
| static bool | homography_muse (vcl_vector< vgl_point_3d< double > > const &world_points, vcl_vector< vgl_point_2d< double > > const &image_points, vgl_h_matrix_2d< double > &H, bool optimize=false) |
| compute a world to image homography from Euclidean Points (muse). | |
| static vgl_p_matrix< double > | p_from_h (vgl_h_matrix_2d< double > const &H) |
| form a planar 3x4 projection matrix from a planar homography. | |
| static vgl_p_matrix< double > | p_from_h (vgl_h_matrix_2d< double > const &H, vcl_vector< double > const &image_y, vcl_vector< vgl_point_3d< double > > const &world_p) |
| form a 3-d 3x4 projection matrix from a planar homography and y-z vals. | |
| static vgl_h_matrix_2d< double > | h_from_p (vgl_p_matrix< double > const &P) |
| compute a planar mapping from a p_matrix by projecting onto the x-y plane. | |
| static void | scale_and_translate_world (vcl_vector< vgl_point_3d< double > > const &world_points, const double magnification, vgl_h_matrix_2d< double > &H) |
| change the world coordinates to be at image scale and position. | |
| static void | scale_and_translate_world (const double world_x_min, const double world_y_min, const double magnification, vgl_h_matrix_2d< double > &H) |
| change the world coordinates to be at image scale and position. | |
| static void | project (vcl_vector< vgl_point_3d< double > > const &world_points, vgl_h_matrix_2d< double > const &H, vcl_vector< vgl_point_2d< double > > &image_points) |
| project world points into an image using a homography. | |
| static void | project (vcl_vector< vgl_point_3d< double > > const &world_points, vgl_p_matrix< double > const &P, vcl_vector< vgl_point_2d< double > > &image_points) |
| project world points into an image using a projection matrix. | |
| static vsol_polygon_2d_sptr | project (vsol_polygon_3d_sptr const &world_poly, vgl_h_matrix_2d< double > const &H) |
| project a world polygon onto an image using a homgraphy. | |
| static void | project (vcl_vector< vsol_polygon_3d_sptr > const &world_polys, vgl_h_matrix_2d< double > const &H, vcl_vector< vsol_polygon_2d_sptr > &image_polys) |
| project world polygons onto an image using a homgraphy. | |
| static vsol_polygon_2d_sptr | project (vsol_polygon_3d_sptr const &world_poly, vgl_p_matrix< double > const &P) |
| project a world polygon onto an image using a projective matrix. | |
| static void | project (vcl_vector< vsol_polygon_3d_sptr > const &world_polys, vgl_p_matrix< double > const &P, vcl_vector< vsol_polygon_2d_sptr > &image_polys) |
| project world polygons onto an image using a projective matrix. | |
| static vsol_polygon_3d_sptr | back_project (vsol_polygon_2d_sptr const &image_poly, vgl_h_matrix_2d< double > const &H) |
| back_project an image polygon onto the world x-y plane. | |
| static vsol_polygon_3d_sptr | back_project (vsol_polygon_2d_sptr const &image_poly, vgl_p_matrix< double > const &P, const double height) |
| back_project a polygon onto a x-y plane at some heightp. | |
| static vnl_double_4x4 | convert_to_target (vnl_double_3x4 const &P) |
| compute a TargetJr style 4x4 projection matrix from a 3x4 matrix. | |
| static vnl_double_2 | target_project (vnl_double_4x4 const &T, vnl_double_3 const &v) |
| TargetJr CoolTransform Projection Method. | |
| static void | filter_outliers (const vnl_double_3x3 &K, const vnl_double_3 &trans, vcl_vector< vnl_double_2 > &pts_2d, vcl_vector< vnl_double_3 > &pts_3d, double fraction=0.1) |
| filter outliers for camera translation. | |
| static bool | camera_translation (const vnl_double_3x3 &K, vcl_vector< vnl_double_2 > &pts_2d, vcl_vector< vnl_double_3 > &pts_3d, vnl_double_3 &trans) |
| find camera translation from matched 2-d/3-d points. | |
| static void | robust_camera_translation (const vnl_double_3x3 &K, vcl_vector< bugl_gaussian_point_2d< double > > &pts_2d, vcl_vector< vgl_point_3d< double > > &pts_3d, vnl_double_3 &trans) |
| use uncertainty and point weeding to improve solution. | |
| static void | camera_translation (vnl_double_3x3 const &K, vnl_double_2 const &image_epipole, vcl_vector< vnl_double_2 > const &points_0, vcl_vector< vnl_double_2 > const &points_1, vcl_vector< vnl_double_2 > const &points, vnl_double_3 &T) |
| compute camera translation using epipolar geometry. | |
| static double | motion_constant (vnl_double_2 const &image_epipole, int i, vnl_double_2 &p_i, vnl_double_2 &p_i1) |
| static void | print_motion_array (vnl_matrix< double > &H) |
| static void | read_vrml_points (vcl_ifstream &str, vcl_vector< vsol_point_3d_sptr > &pts3d) |
| static void | write_vrml_header (vcl_ofstream &str) |
| static void | write_vrml_trailer (vcl_ofstream &str) |
| static void | write_vrml_points (vcl_ofstream &str, vcl_vector< vsol_point_3d_sptr > const &pts3d) |
| static void | write_vrml_points (vcl_ofstream &str, vcl_vector< vgl_point_3d< double > > const &pts3d, vcl_vector< vgl_point_3d< float > > const &color) |
| static void | write_vrml_polyline (vcl_ofstream &str, vcl_vector< vgl_point_3d< double > > const &vts, const float r, const float g, const float b) |
| static void | write_vrml_box (vcl_ofstream &str, vsol_box_3d_sptr const &box, const float r=1.0, const float g=1.0, const float b=1.0, const float transparency=0.0) |
| static void | write_vrml_sphere (vcl_ofstream &str, vgl_sphere_3d< double > const &sphere, const float r=1.0, const float g=1.0, const float b=1.0, const float transparency=0) |
| static bool | read_world_points (vcl_ifstream &str, vcl_vector< vgl_point_3d< double > > &world_points) |
| static bool | read_world (vcl_ifstream &str, vcl_vector< vgl_point_3d< double > > &world_points, vcl_vector< vsol_polygon_3d_sptr > &polys, vcl_vector< vcl_vector< unsigned > > &indexed_face_set) |
| static void | write_world_points (vcl_ofstream &str, vcl_vector< vgl_point_3d< double > >const &world_points) |
| static void | write_world (vcl_ofstream &str, vcl_vector< vgl_point_3d< double > > const &world_points, vcl_vector< vcl_vector< unsigned > > const &polys) |
| static void | write_world_ply2 (vcl_ofstream &str, vcl_vector< vgl_point_3d< double > > const &world_points, vcl_vector< vcl_vector< unsigned > > const &polys) |
| static bool | read_world_ply2 (vcl_ifstream &str, vcl_vector< vgl_point_3d< double > > &world_points, vcl_vector< vsol_polygon_3d_sptr > &polys, vcl_vector< vcl_vector< unsigned > > &indexed_face_set) |
| static bool | write_ifs_box (vcl_ofstream &ostr, vcl_vector< vgl_point_3d< double > > const &verts, vcl_vector< vcl_vector< unsigned > > const &faces, const float r, const float g, const float b) |
| static bool | write_ifs (vcl_ofstream &ostr, vcl_vector< vgl_point_3d< double > > const &verts, vcl_vector< vcl_vector< unsigned > > const &faces, const float r, const float g, const float b) |
| static bool | translate_ply2_to_vrml (vcl_ifstream &istr, vcl_ofstream &ostr, const float r, const float g, const float b) |
| static bool | read_target_corrs (vcl_ifstream &str, vcl_vector< bool > &valid, vcl_vector< vgl_point_2d< double > > &image_points, vcl_vector< vgl_point_3d< double > > &world_points) |
| static bool | write_corrs (vcl_ofstream &str, vcl_vector< bool > &valid, vcl_vector< vgl_point_2d< double > > &image_points, vcl_vector< vgl_point_3d< double > > &world_points) |
| static bool | read_brct_corrs (vcl_ifstream &str, vcl_vector< brct_corr_sptr > &corrs) |
| static bool | write_brct_corrs (vcl_ofstream &str, vcl_vector< brct_corr_sptr > const &corrs) |
| static void | reconstruct_corrs (vcl_vector< brct_corr_sptr > const &image_corrs, vpgl_proj_camera< double > const &cam0, vpgl_proj_camera< double > const &cam1, vcl_vector< vgl_point_3d< double > > &world_points) |
| static void | write_target_camera (vcl_ofstream &str, vnl_double_3x4 const &P) |
| static vil_image_resource_sptr | map_image_to_world (vil_image_resource_sptr const &image, vgl_p_matrix< double > const &cam, const double feet_per_pixel=1.0) |
| static bool | save_constraint_file (vcl_vector< vgl_point_2d< double > >const &image_pts, vcl_vector< bool > const &valid, vcl_vector< vgl_point_3d< double > >const &world_pts, vcl_vector< vgl_line_segment_2d< double > > const &vertls, vcl_ofstream &str) |
| static void | box_3d (vgl_point_3d< double > const &c0, vgl_point_3d< double > const &c1, vgl_point_3d< double > const &c2, vcl_vector< vgl_point_3d< double > > &world_points, vcl_vector< vsol_polygon_3d_sptr > &polys, vcl_vector< vcl_vector< unsigned > > &indexed_face_set) |
| brct_algos::brct_algos | ( | ) |
| virtual brct_algos::~brct_algos | ( | ) | [virtual] |
| static void brct_algos::add_box_vrml | ( | double | xmin, | |
| double | ymin, | |||
| double | zmin, | |||
| double | xmax, | |||
| double | ymax, | |||
| double | zmax | |||
| ) | [static] |
| static vsol_box_3d_sptr brct_algos::get_bounding_box | ( | vcl_vector< vgl_point_3d< double > > & | pts_3d | ) | [static] |
| static vgl_point_3d<double> brct_algos::bundle_reconstruct_3d_point | ( | vcl_vector< vnl_double_2 > & | pts, | |
| vcl_vector< vnl_double_3x4 > & | P | |||
| ) | [static] |
| static vgl_point_2d<double> brct_algos::projection_3d_point | ( | const vgl_point_3d< double > & | x, | |
| const vnl_double_3x4 & | P | |||
| ) | [static] |
| static bugl_gaussian_point_2d<double> brct_algos::project_3d_point | ( | const vnl_double_3x4 & | P, | |
| const bugl_gaussian_point_3d< double > & | X | |||
| ) | [static] |
| static vnl_double_2 brct_algos::projection_3d_point | ( | const vnl_double_3x4 & | P, | |
| const vnl_double_3 & | X | |||
| ) | [static] |
| static vgl_point_2d<double> brct_algos::closest_point | ( | vdgl_digital_curve_sptr | dc, | |
| vgl_point_2d< double > | pt | |||
| ) | [static] |
get closet point from a digital curve.
| static vgl_point_2d<double> brct_algos::most_possible_point | ( | vdgl_digital_curve_sptr | dc, | |
| bugl_gaussian_point_2d< double > & | pt | |||
| ) | [static] |
get point on a digital curve which is most possible to the guassian pdf.
| static vgl_point_3d<double> brct_algos::triangulate_3d_point | ( | const vgl_point_2d< double > & | x1, | |
| const vnl_double_3x4 & | P1, | |||
| const vgl_point_2d< double > & | x2, | |||
| const vnl_double_3x4 & | P2 | |||
| ) | [static] |
pointwise reconstruction.
| static bool brct_algos::solve_p_matrix | ( | vcl_vector< vgl_homg_point_2d< double > >const & | image_points, | |
| vcl_vector< vgl_homg_point_3d< double > >const & | world_points, | |||
| vnl_double_3x4 & | P | |||
| ) | [static] |
solve a general projective P matrix.
| static bool brct_algos::compute_euclidean_camera | ( | vcl_vector< vgl_point_2d< double > > const & | image_points, | |
| vcl_vector< vgl_point_3d< double > > const & | world_points, | |||
| vnl_double_3x3 const & | K, | |||
| vnl_double_3x4 & | P | |||
| ) | [static] |
compute the Euclidean camera from 3d-2d correspondences given K.
| static bool brct_algos::homography | ( | vcl_vector< vgl_point_3d< double > > const & | world_points, | |
| vcl_vector< vgl_point_2d< double > > const & | image_points, | |||
| vgl_h_matrix_2d< double > & | H, | |||
| bool | optimize = false | |||
| ) | [static] |
compute a world to image homography from Euclidean Points.
| static bool brct_algos::homography_ransac | ( | vcl_vector< vgl_point_3d< double > > const & | world_points, | |
| vcl_vector< vgl_point_2d< double > > const & | image_points, | |||
| vgl_h_matrix_2d< double > & | H, | |||
| bool | optimize = false | |||
| ) | [static] |
compute a world to image homography from Euclidean Points (ransac).
| static bool brct_algos::homography_muse | ( | vcl_vector< vgl_point_3d< double > > const & | world_points, | |
| vcl_vector< vgl_point_2d< double > > const & | image_points, | |||
| vgl_h_matrix_2d< double > & | H, | |||
| bool | optimize = false | |||
| ) | [static] |
compute a world to image homography from Euclidean Points (muse).
| static vgl_p_matrix<double> brct_algos::p_from_h | ( | vgl_h_matrix_2d< double > const & | H | ) | [static] |
form a planar 3x4 projection matrix from a planar homography.
| static vgl_p_matrix<double> brct_algos::p_from_h | ( | vgl_h_matrix_2d< double > const & | H, | |
| vcl_vector< double > const & | image_y, | |||
| vcl_vector< vgl_point_3d< double > > const & | world_p | |||
| ) | [static] |
form a 3-d 3x4 projection matrix from a planar homography and y-z vals.
It is assumed that the vanishing point of the world z axis is the image y axis.
| static vgl_h_matrix_2d<double> brct_algos::h_from_p | ( | vgl_p_matrix< double > const & | P | ) | [static] |
compute a planar mapping from a p_matrix by projecting onto the x-y plane.
| static void brct_algos::scale_and_translate_world | ( | vcl_vector< vgl_point_3d< double > > const & | world_points, | |
| const double | magnification, | |||
| vgl_h_matrix_2d< double > & | H | |||
| ) | [static] |
change the world coordinates to be at image scale and position.
| static void brct_algos::scale_and_translate_world | ( | const double | world_x_min, | |
| const double | world_y_min, | |||
| const double | magnification, | |||
| vgl_h_matrix_2d< double > & | H | |||
| ) | [static] |
change the world coordinates to be at image scale and position.
| static void brct_algos::project | ( | vcl_vector< vgl_point_3d< double > > const & | world_points, | |
| vgl_h_matrix_2d< double > const & | H, | |||
| vcl_vector< vgl_point_2d< double > > & | image_points | |||
| ) | [static] |
project world points into an image using a homography.
| static void brct_algos::project | ( | vcl_vector< vgl_point_3d< double > > const & | world_points, | |
| vgl_p_matrix< double > const & | P, | |||
| vcl_vector< vgl_point_2d< double > > & | image_points | |||
| ) | [static] |
project world points into an image using a projection matrix.
| static vsol_polygon_2d_sptr brct_algos::project | ( | vsol_polygon_3d_sptr const & | world_poly, | |
| vgl_h_matrix_2d< double > const & | H | |||
| ) | [static] |
project a world polygon onto an image using a homgraphy.
| static void brct_algos::project | ( | vcl_vector< vsol_polygon_3d_sptr > const & | world_polys, | |
| vgl_h_matrix_2d< double > const & | H, | |||
| vcl_vector< vsol_polygon_2d_sptr > & | image_polys | |||
| ) | [static] |
project world polygons onto an image using a homgraphy.
| static vsol_polygon_2d_sptr brct_algos::project | ( | vsol_polygon_3d_sptr const & | world_poly, | |
| vgl_p_matrix< double > const & | P | |||
| ) | [static] |
project a world polygon onto an image using a projective matrix.
| static void brct_algos::project | ( | vcl_vector< vsol_polygon_3d_sptr > const & | world_polys, | |
| vgl_p_matrix< double > const & | P, | |||
| vcl_vector< vsol_polygon_2d_sptr > & | image_polys | |||
| ) | [static] |
project world polygons onto an image using a projective matrix.
| static vsol_polygon_3d_sptr brct_algos::back_project | ( | vsol_polygon_2d_sptr const & | image_poly, | |
| vgl_h_matrix_2d< double > const & | H | |||
| ) | [static] |
back_project an image polygon onto the world x-y plane.
| static vsol_polygon_3d_sptr brct_algos::back_project | ( | vsol_polygon_2d_sptr const & | image_poly, | |
| vgl_p_matrix< double > const & | P, | |||
| const double | height | |||
| ) | [static] |
back_project a polygon onto a x-y plane at some heightp.
| static vnl_double_4x4 brct_algos::convert_to_target | ( | vnl_double_3x4 const & | P | ) | [static] |
compute a TargetJr style 4x4 projection matrix from a 3x4 matrix.
| static vnl_double_2 brct_algos::target_project | ( | vnl_double_4x4 const & | T, | |
| vnl_double_3 const & | v | |||
| ) | [static] |
TargetJr CoolTransform Projection Method.
| static void brct_algos::filter_outliers | ( | const vnl_double_3x3 & | K, | |
| const vnl_double_3 & | trans, | |||
| vcl_vector< vnl_double_2 > & | pts_2d, | |||
| vcl_vector< vnl_double_3 > & | pts_3d, | |||
| double | fraction = 0.1 | |||
| ) | [static] |
filter outliers for camera translation.
| static bool brct_algos::camera_translation | ( | const vnl_double_3x3 & | K, | |
| vcl_vector< vnl_double_2 > & | pts_2d, | |||
| vcl_vector< vnl_double_3 > & | pts_3d, | |||
| vnl_double_3 & | trans | |||
| ) | [static] |
find camera translation from matched 2-d/3-d points.
| static void brct_algos::robust_camera_translation | ( | const vnl_double_3x3 & | K, | |
| vcl_vector< bugl_gaussian_point_2d< double > > & | pts_2d, | |||
| vcl_vector< vgl_point_3d< double > > & | pts_3d, | |||
| vnl_double_3 & | trans | |||
| ) | [static] |
use uncertainty and point weeding to improve solution.
| static void brct_algos::camera_translation | ( | vnl_double_3x3 const & | K, | |
| vnl_double_2 const & | image_epipole, | |||
| vcl_vector< vnl_double_2 > const & | points_0, | |||
| vcl_vector< vnl_double_2 > const & | points_1, | |||
| vcl_vector< vnl_double_2 > const & | points, | |||
| vnl_double_3 & | T | |||
| ) | [static] |
compute camera translation using epipolar geometry.
| static double brct_algos::motion_constant | ( | vnl_double_2 const & | image_epipole, | |
| int | i, | |||
| vnl_double_2 & | p_i, | |||
| vnl_double_2 & | p_i1 | |||
| ) | [static] |
| static void brct_algos::print_motion_array | ( | vnl_matrix< double > & | H | ) | [static] |
| static void brct_algos::read_vrml_points | ( | vcl_ifstream & | str, | |
| vcl_vector< vsol_point_3d_sptr > & | pts3d | |||
| ) | [static] |
| static void brct_algos::write_vrml_header | ( | vcl_ofstream & | str | ) | [static] |
| static void brct_algos::write_vrml_trailer | ( | vcl_ofstream & | str | ) | [static] |
| static void brct_algos::write_vrml_points | ( | vcl_ofstream & | str, | |
| vcl_vector< vsol_point_3d_sptr > const & | pts3d | |||
| ) | [static] |
| static void brct_algos::write_vrml_points | ( | vcl_ofstream & | str, | |
| vcl_vector< vgl_point_3d< double > > const & | pts3d, | |||
| vcl_vector< vgl_point_3d< float > > const & | color | |||
| ) | [static] |
| static void brct_algos::write_vrml_polyline | ( | vcl_ofstream & | str, | |
| vcl_vector< vgl_point_3d< double > > const & | vts, | |||
| const float | r, | |||
| const float | g, | |||
| const float | b | |||
| ) | [static] |
| static void brct_algos::write_vrml_box | ( | vcl_ofstream & | str, | |
| vsol_box_3d_sptr const & | box, | |||
| const float | r = 1.0, |
|||
| const float | g = 1.0, |
|||
| const float | b = 1.0, |
|||
| const float | transparency = 0.0 | |||
| ) | [static] |
| static void brct_algos::write_vrml_sphere | ( | vcl_ofstream & | str, | |
| vgl_sphere_3d< double > const & | sphere, | |||
| const float | r = 1.0, |
|||
| const float | g = 1.0, |
|||
| const float | b = 1.0, |
|||
| const float | transparency = 0 | |||
| ) | [static] |
| static bool brct_algos::read_world_points | ( | vcl_ifstream & | str, | |
| vcl_vector< vgl_point_3d< double > > & | world_points | |||
| ) | [static] |
| static bool brct_algos::read_world | ( | vcl_ifstream & | str, | |
| vcl_vector< vgl_point_3d< double > > & | world_points, | |||
| vcl_vector< vsol_polygon_3d_sptr > & | polys, | |||
| vcl_vector< vcl_vector< unsigned > > & | indexed_face_set | |||
| ) | [static] |
| static void brct_algos::write_world_points | ( | vcl_ofstream & | str, | |
| vcl_vector< vgl_point_3d< double > >const & | world_points | |||
| ) | [static] |
| static void brct_algos::write_world | ( | vcl_ofstream & | str, | |
| vcl_vector< vgl_point_3d< double > > const & | world_points, | |||
| vcl_vector< vcl_vector< unsigned > > const & | polys | |||
| ) | [static] |
| static void brct_algos::write_world_ply2 | ( | vcl_ofstream & | str, | |
| vcl_vector< vgl_point_3d< double > > const & | world_points, | |||
| vcl_vector< vcl_vector< unsigned > > const & | polys | |||
| ) | [static] |
| static bool brct_algos::read_world_ply2 | ( | vcl_ifstream & | str, | |
| vcl_vector< vgl_point_3d< double > > & | world_points, | |||
| vcl_vector< vsol_polygon_3d_sptr > & | polys, | |||
| vcl_vector< vcl_vector< unsigned > > & | indexed_face_set | |||
| ) | [static] |
| static bool brct_algos::write_ifs_box | ( | vcl_ofstream & | ostr, | |
| vcl_vector< vgl_point_3d< double > > const & | verts, | |||
| vcl_vector< vcl_vector< unsigned > > const & | faces, | |||
| const float | r, | |||
| const float | g, | |||
| const float | b | |||
| ) | [static] |
| static bool brct_algos::write_ifs | ( | vcl_ofstream & | ostr, | |
| vcl_vector< vgl_point_3d< double > > const & | verts, | |||
| vcl_vector< vcl_vector< unsigned > > const & | faces, | |||
| const float | r, | |||
| const float | g, | |||
| const float | b | |||
| ) | [static] |
| static bool brct_algos::translate_ply2_to_vrml | ( | vcl_ifstream & | istr, | |
| vcl_ofstream & | ostr, | |||
| const float | r, | |||
| const float | g, | |||
| const float | b | |||
| ) | [static] |
| static bool brct_algos::read_target_corrs | ( | vcl_ifstream & | str, | |
| vcl_vector< bool > & | valid, | |||
| vcl_vector< vgl_point_2d< double > > & | image_points, | |||
| vcl_vector< vgl_point_3d< double > > & | world_points | |||
| ) | [static] |
| static bool brct_algos::write_corrs | ( | vcl_ofstream & | str, | |
| vcl_vector< bool > & | valid, | |||
| vcl_vector< vgl_point_2d< double > > & | image_points, | |||
| vcl_vector< vgl_point_3d< double > > & | world_points | |||
| ) | [static] |
| static bool brct_algos::read_brct_corrs | ( | vcl_ifstream & | str, | |
| vcl_vector< brct_corr_sptr > & | corrs | |||
| ) | [static] |
| static bool brct_algos::write_brct_corrs | ( | vcl_ofstream & | str, | |
| vcl_vector< brct_corr_sptr > const & | corrs | |||
| ) | [static] |
| static void brct_algos::reconstruct_corrs | ( | vcl_vector< brct_corr_sptr > const & | image_corrs, | |
| vpgl_proj_camera< double > const & | cam0, | |||
| vpgl_proj_camera< double > const & | cam1, | |||
| vcl_vector< vgl_point_3d< double > > & | world_points | |||
| ) | [static] |
| static void brct_algos::write_target_camera | ( | vcl_ofstream & | str, | |
| vnl_double_3x4 const & | P | |||
| ) | [static] |
| static vil_image_resource_sptr brct_algos::map_image_to_world | ( | vil_image_resource_sptr const & | image, | |
| vgl_p_matrix< double > const & | cam, | |||
| const double | feet_per_pixel = 1.0 | |||
| ) | [static] |
| static bool brct_algos::save_constraint_file | ( | vcl_vector< vgl_point_2d< double > >const & | image_pts, | |
| vcl_vector< bool > const & | valid, | |||
| vcl_vector< vgl_point_3d< double > >const & | world_pts, | |||
| vcl_vector< vgl_line_segment_2d< double > > const & | vertls, | |||
| vcl_ofstream & | str | |||
| ) | [static] |
| static void brct_algos::box_3d | ( | vgl_point_3d< double > const & | c0, | |
| vgl_point_3d< double > const & | c1, | |||
| vgl_point_3d< double > const & | c2, | |||
| vcl_vector< vgl_point_3d< double > > & | world_points, | |||
| vcl_vector< vsol_polygon_3d_sptr > & | polys, | |||
| vcl_vector< vcl_vector< unsigned > > & | indexed_face_set | |||
| ) | [static] |
1.5.1