#include <bbitkBinaryThresholdImageFilter.h>
Private Member Functions | |
BBTK_BLACK_BOX_INTERFACE (BinaryThresholdImageFilterGeneric, bbtk::AtomicBlackBox) | |
BBTK_DECLARE_INPUT (In, anyImagePointer) | |
BBTK_DECLARE_INPUT (LowerThreshold, double) | |
BBTK_DECLARE_INPUT (UpperThreshold, double) | |
BBTK_DECLARE_INPUT (InsideValue, double) | |
BBTK_DECLARE_INPUT (OutsideValue, double) | |
BBTK_DECLARE_OUTPUT (Out, anyImagePointer) | |
BBTK_PROCESS (ProcessSwitch) | |
void | ProcessSwitch () |
template<class T> | |
void | Process () |
void | bbUserConstructor () |
void | bbUserCopyConstructor () |
void | Init () |
Definition at line 88 of file bbitkBinaryThresholdImageFilter.h.
bbitk::BinaryThresholdImageFilterGeneric::BBTK_BLACK_BOX_INTERFACE | ( | BinaryThresholdImageFilterGeneric | , | |
bbtk::AtomicBlackBox | ||||
) | [private] |
bbitk::BinaryThresholdImageFilterGeneric::BBTK_DECLARE_INPUT | ( | In | , | |
anyImagePointer | ||||
) | [private] |
bbitk::BinaryThresholdImageFilterGeneric::BBTK_DECLARE_INPUT | ( | LowerThreshold | , | |
double | ||||
) | [private] |
bbitk::BinaryThresholdImageFilterGeneric::BBTK_DECLARE_INPUT | ( | UpperThreshold | , | |
double | ||||
) | [private] |
bbitk::BinaryThresholdImageFilterGeneric::BBTK_DECLARE_INPUT | ( | InsideValue | , | |
double | ||||
) | [private] |
bbitk::BinaryThresholdImageFilterGeneric::BBTK_DECLARE_INPUT | ( | OutsideValue | , | |
double | ||||
) | [private] |
bbitk::BinaryThresholdImageFilterGeneric::BBTK_DECLARE_OUTPUT | ( | Out | , | |
anyImagePointer | ||||
) | [private] |
bbitk::BinaryThresholdImageFilterGeneric::BBTK_PROCESS | ( | ProcessSwitch | ) | [private] |
void bbitk::BinaryThresholdImageFilterGeneric::ProcessSwitch | ( | ) | [inline, private] |
Definition at line 132 of file bbitkBinaryThresholdImageFilter.h.
References BBTK_TEMPLATE_ITK_IMAGE_SWITCH, and Process().
00133 { 00134 BBTK_TEMPLATE_ITK_IMAGE_SWITCH(bbGetInputIn().type(), this->Process); 00135 }
void bbitk::BinaryThresholdImageFilterGeneric::Process | ( | ) | [inline, private] |
Definition at line 138 of file bbitkBinaryThresholdImageFilter.h.
Referenced by ProcessSwitch().
00139 { 00140 bbtkDebugMessageInc("Core",9, 00141 "bbitk::BinaryThresholdImageFilterGeneric::Process<" 00142 <<bbtk::TypeName<T>()<<">()"<<std::endl); 00143 00144 typedef BinaryThresholdImageFilter<T> FilterType; 00145 typename FilterType::Pointer f = FilterType::New("Temp"); 00146 f->bbSetInputIn( this->bbGetInputIn().get<T*>()); 00147 f->bbSetInputLowerThreshold ( (typename T::PixelType) 00148 this->bbGetInputLowerThreshold() ); 00149 f->bbSetInputUpperThreshold ( (typename T::PixelType) 00150 this->bbGetInputUpperThreshold() ); 00151 f->bbSetInputInsideValue ( (typename T::PixelType) 00152 this->bbGetInputInsideValue() ); 00153 f->bbSetInputOutsideValue ( (typename T::PixelType) 00154 this->bbGetInputOutsideValue() ); 00155 f->bbExecute(); 00156 f->bbGetOutputOut()->Register(); 00157 this->bbSetOutputOut( f->bbGetOutputOut() ); 00158 00159 bbtkDebugDecTab("Core",9); 00160 }
void bbitk::BinaryThresholdImageFilterGeneric::bbUserConstructor | ( | ) | [inline, private] |
Definition at line 104 of file bbitkBinaryThresholdImageFilter.h.
References Init().
00104 { Init(); }
void bbitk::BinaryThresholdImageFilterGeneric::bbUserCopyConstructor | ( | ) | [inline, private] |
Definition at line 105 of file bbitkBinaryThresholdImageFilter.h.
References Init().
00105 { Init(); }
void bbitk::BinaryThresholdImageFilterGeneric::Init | ( | ) | [private] |
Definition at line 171 of file bbitkBinaryThresholdImageFilter.h.
Referenced by bbUserConstructor(), and bbUserCopyConstructor().
00172 { 00173 bbSetInputLowerThreshold(0); 00174 bbSetInputUpperThreshold(100); 00175 bbSetInputInsideValue(255); 00176 bbSetInputOutsideValue(0); 00177 }