pull/979/head
Stephen Mather 2019-04-22 22:44:01 -04:00 zatwierdzone przez Piero Toffanin
rodzic 57ca7d905a
commit b501f01452
66 zmienionych plików z 0 dodań i 373 usunięć

Wyświetl plik

@ -1,58 +0,0 @@
EPSG:32617
274901.848 4603267.294 1JI_0064.JPG
274901.230 4603277.193 1JI_0065.JPG
274903.585 4603293.173 1JI_0066.JPG
274906.539 4603306.047 1JI_0067.JPG
274908.286 4603317.416 1JI_0068.JPG
274921.975 4603310.196 1JI_0076.JPG
274923.028 4603291.948 1JI_0077.JPG
274923.338 4603279.589 1JI_0078.JPG
274923.029 4603262.309 1JI_0079.JPG
274924.111 4603244.987 1JI_0080.JPG
274921.507 4603176.529 DJI_0061.JPG
274899.747 4603177.827 DJI_0062.JPG
274878.411 4603177.877 DJI_0063.JPG
274886.790 4603201.078 DJI_0064.JPG
274916.583 4603189.650 DJI_0065.JPG
274949.185 4603179.060 DJI_0066.JPG
274982.888 4603173.993 DJI_0067.JPG
275000.333 4603168.200 DJI_0068.JPG
275003.576 4603182.917 DJI_0069.JPG
274968.551 4603182.777 DJI_0070.JPG
274938.151 4603182.184 DJI_0071.JPG
274903.038 4603186.678 DJI_0072.JPG
274870.939 4603183.668 DJI_0073.JPG
274905.413 4603210.684 DJI_0074.JPG
274942.465 4603201.499 DJI_0075.JPG
274990.649 4603192.275 DJI_0076.JPG
275016.445 4603193.938 DJI_0077.JPG
275024.717 4603213.747 DJI_0078.JPG
274991.710 4603211.383 DJI_0079.JPG
274955.160 4603214.378 DJI_0080.JPG
274916.119 4603219.303 DJI_0081.JPG
274871.478 4603223.169 DJI_0082.JPG
274886.393 4603240.300 DJI_0083.JPG
274922.924 4603236.688 DJI_0084.JPG
274960.585 4603232.115 DJI_0085.JPG
275005.398 4603233.801 DJI_0086.JPG
275008.187 4603271.071 DJI_0087.JPG
274967.196 4603272.969 DJI_0088.JPG
274927.643 4603276.367 DJI_0089.JPG
274893.488 4603274.347 DJI_0090.JPG
274873.726 4603272.804 DJI_0091.JPG
274899.327 4603305.347 DJI_0092.JPG
274929.892 4603296.364 DJI_0093.JPG
274959.771 4603287.712 DJI_0094.JPG
275001.081 4603281.172 DJI_0095.JPG
275005.318 4603305.430 DJI_0096.JPG
274968.710 4603306.574 DJI_0097.JPG
274934.274 4603310.429 DJI_0098.JPG
274894.693 4603312.901 DJI_0099.JPG
274909.038 4603334.064 DJI_0100.JPG
274952.548 4603331.160 DJI_0101.JPG
274994.514 4603330.775 DJI_0102.JPG
275019.623 4603347.588 DJI_0103.JPG
274986.462 4603347.698 DJI_0104.JPG
274955.898 4603349.271 DJI_0105.JPG
274918.962 4603354.748 DJI_0106.JPG
274883.503 4603355.548 DJI_0107.JPG

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 120 KiB

Wyświetl plik

