kopia lustrzana https://github.com/OpenDroneMap/ODM
Revert feathered
If we have a utility to use it soon, will revert the revertpull/1885/head
rodzic
3b4bd28b1a
commit
7672c6e42a
|
@ -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):
|
||||
|
|
Ładowanie…
Reference in New Issue