help='Return status in spam-ddic to consider the grain. Default = None, but 2 (i.e., converged) is recommended')
parser.add_argument('-gf',
'--grey-file',
type=str,
default=None,
dest='GREY_FILE',
help='Input greylevel tiff file corresponding to the input labelled file. This option requires a threshold to be set with -thr')
parser.add_argument('-om',
'--overall-margin',
type=int,
default=10,
dest='OVERALL_MARGIN',
help="Overall image padding for label movement near edges, this is how much the labelled image is increased before starting to place label. Default = 10")
#parser.add_argument('-gf',
#'--grey-file',
#type=str,
#default=None,
#dest='GREY_FILE',
#help='Input greylevel tiff file corresponding to the input labelled file. This option requires a threshold to be set with -thr')
parser.add_argument('-lm',
'--label-margin',
type=int,
default=3,
dest='LABEL_MARGIN',
dest='MARGIN',
help="Bounding box margin for each label to allow for rotation/strain of the label. Default = 3")