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

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