Index: trunk/ppImage/src/ppImageOptions.c
===================================================================
--- trunk/ppImage/src/ppImageOptions.c	(revision 20618)
+++ trunk/ppImage/src/ppImageOptions.c	(revision 20626)
@@ -77,4 +77,8 @@
     options->fringeKeep      = 1.0;     // Fringe keep fraction
 
+    // Remnance values
+    options->remnanceSize    = 30;      // Size for remnance detection
+    options->remnanceThresh  = 25.0;    // Threshold for remnance detection
+
     return options;
 }
@@ -197,4 +201,5 @@
     options->doBias = psMetadataLookupBool(NULL, recipe, "BIAS");
     options->doDark = psMetadataLookupBool(NULL, recipe, "DARK");
+    options->doRemnance = psMetadataLookupBool(NULL, recipe, "REMNANCE");
     options->doFlat = psMetadataLookupBool(NULL, recipe, "FLAT");
     options->doFringe = psMetadataLookupBool(NULL, recipe, "FRINGE");
@@ -269,4 +274,7 @@
     options->fringeKeep = psMetadataLookupF32(NULL, recipe, "FRINGE.KEEP");
 
+    // Remnance options
+    options->remnanceSize = psMetadataLookupF32(NULL, recipe, "REMNANCE.SIZE");
+    options->remnanceThresh = psMetadataLookupS32(NULL, recipe, "REMNANCE.THRESH");
 
     return options;
