1 #ifndef convolveattrib_h 2 #define convolveattrib_h 16 #include "attributesmod.h" 62 static const char*
shapeStr() {
return "shape"; }
63 static const char*
sizeStr() {
return "size"; }
65 static const char* kernelTypeStr(
int);
66 static const char* shapeTypeStr(
int);
68 static const float prewitt[];
69 static const float prewitt2D[];
71 virtual bool isSingleTrace()
const;
72 virtual void prepPriorToBoundsCalc();
77 static Provider* createInstance(
Desc&);
78 static void updateDesc(
Desc&);
80 bool allowParallelComputation()
const;
81 bool getInputOutput(
int input,
83 bool getInputData(
const BinID&,
int idx);
85 int t0,
int nrsamples )
const;
87 int t0,
int nrsamples )
const;
92 const BinID* reqStepout(
int input,
int output)
const;
93 const Interval<int>* reqZSampMargin(
int input,
int output)
const;
94 const Interval<int>* desZSampMargin(
int input,
int output)
const;
110 const float* getKernel()
const;
111 int nrSubKernels()
const;
112 const BinID& getStepout()
const;
114 int getSubKernelSize()
const;
117 Kernel(
int kernelfunc,
int shape,
int size,
bool);
#define mExpClass(module)
Definition: commondefs.h:160
Kernel * kernel_
Definition: convolveattrib.h:128
static const char * waveletStr()
Definition: convolveattrib.h:64
Interval< int > dessampgate_
Definition: convolveattrib.h:101
Wavelet * wavelet_
Definition: convolveattrib.h:100
FixedString Attributes()
Definition: keystrs.h:40
int dataidx_
Definition: convolveattrib.h:103
ObjectSet< const DataHolder > inputdata_
Definition: convolveattrib.h:105
void Convolve(int lx, int ifx, const float *x, int ly, int ify, const float *y, int lz, int ifz, float *z)
BinID stepout_
Definition: convolveattrib.h:99
Interval< int > sg_
Definition: convolveattrib.h:124
float sum_
Definition: convolveattrib.h:125
Set of pointers to objects.
Definition: commontypes.h:32
static const char * shapeStr()
Definition: convolveattrib.h:62
int nrsubkernels_
Definition: convolveattrib.h:122
Definition: convolveattrib.h:107
Description of an attribute in an Attrib::DescSet. Each attribute has a name (e.g. "Similarity"), a user reference (e.g. "My similarity"), and at least one output. In addition, it may have parameters and inputs. If it has multiple outputs, only one of the outputs are selected.
Definition: attribdesc.h:89
float * kernel_
Definition: convolveattrib.h:121
static const char * sizeStr()
Definition: convolveattrib.h:63
Holds the attribute data.
Definition: attribdataholder.h:43
float getSum() const
Definition: convolveattrib.h:115
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
static const char * attribName()
Definition: convolveattrib.h:59
static const char * kernelStr()
Definition: convolveattrib.h:61
Provides the actual output to ...
Definition: attribprovider.h:44
BinID stepout_
Definition: convolveattrib.h:123
int kerneltype_
Definition: convolveattrib.h:96
int shape_
Definition: convolveattrib.h:97
int size_
Definition: convolveattrib.h:98
Convolution Attribute.
Definition: convolveattrib.h:53
Semblance Attribute.
Definition: attribdataholder.h:25