![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Generic file read and write utility for python interface. More...
Namespaces | |
| benchmarks | |
| camera | |
| core | |
| data | |
| geometry | |
| gpu | |
| io | |
| ml | |
| pipelines | |
| ply_lineset_reader | |
| ply_pointcloud_reader | |
| ply_trianglemesh_reader | |
| ply_voxelgrid_reader | |
| system | |
| t | |
| utility | |
| visualization | |
| visualizer | |
Classes | |
| class | AlignmentSession |
| class | AutomaticReconstructionController |
| class | AutomaticReconstructionWidget |
| class | AutoSegmentationTools |
| class | BoundingBoxTpl |
| Bounding box structure. More... | |
| class | BundleAdjustmentWidget |
| class | CameraTab |
| class | CCMiscTools |
| Miscellaneous useful functions (geometrical elements handling) More... | |
| class | ChamferDistanceTransform |
| Class to compute a Chamfer distance field on a 3D grid. More... | |
| class | CloudSamplingTools |
| Several point cloud resampling algorithms (octree-based, random, etc.) More... | |
| class | ConjugateGradient |
| A class to perform a conjugate gradient optimization. More... | |
| class | CustomMatchingTab |
| class | CVToolbox |
| Empty class - for classification purpose only. More... | |
| class | DatabaseImageViewerWidget |
| class | DatabaseManagementWidget |
| class | Delaunay2dMesh |
| A class to compute and handle a Delaunay 2D mesh on a subset of points. More... | |
| class | DenseReconstructionOptionsWidget |
| class | DenseReconstructionWidget |
| class | DgmOctree |
| The octree structure used throughout the library. More... | |
| class | DgmOctreeReferenceCloud |
| A kind of ReferenceCloud based on the DgmOctree::NeighboursSet structure. More... | |
| class | DistanceComputationTools |
| class | ErrorFunction |
| A class to compute the Error function (erf) More... | |
| class | ExhaustiveMatchingTab |
| class | ExtractionWidget |
| class | FastMarching |
| Fast Marching algorithm (front propagation) More... | |
| class | FastMarchingForPropagation |
| Fast Marching algorithm for surface front propagation. More... | |
| class | FeatureExtractionWidget |
| class | FeatureImageViewerWidget |
| class | FeatureMatchingTab |
| class | FeatureMatchingWidget |
| class | FPCSRegistrationTools |
| class | GenericCloud |
| class | GenericDistribution |
| A generic class to handle a probability distribution. More... | |
| class | GenericIndexedCloud |
| A generic 3D point cloud with index-based point access. More... | |
| class | GenericIndexedCloudPersist |
| A generic 3D point cloud with index-based and presistent access to points. More... | |
| class | GenericIndexedMesh |
| A generic mesh with index-based vertex access. More... | |
| class | GenericMesh |
| class | GenericOctree |
| class | GenericProgressCallback |
| class | GenericTriangle |
| A generic triangle interface. More... | |
| class | GeometricalAnalysisTools |
| class | Grid3D |
| Simple 3D grid structure. More... | |
| class | HornRegistrationTools |
| Horn point cloud registration algorithm. More... | |
| class | ICPRegistrationTools |
| ICP point cloud registration algorithm (Besl et al.). More... | |
| class | ImageTab |
| class | ImageViewerGraphicsScene |
| class | ImageViewerWidget |
| class | ImportFeaturesWidget |
| class | KDTree |
| struct | KMeanClass |
| A K-mean class position and boundaries. More... | |
| class | LocalModel |
| Local modelization (generic interface) More... | |
| class | LogWidget |
| class | ManualSegmentationTools |
| Manual segmentation algorithms (inside/outside a polyline, etc.) More... | |
| class | MapperBundleAdjustmentOptionsWidget |
| class | MapperFilteringOptionsWidget |
| class | MapperGeneralOptionsWidget |
| class | MapperInitializationOptionsWidget |
| class | MapperRegistrationOptionsWidget |
| class | MapperTriangulationOptionsWidget |
| class | MatchesTab |
| class | MatchMatrixWidget |
| class | MathTools |
| Empty class - for classification purpose only. More... | |
| class | MeshSamplingTools |
| Mesh sampling algorithms. More... | |
| class | ModelViewerWidget |
| class | MovieGrabberWidget |
| class | Neighbourhood |
| class | NormalDistribution |
| The Normal/Gaussian statistical distribution. More... | |
| class | NormalizedProgress |
| struct | OctreeAndMeshIntersection |
| class | OptionsParser |
| class | OrientedBoundingBox |
| A bounding box oriented along an arbitrary frame of reference. More... | |
| class | OverlappingImagesWidget |
| class | PointCloud |
| class | PointCloudTpl |
| class | PointProjectionTools |
| class | PointViewerWidget |
| class | Polyline |
| A simple polyline class. More... | |
| class | ProjectWidget |
| class | ReconstructionManagerWidget |
| class | ReconstructionOptionsWidget |
| class | ReconstructionStatsWidget |
| class | ReconstructionWidget |
| class | ReferenceCloud |
| A very simple point cloud (no point duplication) More... | |
| class | RegistrationTools |
| Common point cloud registration algorithms. More... | |
| class | RenderOptionsWidget |
| class | SaitoSquaredDistanceTransform |
| class | ScalarField |
| A simple scalar field (to be associated to a point cloud) More... | |
| class | ScalarFieldTools |
| Several scalar field treatment algorithms (gradient, classification, etc.) More... | |
| class | SequentialMatchingTab |
| class | SIFTExtractionWidget |
| class | SimpleMesh |
| A simple mesh structure, with index-based vertex access. More... | |
| class | SimpleRefTriangle |
| A simple triangle class. More... | |
| class | SimpleTriangle |
| A simple triangle class. More... | |
| class | SpatialMatchingTab |
| class | SquareMatrixTpl |
| Square matrix. More... | |
| class | StandardOutputRedirector |
| class | StaticVector |
| class | StatisticalTestingTools |
| class | ThreadControlWidget |
| class | TransitiveMatchingTab |
| struct | TriangleList |
| List of triangles (indexes) More... | |
| class | TrueKdTree |
| Proper KD-tree implementation. More... | |
| class | TwoViewGeometriesTab |
| class | TwoViewInfoTab |
| class | UndistortionWidget |
| struct | uni_elt |
| class | Universe |
| Allows to perform labelling by creating node and connecting them. More... | |
| struct | VerticesIndexes |
| Triangle described by the indexes of its 3 vertices. More... | |
| class | ViewInterpolate |
| The ViewInterpolate class. More... | |
| class | VisualizerForAlignment |
| class | VocabTreeMatchingTab |
| class | WeibullDistribution |
| The Weibull statistical parametric distribution. More... | |
Enumerations | |
| enum | TRIANGULATION_TYPES { DELAUNAY_2D_AXIS_ALIGNED, DELAUNAY_2D_BEST_LS_PLANE = 2 } |
| Triangulation types. More... | |
Functions | |
| void | PrintCloudViewerVersion () |
| std::string | GetCloudViewerVersion () |
| std::string | GetBuildInfo () |
| std::string | GetCloudViewerBuildInfo () |
| bool | LessThanEpsilon (float x) |
| Test a floating point number against our epsilon (a very small number). More... | |
| bool | LessThanEpsilon (double x) |
| Test a floating point number against our epsilon (a very small number). More... | |
| bool | GreaterThanEpsilon (float x) |
| Test a floating point number against our epsilon (a very small number). More... | |
| bool | GreaterThanEpsilon (double x) |
| Test a floating point number against our epsilon (a very small number). More... | |
| bool | GreaterThanSquareEpsilon (double x) |
| bool | LessThanSquareEpsilon (double x) |
| float | RadiansToDegrees (int radians) |
| Convert radians to degrees. More... | |
| float | RadiansToDegrees (float radians) |
| Convert radians to degrees. More... | |
| double | RadiansToDegrees (double radians) |
| Convert radians to degrees. More... | |
| float | DegreesToRadians (int degrees) |
| Convert degrees to radians. More... | |
| float | DegreesToRadians (float degrees) |
| Convert degrees to radians. More... | |
| double | DegreesToRadians (double degrees) |
| Convert degrees to radians. More... | |
| template<class T > | |
| int | sizeOfStaticVector (const StaticVector< T > *a) |
| template<class T > | |
| int | sizeOfStaticVector (const StaticVector< T > &a) |
| template<class T > | |
| int | indexOf (T *arr, int n, const T &what) |
| template<class T > | |
| void | saveArrayOfArraysToFile (std::string fileName, StaticVector< StaticVector< T > * > *aa) |
| template<class T > | |
| void | saveArrayOfArraysToFile (const std::string fileName, StaticVector< StaticVector< T >> &aa) |
| template<class T > | |
| StaticVector< StaticVector< T > * > * | loadArrayOfArraysFromFile (const std::string &fileName) |
| template<class T > | |
| void | loadArrayOfArraysFromFile (StaticVector< StaticVector< T >> &out_aa, const std::string &fileName) |
| template<class T > | |
| void | saveArrayToFile (const std::string &fileName, const StaticVector< T > &a, bool docompress=true) |
| template<class T > | |
| void | saveArrayToFile (const std::string &fileName, const StaticVector< T > *a, bool docompress=true) |
| template<class T > | |
| StaticVector< T > * | loadArrayFromFile (const std::string &fileName, bool printfWarning=false) |
| template<class T > | |
| bool | loadArrayFromFile (StaticVector< T > &out, const std::string &fileName, bool printfWarning=false) |
| template<class T > | |
| void | loadArrayFromFileIntoArray (StaticVector< T > *a, const std::string &fileName, bool printfWarning=false) |
| int | getArrayLengthFromFile (std::string fileName) |
| template<class T > | |
| void | deleteArrayOfArrays (StaticVector< StaticVector< T > * > **aa) |
| template<class T > | |
| void | deleteArrayOfArrays (StaticVector< StaticVector< T > * > &aa) |
| template<class T > | |
| StaticVector< StaticVector< T > * > * | cloneArrayOfArrays (StaticVector< StaticVector< T > * > *inAOA) |
| template<class T > | |
| T | InterpolateNumber (T start, T end, double interpolationFraction) |
| template<typename scalar_t , typename T > | |
| CLOUDVIEWER_HOST_DEVICE bool | IsClose (const scalar_t &x, const T &y, const double rtol=1e-4) |
| template<typename scalar_t > | |
| CLOUDVIEWER_HOST_DEVICE scalar_t | Square (const scalar_t &x) |
| int | GraphicalUserInterface (const std::string &database_path, const std::string &image_path, const std::string &import_path) |
| int | GenerateProject (const std::string &output_path, const std::string &quality) |
| int | CleanDatabase (const std::string &database_path, const std::string &clean_type) |
| int | CreateDatabase (const std::string &database_path) |
| int | MergeDatabase (const std::string &database_path1, const std::string &database_path2, const std::string &merged_database_path) |
| int | ExtractFeature (const std::string &database_path, const std::string &image_path, const std::string &image_list_path, int camera_mode, const colmap::ImageReaderOptions &image_reader_options, const colmap::SiftExtractionOptions &sift_extraction_options) |
| int | ImportFeature (const std::string &database_path, const std::string &image_path, const std::string &import_path, const std::string &image_list_path, int camera_mode, const colmap::ImageReaderOptions &image_reader_options, const colmap::SiftExtractionOptions &sift_extraction_options) |
| int | ImportMatches (const std::string &database_path, const std::string &match_list_path, const std::string &match_type, const colmap::SiftMatchingOptions &sift_matching_options) |
| int | ExhaustiveMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::ExhaustiveMatchingOptions &exhaustive_matching_options) |
| int | SequentialMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::SequentialMatchingOptions &sequential_matching_options) |
| int | SpatialMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::SpatialMatchingOptions &spatial_matching_options) |
| int | TransitiveMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::TransitiveMatchingOptions &transitive_matching_options) |
| int | VocabTreeMatch (const std::string &database_path, const colmap::SiftMatchingOptions &sift_matching_options, const colmap::VocabTreeMatchingOptions &vocab_tree_matching_options) |
| int | DeleteImage (const std::string &input_path, const std::string &output_path, const std::string &image_ids_path, const std::string &image_names_path) |
| int | FilterImage (const std::string &input_path, const std::string &output_path, double min_focal_length_ratio, double max_focal_length_ratio, double max_extra_param, std::size_t min_num_observations) |
| int | RectifyImage (const std::string &image_path, const std::string &input_path, const std::string &output_path, const std::string &stereo_pairs_list, double blank_pixels, double min_scale, double max_scale, int max_image_size) |
| int | RegisterImage (const std::string &database_path, const std::string &input_path, const std::string &output_path, const colmap::IncrementalMapperOptions &incremental_mapper_options) |
| int | UndistortImage (const std::string &image_path, const std::string &input_path, const std::string &output_path, const std::string &image_list_path, const std::string &output_type, const std::string ©_policy, int num_patch_match_src_images, double blank_pixels, double min_scale, double max_scale, int max_image_size, double roi_min_x, double roi_min_y, double roi_max_x, double roi_max_y) |
| int | UndistortImageStandalone (const std::string &image_path, const std::string &input_file, const std::string &output_path, double blank_pixels, double min_scale, double max_scale, int max_image_size, double roi_min_x, double roi_min_y, double roi_max_x, double roi_max_y) |
| int | AlignModel (const std::string &input_path, const std::string &output_path, const std::string &database_path, const std::string &ref_images_path, const std::string &transform_path, const std::string &alignment_type, double max_error, int min_common_images, bool robust_alignment, bool estimate_scale) |
| int | AnalyzeModel (const std::string &input_path) |
| int | CompareModel (const std::string &input_path1, const std::string &input_path2, const std::string &output_path, double min_inlier_observations, double max_reproj_error) |
| int | ConvertModel (const std::string &input_path, const std::string &output_path, const std::string &output_type, bool skip_distortion) |
| int | CropModel (const std::string &input_path, const std::string &output_path, const std::string &boundary, const std::string &gps_transform_path) |
| int | MergeModel (const std::string &input_path1, const std::string &input_path2, const std::string &output_path, double max_reproj_error) |
| int | AlignModelOrientation (const std::string &image_path, const std::string &input_path, const std::string &output_path, std::string method, int max_image_size) |
| int | SplitModel (const std::string &input_path, const std::string &output_path, const std::string &split_type, const std::string &split_params, const std::string &gps_transform_path, std::size_t min_reg_images, std::size_t min_num_points, double overlap_ratio, double min_area_ratio, int num_threads) |
| int | TransformModel (const std::string &input_path, const std::string &output_path, const std::string &transform_path, bool is_inverse) |
| int | MeshDelaunay (const std::string &input_path, const std::string &output_path, const std::string &input_type, const colmap::mvs::DelaunayMeshingOptions &delaunay_meshing_options) |
| int | StereoPatchMatch (const std::string &workspace_path, const std::string &config_path, const std::string &workspace_format, const std::string &pmvs_option_name, const colmap::mvs::PatchMatchOptions &patch_match_options) |
| int | MeshPoisson (const std::string &input_path, const std::string &output_path, const colmap::mvs::PoissonMeshingOptions &poisson_meshing_options) |
| int | StereoFuse (const std::string &workspace_path, const std::string &output_path, const std::string &bbox_path, const std::string &stereo_input_type, const std::string &output_type, const std::string &workspace_format, const std::string &pmvs_option_name, const colmap::mvs::StereoFusionOptions &stereo_fusion_options) |
| int | AutomaticReconstruct (const std::string &workspace_path, const std::string &image_path, const std::string &mask_path, const std::string &vocab_tree_path, const std::string &data_type, const std::string &quality, const std::string &mesher, const std::string &camera_model, bool single_camera, bool sparse, bool dense, int num_threads, bool use_gpu, const std::string &gpu_index) |
| int | BundleAdjustment (const std::string &input_path, const std::string &output_path, const colmap::BundleAdjustmentOptions &bundle_adjustment_options) |
| int | ExtractColor (const std::string &image_path, const std::string &input_path, const std::string &output_path) |
| int | NormalMapper (const std::string &database_path, const std::string &image_path, const std::string &input_path, const std::string &output_path, const std::string &image_list_path, const colmap::IncrementalMapperOptions &incremental_mapper_options) |
| int | HierarchicalMapper (const std::string &database_path, const std::string &image_path, const std::string &output_path, int num_workers, int image_overlap, int leaf_max_num_images, const colmap::IncrementalMapperOptions &incremental_mapper_options) |
| int | FilterPoints (const std::string &input_path, const std::string &output_path, std::size_t min_track_len, double max_reproj_error, double min_tri_angle) |
| int | TriangulatePoints (const std::string &database_path, const std::string &image_path, const std::string &input_path, const std::string &output_path, bool clear_points, const colmap::IncrementalMapperOptions &incremental_mapper_options) |
| int | RigBundleAdjust (const std::string &input_path, const std::string &output_path, const std::string &rig_config_path, bool estimate_rig_relative_poses, bool refine_relative_poses, const colmap::BundleAdjustmentOptions &bundle_adjustment_options) |
| int | BuildVocabTree (const std::string &database_path, const std::string &vocab_tree_path, int num_visual_words, int num_checks, int branching, int num_iterations, int max_num_images) |
| int | RetrieveVocabTree (const std::string &database_path, const std::string &vocab_tree_path, const std::string &output_index_path, const std::string &query_image_list_path, const std::string &database_image_list_path, int max_num_images, int num_neighbors, int num_checks, int num_images_after_verification, int max_num_features) |
Variables | |
| static const double | c_erfRelativeError = 1e-12 |
| Relative error for Error Function computation. More... | |
| const int | c_FastMarchingNeighbourPosShift [] |
| Grid neighboring cells positions. More... | |
Generic file read and write utility for python interface.
Gives static access to file loader and writer
| using cloudViewer::BoundingBox = typedef BoundingBoxTpl<PointCoordinateType> |
Default bounding-box type.
| using cloudViewer::ImageColormapBase = typedef colmap::ImageColormapBase |
| using cloudViewer::ImageColormapNameFilter = typedef colmap::ImageColormapNameFilter |
| using cloudViewer::PointColormapBase = typedef colmap::PointColormapBase |
| using cloudViewer::ReferenceCloudContainer = typedef std::vector<ReferenceCloud*> |
A standard container to store several subsets of points.
Several algorithms of the AutoSegmentationTools toolbox return a collection of subsets of points corresponding to each segmented part. Such a collection is generally stored in this type of container.
| using cloudViewer::SquareMatrix = typedef SquareMatrixTpl<PointCoordinateType> |
Default CC square matrix type (PointCoordinateType)
| using cloudViewer::SquareMatrixd = typedef SquareMatrixTpl<double> |
Double square matrix type.
| using cloudViewer::SquareMatrixf = typedef SquareMatrixTpl<float> |
Float square matrix type.
| using cloudViewer::StaticVectorBool = typedef StaticVector<char> |
| int cloudViewer::AlignModel | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const std::string & | database_path, | ||
| const std::string & | ref_images_path, | ||
| const std::string & | transform_path, | ||
| const std::string & | alignment_type, | ||
| double | max_error, | ||
| int | min_common_images, | ||
| bool | robust_alignment, | ||
| bool | estimate_scale | ||
| ) |
| int cloudViewer::AlignModelOrientation | ( | const std::string & | image_path, |
| const std::string & | input_path, | ||
| const std::string & | output_path, | ||
| std::string | method, | ||
| int | max_image_size | ||
| ) |
| int cloudViewer::AnalyzeModel | ( | const std::string & | input_path | ) |
| int cloudViewer::AutomaticReconstruct | ( | const std::string & | workspace_path, |
| const std::string & | image_path, | ||
| const std::string & | mask_path, | ||
| const std::string & | vocab_tree_path, | ||
| const std::string & | data_type, | ||
| const std::string & | quality, | ||
| const std::string & | mesher, | ||
| const std::string & | camera_model, | ||
| bool | single_camera, | ||
| bool | sparse, | ||
| bool | dense, | ||
| int | num_threads, | ||
| bool | use_gpu, | ||
| const std::string & | gpu_index | ||
| ) |
| int cloudViewer::BuildVocabTree | ( | const std::string & | database_path, |
| const std::string & | vocab_tree_path, | ||
| int | num_visual_words, | ||
| int | num_checks, | ||
| int | branching, | ||
| int | num_iterations, | ||
| int | max_num_images | ||
| ) |
| int cloudViewer::BundleAdjustment | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const colmap::BundleAdjustmentOptions & | bundle_adjustment_options | ||
| ) |
| int cloudViewer::CleanDatabase | ( | const std::string & | database_path, |
| const std::string & | clean_type | ||
| ) |
| StaticVector<StaticVector<T>*>* cloudViewer::cloneArrayOfArrays | ( | StaticVector< StaticVector< T > * > * | inAOA | ) |
| int cloudViewer::CompareModel | ( | const std::string & | input_path1, |
| const std::string & | input_path2, | ||
| const std::string & | output_path, | ||
| double | min_inlier_observations, | ||
| double | max_reproj_error | ||
| ) |
| int cloudViewer::ConvertModel | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const std::string & | output_type, | ||
| bool | skip_distortion | ||
| ) |
| int cloudViewer::CreateDatabase | ( | const std::string & | database_path | ) |
| int cloudViewer::CropModel | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const std::string & | boundary, | ||
| const std::string & | gps_transform_path | ||
| ) |
|
inline |
Convert degrees to radians.
| degrees | Degrees to convert |
References M_PI.
Convert degrees to radians.
| degrees | Degrees to convert |
References M_PI.
|
inline |
Convert degrees to radians.
| degrees | Degrees to convert |
References M_PI.
Referenced by PdmsTools::PdmsCommands::Orientation::axisFromCoords(), ecvDisplayTools::ComputeActualPixelSize(), ecvViewportParameters::computeDistanceToHalfWidthRatio(), ccPointCloud::computeNormalsWithGrids(), ecvDisplayTools::ComputePerspectiveZoom(), ConvertAngleToRad(), ccNormalVectors::ConvertDipAndDipDirToNormal(), ecvPrimitiveFactoryDlg::createPrimitive(), define_CCMath(), cloudViewer::PointProjectionTools::developCloudOnCone(), ccPolyline::drawMeOnly(), ccKdTreeForFacetExtraction::FuseCells(), ccRasterizeTool::generateHillshade(), PCLModules::GetBoundaryCloud(), PCLModules::GetGreedyTriangulation(), qHoughNormalsDialog::getParameters(), PdmsTools::PdmsCommands::NumericalValue::getValue(), ccCompassImport::importFoliations(), ccCompass::importFoliations(), ccCompass::importLineations(), ccCompassImport::importLineations(), StereogramWidget::init(), QVTKWidgetCustom::mouseMoveEvent(), ccApplyTransformationDlg::onEulerValueChanged(), ccApplyTransformationDlg::onRotAngleValueChanged(), StereogramWidget::paintEvent(), ecvGenericDisplayTools::Perspective(), ecvDisplayTools::SetCameraFovy(), ecvDisplayTools::SetPerspectiveState(), ecvDisplayTools::SetupProjectiveViewport(), ecvDisplayTools::SetViewportParameters(), ccPointCloud::triangulateGrid(), ccPointCloud::unroll(), ccApplyTransformationDlg::updateAll(), ccCamSensorProjectionDlg::updateCamSensor(), ccGBLSensorProjectionDlg::updateGBLSensor(), and ccPlaneEditDlg::updatePlane().
| void cloudViewer::deleteArrayOfArrays | ( | StaticVector< StaticVector< T > * > & | aa | ) |
| void cloudViewer::deleteArrayOfArrays | ( | StaticVector< StaticVector< T > * > ** | aa | ) |
| int cloudViewer::DeleteImage | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const std::string & | image_ids_path, | ||
| const std::string & | image_names_path | ||
| ) |
| int cloudViewer::ExhaustiveMatch | ( | const std::string & | database_path, |
| const colmap::SiftMatchingOptions & | sift_matching_options, | ||
| const colmap::ExhaustiveMatchingOptions & | exhaustive_matching_options | ||
| ) |
| int cloudViewer::ExtractColor | ( | const std::string & | image_path, |
| const std::string & | input_path, | ||
| const std::string & | output_path | ||
| ) |
| int cloudViewer::ExtractFeature | ( | const std::string & | database_path, |
| const std::string & | image_path, | ||
| const std::string & | image_list_path, | ||
| int | camera_mode, | ||
| const colmap::ImageReaderOptions & | image_reader_options, | ||
| const colmap::SiftExtractionOptions & | sift_extraction_options | ||
| ) |
| int cloudViewer::FilterImage | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| double | min_focal_length_ratio, | ||
| double | max_focal_length_ratio, | ||
| double | max_extra_param, | ||
| std::size_t | min_num_observations | ||
| ) |
| int cloudViewer::FilterPoints | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| std::size_t | min_track_len, | ||
| double | max_reproj_error, | ||
| double | min_tri_angle | ||
| ) |
| int cloudViewer::GenerateProject | ( | const std::string & | output_path, |
| const std::string & | quality | ||
| ) |
| int cloudViewer::getArrayLengthFromFile | ( | std::string | fileName | ) |
References CVLog::Warning().
| std::string cloudViewer::GetBuildInfo | ( | ) |
Referenced by ecvAboutDialog::ecvAboutDialog(), and GetCloudViewerBuildInfo().
| std::string cloudViewer::GetCloudViewerBuildInfo | ( | ) |
References GetBuildInfo(), and GetCloudViewerVersion().
| std::string cloudViewer::GetCloudViewerVersion | ( | ) |
Referenced by GetCloudViewerBuildInfo().
| int cloudViewer::GraphicalUserInterface | ( | const std::string & | database_path, |
| const std::string & | image_path, | ||
| const std::string & | import_path | ||
| ) |
|
inline |
Test a floating point number against our epsilon (a very small number).
| x | The number to test |
References x, and ZERO_TOLERANCE_D.
|
inline |
Test a floating point number against our epsilon (a very small number).
| x | The number to test |
References x, and ZERO_TOLERANCE_F.
Referenced by ccScalarFieldArithmeticsDlg::Apply(), Mouse3DInput::Apply(), cloudViewer::StatisticalTestingTools::computeAdaptativeChi2Dist(), cloudViewer::GeometricalAnalysisTools::ComputeApproxPointsDensityInACellAtLevel(), cloudViewer::DistanceComputationTools::computeCloud2PolylineEquation(), ComputeFacetExtensions(), cloudViewer::WeibullDistribution::ComputeG(), define_CCMath(), cc2DViewportLabel::drawMeOnly(), qFacets::exportFacets(), cloudViewer::WeibullDistribution::FindGRoot(), ccGLMatrixTpl< float >::getParameters(), ccSubsamplingDlg::getSampledCloud(), cloudViewer::DistanceComputationTools::intersectMeshWithOctree(), PdmsTools::PdmsObjects::GenericItem::isOrientationValid(), CommandSubsample::process(), ccGBLSensor::projectNormals(), cloudViewer::ModelViewerWidget::SelectObject(), ecvDisplayTools::SetPerspectiveState(), PdmsTools::PdmsObjects::Dish::surface(), GamepadInput::update(), qAnimationDlg::updateSmoothTrajectoryDurations(), and DistanceMapGenerationDlg::updateZoom().
|
inline |
Test a (squared) floating point number against our epsilon (a very small number).
| x | The number to test |
References x, and ZERO_SQUARED_TOLERANCE_D.
Referenced by cloudViewer::Grid3D< unsigned >::intersectWith().
| int cloudViewer::HierarchicalMapper | ( | const std::string & | database_path, |
| const std::string & | image_path, | ||
| const std::string & | output_path, | ||
| int | num_workers, | ||
| int | image_overlap, | ||
| int | leaf_max_num_images, | ||
| const colmap::IncrementalMapperOptions & | incremental_mapper_options | ||
| ) |
| int cloudViewer::ImportFeature | ( | const std::string & | database_path, |
| const std::string & | image_path, | ||
| const std::string & | import_path, | ||
| const std::string & | image_list_path, | ||
| int | camera_mode, | ||
| const colmap::ImageReaderOptions & | image_reader_options, | ||
| const colmap::SiftExtractionOptions & | sift_extraction_options | ||
| ) |
| int cloudViewer::ImportMatches | ( | const std::string & | database_path, |
| const std::string & | match_list_path, | ||
| const std::string & | match_type, | ||
| const colmap::SiftMatchingOptions & | sift_matching_options | ||
| ) |
| int cloudViewer::indexOf | ( | T * | arr, |
| int | n, | ||
| const T & | what | ||
| ) |
| T cloudViewer::InterpolateNumber | ( | T | start, |
| T | end, | ||
| double | interpolationFraction | ||
| ) |
Referenced by cloudViewer::ViewInterpolate::interpolate().
| CLOUDVIEWER_HOST_DEVICE bool cloudViewer::IsClose | ( | const scalar_t & | x, |
| const T & | y, | ||
| const double | rtol = 1e-4 |
||
| ) |
|
inline |
Test a floating point number against our epsilon (a very small number).
| x | The number to test |
References x, and ZERO_TOLERANCE_D.
|
inline |
Test a floating point number against our epsilon (a very small number).
| x | The number to test |
References x, and ZERO_TOLERANCE_F.
Referenced by ccPointPairRegistrationDlg::addAlignedPoint(), ccPointPairRegistrationDlg::addReferencePoint(), ccScalarFieldArithmeticsDlg::Apply(), ccCameraSensor::applyViewport(), ccDisc::buildUp(), ccTorus::buildUp(), ccCone::buildUp(), ccPlane::buildUp(), ccPolyline::ccPolyline(), cloudViewer::DistanceComputationTools::computeCloud2PlaneDistanceRMS(), cloudViewer::DistanceComputationTools::computeCloud2PlaneEquation(), cloudViewer::DistanceComputationTools::ComputeCloud2PlaneMaxDistance(), cloudViewer::DistanceComputationTools::ComputeCloud2PlaneRobustMax(), cloudViewer::Neighbourhood::computeLeastSquareBestFittingPlane(), ecvDisplayTools::ComputePerspectiveZoom(), vtk2cc::ConvertToPolyline(), ccCropTool::Crop(), define_CCMath(), cloudViewer::WeibullDistribution::FindGRoot(), ccCameraSensor::fromImageCoordToGlobalCoord(), ccGLMatrixTpl< float >::FromToRotation(), ccRasterizeTool::generateImage(), GetConeProfile(), cvContourTool::getOutput(), qAnimationDlg::onAutoStepsDurationToggled(), qAnimationDlg::onTotalTimeChanged(), CommandCrossSection::process(), cloudViewer::ICPRegistrationTools::Register(), cloudViewer::RegistrationTools::RegistrationProcedure(), cloudViewer::MeshSamplingTools::samplePointsOnMesh(), ccPointCloud::SegmentPlane(), ecvDisplayTools::SetFov(), ccPointCloud::setRGBColorByHeight(), ccRenderingTools::ShowDepthBuffer(), ccMesh::subdivide(), PdmsTools::PdmsObjects::Dish::surface(), ccPointCloud::Translate(), ccGenericMesh::trianglePicking(), cloudViewer::Neighbourhood::triangulateOnPlane(), and ecvDisplayTools::UpdateConstellationCenterAndZoom().
|
inline |
Test a (squared) floating point number against our epsilon (a very small number).
| x | The (squared) number to test |
References x, and ZERO_SQUARED_TOLERANCE_D.
| StaticVector<T>* cloudViewer::loadArrayFromFile | ( | const std::string & | fileName, |
| bool | printfWarning = false |
||
| ) |
References a, CVLog::Error(), NULL, and CVLog::PrintDebug().
| bool cloudViewer::loadArrayFromFile | ( | StaticVector< T > & | out, |
| const std::string & | fileName, | ||
| bool | printfWarning = false |
||
| ) |
| void cloudViewer::loadArrayFromFileIntoArray | ( | StaticVector< T > * | a, |
| const std::string & | fileName, | ||
| bool | printfWarning = false |
||
| ) |
References a, CVLog::Error(), and CVLog::PrintDebug().
| StaticVector<StaticVector<T>*>* cloudViewer::loadArrayOfArraysFromFile | ( | const std::string & | fileName | ) |
| void cloudViewer::loadArrayOfArraysFromFile | ( | StaticVector< StaticVector< T >> & | out_aa, |
| const std::string & | fileName | ||
| ) |
References a, CVLog::Error(), and CVLog::PrintDebug().
| int cloudViewer::MergeDatabase | ( | const std::string & | database_path1, |
| const std::string & | database_path2, | ||
| const std::string & | merged_database_path | ||
| ) |
| int cloudViewer::MergeModel | ( | const std::string & | input_path1, |
| const std::string & | input_path2, | ||
| const std::string & | output_path, | ||
| double | max_reproj_error | ||
| ) |
| int cloudViewer::MeshDelaunay | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const std::string & | input_type, | ||
| const colmap::mvs::DelaunayMeshingOptions & | delaunay_meshing_options | ||
| ) |
| int cloudViewer::MeshPoisson | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const colmap::mvs::PoissonMeshingOptions & | poisson_meshing_options | ||
| ) |
| int cloudViewer::NormalMapper | ( | const std::string & | database_path, |
| const std::string & | image_path, | ||
| const std::string & | input_path, | ||
| const std::string & | output_path, | ||
| const std::string & | image_list_path, | ||
| const colmap::IncrementalMapperOptions & | incremental_mapper_options | ||
| ) |
| void cloudViewer::PrintCloudViewerVersion | ( | ) |
References LogInfo.
Referenced by PrintHelp().
|
inline |
Convert radians to degrees.
| radians | Radians to convert |
References M_PI.
Convert radians to degrees.
| radians | Radians to convert |
References M_PI.
|
inline |
Convert radians to degrees.
| radians | Radians to convert |
References M_PI.
Referenced by DistanceMapGenerationDlg::angularUnitChanged(), ccCameraSensor::applyViewport(), ccGBLSensor::computeAutoParameters(), ConvertAngleFromRad(), ccNormalVectors::ConvertNormalToDipAndDipDir(), ccNormalVectors::ConvertNormalToStrikeAndDip(), define_CCMath(), ccGriddedTools::DetectParameters(), DrawUnitArrow(), DrawUnitTorus(), MatrixDisplayDlg::fillDialogWith(), ccPropertiesTreeDelegate::fillWithCameraSensor(), ccPropertiesTreeDelegate::fillWithGBLSensor(), PCLDisplayTools::getCameraFovy(), cc2DLabel::getLabelInfo3(), ccCamSensorProjectionDlg::initWithCamSensor(), ccGBLSensorProjectionDlg::initWithGBLSensor(), IcmFilter::LoadCalibratedImages(), QVTKWidgetCustom::mouseMoveEvent(), StereogramWidget::mousePressEvent(), qHoughNormalsDialog::setParameters(), TransformInfo::setTransformation(), ecvDisplayTools::UpdateDisplayParameters(), PdmsTools::PdmsObjects::SCylinder::write(), PdmsTools::PdmsObjects::CTorus::write(), and PdmsTools::PdmsObjects::RTorus::write().
| int cloudViewer::RectifyImage | ( | const std::string & | image_path, |
| const std::string & | input_path, | ||
| const std::string & | output_path, | ||
| const std::string & | stereo_pairs_list, | ||
| double | blank_pixels, | ||
| double | min_scale, | ||
| double | max_scale, | ||
| int | max_image_size | ||
| ) |
| int cloudViewer::RegisterImage | ( | const std::string & | database_path, |
| const std::string & | input_path, | ||
| const std::string & | output_path, | ||
| const colmap::IncrementalMapperOptions & | incremental_mapper_options | ||
| ) |
| int cloudViewer::RetrieveVocabTree | ( | const std::string & | database_path, |
| const std::string & | vocab_tree_path, | ||
| const std::string & | output_index_path, | ||
| const std::string & | query_image_list_path, | ||
| const std::string & | database_image_list_path, | ||
| int | max_num_images, | ||
| int | num_neighbors, | ||
| int | num_checks, | ||
| int | num_images_after_verification, | ||
| int | max_num_features | ||
| ) |
| int cloudViewer::RigBundleAdjust | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const std::string & | rig_config_path, | ||
| bool | estimate_rig_relative_poses, | ||
| bool | refine_relative_poses, | ||
| const colmap::BundleAdjustmentOptions & | bundle_adjustment_options | ||
| ) |
| void cloudViewer::saveArrayOfArraysToFile | ( | const std::string | fileName, |
| StaticVector< StaticVector< T >> & | aa | ||
| ) |
References a, and CVLog::PrintDebug().
| void cloudViewer::saveArrayOfArraysToFile | ( | std::string | fileName, |
| StaticVector< StaticVector< T > * > * | aa | ||
| ) |
References a, NULL, and CVLog::PrintDebug().
| void cloudViewer::saveArrayToFile | ( | const std::string & | fileName, |
| const StaticVector< T > & | a, | ||
| bool | docompress = true |
||
| ) |
References a.
| void cloudViewer::saveArrayToFile | ( | const std::string & | fileName, |
| const StaticVector< T > * | a, | ||
| bool | docompress = true |
||
| ) |
| int cloudViewer::SequentialMatch | ( | const std::string & | database_path, |
| const colmap::SiftMatchingOptions & | sift_matching_options, | ||
| const colmap::SequentialMatchingOptions & | sequential_matching_options | ||
| ) |
| int cloudViewer::sizeOfStaticVector | ( | const StaticVector< T > & | a | ) |
References a.
| int cloudViewer::sizeOfStaticVector | ( | const StaticVector< T > * | a | ) |
References a.
| int cloudViewer::SpatialMatch | ( | const std::string & | database_path, |
| const colmap::SiftMatchingOptions & | sift_matching_options, | ||
| const colmap::SpatialMatchingOptions & | spatial_matching_options | ||
| ) |
| int cloudViewer::SplitModel | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const std::string & | split_type, | ||
| const std::string & | split_params, | ||
| const std::string & | gps_transform_path, | ||
| std::size_t | min_reg_images, | ||
| std::size_t | min_num_points, | ||
| double | overlap_ratio, | ||
| double | min_area_ratio, | ||
| int | num_threads | ||
| ) |
| CLOUDVIEWER_HOST_DEVICE scalar_t cloudViewer::Square | ( | const scalar_t & | x | ) |
References x.
| int cloudViewer::StereoFuse | ( | const std::string & | workspace_path, |
| const std::string & | output_path, | ||
| const std::string & | bbox_path, | ||
| const std::string & | stereo_input_type, | ||
| const std::string & | output_type, | ||
| const std::string & | workspace_format, | ||
| const std::string & | pmvs_option_name, | ||
| const colmap::mvs::StereoFusionOptions & | stereo_fusion_options | ||
| ) |
| int cloudViewer::StereoPatchMatch | ( | const std::string & | workspace_path, |
| const std::string & | config_path, | ||
| const std::string & | workspace_format, | ||
| const std::string & | pmvs_option_name, | ||
| const colmap::mvs::PatchMatchOptions & | patch_match_options | ||
| ) |
| int cloudViewer::TransformModel | ( | const std::string & | input_path, |
| const std::string & | output_path, | ||
| const std::string & | transform_path, | ||
| bool | is_inverse | ||
| ) |
| int cloudViewer::TransitiveMatch | ( | const std::string & | database_path, |
| const colmap::SiftMatchingOptions & | sift_matching_options, | ||
| const colmap::TransitiveMatchingOptions & | transitive_matching_options | ||
| ) |
| int cloudViewer::TriangulatePoints | ( | const std::string & | database_path, |
| const std::string & | image_path, | ||
| const std::string & | input_path, | ||
| const std::string & | output_path, | ||
| bool | clear_points, | ||
| const colmap::IncrementalMapperOptions & | incremental_mapper_options | ||
| ) |
| int cloudViewer::UndistortImage | ( | const std::string & | image_path, |
| const std::string & | input_path, | ||
| const std::string & | output_path, | ||
| const std::string & | image_list_path, | ||
| const std::string & | output_type, | ||
| const std::string & | copy_policy, | ||
| int | num_patch_match_src_images, | ||
| double | blank_pixels, | ||
| double | min_scale, | ||
| double | max_scale, | ||
| int | max_image_size, | ||
| double | roi_min_x, | ||
| double | roi_min_y, | ||
| double | roi_max_x, | ||
| double | roi_max_y | ||
| ) |
| int cloudViewer::UndistortImageStandalone | ( | const std::string & | image_path, |
| const std::string & | input_file, | ||
| const std::string & | output_path, | ||
| double | blank_pixels, | ||
| double | min_scale, | ||
| double | max_scale, | ||
| int | max_image_size, | ||
| double | roi_min_x, | ||
| double | roi_min_y, | ||
| double | roi_max_x, | ||
| double | roi_max_y | ||
| ) |
| int cloudViewer::VocabTreeMatch | ( | const std::string & | database_path, |
| const colmap::SiftMatchingOptions & | sift_matching_options, | ||
| const colmap::VocabTreeMatchingOptions & | vocab_tree_matching_options | ||
| ) |
|
static |
Relative error for Error Function computation.
You can adjust it to trade off between accuracy and speed but don't ask for more than 15 figures (assuming usual 52 bit mantissa in a double). Example: 1E-12 <--> calculate 12 significant figures
Referenced by define_ErrorFunction(), and cloudViewer::ErrorFunction::erfc().
| const int cloudViewer::c_FastMarchingNeighbourPosShift[] |
Grid neighboring cells positions.
Referenced by cloudViewer::FastMarching::computeT(), define_FastMarching(), and cloudViewer::FastMarching::initOther().