|
| goFilter1D (const goArray< goFloat > &mask, goIndex_t center=0, bool normalize=true) |
| Constructor, setting the mask and center. More...
|
|
| goFilter1D (const goFloat *mask, goIndex_t length, goIndex_t center=0, bool normalize=true) |
| Constructor, setting the mask and center. More...
|
|
| goFilter1D (const goMath::Vector< goFloat > &mask, goIndex_t center=0, bool normalize=true) |
|
bool | setMask (const goArray< goFloat > &mask) |
| Set the filter mask. More...
|
|
bool | setMask (const goMath::Vector< goFloat > &mask) |
|
bool | setMask (const goFloat *mask, goIndex_t length) |
| Set filter mask. More...
|
|
bool | setCenter (goIndex_t c) |
| Set the center of the filter mask. More...
|
|
bool | filter (goSignal3DBase< void > &sig) |
| Apply the filter in-place. More...
|
|
bool | filter (goMath::Matrixf &m, int direction=0) |
|
bool | filter (goMath::Matrixd &m, int direction=0) |
|
bool | normalize (goDouble constant=1.0) |
| Normalize the filter mask. More...
|
|
| goObjectBase () |
| Constructor.
|
|
virtual | ~goObjectBase () |
| Destructor. More...
|
|
const char * | getClassName () const |
| Returns the class name. More...
|
|
int | getClassID () const |
|
virtual goSize_t | memoryUsage () const |
| Returns the size of this object or some measure of its memory consumption. More...
|
|
void | setObjectName (const char *name) |
| Set name string for an object. More...
|
|
void | setObjectName (const goString &name) |
| Set name string for an object. More...
|
|
const goString & | getObjectName () const |
| Get the object name. More...
|
|
virtual bool | writeObjectFile (FILE *) const |
| Write object to a file. More...
|
|
virtual bool | readObjectFile (FILE *) |
| Read object from a file. More...
|
|
void | connectObject (goObjectBase *object) |
| Connects an object to this object. More...
|
|
void | disconnectObject (const goObjectBase *object) |
| Disconnects an object from this object.
|
|
virtual bool | callObjectMethod (int methodID, goObjectMethodParameters *param=NULL) |
| Call an object method by identifier. More...
|
|
virtual bool | queueObjectMethod (int methodID, goObjectMethodParameters *param=NULL, bool blocking=false) |
| Enqueue a method call to an internal list of methods. More...
|
|
bool | callQueuedMethods () |
| Call all queued methods. More...
|
|
Separable filter for 3D signals.
Applies a separable filter to a goSignal3DBase<void>. Note that this filter class was not implemented for typed instances of goSignal3DBase. You should not use typed versions anymore anyway.
Usage would be like this:
...
goSignal3D<void> sig;
...
goArray<goFloat> mask;
mask += 1.0f;
mask += 2.0f;
mask += 1.0f;
goFilter1D filter;
filter.setMask (mask); // Set the mask
filter.setCenter (1); // Set center to the entry "2"
filter.normalize (); // Normalize the mask
filter.filter (sig); // Filter in-place
...
- Returns