Revert feathered

If we have a utility to use it soon, will revert the revert
pull/1885/head
Stephen Mather 2025-07-16 14:15:39 -04:00 zatwierdzone przez GitHub
rodzic 3b4bd28b1a
commit 7672c6e42a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -133,10 +133,11 @@ class ODMOrthoPhotoStage(types.ODM_Stage):
reconstruction, tree, not outputs["large"])
# Generate feathered orthophoto also
orthophoto.feather_raster(tree.odm_orthophoto_tif,
os.path.join(tree.odm_orthophoto, "odm_orthophoto_feathered.tif"),
blend_distance=20
)
if args.orthophoto_cutline and submodel_run:
orthophoto.feather_raster(tree.odm_orthophoto_tif,
os.path.join(tree.odm_orthophoto, "odm_orthophoto_feathered.tif"),
blend_distance=20
)
else:
if io.file_exists(tree.odm_orthophoto_render):