@ -1,31 +0,0 @@
+proj=utm +zone=17 +north +ellps=WGS84 +datum=WGS84 +units=m +no_defs
## comment: the first line must contain EPSG. ( mandatory )
## 0/0 of Pixel Coord = Upper left corner pixelX(column_0..) pixelY(row_0..)
## x1 y1 z1 pixelx1 pixely1 imagename1 idGCP ( idGCP optional )
# order by GCP
# GCP01
274914.738 4603349.014 400 1229.676 514.215 DJI_0068.JPG HV01
274914.738 4603349.014 400 1268.023 31.309 DJI_0104.JPG HV01
#274914.738 4603349.014 400 1350.499 -1506.619 1JI_0076.JPG badHV01
274914.738 4603349.014 400 1350.499 1506.619 1JI_0076.JPG HV01
# this is a comment, skip and skip empty line
# GCP02, no idGCP ( old format )
274915.887 4603307.715 400 1276.695 1043.561 DJI_0068.JPG
274915.887 4603307.715 400 750.239 81.604 DJI_0104.JPG
274915.887 4603307.715 400 336.897 634.845 DJI_0083.JPG
274915.887 4603307.715 400 1344.332 956.654 1JI_0076.JPG
# GCP03
274985.284 4603319.756 400 2125.152 841.227 DJI_0068.JPG HV03
274985.284 4603319.756 400 919.044 903.661 DJI_0104.JPG HV03
274985.284 4603319.756 400 483.157 1088.268 1JI_0076.JPG HV03
# GCP04
274920.710 4603258.802 400 1376.513 1662.513 DJI_0068.JPG HV04
274920.710 4603258.802 400 183.508 181.808 DJI_0104.JPG HV04
274920.710 4603258.802 400 919.236 537.724 DJI_0083.JPG HV04
274920.710 4603258.802 400 2202.425 1319.122 DJI_0063.JPG HV04
274920.710 4603258.802 400 604.750 771.373 DJI_0074.JPG HV04
# GCP05
274879.571 4603204.279 400 1617.581 1008.779 DJI_0083.JPG HV05
274879.571 4603204.279 400 1505.237 849.416 DJI_0063.JPG HV05
274879.571 4603204.279 400 1291.725 1257.747 DJI_0074.JPG HV05

Wyświetl plik

@ -1,59 +0,0 @@
Do not exspect more acurate results with these coordinates!!
These GCPs are reverse geotagged from an OpenDroneMap created Geotif
with WGS84 coordinates in the EXIF tags.
I also do not have a height value for the points!
(Set to 400m for testing purposes...)
-----------
CRS:
----
WGS 84 / UTM zone 17N
EPSG: 32617
-----------
GCP point values:
----
GCP_PointNr,X_Coordinate,Y_Coordinate
1,274914.738,4603349.014,400
2,274915.887,4603307.715,400
3,274985.284,4603319.756,400
4,274920.710,4603258.802,400
5,274879.571,4603204.279,400
-----------
-----------
Better human readable gcp_list.txt
-----------
EPSG:32617
## comment: the first line must contain EPSG. ( mandatory )
## x1 y1 z1 pixelx1 pixely1 imagename1 idGCP
## 0/0 of Pixel Coord = Upper left corner pixelX(column_0..) pixelY(row_0..)
# GCP01
274914.738 4603349.014 400 1229.676 514.215 DJI_0068.JPG HV01
274914.738 4603349.014 400 1268.023 31.309 DJI_0104.JPG HV01
274914.738 4603349.014 400 1350.499 1506.619 1JI_0076.JPG HV01
# this is a comment, skip.
# GCP02, no idGCP ( old format )
274915.887 4603307.715 400 1276.695 1043.561 DJI_0068.JPG
274915.887 4603307.715 400 750.239 81.604 DJI_0104.JPG
274915.887 4603307.715 400 336.897 634.845 DJI_0083.JPG
274915.887 4603307.715 400 1344.332 956.654 1JI_0076.JPG
# GCP03
274985.284 4603319.756 400 2125.152 841.227 DJI_0068.JPG HV03
274985.284 4603319.756 400 919.044 903.661 DJI_0104.JPG HV03
274985.284 4603319.756 400 483.157 1088.268 1JI_0076.JPG HV03
# GCP04
274920.710 4603258.802 400 1376.513 1662.513 DJI_0068.JPG HV04
274920.710 4603258.802 400 183.508 181.808 DJI_0104.JPG HV04
274920.710 4603258.802 400 919.236 537.724 DJI_0083.JPG HV04
274920.710 4603258.802 400 2202.425 1319.122 DJI_0063.JPG HV04
274920.710 4603258.802 400 604.750 771.373 DJI_0074.JPG HV04
# GCP05
274879.571 4603204.279 400 1617.581 1008.779 DJI_0083.JPG HV05
274879.571 4603204.279 400 1505.237 849.416 DJI_0063.JPG HV05
274879.571 4603204.279 400 1291.725 1257.747 DJI_0074.JPG HV05

Wyświetl plik

