]> Creatis software - bbtk.git/commitdiff
no message
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Sun, 27 Feb 2011 18:30:48 +0000 (18:30 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Sun, 27 Feb 2011 18:30:48 +0000 (18:30 +0000)
packages/itk/src/bbitkImageProperties.cxx
packages/itk/src/bbitkImageProperties.h

index b8b9f12a3e0b14dcf59acc9c0b1637c697a10e5a..f6e4f6d358cf2655421b6e7f1d4288cc33cf661f 100644 (file)
@@ -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<float> vminmax;
+//       vminmax.push_back( minmaxfilter->GetMaximumOutput() );
+//       vminmax.push_back( minmaxfilter->GetMinimumOutput() );
+         vminmax.push_back( 17 );
+         vminmax.push_back( 1972 );
+         
+         bbSetOutputMinMax(vminmax);
+         
     bbtkDebugDecTab("Core",9);
   }
 }
index 8d63f268fe6b4fecfc42a3d5dea628bb97b9059e..ae6aab168264737ea7f557ee80cd6e7b7d3996ce 100644 (file)
@@ -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<int>);
     BBTK_DECLARE_OUTPUT(Size,std::vector<int>);
     BBTK_DECLARE_OUTPUT(Spacing,std::vector<float>);
+       BBTK_DECLARE_OUTPUT(MinMax,std::vector<float>);
     BBTK_PROCESS(DoIt);
     void DoIt();
 
@@ -86,6 +87,7 @@ namespace bbitk
   BBTK_OUTPUT(ImageProperties,Index,"Origin of the image",std::vector<int>,"image index");
   BBTK_OUTPUT(ImageProperties,Size,"Size in each dimension",std::vector<int>,"image size");
   BBTK_OUTPUT(ImageProperties,Spacing,"Size of the voxels",std::vector<float>,"voxel size");
+  BBTK_OUTPUT(ImageProperties,MinMax,"Minimum and the maximum intensity values of an image",std::vector<float>,"");
   BBTK_END_DESCRIBE_BLACK_BOX(ImageProperties);
   //=================================================================