Error processing TIFF Images

I use WebDOM for processing Datasets from a MAPIR 3w OCN camera. The camera takes JPG images and also RAW images, which can be processed with a free tool (MapirCameraControl) into TIFF images. Processing the JPGs in WEBodm works fine, but the TIFFs lead to the following Errors:


2020-12-21 07:47:38,880 INFO: -------------------------------------------------------
2020-12-21 07:47:38,880 INFO: Shots and/or GCPs are well-conditioned. Using naive 3D-3D alignment.
2020-12-21 07:47:40,433 DEBUG: Ceres Solver Report: Iterations: 17, Initial cost: 2.870951e+03, Final cost: 2.279004e+03, Termination: CONVERGENCE
2020-12-21 07:47:40,657 INFO: Removed outliers: 233
2020-12-21 07:47:40,840 INFO: {‘points_count’: 17370, ‘cameras_count’: 51, ‘observations_count’: 46452, ‘average_track_length’: 2.67426597582038, ‘average_track_length_notwo’: 4.24067342643964}
2020-12-21 07:47:40,840 INFO: Reconstruction 0: 51 images, 17370 points
2020-12-21 07:47:40,840 INFO: 1 partial reconstructions in total.
[INFO] Updating /var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm/config.yaml
[INFO] undistorted_image_max_size: 4000
[INFO] Undistorting /var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm …
2020-12-21 07:47:42,561 DEBUG: Undistorting image 099.tif
2020-12-21 07:47:42,561 DEBUG: Undistorting image 093.tif
2020-12-21 07:47:42,565 DEBUG: Undistorting image 041.tif
2020-12-21 07:47:42,565 DEBUG: Undistorting image 091.tif
2020-12-21 07:47:42,566 DEBUG: Undistorting image 065.tif
2020-12-21 07:47:42,567 DEBUG: Undistorting image 033.tif
2020-12-21 07:47:42,570 DEBUG: Undistorting image 057.tif
2020-12-21 07:47:42,572 DEBUG: Undistorting image 031.tif
2020-12-21 07:47:42,572 DEBUG: Undistorting image 105.tif
2020-12-21 07:47:42,574 DEBUG: Undistorting image 123.tif
2020-12-21 07:47:42,574 DEBUG: Undistorting image 047.tif
2020-12-21 07:47:42,577 DEBUG: Undistorting image 087.tif
2020-12-21 07:47:42,577 DEBUG: Undistorting image 095.tif
2020-12-21 07:47:42,578 DEBUG: Undistorting image 103.tif
2020-12-21 07:47:42,580 DEBUG: Undistorting image 063.tif
2020-12-21 07:47:42,580 DEBUG: Undistorting image 085.tif
2020-12-21 07:47:48,471 DEBUG: Undistorting image 079.tif
2020-12-21 07:47:48,474 DEBUG: Undistorting image 097.tif
2020-12-21 07:47:48,476 DEBUG: Undistorting image 101.tif
2020-12-21 07:47:48,488 DEBUG: Undistorting image 059.tif
2020-12-21 07:47:51,168 DEBUG: Undistorting image 071.tif
2020-12-21 07:47:51,190 DEBUG: Undistorting image 043.tif
2020-12-21 07:47:52,624 DEBUG: Undistorting image 109.tif
2020-12-21 07:47:52,643 DEBUG: Undistorting image 073.tif
2020-12-21 07:47:52,652 DEBUG: Undistorting image 069.tif
2020-12-21 07:47:56,463 DEBUG: Undistorting image 077.tif
2020-12-21 07:47:56,473 DEBUG: Undistorting image 039.tif
2020-12-21 07:47:57,175 DEBUG: Undistorting image 067.tif
2020-12-21 07:47:57,181 DEBUG: Undistorting image 117.tif
2020-12-21 07:47:57,183 DEBUG: Undistorting image 081.tif
2020-12-21 07:47:57,199 DEBUG: Undistorting image 113.tif
2020-12-21 07:47:59,474 DEBUG: Undistorting image 119.tif
2020-12-21 07:48:00,205 DEBUG: Undistorting image 125.tif
2020-12-21 07:48:00,214 DEBUG: Undistorting image 131.tif
2020-12-21 07:48:00,217 DEBUG: Undistorting image 121.tif
2020-12-21 07:48:01,185 DEBUG: Undistorting image 129.tif
2020-12-21 07:48:03,463 DEBUG: Undistorting image 075.tif
2020-12-21 07:48:04,127 DEBUG: Undistorting image 127.tif
2020-12-21 07:48:04,136 DEBUG: Undistorting image 111.tif
2020-12-21 07:48:04,143 DEBUG: Undistorting image 107.tif
2020-12-21 07:48:05,813 DEBUG: Undistorting image 061.tif
2020-12-21 07:48:05,829 DEBUG: Undistorting image 053.tif
2020-12-21 07:48:07,517 DEBUG: Undistorting image 045.tif
2020-12-21 07:48:07,526 DEBUG: Undistorting image 115.tif
2020-12-21 07:48:09,116 DEBUG: Undistorting image 037.tif
2020-12-21 07:48:11,902 DEBUG: Undistorting image 083.tif
2020-12-21 07:48:11,920 DEBUG: Undistorting image 049.tif
2020-12-21 07:48:11,923 DEBUG: Undistorting image 055.tif
2020-12-21 07:48:11,942 DEBUG: Undistorting image 035.tif
2020-12-21 07:48:11,944 DEBUG: Undistorting image 051.tif
2020-12-21 07:48:15,030 DEBUG: Undistorting image 089.tif
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_visualsfm --points “/var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm”
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_geocoords --transformation --proj ‘+proj=utm +zone=33 +datum=WGS84 +units=m +no_defs +type=crs’ “/var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm”
[INFO] Finished opensfm stage
[INFO] Running openmvs stage
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_openmvs “/var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm”
[INFO] Running dense reconstruction. This might take a while.
[INFO] running /code/SuperBuild/install/bin/OpenMVS/DensifyPointCloud “/var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm/undistorted/openmvs/scene.mvs” --resolution-level 2 --min-resolution 1000 --max-resolution 4000 --max-threads 16 -w “/var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm/undistorted/openmvs/depthmaps” -v 0
07:48:54 [App ] Build date: Dec 15 2020, 20:03:33
07:48:54 [App ] CPU: AMD Ryzen 7 2700X Eight-Core Processor (16 cores)
07:48:54 [App ] RAM: 47.06GB Physical Memory 2.00GB Virtual Memory
07:48:54 [App ] OS: Linux 5.8.0-33-generic (x86_64)
07:48:54 [App ] SSE & AVX compatible CPU & OS detected
07:48:54 [App ] Command line: /var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm/undistorted/openmvs/scene.mvs --resolution-level 2 --min-resolution 1000 --max-resolution 4000 --max-threads 16 -w /var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm/undistorted/openmvs/depthmaps -v 0
07:48:54 [IO ] error: unsupported TIFF image
07:48:54 [App ] error: failed loading image header
07:48:54 [App ] error: failed reloading image ‘/var/www/data/76dc20b9-7bf5-4444-b61c-f29629f4a5c6/opensfm/undistorted/images/117.tif.tif’
07:48:54 [App ] error: invalid project
Traceback (most recent call last):
File “/code/run.py”, line 69, in
app.execute()
File “/code/stages/odm_app.py”, line 83, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 361, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 361, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 361, in run
self.next_stage.run(outputs)
[Previous line repeated 1 more time]
File “/code/opendm/types.py”, line 342, in run
self.process(self.args, outputs)
File “/code/stages/openmvs.py”, line 57, in process
system.run(’%s “%s” %s’ % (context.omvs_densify_path,
File “/code/opendm/system.py”, line 79, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1

This is the link to the Dataset:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.