deghosting_mask -V (return code: 1)
deghosting_mask: unrecognized option '--version'
deghosting_mask --help (return code: 0)
deghosting_mask: creates mask for removing ghosting in images
deghosting_mask version 2017.0.0.eac5e8cc546e
Usage: deghosting_mask [options] inputfile(s)
option are:
-o, --output=PREFIX prefix for output masks
-i, --iterations=ITER number of iterations, default is (ITER > 0)
default: 4
-s, --sigma=SIGMA standard deviation of Gaussian weighting
function (SIGMA > 0); default: 30
-t, --threshold=THRESH threshold; default: 150
-c, --contrast=CONTR change contrast before applying threshold;
default: 1.3
-a, --advanced=SET advanced settings. Possible options are:
f use gray images for computation. It's about two times faster
but it usually returns worse results.
You also have to change threshold to smaller value (around 100)
g use gamma 2.2 correction instead of logarithm if input images are HDR
m do not scale image, NOTE: slows down process
t use simple threshold, may result in holes in images
w compute "complete" weights, not only probabilities
-w, --save=SET advanced save settings
i save initial weights
w save generated weights
-h, --help display this help
-v, --verbose verbose, repeat for more verbose output