![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <reconstruction.h>
Classes | |
| struct | ImagePairStat |
Public Member Functions | |
| Reconstruction () | |
| Reconstruction (const Reconstruction &other) | |
| Reconstruction & | operator= (const Reconstruction &other) |
| size_t | NumCameras () const |
| size_t | NumImages () const |
| size_t | NumRegImages () const |
| size_t | NumPoints3D () const |
| size_t | NumImagePairs () const |
| size_t | NumAddedPoints3D () const |
| const class Camera & | Camera (const camera_t camera_id) const |
| const class Image & | Image (const image_t image_id) const |
| const class Point3D & | Point3D (const point3D_t point3D_id) const |
| const ImagePairStat & | ImagePair (const image_pair_t pair_id) const |
| ImagePairStat & | ImagePair (const image_t image_id1, const image_t image_id2) |
| class Camera & | Camera (const camera_t camera_id) |
| class Image & | Image (const image_t image_id) |
| class Point3D & | Point3D (const point3D_t point3D_id) |
| ImagePairStat & | ImagePair (const image_pair_t pair_id) |
| const ImagePairStat & | ImagePair (const image_t image_id1, const image_t image_id2) const |
| const std::unordered_map< camera_t, class Camera > & | Cameras () const |
| const std::unordered_map< image_t, class Image > & | Images () const |
| const std::vector< image_t > & | RegImageIds () const |
| const std::unordered_map< point3D_t, class Point3D > & | Points3D () const |
| const std::unordered_map< image_pair_t, ImagePairStat > & | ImagePairs () const |
| std::unordered_set< point3D_t > | Point3DIds () const |
| bool | ExistsCamera (const camera_t camera_id) const |
| bool | ExistsImage (const image_t image_id) const |
| bool | ExistsPoint3D (const point3D_t point3D_id) const |
| bool | ExistsImagePair (const image_pair_t pair_id) const |
| void | Load (const DatabaseCache &database_cache) |
| void | SetUp (const CorrespondenceGraph *correspondence_graph) |
| void | TearDown () |
| void | AddCamera (const class Camera &camera) |
| void | AddImage (const class Image &image) |
| point3D_t | AddPoint3D (const Eigen::Vector3d &xyz, const Track &track, const Eigen::Vector3ub &color=Eigen::Vector3ub::Zero()) |
| void | AddObservation (const point3D_t point3D_id, const TrackElement &track_el) |
| point3D_t | MergePoints3D (const point3D_t point3D_id1, const point3D_t point3D_id2) |
| void | DeletePoint3D (const point3D_t point3D_id) |
| void | DeleteObservation (const image_t image_id, const point2D_t point2D_idx) |
| void | DeleteAllPoints2DAndPoints3D () |
| void | RegisterImage (const image_t image_id) |
| void | DeRegisterImage (const image_t image_id) |
| bool | IsImageRegistered (const image_t image_id) const |
| void | Normalize (const double extent=10.0, const double p0=0.1, const double p1=0.9, const bool use_images=true) |
| Eigen::Vector3d | ComputeCentroid (const double p0=0.1, const double p1=0.9) const |
| std::pair< Eigen::Vector3d, Eigen::Vector3d > | ComputeBoundingBox (const double p0=0.0, const double p1=1.0) const |
| void | Transform (const SimilarityTransform3 &tform) |
| Reconstruction | Crop (const std::pair< Eigen::Vector3d, Eigen::Vector3d > &bbox) const |
| bool | Merge (const Reconstruction &reconstruction, const double max_reproj_error) |
| template<bool kEstimateScale = true> | |
| bool | Align (const std::vector< std::string > &image_names, const std::vector< Eigen::Vector3d > &locations, const int min_common_images, SimilarityTransform3 *tform=nullptr) |
| template<bool kEstimateScale = true> | |
| bool | AlignRobust (const std::vector< std::string > &image_names, const std::vector< Eigen::Vector3d > &locations, const int min_common_images, const RANSACOptions &ransac_options, SimilarityTransform3 *tform=nullptr) |
| const class Image * | FindImageWithName (const std::string &name) const |
| std::vector< image_t > | FindCommonRegImageIds (const Reconstruction &reconstruction) const |
| void | TranscribeImageIdsToDatabase (const Database &database) |
| size_t | FilterPoints3D (const double max_reproj_error, const double min_tri_angle, const std::unordered_set< point3D_t > &point3D_ids) |
| size_t | FilterPoints3DInImages (const double max_reproj_error, const double min_tri_angle, const std::unordered_set< image_t > &image_ids) |
| size_t | FilterAllPoints3D (const double max_reproj_error, const double min_tri_angle) |
| size_t | FilterObservationsWithNegativeDepth () |
| std::vector< image_t > | FilterImages (const double min_focal_length_ratio, const double max_focal_length_ratio, const double max_extra_param) |
| size_t | ComputeNumObservations () const |
| double | ComputeMeanTrackLength () const |
| double | ComputeMeanObservationsPerRegImage () const |
| double | ComputeMeanReprojectionError () const |
| void | Read (const std::string &path) |
| void | Write (const std::string &path) const |
| void | ReadText (const std::string &path) |
| void | ReadBinary (const std::string &path) |
| void | WriteText (const std::string &path) const |
| void | WriteBinary (const std::string &path) const |
| std::vector< PlyPoint > | ConvertToPLY () const |
| void | ImportPLY (const std::string &path) |
| void | ImportPLY (const std::vector< PlyPoint > &ply_points) |
| bool | ExportNVM (const std::string &path, bool skip_distortion=false) const |
| bool | ExportCam (const std::string &path, bool skip_distortion=false) const |
| bool | ExportRecon3D (const std::string &path, bool skip_distortion=false) const |
| bool | ExportBundler (const std::string &path, const std::string &list_path, bool skip_distortion=false) const |
| void | ExportPLY (const std::string &path) const |
| void | ExportVRML (const std::string &images_path, const std::string &points3D_path, const double image_scale, const Eigen::Vector3d &image_rgb) const |
| bool | ExtractColorsForImage (const image_t image_id, const std::string &path) |
| void | ExtractColorsForAllImages (const std::string &path) |
| void | CreateImageDirs (const std::string &path) const |
| const CorrespondenceGraph * | GetCorrespondenceGraph () const |
| bool | HasCorrespondenceGraph () const |
| colmap::Reconstruction::Reconstruction | ( | ) |
| colmap::Reconstruction::Reconstruction | ( | const Reconstruction & | other | ) |
| void colmap::Reconstruction::AddCamera | ( | const class Camera & | camera | ) |
References colmap::Camera::CameraId(), ExistsCamera(), and colmap::Camera::VerifyParams().
Referenced by BOOST_AUTO_TEST_CASE(), Crop(), GenerateReconstruction(), Load(), and Merge().
| void colmap::Reconstruction::AddImage | ( | const class Image & | image | ) |
References ExistsImage(), and image.
Referenced by BOOST_AUTO_TEST_CASE(), Crop(), GenerateReconstruction(), Load(), and Merge().
| void colmap::Reconstruction::AddObservation | ( | const point3D_t | point3D_id, |
| const TrackElement & | track_el | ||
| ) |
| point3D_t colmap::Reconstruction::AddPoint3D | ( | const Eigen::Vector3d & | xyz, |
| const Track & | track, | ||
| const Eigen::Vector3ub & | color = Eigen::Vector3ub::Zero() |
||
| ) |
References color, colmap::Track::Elements(), ExistsPoint3D(), Image(), image, colmap::Point3D::SetColor(), colmap::Point3D::SetTrack(), and colmap::Point3D::SetXYZ().
Referenced by BOOST_AUTO_TEST_CASE(), colmap::IncrementalTriangulator::CompleteImage(), Crop(), GeneratePointCloud(), ImportPLY(), Merge(), MergePoints3D(), and colmap::IncrementalMapper::RegisterInitialImagePair().
| bool colmap::Reconstruction::Align | ( | const std::vector< std::string > & | image_names, |
| const std::vector< Eigen::Vector3d > & | locations, | ||
| const int | min_common_images, | ||
| SimilarityTransform3 * | tform = nullptr |
||
| ) |
References colmap::SimilarityTransform3::Estimate(), FindImageWithName(), image, IsImageRegistered(), and Transform().
Referenced by colmap::RunModelAligner().
| bool colmap::Reconstruction::AlignRobust | ( | const std::vector< std::string > & | image_names, |
| const std::vector< Eigen::Vector3d > & | locations, | ||
| const int | min_common_images, | ||
| const RANSACOptions & | ransac_options, | ||
| SimilarityTransform3 * | tform = nullptr |
||
| ) |
Referenced by BOOST_AUTO_TEST_CASE(), colmap::IncrementalTriangulator::CompleteImage(), colmap::EstimateManhattanWorldFrame(), ExportBundler(), ExportCam(), ExportNVM(), ExportRecon3D(), FilterImages(), Merge(), colmap::BundleAdjuster::ParameterizeCameras(), colmap::mvs::Model::ReadFromCOLMAP(), colmap::IncrementalMapper::RegisterInitialImagePair(), colmap::IncrementalMapper::RegisterNextImage(), colmap::IncrementalTriangulator::Retriangulate(), SetUp(), colmap::IncrementalTriangulator::TriangulateImage(), and colmap::UndistortReconstruction().
| std::pair< Eigen::Vector3d, Eigen::Vector3d > colmap::Reconstruction::ComputeBoundingBox | ( | const double | p0 = 0.0, |
| const double | p1 = 1.0 |
||
| ) | const |
References cloudViewer::core::make_pair().
Referenced by BOOST_AUTO_TEST_CASE(), colmap::RunModelCropper(), and colmap::RunModelSplitter().
| Eigen::Vector3d colmap::Reconstruction::ComputeCentroid | ( | const double | p0 = 0.1, |
| const double | p1 = 0.9 |
||
| ) | const |
Referenced by colmap::AlignToENUPlane(), colmap::AlignToPrincipalPlane(), and BOOST_AUTO_TEST_CASE().
| double colmap::Reconstruction::ComputeMeanObservationsPerRegImage | ( | ) | const |
| double colmap::Reconstruction::ComputeMeanReprojectionError | ( | ) | const |
| double colmap::Reconstruction::ComputeMeanTrackLength | ( | ) | const |
| size_t colmap::Reconstruction::ComputeNumObservations | ( | ) | const |
References Image(), and colmap::Image::NumPoints3D().
Referenced by BOOST_AUTO_TEST_CASE(), ComputeMeanObservationsPerRegImage(), ComputeMeanTrackLength(), colmap::RunModelAnalyzer(), colmap::RunPointTriangulator(), colmap::ReconstructionStatsWidget::Show(), and cloudViewer::ReconstructionStatsWidget::Show().
| std::vector< PlyPoint > colmap::Reconstruction::ConvertToPLY | ( | ) | const |
References colmap::PlyPoint::b, colmap::PlyPoint::g, colmap::PlyPoint::r, colmap::PlyPoint::x, colmap::PlyPoint::y, and colmap::PlyPoint::z.
Referenced by ExportPLY().
| void colmap::Reconstruction::CreateImageDirs | ( | const std::string & | path | ) | const |
References colmap::CreateDirIfNotExists(), image, colmap::JoinPaths(), cloudViewer::t::geometry::path, and colmap::StringSplit().
Referenced by ExportCam().
| Reconstruction colmap::Reconstruction::Crop | ( | const std::pair< Eigen::Vector3d, Eigen::Vector3d > & | bbox | ) | const |
References AddCamera(), AddImage(), AddPoint3D(), Image(), image, and RegisterImage().
Referenced by BOOST_AUTO_TEST_CASE(), colmap::RunModelCropper(), and colmap::RunModelSplitter().
| void colmap::Reconstruction::DeleteAllPoints2DAndPoints3D | ( | ) |
References image, colmap::Image::SetCameraId(), colmap::Image::SetImageId(), colmap::Image::SetName(), colmap::Image::SetNumCorrespondences(), colmap::Image::SetQvec(), colmap::Image::SetQvecPrior(), colmap::Image::SetRegistered(), colmap::Image::SetTvec(), and colmap::Image::SetTvecPrior().
Referenced by colmap::mvs::Model::ReadFromCOLMAP(), and colmap::RunPointTriangulator().
| void colmap::Reconstruction::DeleteObservation | ( | const image_t | image_id, |
| const point2D_t | point2D_idx | ||
| ) |
References colmap::Track::DeleteElement(), DeletePoint3D(), Image(), image, colmap::Track::Length(), Point3D(), and colmap::Point3D::Track().
Referenced by BOOST_AUTO_TEST_CASE(), DeRegisterImage(), and FilterObservationsWithNegativeDepth().
| void colmap::Reconstruction::DeletePoint3D | ( | const point3D_t | point3D_id | ) |
References colmap::Track::Elements(), Image(), image, Point3D(), and colmap::Point3D::Track().
Referenced by BOOST_AUTO_TEST_CASE(), DeleteObservation(), MergePoints3D(), and colmap::RunPointFiltering().
| void colmap::Reconstruction::DeRegisterImage | ( | const image_t | image_id | ) |
References DeleteObservation(), Image(), and image.
Referenced by BOOST_AUTO_TEST_CASE(), FilterImages(), colmap::RunImageDeleter(), and colmap::RunImageFilterer().
|
inline |
Referenced by AddCamera(), BOOST_AUTO_TEST_CASE(), colmap::CameraRig::Check(), Load(), and Merge().
|
inline |
Referenced by AddImage(), BOOST_AUTO_TEST_CASE(), colmap::CameraRig::Check(), colmap::IncrementalTriangulator::CompleteImage(), FindCommonRegImageIds(), Load(), Merge(), colmap::IncrementalMapper::RegisterNextImage(), colmap::IncrementalTriangulator::Retriangulate(), colmap::RunImageDeleter(), and colmap::IncrementalTriangulator::TriangulateImage().
|
inline |
|
inline |
Referenced by AddPoint3D(), BOOST_AUTO_TEST_CASE(), and colmap::IncrementalTriangulator::GetModifiedPoints3D().
| bool colmap::Reconstruction::ExportBundler | ( | const std::string & | path, |
| const std::string & | list_path, | ||
| bool | skip_distortion = false |
||
| ) | const |
References Camera(), QtCompat::endl(), colmap::SimpleRadialCameraModel::extra_params_idxs, colmap::RadialCameraModel::extra_params_idxs, Image(), image, colmap::Camera::MeanFocalLength(), colmap::SimplePinholeCameraModel::model_id, colmap::PinholeCameraModel::model_id, colmap::SimpleRadialCameraModel::model_id, colmap::RadialCameraModel::model_id, colmap::Camera::ModelId(), colmap::Camera::Params(), cloudViewer::t::geometry::path, colmap::Camera::PrincipalPointX(), colmap::Camera::PrincipalPointY(), colmap::Point2D::X(), and colmap::Point2D::Y().
Referenced by colmap::RunModelConverter().
| bool colmap::Reconstruction::ExportCam | ( | const std::string & | path, |
| bool | skip_distortion = false |
||
| ) | const |
References Camera(), CreateImageDirs(), e, QtCompat::endl(), colmap::SimpleRadialCameraModel::extra_params_idxs, colmap::RadialCameraModel::extra_params_idxs, colmap::Camera::FocalLengthIdxs(), colmap::Camera::FocalLengthX(), colmap::Camera::FocalLengthY(), colmap::Camera::Height(), Image(), image, colmap::JoinPaths(), colmap::Camera::MeanFocalLength(), colmap::SimplePinholeCameraModel::model_id, colmap::PinholeCameraModel::model_id, colmap::SimpleRadialCameraModel::model_id, colmap::RadialCameraModel::model_id, colmap::Camera::ModelId(), name, colmap::Camera::Params(), cloudViewer::t::geometry::path, colmap::Camera::PrincipalPointX(), colmap::Camera::PrincipalPointY(), colmap::SplitFileExtension(), and colmap::Camera::Width().
Referenced by colmap::RunModelConverter().
| bool colmap::Reconstruction::ExportNVM | ( | const std::string & | path, |
| bool | skip_distortion = false |
||
| ) | const |
References Camera(), QtCompat::endl(), colmap::SimpleRadialCameraModel::extra_params_idxs, Image(), image, colmap::Camera::MeanFocalLength(), colmap::SimplePinholeCameraModel::model_id, colmap::PinholeCameraModel::model_id, colmap::SimpleRadialCameraModel::model_id, colmap::Camera::ModelId(), colmap::Camera::Params(), cloudViewer::t::geometry::path, colmap::Point2D::X(), and colmap::Point2D::Y().
Referenced by colmap::RunModelConverter().
| void colmap::Reconstruction::ExportPLY | ( | const std::string & | path | ) | const |
References ConvertToPLY(), cloudViewer::t::geometry::path, and colmap::WriteBinaryPlyPoints().
Referenced by colmap::RunModelConverter(), and colmap::RunModelTransformer().
| bool colmap::Reconstruction::ExportRecon3D | ( | const std::string & | path, |
| bool | skip_distortion = false |
||
| ) | const |
References Camera(), colmap::CreateDirIfNotExists(), QtCompat::endl(), colmap::EnsureTrailingSlash(), colmap::SimpleRadialCameraModel::extra_params_idxs, colmap::RadialCameraModel::extra_params_idxs, colmap::Camera::Height(), Image(), image, colmap::Camera::MeanFocalLength(), colmap::SimplePinholeCameraModel::model_id, colmap::PinholeCameraModel::model_id, colmap::SimpleRadialCameraModel::model_id, colmap::RadialCameraModel::model_id, colmap::Camera::ModelId(), colmap::NormalizeQuaternion(), colmap::Camera::Params(), cloudViewer::t::geometry::path, colmap::Camera::PrincipalPointX(), colmap::Camera::PrincipalPointY(), colmap::QuaternionToRotationMatrix(), colmap::StringReplace(), colmap::Camera::Width(), colmap::Point2D::X(), and colmap::Point2D::Y().
Referenced by colmap::RunModelConverter().
| void colmap::Reconstruction::ExportVRML | ( | const std::string & | images_path, |
| const std::string & | points3D_path, | ||
| const double | image_scale, | ||
| const Eigen::Vector3d & | image_rgb | ||
| ) | const |
References QtCompat::endl(), image, and points.
Referenced by colmap::RunModelConverter().
| void colmap::Reconstruction::ExtractColorsForAllImages | ( | const std::string & | path | ) |
| bool colmap::Reconstruction::ExtractColorsForImage | ( | const image_t | image_id, |
| const std::string & | path | ||
| ) |
References colmap::BitmapColor< T >::b, colmap::Point3D::Color(), color, colmap::BitmapColor< T >::g, Image(), image, colmap::Bitmap::InterpolateBilinear(), colmap::JoinPaths(), cloudViewer::t::geometry::path, Point3D(), colmap::BitmapColor< T >::r, colmap::Bitmap::Read(), and colmap::Point3D::SetColor().
| size_t colmap::Reconstruction::FilterAllPoints3D | ( | const double | max_reproj_error, |
| const double | min_tri_angle | ||
| ) |
References Point3DIds().
Referenced by BOOST_AUTO_TEST_CASE(), colmap::IncrementalMapper::FilterPoints(), and colmap::RunPointFiltering().
| std::vector< image_t > colmap::Reconstruction::FilterImages | ( | const double | min_focal_length_ratio, |
| const double | max_focal_length_ratio, | ||
| const double | max_extra_param | ||
| ) |
References Camera(), DeRegisterImage(), colmap::Camera::HasBogusParams(), Image(), image, and RegImageIds().
Referenced by BOOST_AUTO_TEST_CASE(), colmap::IncrementalMapper::FilterImages(), and colmap::RunImageFilterer().
| size_t colmap::Reconstruction::FilterObservationsWithNegativeDepth | ( | ) |
References DeleteObservation(), colmap::Point2D::HasPoint3D(), colmap::HasPointPositiveDepth(), Image(), image, Point3D(), colmap::Point2D::Point3DId(), and colmap::Point3D::XYZ().
Referenced by colmap::IncrementalMapper::AdjustGlobalBundle(), BOOST_AUTO_TEST_CASE(), and colmap::RunPointTriangulator().
| size_t colmap::Reconstruction::FilterPoints3D | ( | const double | max_reproj_error, |
| const double | min_tri_angle, | ||
| const std::unordered_set< point3D_t > & | point3D_ids | ||
| ) |
Referenced by colmap::IncrementalMapper::AdjustLocalBundle(), BOOST_AUTO_TEST_CASE(), and FilterPoints3DInImages().
| size_t colmap::Reconstruction::FilterPoints3DInImages | ( | const double | max_reproj_error, |
| const double | min_tri_angle, | ||
| const std::unordered_set< image_t > & | image_ids | ||
| ) |
References FilterPoints3D(), Image(), and image.
Referenced by colmap::IncrementalMapper::AdjustLocalBundle(), and BOOST_AUTO_TEST_CASE().
| std::vector< image_t > colmap::Reconstruction::FindCommonRegImageIds | ( | const Reconstruction & | reconstruction | ) | const |
References ExistsImage(), Image(), IsImageRegistered(), and colmap::Image::Name().
Referenced by colmap::ComputeAlignmentBetweenReconstructions(), and colmap::RunModelComparer().
| const class Image * colmap::Reconstruction::FindImageWithName | ( | const std::string & | name | ) | const |
|
inline |
Referenced by operator=().
|
inline |
Referenced by AddObservation(), AddPoint3D(), colmap::IncrementalMapper::AdjustLocalBundle(), BOOST_AUTO_TEST_CASE(), colmap::CameraRig::Check(), colmap::IncrementalTriangulator::CompleteImage(), colmap::CameraRig::ComputeAbsolutePose(), colmap::ComputeAlignmentBetweenReconstructions(), ComputeNumObservations(), colmap::CameraRig::ComputeRelativePoses(), colmap::CameraRig::ComputeScale(), Crop(), DeleteObservation(), DeletePoint3D(), DeRegisterImage(), colmap::EstimateGravityVectorFromImageOrientation(), colmap::EstimateManhattanWorldFrame(), ExportBundler(), ExportCam(), ExportNVM(), ExportRecon3D(), ExtractColorsForAllImages(), ExtractColorsForImage(), FilterImages(), FilterObservationsWithNegativeDepth(), FilterPoints3DInImages(), FindCommonRegImageIds(), GenerateReconstruction(), IsImageRegistered(), Load(), Merge(), colmap::BundleAdjustmentConfig::NumResiduals(), colmap::mvs::Model::ReadFromCOLMAP(), RegisterImage(), colmap::IncrementalMapper::RegisterInitialImagePair(), colmap::IncrementalMapper::RegisterNextImage(), colmap::ModelViewerWidget::ReloadReconstruction(), cloudViewer::ModelViewerWidget::ReloadReconstruction(), colmap::IncrementalTriangulator::Retriangulate(), colmap::RunImageDeleter(), colmap::RunModelComparer(), colmap::RunPointTriangulator(), SetUp(), colmap::IncrementalTriangulator::TriangulateImage(), and colmap::UndistortReconstruction().
|
inline |
|
inline |
|
inline |
References colmap::Database::ImagePairToPairId().
|
inline |
References colmap::Database::ImagePairToPairId().
|
inline |
Referenced by operator=(), and colmap::IncrementalTriangulator::Retriangulate().
| void colmap::Reconstruction::ImportPLY | ( | const std::string & | path | ) |
References AddPoint3D(), cloudViewer::t::geometry::path, and colmap::ReadPly().
Referenced by colmap::RunModelTransformer(), and colmap::RunStereoFuser().
| void colmap::Reconstruction::ImportPLY | ( | const std::vector< PlyPoint > & | ply_points | ) |
References AddPoint3D().
|
inline |
References Image(), and colmap::Image::IsRegistered().
Referenced by Align(), AlignRobust(), BOOST_AUTO_TEST_CASE(), and FindCommonRegImageIds().
| void colmap::Reconstruction::Load | ( | const DatabaseCache & | database_cache | ) |
References AddCamera(), AddImage(), colmap::DatabaseCache::Cameras(), colmap::DatabaseCache::CorrespondenceGraph(), ExistsCamera(), ExistsImage(), Image(), image, colmap::DatabaseCache::Images(), colmap::Image::Name(), colmap::Reconstruction::ImagePairStat::num_total_corrs, colmap::DatabaseCache::NumCameras(), colmap::CorrespondenceGraph::NumCorrespondencesBetweenImages(), colmap::DatabaseCache::NumImages(), colmap::Image::NumPoints2D(), colmap::Image::SetNumCorrespondences(), colmap::Image::SetNumObservations(), and colmap::Image::SetPoints2D().
Referenced by colmap::IncrementalMapper::BeginReconstruction().
| bool colmap::Reconstruction::Merge | ( | const Reconstruction & | reconstruction, |
| const double | max_reproj_error | ||
| ) |
References AddCamera(), colmap::Track::AddElement(), AddImage(), AddPoint3D(), Camera(), colmap::ComputeAlignmentBetweenReconstructions(), ExistsCamera(), ExistsImage(), Image(), image, colmap::Track::Length(), MergePoints3D(), NumRegImages(), colmap::Image::Point2D(), Point3DIds(), Points3D(), RegImageIds(), RegisterImage(), colmap::Image::ResetPoint3DForPoint2D(), colmap::Image::SetRegistered(), colmap::SimilarityTransform3::TransformPoint(), and colmap::SimilarityTransform3::TransformPose().
Referenced by colmap::RunModelMerger().
| void colmap::Reconstruction::Normalize | ( | const double | extent = 10.0, |
| const double | p0 = 0.1, |
||
| const double | p1 = 0.9, |
||
| const bool | use_images = true |
||
| ) |
References colmap::ComposeIdentityQuaternion(), and Transform().
Referenced by colmap::IncrementalMapper::AdjustGlobalBundle(), and BOOST_AUTO_TEST_CASE().
|
inline |
Referenced by operator=().
|
inline |
|
inline |
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
|
inline |
Referenced by colmap::AlignToPrincipalPlane(), BOOST_AUTO_TEST_CASE(), colmap::mvs::Model::ReadFromCOLMAP(), colmap::RunImageTexturer(), colmap::RunImageUndistorter(), colmap::RunModelAnalyzer(), colmap::RunModelComparer(), colmap::RunModelMerger(), colmap::RunModelSplitter(), colmap::RunModelTransformer(), colmap::ReconstructionStatsWidget::Show(), cloudViewer::ReconstructionStatsWidget::Show(), colmap::ReconstructionManagerWidget::Update(), and cloudViewer::ReconstructionManagerWidget::Update().
|
inline |
Referenced by BOOST_AUTO_TEST_CASE(), colmap::EstimateGravityVectorFromImageOrientation(), colmap::EstimateManhattanWorldFrame(), colmap::IncrementalMapper::FilterImages(), Merge(), colmap::mvs::Model::ReadFromCOLMAP(), colmap::IncrementalMapper::RegisterInitialImagePair(), colmap::IncrementalMapper::RegisterNextImage(), colmap::AutomaticReconstructionController::RunDenseMapper(), colmap::RunImageFilterer(), colmap::RunImageRegistrator(), colmap::RunModelAnalyzer(), colmap::RunModelComparer(), colmap::RunModelMerger(), colmap::RunModelSplitter(), colmap::RunPointTriangulator(), colmap::ReconstructionStatsWidget::Show(), cloudViewer::ReconstructionStatsWidget::Show(), colmap::ReconstructionManagerWidget::Update(), and cloudViewer::ReconstructionManagerWidget::Update().
| Reconstruction & colmap::Reconstruction::operator= | ( | const Reconstruction & | other | ) |
References Cameras(), GetCorrespondenceGraph(), ImagePairs(), Images(), NumAddedPoints3D(), Points3D(), and RegImageIds().
Referenced by AddObservation(), colmap::IncrementalMapper::AdjustLocalBundle(), BOOST_AUTO_TEST_CASE(), DeleteObservation(), DeletePoint3D(), ExtractColorsForImage(), FilterObservationsWithNegativeDepth(), MergePoints3D(), colmap::BundleAdjustmentConfig::NumResiduals(), colmap::BundleAdjuster::ParameterizePoints(), colmap::IncrementalMapper::RegisterNextImage(), and colmap::RunPointFiltering().
| std::unordered_set< point3D_t > colmap::Reconstruction::Point3DIds | ( | ) | const |
| void colmap::Reconstruction::Read | ( | const std::string & | path | ) |
References colmap::ExistsFile(), colmap::JoinPaths(), cloudViewer::t::geometry::path, ReadBinary(), and ReadText().
Referenced by main(), colmap::mvs::Model::ReadFromCOLMAP(), colmap::RunBundleAdjuster(), colmap::RunColorExtractor(), colmap::RunImageDeleter(), colmap::RunImageFilterer(), colmap::RunImageRectifier(), colmap::RunImageRegistrator(), colmap::RunImageTexturer(), colmap::RunImageUndistorter(), colmap::RunModelAligner(), colmap::RunModelAnalyzer(), colmap::RunModelComparer(), colmap::RunModelConverter(), colmap::RunModelCropper(), colmap::RunModelMerger(), colmap::RunModelOrientationAligner(), colmap::RunModelSplitter(), colmap::RunModelTransformer(), colmap::RunPointFiltering(), colmap::RunPointTriangulator(), colmap::RunRigBundleAdjuster(), and colmap::RunStereoFuser().
| void colmap::Reconstruction::ReadBinary | ( | const std::string & | path | ) |
References colmap::JoinPaths(), and cloudViewer::t::geometry::path.
Referenced by Read().
| void colmap::Reconstruction::ReadText | ( | const std::string & | path | ) |
References colmap::JoinPaths(), and cloudViewer::t::geometry::path.
Referenced by Read().
|
inline |
Referenced by colmap::IncrementalMapper::AdjustGlobalBundle(), colmap::IncrementalMapper::BeginReconstruction(), colmap::IncrementalMapper::EndReconstruction(), colmap::EstimateGravityVectorFromImageOrientation(), colmap::EstimateManhattanWorldFrame(), FilterImages(), Merge(), operator=(), colmap::mvs::Model::ReadFromCOLMAP(), colmap::ModelViewerWidget::ReloadReconstruction(), cloudViewer::ModelViewerWidget::ReloadReconstruction(), colmap::RunPointTriangulator(), and colmap::RunRigBundleAdjuster().
| void colmap::Reconstruction::RegisterImage | ( | const image_t | image_id | ) |
References Image(), and image.
Referenced by BOOST_AUTO_TEST_CASE(), Crop(), GenerateReconstruction(), Merge(), colmap::IncrementalMapper::RegisterInitialImagePair(), and colmap::IncrementalMapper::RegisterNextImage().
| void colmap::Reconstruction::SetUp | ( | const CorrespondenceGraph * | correspondence_graph | ) |
References Camera(), Image(), and image.
Referenced by colmap::IncrementalMapper::BeginReconstruction(), and GenerateReconstruction().
| void colmap::Reconstruction::TearDown | ( | ) |
Referenced by colmap::IncrementalMapper::EndReconstruction(), and colmap::mvs::Model::ReadFromCOLMAP().
| void colmap::Reconstruction::TranscribeImageIdsToDatabase | ( | const Database & | database | ) |
References colmap::Database::ExistsImageWithName(), image, NumImages(), and colmap::Database::ReadImageWithName().
Referenced by colmap::RunPointTriangulator().
| void colmap::Reconstruction::Transform | ( | const SimilarityTransform3 & | tform | ) |
References image, colmap::SimilarityTransform3::TransformPoint(), and colmap::SimilarityTransform3::TransformPose().
Referenced by Align(), AlignRobust(), colmap::AlignToENUPlane(), colmap::AlignToPrincipalPlane(), BOOST_AUTO_TEST_CASE(), Normalize(), colmap::RunModelOrientationAligner(), and colmap::RunModelTransformer().
| void colmap::Reconstruction::Write | ( | const std::string & | path | ) | const |
References cloudViewer::t::geometry::path, and WriteBinary().
Referenced by main(), colmap::RunBundleAdjuster(), colmap::RunColorExtractor(), colmap::RunImageDeleter(), colmap::RunImageFilterer(), colmap::RunImageRegistrator(), colmap::RunMapper(), colmap::RunModelAligner(), colmap::RunModelCropper(), colmap::RunModelMerger(), colmap::RunModelOrientationAligner(), colmap::RunModelSplitter(), colmap::RunModelTransformer(), colmap::RunPointFiltering(), colmap::RunPointTriangulator(), and colmap::RunRigBundleAdjuster().
| void colmap::Reconstruction::WriteBinary | ( | const std::string & | path | ) | const |
References colmap::JoinPaths(), and cloudViewer::t::geometry::path.
Referenced by colmap::RunModelConverter(), colmap::RunStereoFuser(), and Write().
| void colmap::Reconstruction::WriteText | ( | const std::string & | path | ) | const |
References colmap::JoinPaths(), and cloudViewer::t::geometry::path.
Referenced by colmap::RunModelConverter(), and colmap::RunStereoFuser().