Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 5764bd18 authored by Edward Andò's avatar Edward Andò
Browse files

option to not mask other labels in spam-ddic

parent 38777ebf
Pipeline #49329 passed with stages
in 13 minutes and 2 seconds
...@@ -350,7 +350,7 @@ if mpiRank == boss or not mpi: ...@@ -350,7 +350,7 @@ if mpiRank == boss or not mpi:
margin=labelDilateCurrent + args.LABEL_CORRELATE_MARGIN, margin=labelDilateCurrent + args.LABEL_CORRELATE_MARGIN,
maskOtherLabels=args.MASK, maskOtherLabels=args.MASK,
labelDilate=labelDilateCurrent, labelDilate=labelDilateCurrent,
labelDilateMaskOtherLabels=True) labelDilateMaskOtherLabels=args.LABEL_CORRELATE_MASK_OTHERS)
# In case the label is missing or the Phi is duff # In case the label is missing or the Phi is duff
if getLabel is None or not numpy.all(numpy.isfinite(PhiField[label])): if getLabel is None or not numpy.all(numpy.isfinite(PhiField[label])):
......
...@@ -598,7 +598,13 @@ def ddicParser(parser): ...@@ -598,7 +598,13 @@ def ddicParser(parser):
'--label-correlate-update-gradient', '--label-correlate-update-gradient',
action="store_true", action="store_true",
dest='LABEL_CORRELATE_UPDATE_GRADIENT', dest='LABEL_CORRELATE_UPDATE_GRADIENT',
help='Update gradient in label registration? More computation time but more robust and possibly fewer iterations. Default = False') help='Update gradient in label registration? More computation time but more robust and possibly fewer iterations.')
parser.add_argument('-lcmo',
'--label-correlate-mask-others',
action="store_false",
dest='LABEL_CORRELATE_MASK_OTHERS',
help='Prevent masking other labels when dilating?')
parser.add_argument('-od', parser.add_argument('-od',
'--out-dir', '--out-dir',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment