Program: bbtk
Module: $RCSfile: bbvtkSegmentationConnectivity.h,v $
Language: C++
- Date: $Date: 2008/04/24 12:56:41 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/05/09 10:39:47 $
+ Version: $Revision: 1.3 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
:
public bbtk::AtomicBlackBox
{
- BBTK_USER_BLACK_BOX_INTERFACE(SegmentationConnectivity,bbtk::AtomicBlackBox);
- BBTK_DECLARE_INPUT(In,vtkImageData *);
- BBTK_DECLARE_INPUT(PositionXYZ,std::vector<int>);
- BBTK_DECLARE_INPUT(ThresholdMinMax,std::vector<int>);
- BBTK_DECLARE_OUTPUT(Out,vtkImageData *);
+ BBTK_BLACK_BOX_INTERFACE(SegmentationConnectivity,bbtk::AtomicBlackBox);
+ BBTK_DECLARE_INPUT(In,vtkImageData *);
+ BBTK_DECLARE_INPUT(PositionXYZ,std::vector<int>);
+ BBTK_DECLARE_INPUT(ThresholdMinMax,std::vector<int>);
+ BBTK_DECLARE_OUTPUT(Out,vtkImageData *);
BBTK_PROCESS(DoProcess);
void DoProcess();
protected:
virtual void bbUserConstructor();
+ virtual void bbUserDestructor();
private:
vtkImageCast *cast2;
BBTK_NAME("SegmentationConnectivity");
BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
BBTK_DESCRIPTION("Segmentation with min max threshold and connectivity");
- BBTK_INPUT(SegmentationConnectivity,In,"Input image",vtkImageData *);
- BBTK_INPUT(SegmentationConnectivity,PositionXYZ,"vector with the Position [x y z]" , std::vector<int> );
- BBTK_INPUT(SegmentationConnectivity,ThresholdMinMax,"vector with the Threshold [min max]" , std::vector<int> );
- BBTK_OUTPUT(SegmentationConnectivity,Out,"Result image",vtkImageData *);
+ BBTK_INPUT(SegmentationConnectivity,In,"Input image",vtkImageData *,"");
+ BBTK_INPUT(SegmentationConnectivity,PositionXYZ,"vector with the Position [x y z]" , std::vector<int>,"");
+ BBTK_INPUT(SegmentationConnectivity,ThresholdMinMax,"vector with the Threshold [min max]" , std::vector<int>,"");
+ BBTK_OUTPUT(SegmentationConnectivity,Out,"Result image",vtkImageData *,"");
BBTK_END_DESCRIBE_BLACK_BOX(SegmentationConnectivity);
} // EO namespace bbvtk