@ -1,31 +0,0 @@
EPSG:32617
## comment: the first line must contain EPSG. ( mandatory )
## x1 y1 z1 pixelx1 pixely1 imagename1 idGCP
## 0/0 of Pixel Coord = Upper left corner pixelX(column_0..) pixelY(row_0..)
# this is a comment. skip
# order by photo
274920.710 4603258.802 400 2202.425 1319.122 DJI_0063.JPG HV04
274879.571 4603204.279 400 1505.237 849.416 DJI_0063.JPG HV05
#
274914.738 4603349.014 400 1229.676 514.215 DJI_0068.JPG HV01
274915.887 4603307.715 400 1276.695 1043.561 DJI_0068.JPG HV02
274920.710 4603258.802 400 1376.513 1662.513 DJI_0068.JPG HV04
274985.284 4603319.756 400 2125.152 841.227 DJI_0068.JPG HV03
#
274920.710 4603258.802 400 604.750 771.373 DJI_0074.JPG HV04
274879.571 4603204.279 400 1291.725 1257.747 DJI_0074.JPG HV05
#
#274914.738 4603349.014 400 1350.499 -1506.619 1JI_0076.JPG badHV01
274914.738 4603349.014 400 1350.499 1506.619 1JI_0076.JPG HV01
274915.887 4603307.715 400 1344.332 956.654 1JI_0076.JPG HV02
274985.284 4603319.756 400 483.157 1088.268 1JI_0076.JPG HV03
#
274915.887 4603307.715 400 336.897 634.845 DJI_0083.JPG HV02
274920.710 4603258.802 400 919.236 537.724 DJI_0083.JPG HV04
274879.571 4603204.279 400 1617.581 1008.779 DJI_0083.JPG HV05
#
274914.738 4603349.014 400 1268.023 31.309 DJI_0104.JPG HV01
274915.887 4603307.715 400 750.239 81.604 DJI_0104.JPG HV02
274985.284 4603319.756 400 919.044 903.661 DJI_0104.JPG HV03
274920.710 4603258.802 400 183.508 181.808 DJI_0104.JPG HV04

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 782 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.2 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.4 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.3 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.2 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.2 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.3 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.4 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.5 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.6 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.6 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.4 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.4 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.3 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.3 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.3 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.5 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.6 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.6 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.6 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.4 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.3 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.2 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.4 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.6 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.5 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.3 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 1.9 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.2 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.3 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.5 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.4 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.2 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.2 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.4 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.3 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.2 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Wyświetl plik

@ -1,20 +0,0 @@
WGS84 UTM 32N
274914.738,4603349.014,400,2121.02804,-405.91779,DJI_0068.JPG
274914.738,4603349.014,400,2113.45101,-52.37843,DJI_0104.JPG
274914.738,4603349.014,400,2251.05140,-2510.08324,1JI_0076.JPG
274915.887,4603307.715,400,2189.08075,-1266.93925,DJI_0068.JPG
274915.887,4603307.715,400,1249.52906,-136.41574,DJI_0104.JPG
274915.887,4603307.715,400561.05432,-1057.69568,DJI_0083.JPG
274915.887,4603307.715,400,2239.44947,-1593.32652,1JI_0076.JPG
274985.284,4603319.756,400,3619.20999,-978.85879,DJI_0068.JPG
274985.284,4603319.756,400,1506.89252,-1535.16355,DJI_0104.JPG
274985.284,4603319.756,400,783.53534,-1793.26811,1JI_0076.JPG
274920.710,4603258.802,400,2342.84463,-2285.96671,DJI_0068.JPG
274920.710,4603258.802,400,305.37748,-303.36595,DJI_0104.JPG
274920.710,4603258.802,400,1531.52745,-896.39311,DJI_0083.JPG
274920.710,4603258.802,400,3671.08645,-2198.67114,DJI_0063.JPG
274920.710,4603258.802,400.1007.75409,-1286.05432,DJI_0074.JPG
274879.571,4603204.279,400,2693.25350,-1682.97313,DJI_0083.JPG
274879.571,4603204.279,400,2513.14252,-1413.82886,DJI_0063.JPG
274879.571,4603204.279,400,2150.56951,-2093.38493,DJI_0074.JPG

Wyświetl plik

