Index: trunk/ppMerge/src/ppMergeOptions.c
===================================================================
--- trunk/ppMerge/src/ppMergeOptions.c	(revision 9539)
+++ trunk/ppMerge/src/ppMergeOptions.c	(revision 9832)
@@ -35,8 +35,13 @@
     options->scale = false;
     options->darktime = false;
+    options->fringe = false;
     options->shutter = false;
     options->sample = 1;
     options->mean = PS_STAT_SAMPLE_MEDIAN;
     options->stdev = PS_STAT_SAMPLE_STDEV;
+    options->fringeNum = 100;
+    options->fringeSize = 10;
+    options->fringeSmoothX = 5;
+    options->fringeSmoothY = 5;
     options->shutterSize = 10;
     options->shutterIter = 2;
@@ -122,16 +127,20 @@
 
     // First, deal with the recipe.  These are parameters that will typically be constant for a camera.
-    OPTION_PARSE(options->rows,              recipe, "ROWS",      U16 );
-    OPTION_PARSE(options->minElectrons,      recipe, "ELECTRONS", F32 );
-    OPTION_PARSE(options->sample,            recipe, "SAMPLE",    S32 );
-    OPTION_PARSE(options->combine->rej,      recipe, "REJ",       F32 );
-    OPTION_PARSE(options->combine->iter,     recipe, "ITER",      S32 );
-    OPTION_PARSE(options->combine->fracHigh, recipe, "FRACHIGH",  F32 );
-    OPTION_PARSE(options->combine->fracLow,  recipe, "FRACLOW",   F32 );
-    OPTION_PARSE(options->combine->nKeep,    recipe, "NKEEP",     S32 );
-    OPTION_PARSE(options->combine->maskVal,  recipe, "MASKVAL",   S32 );
-    OPTION_PARSE(options->shutterSize,       recipe, "SHUTTER.SIZE", S32 );
-    OPTION_PARSE(options->shutterIter,       recipe, "SHUTTER.ITER", S32 );
-    OPTION_PARSE(options->shutterRej,        recipe, "SHUTTER.REJECT", F32 );
+    OPTION_PARSE(options->rows,              recipe, "ROWS",           U16);
+    OPTION_PARSE(options->minElectrons,      recipe, "ELECTRONS",      F32);
+    OPTION_PARSE(options->sample,            recipe, "SAMPLE",         S32);
+    OPTION_PARSE(options->combine->rej,      recipe, "REJ",            F32);
+    OPTION_PARSE(options->combine->iter,     recipe, "ITER",           S32);
+    OPTION_PARSE(options->combine->fracHigh, recipe, "FRACHIGH",       F32);
+    OPTION_PARSE(options->combine->fracLow,  recipe, "FRACLOW",        F32);
+    OPTION_PARSE(options->combine->nKeep,    recipe, "NKEEP",          S32);
+    OPTION_PARSE(options->combine->maskVal,  recipe, "MASKVAL",        S32);
+    OPTION_PARSE(options->fringeNum,         recipe, "FRINGE.NUM",     S32);
+    OPTION_PARSE(options->fringeSize,        recipe, "FRINGE.SIZE",    S32);
+    OPTION_PARSE(options->fringeSmoothX,     recipe, "FRINGE.XSMOOTH", S32);
+    OPTION_PARSE(options->fringeSmoothY,     recipe, "FRINGE.YSMOOTH", S32);
+    OPTION_PARSE(options->shutterSize,       recipe, "SHUTTER.SIZE",   S32);
+    OPTION_PARSE(options->shutterIter,       recipe, "SHUTTER.ITER",   S32);
+    OPTION_PARSE(options->shutterRej,        recipe, "SHUTTER.REJECT", F32);
 
     options->combine->combine = parseStat(recipe, "COMBINE");
@@ -148,4 +157,5 @@
             options->scale = false;
             options->darktime = false;
+            options->fringe = false;
             options->shutter = false;
         } else if (strcasecmp(type, "DARK") == 0) {
@@ -153,4 +163,5 @@
             options->scale = false;
             options->darktime = true;
+            options->fringe = false;
             options->shutter = false;
         } else if (strcasecmp(type, "FLAT") == 0) {
@@ -158,4 +169,5 @@
             options->scale = true;
             options->darktime = false;
+            options->fringe = false;
             options->shutter = false;
         } else if (strcasecmp(type, "FRINGE") == 0) {
@@ -163,4 +175,5 @@
             options->scale = true;
             options->darktime = false;
+            options->fringe = true;
             options->shutter = false;
         } else if (strcasecmp(type, "SHUTTER") == 0) {
@@ -168,4 +181,5 @@
             options->scale = false;
             options->darktime = false;
+            options->fringe = false;
             options->shutter = true;
         } else {
@@ -174,4 +188,5 @@
             options->scale = false;
             options->darktime = false;
+            options->fringe = false;
             options->shutter = false;
         }
@@ -181,4 +196,6 @@
         options->scale = false;
         options->darktime = false;
+        options->fringe = false;
+        options->shutter = false;
     }
 
