13 #ifndef _MITKOCLBINARYTHRESHOLDIMAGEFILTER_H_ 14 #define _MITKOCLBINARYTHRESHOLDIMAGEFILTER_H_ 17 #include <itkObject.h> 21 class OclImageToImageFilter;
53 this->m_LowerThreshold = lowerThreshold;
61 this->m_UpperThreshold = upperThreshold;
70 this->m_OutsideValue = outsideValue;
78 this->m_InsideValue = insideValue;
96 return mitk::MakeScalarPixelType<unsigned char>();
101 return sizeof(
unsigned char);
108 cl_kernel m_ckBinaryThreshold;
110 int m_LowerThreshold;
112 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)
mitk::Image::Pointer image
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.