X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=packages%2Fitk%2Fsrc%2FbbitkImageProperties.cxx;h=397562063e7a7c94204577351ef4ba741dd74f95;hb=91f214593c6a8eebd5badb68e772b383c38435d4;hp=d46c01be06e9f994c472587a462f280164dfb9c4;hpb=f5db17702a2c51a5933f6c556d070167e4db9cfd;p=bbtk.git diff --git a/packages/itk/src/bbitkImageProperties.cxx b/packages/itk/src/bbitkImageProperties.cxx index d46c01b..3975620 100644 --- a/packages/itk/src/bbitkImageProperties.cxx +++ b/packages/itk/src/bbitkImageProperties.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbitkImageProperties.cxx,v $ Language: C++ - Date: $Date: 2008/02/07 07:58:54 $ - Version: $Revision: 1.2 $ + Date: $Date: 2008/06/19 09:46:44 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -24,9 +24,11 @@ #include "bbitkImageProperties.h" #include "bbitkPackage.h" + + namespace bbitk { - BBTK_USER_BLACK_BOX_IMPLEMENTATION(ImageProperties,bbtk::AtomicBlackBox); + BBTK_BLACK_BOX_IMPLEMENTATION(ImageProperties,bbtk::AtomicBlackBox); BBTK_ADD_BLACK_BOX_TO_PACKAGE(itk,ImageProperties); @@ -50,7 +52,8 @@ namespace bbitk <() <<">()"<(); + + itkImageType* im = bbGetInputIn().get(); unsigned int dim = im->GetImageDimension(); bbSetOutputTypeName(bbtk::TypeName());