summaryrefslogtreecommitdiff
path: root/src/Stitch.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-08-02 17:12:55 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-08-02 17:12:55 +0200
commit52669d81a766eacc1b4e60d0cf477e35b598fcbe (patch)
tree6048139ebe3db9668ace48f55b06b6b6ee9b0f6c /src/Stitch.H
parentd40e2b31d77face2fb65c41cc4d901f01c5de5d1 (diff)
change Stitch to use OutputImage instead of DataImage
Diffstat (limited to 'src/Stitch.H')
-rw-r--r--src/Stitch.H13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/Stitch.H b/src/Stitch.H
index bc8436e..0bb6d48 100644
--- a/src/Stitch.H
+++ b/src/Stitch.H
@@ -21,13 +21,16 @@
#define STITCH_H
#include "GipfelWidget.H"
-#include "DataImage.H"
+#include "OutputImage.H"
#define MAX_PICS 256
+
class Stitch {
private:
GipfelWidget *gipf[MAX_PICS];
+ OutputImage *single_images[MAX_PICS];
+ OutputImage *merged_image;
public:
@@ -36,8 +39,12 @@ class Stitch {
~Stitch();
int load_image(char *file);
-
- int resample(DataImage *img,
+
+ OutputImage * set_output(OutputImage *img);
+
+ OutputImage * set_output(const char *file, OutputImage *img);
+
+ int resample(int w, int h,
double view_start, double view_end);
};