Disable vignetting

pull/1771/head
Piero Toffanin 2024-06-28 20:44:24 +00:00
rodzic 6cfe7e92f3
commit 7b33e33d98
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -706,5 +706,10 @@ def dewarp_photos(photos, images_path, scale_factor=1.0, size=None, max_concurre
imwrite(dewarped_path, dewarped_image) imwrite(dewarped_path, dewarped_image)
log.ODM_INFO("Dewarped %s --> %s" % (p.filename, dewarped_filename)) log.ODM_INFO("Dewarped %s --> %s" % (p.filename, dewarped_filename))
p.filename = dewarped_filename p.filename = dewarped_filename
# Disable vignetting correction
p.vignetting_polynomial = None
p.vignetting_center = None
parallel_map(dewarp_photo, photos, max_concurrency) parallel_map(dewarp_photo, photos, max_concurrency)