Skip to content

Commit

Permalink
Import fix, less verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jun 28, 2024
1 parent b48a1e8 commit 9d71d5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opendm/multispectral.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
from opendm import log
from opendm.concurrency import parallel_map
from opensfm.io import imread

from skimage import exposure
from skimage.morphology import disk
Expand Down Expand Up @@ -444,7 +445,6 @@ def find_ecc_homography(image_gray, align_image_gray, number_of_iterations=1000,
pyramid_levels += 1

log.ODM_INFO("Pyramid levels: %s" % pyramid_levels)
log.ODM_INFO("Downscale: %s" % downscale)

# Quick check on size
if align_image_gray.shape[0] != image_gray.shape[0]:
Expand Down Expand Up @@ -518,7 +518,6 @@ def find_features_homography(image_gray, align_image_gray, feature_retention=0.7
max_size = 4096
while max_dim / (2**downscale) > max_size:
downscale += 1
log.ODM_INFO("Downscale: %s" % downscale)

if downscale > 0:
f = 1 / (2**downscale)
Expand Down

0 comments on commit 9d71d5d

Please sign in to comment.