@ -1,108 +0,0 @@
import unittest
import os
import shutil
import ecto
from opendm import config
from opendm import context
from scripts.odm_app import ODMApp
from ecto.opts import scheduler_options, run_plasm
parser = config.parser
scheduler_options(parser)
options = config.config()
def appSetup(options):
app = ODMApp(args=options)
plasm = ecto.Plasm()
plasm.insert(app)
return app, plasm
def setup_module():
# Run tests
print '%s' % options
options.project_path = context.tests_data_path
# options.rerun_all = True
app, plasm = appSetup(options)
print 'Run Setup: Initial Run'
run_plasm(options, plasm)
# options.rerun_all = False
def teardown_module():
# Delete generated test directories
dirnames = ['opensfm', 'odm_meshing',
'odm_texturing', 'odm_georeferencing', 'odm_orthophoto']
for n in dirnames:
rmpath = os.path.join(context.tests_data_path, n)
if os.path.exists(rmpath):
shutil.rmtree(rmpath)
class TestOpenSfM(unittest.TestCase):
"""
Tests the OpenSfM module
"""
def setUp(self):
options.rerun = 'opensfm'
self.app, self.plasm = appSetup(options)
run_plasm(options, self.plasm)
def test_opensfm(self):
# Test configuration
self.assertTrue(os.path.isfile(self.app.opensfm.inputs.tree.opensfm_reconstruction))
class TestMeshing(unittest.TestCase):
def setUp(self):
options.rerun = 'odm_meshing'
self.app, self.plasm = appSetup(options)
run_plasm(options, self.plasm)
def test_meshing(self):
self.assertTrue(os.path.isfile(self.app.meshing.inputs.tree.odm_mesh))
class TestTexturing(unittest.TestCase):
def setUp(self):
options.rerun = 'odm_texturing'
self.app, self.plasm = appSetup(options)
run_plasm(options, self.plasm)
def test_texturing(self):
self.assertTrue(os.path.isfile(self.app.texturing.inputs.tree.odm_textured_model_obj))
class TestGeoreferencing(unittest.TestCase):
def setUp(self):
options.rerun = 'odm_georeferencing'
self.app, self.plasm = appSetup(options)
run_plasm(options, self.plasm)
def test_georef(self):
self.assertTrue(os.path.isfile(self.app.georeferencing.inputs.tree.odm_georeferencing_coords) &
os.path.isfile(self.app.georeferencing.inputs.tree.odm_georeferencing_model_obj_geo))
def test_las_out(self):
self.assertTrue(os.path.isfile(os.path.join(self.app.georeferencing.inputs.tree.odm_georeferencing,
"odm_georeferenced_model.laz")))
class TestOrthophoto(unittest.TestCase):
def setUp(self):
options.rerun = 'odm_orthophoto'
self.app, self.plasm = appSetup(options)
run_plasm(options, self.plasm)
def test_orthophoto(self):
self.assertTrue(os.path.isfile(self.app.orthophoto.inputs.tree.odm_orthophoto_file))
if __name__ == '__main__':
unittest.main()

Wyświetl plik

@ -1,66 +0,0 @@
## opendm/
### config.py
* test each parameter (min, max, out of bounds, etc.)
### context.py
* Each path must be a valid, existing path
### io.py
* check each function with a known string
### system.py
* (Get_ccd_widths is depreciated)
* parse_coordinate_system:
* This is also old code - new one is in types
### types.py
* ODM_Photos
* updated focal equal to known focal length
* updated ccd equal to known ccd
* ODM_Georef
* calculate_epsg needs to be updated, see master
* convert_to_las: assert existence of las file output
* utm_to_latlon:
*
*
## scripts/
### dataset.py
* test that supported_extensions works with a variety of file names, even bogus ones
* check outputs are all the photos
### resize.py
* resulting images are the right size
* metadata has been properly updated
### OpenSfM.py
* config file is contains info same as params
* when matcher_distance > 0 it is written to the config
* at least one reconstruction file is generated
* check that bundler file is exported (possible to check if valid?)
### CMVS.py
* validate params
* system.run() command is equal to some known string
### PMVS.py
* validate params
* system.run() command is equal to some known string
### odm_meshing.py
* validate params
* system.run() command is equal to some known string
### odm_texturing.py
* validate params
* system.run() command is equal to some known string
### odm_georeferencing.py
* validate params
* system.run() command is equal to some known string when using EXIF coords
* system.run() when using GCP
### odm_orthophoto.py
* validate params
* system.run() command is equal to some known string