From: Eduardo Davila Date: Sun, 27 Feb 2011 18:30:48 +0000 (+0000) Subject: no message X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=92777ab6b0fdbab3ca7d2ffda2e87d6270869ded;p=bbtk.git no message --- diff --git a/packages/itk/src/bbitkImageProperties.cxx b/packages/itk/src/bbitkImageProperties.cxx index b8b9f12..f6e4f6d 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: 2010/09/21 06:43:17 $ - Version: $Revision: 1.12 $ + Date: $Date: 2011/02/27 18:30:48 $ + Version: $Revision: 1.13 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -108,6 +108,18 @@ namespace bbitk bbSetOutputSpacing(vsp); + + // Min Max Value // EED + //itk::MinimumMaximumImageFilter< TInputImage > +// itk::MinimumMaximumImageFilter minmaxfilter itk::MinimumMaximumImageFilter< im > + std::vector vminmax; +// vminmax.push_back( minmaxfilter->GetMaximumOutput() ); +// vminmax.push_back( minmaxfilter->GetMinimumOutput() ); + vminmax.push_back( 17 ); + vminmax.push_back( 1972 ); + + bbSetOutputMinMax(vminmax); + bbtkDebugDecTab("Core",9); } } diff --git a/packages/itk/src/bbitkImageProperties.h b/packages/itk/src/bbitkImageProperties.h index 8d63f26..ae6aab1 100644 --- a/packages/itk/src/bbitkImageProperties.h +++ b/packages/itk/src/bbitkImageProperties.h @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbitkImageProperties.h,v $ Language: C++ - Date: $Date: 2010/04/08 14:37:58 $ - Version: $Revision: 1.9 $ + Date: $Date: 2011/02/27 18:30:48 $ + Version: $Revision: 1.10 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -63,6 +63,7 @@ namespace bbitk BBTK_DECLARE_OUTPUT(Index,std::vector); BBTK_DECLARE_OUTPUT(Size,std::vector); BBTK_DECLARE_OUTPUT(Spacing,std::vector); + BBTK_DECLARE_OUTPUT(MinMax,std::vector); BBTK_PROCESS(DoIt); void DoIt(); @@ -86,6 +87,7 @@ namespace bbitk BBTK_OUTPUT(ImageProperties,Index,"Origin of the image",std::vector,"image index"); BBTK_OUTPUT(ImageProperties,Size,"Size in each dimension",std::vector,"image size"); BBTK_OUTPUT(ImageProperties,Spacing,"Size of the voxels",std::vector,"voxel size"); + BBTK_OUTPUT(ImageProperties,MinMax,"Minimum and the maximum intensity values of an image",std::vector,""); BBTK_END_DESCRIBE_BLACK_BOX(ImageProperties); //=================================================================