Changeset 28280 for trunk/ppBackground/src/ppBackgroundCamera.c
- Timestamp:
- Jun 9, 2010, 6:16:39 PM (16 years ago)
- Location:
- trunk/ppBackground
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppBackground
-
Property svn:ignore
set to
configure
Makefile.in
ignore
config.log
depcomp
config.status
config.guess
ltmain.sh
config.sub
autom4te.cache
libtool
missing
Makefile
aclocal.m4
install-sh
-
Property svn:ignore
set to
-
trunk/ppBackground/src
-
Property svn:ignore
set to
ppBackground
Makefile.in
config.h
ppBackgroundVersionDefinitions.h
.deps
Makefile
ppBackgroundErrorCodes.c
ppBackgroundErrorCodes.h
stamp-h1
config.h.in
-
Property svn:ignore
set to
-
trunk/ppBackground/src/ppBackgroundCamera.c
r28276 r28280 33 33 34 34 fileArguments("PATTERN", data->patternName, "Input pattern", data->config); 35 pmFPAfile *pattern = pmFPAfileDefineFromArgs(&status, data->config, "PPBACKGROUND.PATTERN", 36 "PATTERN"); // File 35 pmFPAfileDefineFromArgs(&status, data->config, "PPBACKGROUND.PATTERN", "PATTERN"); // File 37 36 if (!status) { 38 37 psError(psErrorCodeLast(), false, "Failed to build file from PPBACKGROUND.PATTERN"); … … 41 40 42 41 fileArguments("BACKGROUND", data->backgroundName, "Input background model", data->config); 43 pmFPAfile *background = pmFPAfileBindFromArgs(&status, data->config, "PPBACKGROUND.BACKGROUND", 44 "BACKGROUND"); // File 42 pmFPAfileDefineFromArgs(&status, data->config, "PPBACKGROUND.BACKGROUND", "BACKGROUND"); // File 45 43 if (!status) { 46 44 psError(psErrorCodeLast(), false, "Failed to build file from PPBACKGROUND.BACKGROUND"); … … 49 47 50 48 fileArguments("IMAGE", data->backgroundName, "Input uncorrected image", data->config); 51 pmFPAfile *image = pmFPAfile BindFromArgs(&status, background, data->config, "PPBACKGROUND.IMAGE",52 "IMAGE"); // File53 if (!status ) {49 pmFPAfile *image = pmFPAfileDefineFromArgs(&status, data->config, "PPBACKGROUND.IMAGE", 50 "IMAGE"); // File 51 if (!status || !image) { 54 52 psError(psErrorCodeLast(), false, "Failed to build file from PPBACKGROUND.IMAGE"); 55 53 return false; … … 57 55 58 56 fileArguments("MASK", data->backgroundName, "Input uncorrected mask", data->config); 59 pmFPAfile *mask = pmFPAfileBindFromArgs(&status, image, data->config, "PPBACKGROUND.MASK", 60 "MASK"); // File 57 pmFPAfileBindFromArgs(&status, image, data->config, "PPBACKGROUND.MASK", "MASK"); // File 61 58 if (!status) { 62 59 psError(psErrorCodeLast(), false, "Failed to build file from PPBACKGROUND.MASK"); … … 64 61 } 65 62 66 pmFPAfile *output = pmFPAfileDefineOutput(data->config, file->fpa, "PPBACKGROUND.OUTPUT");63 pmFPAfile *output = pmFPAfileDefineOutput(data->config, image->fpa, "PPBACKGROUND.OUTPUT"); 67 64 if (!output) { 68 65 psError(psErrorCodeLast(), false, "Unable to define output.");
Note:
See TracChangeset
for help on using the changeset viewer.
