240 |
|
|
241 |
|
printf("# Color correspondence produced by:\n#\t\t"); |
242 |
|
printargs(argc, argv, stdout); |
243 |
< |
printf("#\tUsage: pcwarp %s uncorrected.pic > corrected.pic\n", |
243 |
> |
printf("#\tUsage: pcwarp %s uncorrected.hdr > corrected.hdr\n", |
244 |
|
i+1 < argc ? argv[i+1] : "{this_file}"); |
245 |
< |
printf("#\t Or: pcond [options] -m %s orig.pic > output.pic\n", |
245 |
> |
printf("#\t Or: pcond [options] -m %s orig.hdr > output.hdr\n", |
246 |
|
i+1 < argc ? argv[i+1] : "{this_file}"); |
247 |
|
for (j = 0; j < 24; j++) |
248 |
|
printf("%f %f %f %f %f %f\n", |
255 |
|
/* print header */ |
256 |
|
printf("{\n\tColor correction file computed by:\n\t\t"); |
257 |
|
printargs(argc, argv, stdout); |
258 |
< |
printf("\n\tUsage: pcomb -f %s uncorrected.pic > corrected.pic\n", |
258 |
> |
printf("\n\tUsage: pcomb -f %s uncorrected.hdr > corrected.hdr\n", |
259 |
|
i+1 < argc ? argv[i+1] : "{this_file}"); |
260 |
|
if (!scanning) |
261 |
< |
printf("\t Or: pcond [options] -f %s orig.pic > output.pic\n", |
261 |
> |
printf("\t Or: pcond [options] -f %s orig.hdr > output.hdr\n", |
262 |
|
i+1 < argc ? argv[i+1] : "{this_file}"); |
263 |
|
printf("}\n"); |
264 |
|
putmapping(); /* put out color mapping */ |
272 |
|
exit(0); |
273 |
|
userr: |
274 |
|
fprintf(stderr, |
275 |
< |
"Usage: %s [-d dbg.pic][-P | -p xul yul xur yur xll yll xlr ylr][-i irrad][-m] input.pic [output.{cal|cwp}]\n", |
275 |
> |
"Usage: %s [-d dbg.hdr][-P | -p xul yul xur yur xll yll xlr ylr][-i irrad][-m] input.hdr [output.{cal|cwp}]\n", |
276 |
|
progname); |
277 |
< |
fprintf(stderr, " or: %s [-d dbg.pic][-i irrad][-m] -c [xyY.dat [output.{cal|cwp}]]\n", |
277 |
> |
fprintf(stderr, " or: %s [-d dbg.hdr][-i irrad][-m] -c [xyY.dat [output.{cal|cwp}]]\n", |
278 |
|
progname); |
279 |
|
exit(1); |
280 |
|
return 1; /* pro forma return */ |