diff --git a/color_example.png b/color_example.png new file mode 100644 index 0000000..4110247 Binary files /dev/null and b/color_example.png differ diff --git a/imbandpass.m b/imbandpass.m index 82c155f..e672417 100644 --- a/imbandpass.m +++ b/imbandpass.m @@ -21,7 +21,7 @@ %stripe Filter option addParameter(p,'stripeFilter', 'gaussian', @(x) any(validatestring(x,{'gaussian', 'hard'}))); %stripe supression width: less than image dimension, 0->None -addParameter(p,'stripeTolerance', 5, @(x) isnumeric(x)) +addParameter(p,'stripeTolerance', 5, @(x) isnumeric(x)&&x>=0&&x<=100) %filter type, default gaussian addParameter(p,'filter', 'gaussian', @(x) any(validatestring(x,{'gaussian','butterworth', 'hard'}))) addParameter(p,'butterworthN', 1)