Can not handle images with 64-bit samples

I used sample images provided by micasense which loaded into WebODM without errors and produced an orthomosaic. I then followed the tutorials provided by Micasense to convert DN values to reflectance values before loading them again into WebODM. index
However, when I try to load the processed images I get the error below “Can not handle images with 64-bit samples”.

  1. Original images are sample images provided by micasense
    The reflectance images I converted according to the tutorial above.

  2. Output:
    [INFO] Initializing ODM - Fri Jan 22 19:47:31 2021
    [INFO] ==============
    [INFO] build_overviews: False
    [INFO] camera_lens: auto
    [INFO] cameras: {}
    [INFO] crop: 3
    [INFO] debug: True
    [INFO] dem_decimation: 1
    [INFO] dem_euclidean_map: False
    [INFO] dem_gapfill_steps: 3
    [INFO] dem_resolution: 5
    [INFO] depthmap_resolution: 640
    [INFO] dsm: True
    [INFO] dtm: False
    [INFO] end_with: odm_report
    [INFO] fast_orthophoto: False
    [INFO] feature_quality: high
    [INFO] feature_type: sift
    [INFO] force_gps: False
    [INFO] gcp: None
    [INFO] geo: None
    [INFO] gps_accuracy: 10
    [INFO] ignore_gsd: False
    [INFO] matcher_distance: 0
    [INFO] matcher_neighbors: 8
    [INFO] matcher_type: flann
    [INFO] max_concurrency: 16
    [INFO] merge: all
    [INFO] mesh_octree_depth: 11
    [INFO] mesh_size: 200000
    [INFO] min_num_features: 8000
    [INFO] name: 6682d202-c425-4b80-8114-bbbe587ad1cb
    [INFO] opensfm_depthmap_method: PATCH_MATCH
    [INFO] opensfm_depthmap_min_consistent_views: 3
    [INFO] opensfm_depthmap_min_patch_sd: 1
    [INFO] optimize_disk_space: False
    [INFO] orthophoto_compression: NONE
    [INFO] orthophoto_cutline: False
    [INFO] orthophoto_no_tiled: False
    [INFO] orthophoto_png: False
    [INFO] orthophoto_resolution: 5
    [INFO] pc_classify: False
    [INFO] pc_csv: False
    [INFO] pc_ept: False
    [INFO] pc_filter: 2.5
    [INFO] pc_las: False
    [INFO] pc_quality: medium
    [INFO] pc_rectify: False
    [INFO] pc_sample: 0
    [INFO] primary_band: auto
    [INFO] project_path: /var/www/data
    [INFO] radiometric_calibration: camera+sun
    [INFO] rerun: None
    [INFO] rerun_all: False
    [INFO] rerun_from: None
    [INFO] resize_to: 2048
    [INFO] skip_3dmodel: False
    [INFO] skip_band_alignment: False
    [INFO] sm_cluster: None
    [INFO] smrf_scalar: 1.25
    [INFO] smrf_slope: 0.15
    [INFO] smrf_threshold: 0.5
    [INFO] smrf_window: 18.0
    [INFO] split: 999999
    [INFO] split_overlap: 150
    [INFO] texturing_data_term: gmi
    [INFO] texturing_outlier_removal_type: gauss_clamping
    [INFO] texturing_skip_global_seam_leveling: True
    [INFO] texturing_skip_local_seam_leveling: False
    [INFO] texturing_tone_mapping: none
    [INFO] tiles: False
    [INFO] time: False
    [INFO] use_3dmesh: False
    [INFO] use_exif: False
    [INFO] use_fixed_camera_params: False
    [INFO] use_hybrid_bundle_adjustment: False
    [INFO] use_opensfm_dense: False
    [INFO] verbose: True
    [INFO] ==============
    [INFO] Running dataset stage
    [INFO] Loading dataset from: /var/www/data/6682d202-c425-4b80-8114-bbbe587ad1cb/images
    [DEBUG] /var/www/data/6682d202-c425-4b80-8114-bbbe587ad1cb/images
    [INFO] Loading 323 images
    [WARNING] Cannot read /var/www/data/6682d202-c425-4b80-8114-bbbe587ad1cb/images/IMG_0271_3_reflectance.tif with PIL, fallback to cv2: cannot identify image file ‘/var/www/data/6682d202-c425-4b80-8114-bbbe587ad1cb/images/IMG_0271_3_reflectance.tif’
    [ WARN:0] global /code/SuperBuild/src/opencv/modules/imgcodecs/src/grfmt_tiff.cpp (457) readData OpenCV TIFF: TIFFRGBAImageOK: Sorry, can not handle images with 64-bit samples
    Traceback (most recent call last):
    File “/code/opendm/”, line 13, in get_image_size
    with as img:
    File “/usr/local/lib/python3.8/dist-packages/PIL/”, line 2943, in open
    raise UnidentifiedImageError(
    PIL.UnidentifiedImageError: cannot identify image file ‘/var/www/data/6682d202-c425-4b80-8114-bbbe587ad1cb/images/IMG_0271_3_reflectance.tif’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/code/”, line 69, in
File “/code/stages/”, line 83, in execute
File “/code/opendm/”, line 342, in run
self.process(self.args, outputs)
File “/code/stages/”, line 109, in process
p = types.ODM_Photo(f)
File “/code/opendm/”, line 79, in init
File “/code/opendm/”, line 255, in parse_exif_values
self.width, self.height = get_image_size.get_image_size(_path_file)
File “/code/opendm/”, line 19, in get_image_size
width = img.shape[1]
AttributeError: ‘NoneType’ object has no attribute ‘shape’

  1. Options: debug: true, dsm: true, orthophoto-compression: NONE, radiometric-calibration: camera+sun, texturing-skip-global-seam-leveling: true, verbose: true

  2. WebODM 1.7.0 with Docker

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