63 int f, s, i, alreadyH0 = 0;
64 float *f1, *f2, wt1, wt2;
77 st_fail(
"doSum(): First and Second Holders must be different");
86 bcopy((
char *)first, &sfirst,
sizeof(sfirst));
87 bcopy((
char *)second, &ssecond,
sizeof(ssecond));
147 *f1 = (*f1 * wt1 + *f2 * wt2) / (wt1 + wt2);
176 st_fail(
"doSum(): Unable to locate First or Second headers");
190 int f, s, i, alreadyH0 = 0;
204 st_fail(
"doImageDiff(): First and Second Holders must be different");
213 bcopy((
char *)first, &sfirst,
sizeof(sfirst));
214 bcopy((
char *)second, &ssecond,
sizeof(ssecond));
283 st_fail(
"doImageDiff(): Unable to locate First or Second headers");
295 int f, s, i, alreadyH0 = 0;
309 st_fail(
"doImageDiv(): First and Second Holders must be different");
318 bcopy((
char *)first, &sfirst,
sizeof(sfirst));
319 bcopy((
char *)second, &ssecond,
sizeof(ssecond));
383 st_print(
"doImageDiv(): Channel %d has zero in the divisor\n", i);
396 st_fail(
"doImageDiv(): Unable to locate First or Second headers");
int _copyImage(struct LP_IMAGE_INFO *i1, struct LP_IMAGE_INFO *i2)
struct PARSE_STACK * args
void subArgs(int wt, const char *fmt,...)
struct LP_IMAGE_INFO * findImage(int i)