17 #ifndef _MITKOCLBINARYTHRESHOLDIMAGEFILTER_H_
18 #define _MITKOCLBINARYTHRESHOLDIMAGEFILTER_H_
21 #include <itkObject.h>
25 class OclImageToImageFilter;
57 this->m_LowerThreshold = lowerThreshold;
65 this->m_UpperThreshold = upperThreshold;
74 this->m_OutsideValue = outsideValue;
82 this->m_InsideValue = insideValue;
100 return mitk::MakeScalarPixelType<unsigned char>();
105 return sizeof(
unsigned char);
112 cl_kernel m_ckBinaryThreshold;
114 int m_LowerThreshold;
116 int m_UpperThreshold;
static void Update(vtkPolyData *)
DataCollection - Class to facilitate loading/accessing structured data.
int GetBytesPerElem()
Get the memory size needed for each element.
The OclImageToImageFilter is the base class for all OpenCL image filter generating images...
#define mitkClassMacroItkParent(className, SuperClassName)
void SetLowerThreshold(int lowerThreshold)
void SetOutsideValue(int outsideValue)
void SetInsideValue(int insideValue)
void SetUpperThreshold(int upperThreshold)
The OclBinaryThresholdImageFilter computes a binary segmentation based on given threshold values...
mitk::PixelType GetOutputType()
(Virtual) method returning the format in which the output image will be returned
Class for defining the data type of pixels.