#
# NEED_PARMS sigmaw threshold sigma
#
# HELP: SYNOPSIS:
# HELP:     generic/register/parms/fill_nlc sigmaw threshold sigma
# HELP:
# HELP: DESCRIPTION:
# HELP:     Set parameters for NLC/NLCP filling
#
DECLARE struct $root.register
DECLARE struct $root.register.mouse
DECLARE struct $root.register.mouse.fill_nlc
DECLARE double $root.register.mouse.fill_nlc.sigma
DECLARE double $root.register.mouse.fill_nlc.sigmaw
DECLARE double $root.register.mouse.fill_nlc.thresh

CECHO ${$root.register.mouse.fill_nlc.sigma=(double)$argv[3]}
CECHO ${$root.register.mouse.fill_nlc.sigmaw=(double)$argv[1]}
CECHO ${$root.register.mouse.fill_nlc.thresh=(double)$argv[2]}
{ IF ${$root.register.mouse.fill_nlc.sigma<0.01}
	CECHO ${$root.register.mouse.fill_nlc.sigma=2.0}
} IF 0 0
{ IF2 ${$root.register.mouse.fill_nlc.sigmaw<0.01}
	CECHO ${$root.register.mouse.fill_nlc.sigmaw=15.0}
} IF2 0 0
{ IF3 ${$root.register.mouse.fill_nlc.thresh<0.01}
	CECHO ${$root.register.mouse.fill_nlc.thresh=0.5}
} IF3 0 0

