The OclImageFilter is the topmost class for all filter which take images as input.
More...
#include <mitkOclImageFilter.h>
|
| OclImageFilter () |
|
virtual | ~OclImageFilter () |
|
| OclFilter () |
| Constructor. More...
|
|
| OclFilter (const char *filename) |
| Constructor ( overloaded ) More...
|
|
void | SetWorkingSize (unsigned int locx, unsigned int dimx, unsigned int locy=1, unsigned int dimy=1, unsigned int locz=1, unsigned int dimz=1) |
| Set the working size for the following OpenCL kernel call. More...
|
|
bool | ExecuteKernel (cl_kernel kernel, unsigned int workSizeDim) |
| Execute the given kernel on the OpenCL Index-Space defined by the local and global work sizes. More...
|
|
bool | ExecuteKernelChunks (cl_kernel kernel, unsigned int workSizeDim, size_t *chunksDim) |
| Execute the given kernel on the OpenCL Index-Space defined by the local and global work sizes, but divide it into chunks of dimension chunksDim. More...
|
|
bool | ExecuteKernelChunksInBatches (cl_kernel kernel, unsigned int workSizeDim, size_t *chunksDim, size_t batchSize, int waitTimems) |
| Execute the given kernel on the OpenCL Index-Space defined by the local and global work sizes, but divide it into chunks of dimension chunksDim and wait between batches of batchSize chunks a time of waitTimems milliseconds. More...
|
|
bool | Initialize () |
| Initialize all necessary parts of the filter. More...
|
|
void | CompileSource () |
| Compile the program source. More...
|
|
void | SetSourcePreambel (const char *preambel) |
| Add some source code on the beginning of the loaded source. More...
|
|
virtual us::Module * | GetModule ()=0 |
| Get the Module of the filter. Needs to be implemented by every subclass. The filter will load the OpenCL sourcefiles from this module context. More...
|
|
void | LoadSourceFiles (CStringList &SourceCodeList, ClSizeList &SourceCodeSizeList) |
| Helper functions that load sourcefiles from the module context in the Initialize function. More...
|
|
The OclImageFilter is the topmost class for all filter which take images as input.
The input image can be intialized via an oclImage or an mitk::Image. This makes it possible to create a filter pipeline of GPU-based filters and to bind this part into the CPU (ITK) filter pipeline.
Definition at line 34 of file mitkOclImageFilter.h.
◆ OclImageFilter()
mitk::OclImageFilter::OclImageFilter |
( |
| ) |
|
|
protected |
◆ ~OclImageFilter()
virtual mitk::OclImageFilter::~OclImageFilter |
( |
| ) |
|
|
protectedvirtual |
◆ SetInput() [1/2]
SetInput Set the input image (as mitk::Image).
- Parameters
-
◆ SetInput() [2/2]
void mitk::OclImageFilter::SetInput |
( |
mitk::OclImage::Pointer |
image | ) |
|
◆ m_CurrentType
short mitk::OclImageFilter::m_CurrentType |
|
protected |
◆ m_Input
mitk::OclImage::Pointer mitk::OclImageFilter::m_Input |
|
protected |
The documentation for this class was generated from the following file: