summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-03-18 14:20:57 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-03-18 14:20:57 +0100
commit16be964c674ef4735e9ed925b78ac06a262c389d (patch)
tree51d10cf56e5e2939c5ba5569cba37ed7586ed34a
parentc169dc1ef87458680a71c5616d9f930e2e4560e0 (diff)
bilinear->bicubic
-rw-r--r--src/gipfel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 8620641..8ef6b22 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -398,7 +398,7 @@ int main(int argc, char** argv) {
int err, my_argc;
int stitch_flag = 0, stitch_w = 2000, stitch_h = 500;
int jpeg_flag = 0, tiff_flag = 0, distortion_flag = 0;
- int bilinear_flag = 0, vignette_flag = 0;
+ int bicubic_flag = 0, vignette_flag = 0;
double stitch_from = 0.0, stitch_to = 380.0;
double dist_k0 = 0.0, dist_k1 = 0.0, dist_x0 = 0.0;
char *outpath = "/tmp";
@@ -463,7 +463,7 @@ int main(int argc, char** argv) {
stitch_h = atoi(optarg);
break;
case 'b':
- bilinear_flag++;
+ bicubic_flag++;
break;
default:
err++;
@@ -497,7 +497,7 @@ int main(int argc, char** argv) {
type |= STITCH_VIGNETTE_CALIB;
}
- stitch(bilinear_flag?GipfelWidget::BICUBIC:GipfelWidget::NEAREST,
+ stitch(bicubic_flag?GipfelWidget::BICUBIC:GipfelWidget::NEAREST,
stitch_w, stitch_h, stitch_from, stitch_to,
type, outpath, my_argc, my_argv);