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 $
=========================================================================*/
/* ---------------------------------------------------------------------
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);
}
}
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 $
=========================================================================*/
/* ---------------------------------------------------------------------
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();
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);
//=================================================================