OpendTect-6_4  6.4
resizeimage.h
Go to the documentation of this file.
1 #ifndef resizeimage_h
2 #define resizeimage_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: August 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "paralleltask.h"
16 
17 namespace OD { class RGBImage; };
18 
19 
25 {
26 public:
28  ~ImageResizer();
29 
30  void setLanczosSize(int); //default is 2;
31 
32 protected:
33 
34  od_int64 nrIterations() const;
35  bool doPrepare(int);
36  bool doWork(od_int64,od_int64,int);
37  bool doFinish(bool);
38 
40 
42  const unsigned char* inputimage_;
44  int inputsize_[2];
45 
47  unsigned char* outputimage_;
49  int outputsize_[2];
50 
51  double support0_;
52  double support1_;
53  double scale0_;
54  double scale1_;
55  double factor0_;
56  double factor1_;
58 
59 };
60 
61 
62 #endif
const unsigned char * inputimage_
Definition: resizeimage.h:42
char nrcomponents_
Definition: resizeimage.h:57
#define od_int64
Definition: plftypes.h:36
OD::RGBImage & output_
Definition: resizeimage.h:46
double support0_
Definition: resizeimage.h:51
double factor0_
Definition: resizeimage.h:55
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
Resizes Image.
Definition: resizeimage.h:24
double scale0_
Definition: resizeimage.h:53
unsigned char * outputimage_
Definition: resizeimage.h:47
double factor1_
Definition: resizeimage.h:56
const OD::RGBImage & input_
Definition: resizeimage.h:41
int lanczossize_
Definition: resizeimage.h:39
OpendTect.
Definition: commontypes.h:29
bool outputowner_
Definition: resizeimage.h:48
Class for Red, Green, Blue image.
Definition: odimage.h:28
double scale1_
Definition: resizeimage.h:54
#define mClass(module)
Definition: commondefs.h:164
bool inputowner_
Definition: resizeimage.h:43
double support1_
Definition: resizeimage.h:52

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019