|
@@ -147,6 +147,7 @@ parse_params (Params *params, int argc, char **argv)
|
|
|
{ "height", 0, 0, G_OPTION_ARG_INT, ¶ms->height, "Height", "[int]" },
|
|
|
{ "num-radios", 0, 0, G_OPTION_ARG_INT, ¶ms->num_radios, "Number of radios", "[int]" },
|
|
|
{ "num-darks", 0, 0, G_OPTION_ARG_INT, ¶ms->num_darks, "Number of darks", "[int]" },
|
|
|
+ { "num-flats", 0, 0, G_OPTION_ARG_INT, ¶ms->num_flats, "Number of flats", "[int]" },
|
|
|
{ "radios", 0, 0, G_OPTION_ARG_STRING, ¶ms->radios, "Radios", "[path|glob]" },
|
|
|
{ "darks", 0, 0, G_OPTION_ARG_STRING, ¶ms->darks, "Darks", "[path|glob]" },
|
|
|
{ "flats", 0, 0, G_OPTION_ARG_STRING, ¶ms->flats, "Flats", "[path|glob]" },
|
|
@@ -210,6 +211,7 @@ main (int argc, char **argv)
|
|
|
.height = 0,
|
|
|
.num_radios = 0,
|
|
|
.num_darks = 1,
|
|
|
+ .num_flats = 1,
|
|
|
.radio_step = 1,
|
|
|
.theta = G_MAXDOUBLE,
|
|
|
.dark_scale = 1.0,
|