Skip to content

Commit 1283df2

Browse files
authored
Merge pull request #1732 from OpenDroneMap/nolocalseam
Deprecate texturing-skip-local-seam-leveling
2 parents 32d9330 + 76a061b commit 1283df2

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

opendm/config.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
'texturing_keep_unseen_faces': 'mvs_texturing',
9898
'texturing_single_material': 'mvs_texturing',
9999
'texturing_skip_global_seam_leveling': 'mvs_texturing',
100-
'texturing_skip_local_seam_leveling': 'mvs_texturing',
101100
'tiles': 'odm_dem',
102101
'use_3dmesh': 'mvs_texturing',
103102
'use_exif': 'dataset',
@@ -543,12 +542,6 @@ def config(argv=None, parser=None):
543542
default=False,
544543
help=('Skip normalization of colors across all images. Useful when processing radiometric data. Default: %(default)s'))
545544

546-
parser.add_argument('--texturing-skip-local-seam-leveling',
547-
action=StoreTrue,
548-
nargs=0,
549-
default=False,
550-
help='Skip the blending of colors near seams. Default: %(default)s')
551-
552545
parser.add_argument('--texturing-keep-unseen-faces',
553546
action=StoreTrue,
554547
nargs=0,
@@ -887,7 +880,7 @@ def config(argv=None, parser=None):
887880
'Default: %(default)s'))
888881

889882
args, unknown = parser.parse_known_args(argv)
890-
DEPRECATED = ["--verbose", "--debug", "--time", "--resize-to", "--depthmap-resolution", "--pc-geometric", "--texturing-data-term", "--texturing-outlier-removal-type", "--texturing-tone-mapping"]
883+
DEPRECATED = ["--verbose", "--debug", "--time", "--resize-to", "--depthmap-resolution", "--pc-geometric", "--texturing-data-term", "--texturing-outlier-removal-type", "--texturing-tone-mapping", "--texturing-skip-local-seam-leveling"]
891884
unknown_e = [p for p in unknown if p not in DEPRECATED]
892885
if len(unknown_e) > 0:
893886
raise parser.error("unrecognized arguments: %s" % " ".join(unknown_e))

stages/mvstex.py

-5
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,11 @@ def add_run(nvm_file, primary=True, band=None):
8181

8282
# Format arguments to fit Mvs-Texturing app
8383
skipGlobalSeamLeveling = ""
84-
skipLocalSeamLeveling = ""
8584
keepUnseenFaces = ""
8685
nadir = ""
8786

8887
if args.texturing_skip_global_seam_leveling:
8988
skipGlobalSeamLeveling = "--skip_global_seam_leveling"
90-
if args.texturing_skip_local_seam_leveling:
91-
skipLocalSeamLeveling = "--skip_local_seam_leveling"
9289
if args.texturing_keep_unseen_faces:
9390
keepUnseenFaces = "--keep_unseen_faces"
9491
if (r['nadir']):
@@ -102,7 +99,6 @@ def add_run(nvm_file, primary=True, band=None):
10299
'dataTerm': 'gmi',
103100
'outlierRemovalType': 'gauss_clamping',
104101
'skipGlobalSeamLeveling': skipGlobalSeamLeveling,
105-
'skipLocalSeamLeveling': skipLocalSeamLeveling,
106102
'keepUnseenFaces': keepUnseenFaces,
107103
'toneMapping': 'none',
108104
'nadirMode': nadir,
@@ -125,7 +121,6 @@ def add_run(nvm_file, primary=True, band=None):
125121
'-t {toneMapping} '
126122
'{intermediate} '
127123
'{skipGlobalSeamLeveling} '
128-
'{skipLocalSeamLeveling} '
129124
'{keepUnseenFaces} '
130125
'{nadirMode} '
131126
'{labelingFile} '

0 commit comments

Comments
 (0)