Program: bbtk
Module: $RCSfile: bbitkResampleImageFilter.h,v $
Language: C++
- Date: $Date: 2009/05/18 10:45:44 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2011/05/03 12:24:22 $
+ Version: $Revision: 1.11 $
=========================================================================*/
/* ---------------------------------------------------------------------
:
public bbtk::AtomicBlackBox
{
- BBTK_BLACK_BOX_INTERFACE(ResampleImageFilter,
- bbtk::AtomicBlackBox);
- BBTK_DECLARE_INPUT(In,anyImagePointer);
- BBTK_DECLARE_INPUT(Spacing,std::vector<double>);
- BBTK_DECLARE_INPUT(Interpolation,std::string);
- BBTK_DECLARE_OUTPUT(Out,anyImagePointer);
+ BBTK_BLACK_BOX_INTERFACE(ResampleImageFilter, bbtk::AtomicBlackBox);
+ BBTK_DECLARE_INPUT(In,anyImagePointer);
+ BBTK_DECLARE_INPUT(Spacing,std::vector<double>);
+ BBTK_DECLARE_INPUT(Interpolation,std::string);
+ BBTK_DECLARE_OUTPUT(Out,anyImagePointer);
BBTK_PROCESS(ProcessSwitch);
private :
inline void ProcessSwitch();
BBTK_AUTHOR("laurent.guigues at creatis.insa-lyon.fr");
BBTK_DESCRIPTION("Resamples an image");
BBTK_CATEGORY("image;filter");
- BBTK_INPUT(ResampleImageFilter,In,
- "Input image. Can be any itk::Image<T,D>*",anyImagePointer,"");
- BBTK_INPUT(ResampleImageFilter,Spacing,
- "Spacing",std::vector<double>,"spacing");
- BBTK_INPUT(ResampleImageFilter,Interpolation,
- "Interpolation",std::string,"");
- BBTK_OUTPUT(ResampleImageFilter,Out,
- "Output image. Of the same type and dimension than the input image",
- anyImagePointer,"");
+ BBTK_INPUT(ResampleImageFilter,In,"Input image. Can be any itk::Image<T,D>*",anyImagePointer,"");
+ BBTK_INPUT(ResampleImageFilter,Spacing,"Spacing",std::vector<double>,"spacing");
+ BBTK_INPUT(ResampleImageFilter,Interpolation,"Interpolation: Linear (default) || BSpline || NearestNeighbor) ",std::string,"");
+ BBTK_OUTPUT(ResampleImageFilter,Out,"Output image. Of the same type and dimension than the input image",anyImagePointer,"");
BBTK_END_DESCRIBE_BLACK_BOX(ResampleImageFilter);
//===================================================
}
-}
-// EO namespace bbtk
+} // EO namespace bbitk
-#endif
+#endif // _USE_ITK_