Changeset 23911 for trunk/magic/remove/src/streaksremove.c
- Timestamp:
- Apr 17, 2009, 3:57:42 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/streaksremove.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/streaksremove.c
r21481 r23911 28 28 streaksExit("", PS_EXIT_CONFIG_ERROR); 29 29 } 30 double maskStreak = (double) psMetadataLookupU 8(&status, masks, "STREAK");30 double maskStreak = (double) psMetadataLookupU16(&status, masks, "STREAK"); 31 31 if (!status) { 32 32 psError(PM_ERR_CONFIG, false, "failed to lookup mask value for STREAK in recipes\n"); … … 35 35 36 36 // optionally setting pixels with any mask bits execpt POOR.WARP to NAN 37 psU 8 poorWarp = (double) psMetadataLookupU8(&status, masks, "POOR.WARP");37 psU16 poorWarp = (double) psMetadataLookupU16(&status, masks, "CONV.POOR"); 38 38 if (!status) { 39 39 psError(PM_ERR_CONFIG, false, "failed to lookup mask value for POOR.WARP in recipes\n"); 40 40 streaksExit("", PS_EXIT_CONFIG_ERROR); 41 41 } 42 psU 8maskMask = ~poorWarp;42 psU16 maskMask = ~poorWarp; 43 43 44 44 psString streaksFileName = psMetadataLookupStr(NULL, config->arguments, "STREAKS");
Note:
See TracChangeset
for help on using the changeset viewer.
