cars 1.0.0a2__cp310-cp310-win_amd64.whl → 1.0.0a4__cp310-cp310-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cars might be problematic. Click here for more details.
- cars/__init__.py +3 -3
- cars/applications/__init__.py +0 -3
- cars/applications/application.py +14 -6
- cars/applications/application_template.py +42 -0
- cars/applications/auxiliary_filling/abstract_auxiliary_filling_app.py +12 -2
- cars/applications/auxiliary_filling/auxiliary_filling_algo.py +2 -2
- cars/applications/auxiliary_filling/auxiliary_filling_from_sensors_app.py +95 -46
- cars/applications/auxiliary_filling/auxiliary_filling_wrappers.py +7 -6
- cars/applications/dem_generation/abstract_dem_generation_app.py +9 -5
- cars/applications/dem_generation/dem_generation_algo.py +1 -1
- cars/applications/dem_generation/dem_generation_wrappers.py +44 -59
- cars/applications/dem_generation/dichotomic_generation_app.py +9 -6
- cars/applications/dem_generation/rasterization_app.py +112 -43
- cars/applications/dense_match_filling/__init__.py +1 -1
- cars/applications/dense_match_filling/abstract_dense_match_filling_app.py +2 -15
- cars/applications/dense_match_filling/fill_disp_algo.py +32 -373
- cars/applications/dense_match_filling/fill_disp_wrappers.py +0 -343
- cars/applications/dense_match_filling/zero_padding_app.py +10 -5
- cars/applications/dense_matching/abstract_dense_matching_app.py +2 -1
- cars/applications/dense_matching/census_mccnn_sgm_app.py +48 -60
- cars/applications/dense_matching/cpp/dense_matching_cpp.cp310-win_amd64.dll.a +0 -0
- cars/applications/dense_matching/cpp/dense_matching_cpp.cp310-win_amd64.pyd +0 -0
- cars/applications/dense_matching/dense_matching_algo.py +48 -14
- cars/applications/dense_matching/dense_matching_wrappers.py +11 -3
- cars/applications/dense_matching/disparity_grid_algo.py +95 -79
- cars/applications/dense_matching/loaders/config_mapping.json +13 -0
- cars/applications/dense_matching/loaders/global_land_cover_map.tif +0 -0
- cars/applications/dense_matching/loaders/pandora_loader.py +169 -34
- cars/applications/dsm_filling/border_interpolation_app.py +11 -12
- cars/applications/dsm_filling/bulldozer_filling_app.py +16 -15
- cars/applications/dsm_filling/exogenous_filling_app.py +14 -14
- cars/applications/grid_generation/abstract_grid_generation_app.py +1 -1
- cars/applications/grid_generation/epipolar_grid_generation_app.py +4 -2
- cars/applications/grid_generation/grid_correction_app.py +4 -1
- cars/applications/grid_generation/grid_generation_algo.py +7 -2
- cars/applications/ground_truth_reprojection/abstract_ground_truth_reprojection_app.py +1 -1
- cars/applications/ground_truth_reprojection/direct_localization_app.py +2 -2
- cars/applications/ground_truth_reprojection/ground_truth_reprojection_algo.py +2 -1
- cars/applications/point_cloud_fusion/abstract_pc_fusion_app.py +0 -155
- cars/applications/point_cloud_fusion/mapping_to_terrain_tiles_app.py +0 -658
- cars/applications/point_cloud_fusion/pc_fusion_algo.py +0 -1339
- cars/applications/point_cloud_fusion/pc_fusion_wrappers.py +0 -869
- cars/applications/point_cloud_outlier_removal/abstract_outlier_removal_app.py +11 -6
- cars/applications/point_cloud_outlier_removal/outlier_removal_algo.py +9 -8
- cars/applications/point_cloud_outlier_removal/small_components_app.py +101 -270
- cars/applications/point_cloud_outlier_removal/statistical_app.py +120 -277
- cars/applications/rasterization/abstract_pc_rasterization_app.py +2 -1
- cars/applications/rasterization/rasterization_algo.py +18 -6
- cars/applications/rasterization/rasterization_wrappers.py +2 -1
- cars/applications/rasterization/simple_gaussian_app.py +88 -116
- cars/applications/resampling/abstract_resampling_app.py +1 -1
- cars/applications/resampling/bicubic_resampling_app.py +3 -1
- cars/applications/resampling/resampling_algo.py +60 -53
- cars/applications/resampling/resampling_wrappers.py +3 -1
- cars/applications/sparse_matching/abstract_sparse_matching_app.py +1 -1
- cars/applications/sparse_matching/sift_app.py +5 -25
- cars/applications/sparse_matching/sparse_matching_algo.py +3 -2
- cars/applications/sparse_matching/sparse_matching_wrappers.py +1 -1
- cars/applications/triangulation/abstract_triangulation_app.py +1 -1
- cars/applications/triangulation/line_of_sight_intersection_app.py +13 -11
- cars/applications/triangulation/pc_transform.py +552 -0
- cars/applications/triangulation/triangulation_algo.py +6 -4
- cars/applications/triangulation/triangulation_wrappers.py +1 -0
- cars/bundleadjustment.py +6 -6
- cars/cars.py +11 -9
- cars/core/cars_logging.py +80 -49
- cars/core/constants.py +0 -1
- cars/core/datasets.py +5 -2
- cars/core/geometry/abstract_geometry.py +364 -22
- cars/core/geometry/shareloc_geometry.py +112 -82
- cars/core/inputs.py +72 -19
- cars/core/outputs.py +1 -1
- cars/core/preprocessing.py +17 -3
- cars/core/projection.py +126 -6
- cars/core/tiling.py +10 -3
- cars/data_structures/cars_dataset.py +12 -10
- cars/data_structures/corresponding_tiles_tools.py +0 -103
- cars/data_structures/format_transformation.py +4 -1
- cars/devibrate.py +6 -3
- cars/extractroi.py +20 -21
- cars/orchestrator/cluster/abstract_cluster.py +15 -5
- cars/orchestrator/cluster/abstract_dask_cluster.py +6 -2
- cars/orchestrator/cluster/dask_jobqueue_utils.py +1 -1
- cars/orchestrator/cluster/log_wrapper.py +149 -22
- cars/orchestrator/cluster/mp_cluster/multiprocessing_cluster.py +12 -4
- cars/orchestrator/cluster/mp_cluster/multiprocessing_profiler.py +2 -2
- cars/orchestrator/cluster/pbs_dask_cluster.py +1 -1
- cars/orchestrator/cluster/sequential_cluster.py +5 -4
- cars/orchestrator/cluster/slurm_dask_cluster.py +1 -1
- cars/orchestrator/orchestrator.py +15 -4
- cars/orchestrator/registry/id_generator.py +1 -0
- cars/orchestrator/registry/saver_registry.py +2 -2
- cars/pipelines/conf_resolution/conf_final_resolution.json +5 -3
- cars/pipelines/default/default_pipeline.py +461 -1052
- cars/pipelines/parameters/advanced_parameters.py +91 -64
- cars/pipelines/parameters/advanced_parameters_constants.py +6 -5
- cars/pipelines/parameters/application_parameters.py +71 -0
- cars/pipelines/parameters/depth_map_inputs.py +0 -314
- cars/pipelines/parameters/dsm_inputs.py +40 -4
- cars/pipelines/parameters/output_parameters.py +44 -8
- cars/pipelines/parameters/sensor_inputs.py +122 -73
- cars/pipelines/parameters/sensor_inputs_constants.py +0 -2
- cars/pipelines/parameters/sensor_loaders/__init__.py +4 -3
- cars/pipelines/parameters/sensor_loaders/basic_classif_loader.py +106 -0
- cars/pipelines/parameters/sensor_loaders/{basic_sensor_loader.py → basic_image_loader.py} +16 -22
- cars/pipelines/parameters/sensor_loaders/pivot_classif_loader.py +121 -0
- cars/pipelines/parameters/sensor_loaders/{pivot_sensor_loader.py → pivot_image_loader.py} +10 -21
- cars/pipelines/parameters/sensor_loaders/sensor_loader.py +4 -6
- cars/pipelines/parameters/sensor_loaders/sensor_loader_template.py +1 -3
- cars/pipelines/pipeline_template.py +1 -3
- cars/pipelines/unit/unit_pipeline.py +676 -1070
- cars/starter.py +4 -3
- cars-1.0.0a4.dist-info/DELVEWHEEL +2 -0
- {cars-1.0.0a2.dist-info → cars-1.0.0a4.dist-info}/METADATA +135 -53
- {cars-1.0.0a2.dist-info → cars-1.0.0a4.dist-info}/RECORD +120 -134
- cars.libs/libgcc_s_seh-1-b2494fcbd4d80cf2c98fdd5261f6d850.dll +0 -0
- cars.libs/libstdc++-6-e9b0d12ae0e9555bbae55e8dfd08c3f7.dll +0 -0
- cars.libs/libwinpthread-1-7882d1b093714ccdfaf4e0789a817792.dll +0 -0
- cars/applications/dense_match_filling/cpp/__init__.py +0 -0
- cars/applications/dense_match_filling/cpp/dense_match_filling_cpp.cp310-win_amd64.dll.a +0 -0
- cars/applications/dense_match_filling/cpp/dense_match_filling_cpp.cp310-win_amd64.pyd +0 -0
- cars/applications/dense_match_filling/cpp/dense_match_filling_cpp.py +0 -72
- cars/applications/dense_match_filling/cpp/includes/dense_match_filling.hpp +0 -46
- cars/applications/dense_match_filling/cpp/meson.build +0 -9
- cars/applications/dense_match_filling/cpp/src/bindings.cpp +0 -11
- cars/applications/dense_match_filling/cpp/src/dense_match_filling.cpp +0 -142
- cars/applications/dense_match_filling/plane_app.py +0 -556
- cars/applications/hole_detection/__init__.py +0 -30
- cars/applications/hole_detection/abstract_hole_detection_app.py +0 -125
- cars/applications/hole_detection/cloud_to_bbox_app.py +0 -346
- cars/applications/hole_detection/hole_detection_algo.py +0 -144
- cars/applications/hole_detection/hole_detection_wrappers.py +0 -53
- cars/applications/point_cloud_denoising/__init__.py +0 -29
- cars/applications/point_cloud_denoising/abstract_pc_denoising_app.py +0 -273
- cars/applications/point_cloud_fusion/__init__.py +0 -30
- cars/applications/point_cloud_fusion/cloud_fusion_constants.py +0 -39
- cars/applications/sparse_matching/pandora_sparse_matching_app.py +0 -0
- cars/pipelines/parameters/depth_map_inputs_constants.py +0 -25
- cars-1.0.0a2.dist-info/DELVEWHEEL +0 -2
- cars.libs/libgcc_s_seh-1-f2b6825d483bdf14050493af93b5997d.dll +0 -0
- cars.libs/libstdc++-6-6b0059df6bc601df5a0f18a5805eea05.dll +0 -0
- cars.libs/libwinpthread-1-e01b8e85fd67c2b861f64d4ccc7df607.dll +0 -0
- {cars-1.0.0a2.dist-info → cars-1.0.0a4.dist-info}/WHEEL +0 -0
- {cars-1.0.0a2.dist-info → cars-1.0.0a4.dist-info}/entry_points.txt +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# !/usr/bin/env python
|
|
2
|
-
# coding: utf8
|
|
3
|
-
#
|
|
4
|
-
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
|
|
5
|
-
#
|
|
6
|
-
# This file is part of CARS
|
|
7
|
-
# (see https://github.com/CNES/cars).
|
|
8
|
-
#
|
|
9
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
-
# you may not use this file except in compliance with the License.
|
|
11
|
-
# You may obtain a copy of the License at
|
|
12
|
-
#
|
|
13
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
-
#
|
|
15
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
16
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
-
# See the License for the specific language governing permissions and
|
|
19
|
-
# limitations under the License.
|
|
20
|
-
#
|
|
21
|
-
"""
|
|
22
|
-
CARS holes detection module init file
|
|
23
|
-
"""
|
|
24
|
-
# flake8: noqa: F401
|
|
25
|
-
|
|
26
|
-
import cars.applications.point_cloud_denoising.abstract_pc_denoising_app
|
|
27
|
-
from cars.applications.point_cloud_denoising.abstract_pc_denoising_app import (
|
|
28
|
-
PCDenoising,
|
|
29
|
-
)
|
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python
|
|
2
|
-
# coding: utf8
|
|
3
|
-
#
|
|
4
|
-
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
|
|
5
|
-
#
|
|
6
|
-
# This file is part of CARS
|
|
7
|
-
# (see https://github.com/CNES/cars).
|
|
8
|
-
#
|
|
9
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
-
# you may not use this file except in compliance with the License.
|
|
11
|
-
# You may obtain a copy of the License at
|
|
12
|
-
#
|
|
13
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
-
#
|
|
15
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
16
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
-
# See the License for the specific language governing permissions and
|
|
19
|
-
# limitations under the License.
|
|
20
|
-
#
|
|
21
|
-
"""
|
|
22
|
-
this module contains the abstract matching application class.
|
|
23
|
-
"""
|
|
24
|
-
import logging
|
|
25
|
-
from abc import ABCMeta, abstractmethod
|
|
26
|
-
from typing import Dict
|
|
27
|
-
|
|
28
|
-
from json_checker import Checker, OptionalKey
|
|
29
|
-
|
|
30
|
-
from cars.applications import application_constants
|
|
31
|
-
from cars.applications.application import Application
|
|
32
|
-
from cars.applications.application_template import ApplicationTemplate
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
@Application.register("pc_denoising")
|
|
36
|
-
class PCDenoising(ApplicationTemplate, metaclass=ABCMeta):
|
|
37
|
-
"""
|
|
38
|
-
denoising_method
|
|
39
|
-
"""
|
|
40
|
-
|
|
41
|
-
available_applications: Dict = {}
|
|
42
|
-
default_application = "none"
|
|
43
|
-
|
|
44
|
-
def __new__(cls, conf=None): # pylint: disable=W0613
|
|
45
|
-
"""
|
|
46
|
-
Return the required application
|
|
47
|
-
:raises:
|
|
48
|
-
- KeyError when the required application is not registered
|
|
49
|
-
|
|
50
|
-
:param conf: configuration for denoising
|
|
51
|
-
:return: a application_to_use object
|
|
52
|
-
"""
|
|
53
|
-
|
|
54
|
-
denoising_method = cls.default_application
|
|
55
|
-
if bool(conf) is False or "method" not in conf:
|
|
56
|
-
logging.info(
|
|
57
|
-
"PC denoising_method method not specified, "
|
|
58
|
-
"default {} is used".format(denoising_method)
|
|
59
|
-
)
|
|
60
|
-
else:
|
|
61
|
-
denoising_method = conf.get("method", cls.default_application)
|
|
62
|
-
|
|
63
|
-
if denoising_method not in cls.available_applications:
|
|
64
|
-
logging.error(
|
|
65
|
-
"No denoising application named {} registered".format(
|
|
66
|
-
denoising_method
|
|
67
|
-
)
|
|
68
|
-
)
|
|
69
|
-
raise KeyError(
|
|
70
|
-
"No denoising application named {} registered".format(
|
|
71
|
-
denoising_method
|
|
72
|
-
)
|
|
73
|
-
)
|
|
74
|
-
|
|
75
|
-
logging.info(
|
|
76
|
-
"The denoising_method({}) application will be used".format(
|
|
77
|
-
denoising_method
|
|
78
|
-
)
|
|
79
|
-
)
|
|
80
|
-
|
|
81
|
-
return super(PCDenoising, cls).__new__(
|
|
82
|
-
cls.available_applications[denoising_method]
|
|
83
|
-
)
|
|
84
|
-
|
|
85
|
-
def __init_subclass__(cls, short_name, **kwargs): # pylint: disable=E0302
|
|
86
|
-
super().__init_subclass__(**kwargs)
|
|
87
|
-
cls.available_applications[short_name] = cls
|
|
88
|
-
|
|
89
|
-
def __init__(self, conf=None):
|
|
90
|
-
"""
|
|
91
|
-
Init function of PCDenoising
|
|
92
|
-
|
|
93
|
-
:param conf: configuration
|
|
94
|
-
:return: an application_to_use object
|
|
95
|
-
"""
|
|
96
|
-
|
|
97
|
-
super().__init__(conf=conf)
|
|
98
|
-
|
|
99
|
-
def get_triangulation_overload(self):
|
|
100
|
-
"""
|
|
101
|
-
Get function to apply to overload point cloud dataset,
|
|
102
|
-
in triangulation wrapper. This function must add layers with
|
|
103
|
-
key root : cst.EPI_DENOISING_INFO_KEY_ROOT , to be propagated
|
|
104
|
-
|
|
105
|
-
:return: fun(
|
|
106
|
-
xr_pc_dataset,
|
|
107
|
-
sensor_image_left,
|
|
108
|
-
sensor_image_right,
|
|
109
|
-
geomodel_left,
|
|
110
|
-
geomodel_right,
|
|
111
|
-
grid_left,
|
|
112
|
-
grid_right,
|
|
113
|
-
geometry_plugin,
|
|
114
|
-
disparity_map
|
|
115
|
-
):
|
|
116
|
-
:param xr_pc_dataset: point cloud dataset
|
|
117
|
-
:type xr_pc_dataset: xarray dataset
|
|
118
|
-
:param sensor_image_left: sensor image left
|
|
119
|
-
:type sensor_image_left: str
|
|
120
|
-
:param sensor_image_right: sensor image right
|
|
121
|
-
:type sensor_image_right: str
|
|
122
|
-
:param geomodel_left: left geomodel
|
|
123
|
-
:type geomodel_left: dict
|
|
124
|
-
:param geomodel_right: right geomodel
|
|
125
|
-
:type geomodel_right: dict
|
|
126
|
-
:param grid_left: left grid
|
|
127
|
-
:type: grid_left: CarsDataset
|
|
128
|
-
:param grid_right: right grid
|
|
129
|
-
:type: grid_right: CarsDataset
|
|
130
|
-
:param geometry_plugin: geometry plugin
|
|
131
|
-
:type: geometry_plugin: GeometryPlugin
|
|
132
|
-
:param disparity_map: disparity plugin
|
|
133
|
-
:type disparity_map: xarray Dataset
|
|
134
|
-
"""
|
|
135
|
-
|
|
136
|
-
return identity_func
|
|
137
|
-
|
|
138
|
-
@abstractmethod
|
|
139
|
-
def run(
|
|
140
|
-
self,
|
|
141
|
-
point_cloud,
|
|
142
|
-
orchestrator=None,
|
|
143
|
-
pair_key="default",
|
|
144
|
-
pair_folder=None,
|
|
145
|
-
save_laz_output=False,
|
|
146
|
-
):
|
|
147
|
-
"""
|
|
148
|
-
Run denoising
|
|
149
|
-
|
|
150
|
-
:param point_cloud: point cloud to denoise
|
|
151
|
-
:param orchestrator: orchestrator
|
|
152
|
-
:param pair_key: pair_key
|
|
153
|
-
:param pair_folder: pair_folder
|
|
154
|
-
:param save_laz_output: save output point cloud as laz
|
|
155
|
-
|
|
156
|
-
:return: denoised point cloud
|
|
157
|
-
"""
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
def identity_func(
|
|
161
|
-
xr_pc_dataset, # pylint: disable=unused-argument
|
|
162
|
-
sensor_image_left, # pylint: disable=unused-argument
|
|
163
|
-
sensor_image_right, # pylint: disable=unused-argument
|
|
164
|
-
geomodel_left, # pylint: disable=unused-argument
|
|
165
|
-
geomodel_right, # pylint: disable=unused-argument
|
|
166
|
-
grid_left, # pylint: disable=unused-argument
|
|
167
|
-
grid_right, # pylint: disable=unused-argument
|
|
168
|
-
geometry_plugin, # pylint: disable=unused-argument
|
|
169
|
-
disparity_map, # pylint: disable=unused-argument
|
|
170
|
-
):
|
|
171
|
-
"""
|
|
172
|
-
|
|
173
|
-
:param xr_pc_dataset: point cloud dataset
|
|
174
|
-
:type xr_pc_dataset: xarray dataset
|
|
175
|
-
:param sensor_image_left: sensor image left
|
|
176
|
-
:type sensor_image_left: str
|
|
177
|
-
:param sensor_image_right: sensor image right
|
|
178
|
-
:type sensor_image_right: str
|
|
179
|
-
:param geomodel_left: left geomodel
|
|
180
|
-
:type geomodel_left: dict
|
|
181
|
-
:param geomodel_right: right geomodel
|
|
182
|
-
:type geomodel_right: dict
|
|
183
|
-
:param grid_left: left grid
|
|
184
|
-
:type: grid_left: CarsDataset
|
|
185
|
-
:param grid_right: right grid
|
|
186
|
-
:type: grid_right: CarsDataset
|
|
187
|
-
:param geometry_plugin: geometry plugin
|
|
188
|
-
:type: geometry_plugin: GeometryPlugin
|
|
189
|
-
:param disparity_map: disparity plugin
|
|
190
|
-
:type disparity_map: xarray Dataset
|
|
191
|
-
|
|
192
|
-
"""
|
|
193
|
-
|
|
194
|
-
# no modification of dataset
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
class NonePCDenoising(PCDenoising, short_name="none"):
|
|
198
|
-
"""
|
|
199
|
-
PCDenoising
|
|
200
|
-
"""
|
|
201
|
-
|
|
202
|
-
# pylint: disable=too-many-instance-attributes
|
|
203
|
-
|
|
204
|
-
def __init__(self, conf=None):
|
|
205
|
-
"""
|
|
206
|
-
Init function of PCDenoising
|
|
207
|
-
|
|
208
|
-
:param conf: configuration for point cloud denoising
|
|
209
|
-
:return: an application_to_use object
|
|
210
|
-
"""
|
|
211
|
-
super().__init__(conf=conf)
|
|
212
|
-
|
|
213
|
-
# check conf
|
|
214
|
-
self.used_method = self.used_config["method"]
|
|
215
|
-
|
|
216
|
-
# Init orchestrator
|
|
217
|
-
self.orchestrator = None
|
|
218
|
-
|
|
219
|
-
def check_conf(self, conf):
|
|
220
|
-
"""
|
|
221
|
-
Check configuration
|
|
222
|
-
|
|
223
|
-
:param conf: configuration to check
|
|
224
|
-
:type conf: dict
|
|
225
|
-
|
|
226
|
-
:return: overloaded configuration
|
|
227
|
-
:rtype: dict
|
|
228
|
-
|
|
229
|
-
"""
|
|
230
|
-
|
|
231
|
-
# init conf
|
|
232
|
-
if conf is not None:
|
|
233
|
-
overloaded_conf = conf.copy()
|
|
234
|
-
else:
|
|
235
|
-
conf = {}
|
|
236
|
-
overloaded_conf = {}
|
|
237
|
-
|
|
238
|
-
# Overload conf
|
|
239
|
-
|
|
240
|
-
# get rasterization parameter
|
|
241
|
-
overloaded_conf["method"] = conf.get("method", "none")
|
|
242
|
-
|
|
243
|
-
pc_denoising_schema = {
|
|
244
|
-
"method": str,
|
|
245
|
-
OptionalKey("save_by_pair"): bool,
|
|
246
|
-
OptionalKey(application_constants.SAVE_INTERMEDIATE_DATA): bool,
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
# Check conf
|
|
250
|
-
checker = Checker(pc_denoising_schema)
|
|
251
|
-
checker.validate(overloaded_conf)
|
|
252
|
-
|
|
253
|
-
return overloaded_conf
|
|
254
|
-
|
|
255
|
-
def run(
|
|
256
|
-
self,
|
|
257
|
-
point_cloud,
|
|
258
|
-
orchestrator=None,
|
|
259
|
-
pair_key="default",
|
|
260
|
-
pair_folder=None,
|
|
261
|
-
save_laz_output=False,
|
|
262
|
-
):
|
|
263
|
-
"""
|
|
264
|
-
Run Denoising
|
|
265
|
-
|
|
266
|
-
:param point_cloud: point cloud
|
|
267
|
-
:type point_cloud: CarsDatasetet
|
|
268
|
-
|
|
269
|
-
:return: denoised point cloud
|
|
270
|
-
:rtype: CarsDatas
|
|
271
|
-
"""
|
|
272
|
-
|
|
273
|
-
return point_cloud
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# !/usr/bin/env python
|
|
2
|
-
# coding: utf8
|
|
3
|
-
#
|
|
4
|
-
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
|
|
5
|
-
#
|
|
6
|
-
# This file is part of CARS
|
|
7
|
-
# (see https://github.com/CNES/cars).
|
|
8
|
-
#
|
|
9
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
-
# you may not use this file except in compliance with the License.
|
|
11
|
-
# You may obtain a copy of the License at
|
|
12
|
-
#
|
|
13
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
-
#
|
|
15
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
16
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
-
# See the License for the specific language governing permissions and
|
|
19
|
-
# limitations under the License.
|
|
20
|
-
#
|
|
21
|
-
"""
|
|
22
|
-
CARS core cloud fusion module init file
|
|
23
|
-
"""
|
|
24
|
-
# flake8: noqa: F401
|
|
25
|
-
|
|
26
|
-
from cars.applications.point_cloud_fusion.abstract_pc_fusion_app import (
|
|
27
|
-
PointCloudFusion,
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
from . import mapping_to_terrain_tiles_app
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python
|
|
2
|
-
# coding: utf8
|
|
3
|
-
#
|
|
4
|
-
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
|
|
5
|
-
#
|
|
6
|
-
# This file is part of CARS
|
|
7
|
-
# (see https://github.com/CNES/cars).
|
|
8
|
-
#
|
|
9
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
-
# you may not use this file except in compliance with the License.
|
|
11
|
-
# You may obtain a copy of the License at
|
|
12
|
-
#
|
|
13
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
-
#
|
|
15
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
16
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
-
# See the License for the specific language governing permissions and
|
|
19
|
-
# limitations under the License.
|
|
20
|
-
#
|
|
21
|
-
"""
|
|
22
|
-
file contains all the constants used in cloud fusion module
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
CLOUD_FUSION_RUN_TAG = "cloud_fusion"
|
|
27
|
-
|
|
28
|
-
# Params
|
|
29
|
-
METHOD = "method"
|
|
30
|
-
TERRAIN_TILE_SIZE = "terrain_tile_size"
|
|
31
|
-
RESOLUTION = "resolution"
|
|
32
|
-
|
|
33
|
-
# Run infos
|
|
34
|
-
EPSG_TAG = "epsg"
|
|
35
|
-
MARGINS_TAG = "margins"
|
|
36
|
-
NUMBER_TERRAIN_TILES = "number_terrain_tiles"
|
|
37
|
-
XSIZE = "x_size"
|
|
38
|
-
YSIZE = "y_size"
|
|
39
|
-
BOUNDS = "bounds"
|
|
File without changes
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python
|
|
2
|
-
# coding: utf8
|
|
3
|
-
#
|
|
4
|
-
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
|
|
5
|
-
#
|
|
6
|
-
# This file is part of CARS
|
|
7
|
-
# (see https://github.com/CNES/cars).
|
|
8
|
-
#
|
|
9
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
-
# you may not use this file except in compliance with the License.
|
|
11
|
-
# You may obtain a copy of the License at
|
|
12
|
-
#
|
|
13
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
-
#
|
|
15
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
16
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
-
# See the License for the specific language governing permissions and
|
|
19
|
-
# limitations under the License.
|
|
20
|
-
#
|
|
21
|
-
"""
|
|
22
|
-
CARS point cloud to full resolution dsm pipeline constants file
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
DEPTH_MAPS = "depth_maps"
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Version: 1.11.1
|
|
2
|
-
Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-wdv5mdb7\\cp310-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-wdv5mdb7\\cp310-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-wdv5mdb7\\cp310-win_amd64\\built_wheel\\cars-1.0.0a2-cp310-cp310-win_amd64.whl']
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|