Skip to content

Commit a87ae69

Browse files
author
Simon Rit
committed
FIX: remove default scatter glare coefficients (GH-101)
1 parent c36a5d9 commit a87ae69

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

applications/rtkscatterglarecorrection/rtkscatterglarecorrection.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ int main(int argc, char *argv[])
6969
}
7070
else
7171
{
72-
coef.push_back(0.0787f);
73-
coef.push_back(106.244f);
72+
std::cerr << "--coefficients requires exactly 2 coefficients" << std::endl;
73+
return EXIT_FAILURE;
7474
}
7575

7676
#ifdef RTK_USE_CUDA

applications/rtkscatterglarecorrection/rtkscatterglarecorrection.ggo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ option "bufferSize" - "Number of projections computed at the same time"
88
option "difference" d "Output the difference between input and corrected images" flag off
99

1010
section "Algorithm parameters"
11-
option "coefficients" c "Deconvolution kernel coefficients" float multiple no
11+
option "coefficients" c "Deconvolution kernel coefficients" float multiple yes
1212

0 commit comments

Comments
 (0)