X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fitk%2Fsrc%2FbbitkImageProperties.cxx;h=b8b9f12a3e0b14dcf59acc9c0b1637c697a10e5a;hb=9d9d8515536607da0a24c67a95ee7429312537de;hp=fefb554c028d608bfe739ca0357ec11fe4905b29;hpb=98ab778755e68bd1b55dd41f20222b91bde7dd5a;p=bbtk.git diff --git a/packages/itk/src/bbitkImageProperties.cxx b/packages/itk/src/bbitkImageProperties.cxx index fefb554..b8b9f12 100644 --- a/packages/itk/src/bbitkImageProperties.cxx +++ b/packages/itk/src/bbitkImageProperties.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbitkImageProperties.cxx,v $ Language: C++ - Date: $Date: 2008/11/27 14:58:06 $ - Version: $Revision: 1.7 $ + Date: $Date: 2010/09/21 06:43:17 $ + Version: $Revision: 1.12 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -37,24 +37,32 @@ #include "bbitkImageProperties.h" #include "bbitkPackage.h" - - namespace bbitk { BBTK_BLACK_BOX_IMPLEMENTATION(ImageProperties,bbtk::AtomicBlackBox); BBTK_ADD_BLACK_BOX_TO_PACKAGE(itk,ImageProperties); + //----------------------------------------------------------------- + void ImageProperties::bbUserSetDefaultValues() + { + } + //----------------------------------------------------------------- + void ImageProperties::bbUserInitializeProcessing() + { + } + //----------------------------------------------------------------- + void ImageProperties::bbUserFinalizeProcessing() + { + } void ImageProperties::DoIt() { BBTK_TEMPLATE_ITK_IMAGE_SWITCH(bbGetInputIn().type(),DoIt); } - - /** Template Processing */ @@ -65,7 +73,6 @@ namespace bbitk <() <<">()"<(); unsigned int dim = im->GetImageDimension(); @@ -76,29 +83,33 @@ namespace bbitk const typename itkImageType::IndexType& ind = r.GetIndex(); std::vector vind; - for (unsigned int i=0;i vsz; - for (unsigned int i=0;iGetSpacing(); std::vector vsp; - for (unsigned int i=0;i