Go to the documentation of this file.
18 #ifndef sitkSTAPLEImageFilter_h
19 #define sitkSTAPLEImageFilter_h
96 SITK_RETURN_SELF_TYPE_HEADER
SetConfidenceWeight (
double ConfidenceWeight ) { this->m_ConfidenceWeight = ConfidenceWeight;
return *
this; }
106 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
116 SITK_RETURN_SELF_TYPE_HEADER
SetMaximumIterations (
unsigned int MaximumIterations ) { this->m_MaximumIterations = MaximumIterations;
return *
this; }
147 std::string
GetName()
const {
return std::string (
"STAPLEImageFilter"); }
150 std::string ToString()
const;
153 Image Execute (
const std::vector<Image> &images);
163 Image Execute (
const std::vector<Image> &images,
double confidenceWeight,
double foregroundValue,
unsigned int maximumIterations );
164 Image Execute (
const Image& image1,
double confidenceWeight,
double foregroundValue,
unsigned int maximumIterations );
165 Image Execute (
const Image& image1,
const Image& image2,
double confidenceWeight,
double foregroundValue,
unsigned int maximumIterations );
166 Image Execute (
const Image& image1,
const Image& image2,
const Image& image3,
double confidenceWeight,
double foregroundValue,
unsigned int maximumIterations );
167 Image Execute (
const Image& image1,
const Image& image2,
const Image& image3,
const Image& image4,
double confidenceWeight,
double foregroundValue,
unsigned int maximumIterations );
168 Image Execute (
const Image& image1,
const Image& image2,
const Image& image3,
const Image& image4,
const Image& image5,
double confidenceWeight,
double foregroundValue,
unsigned int maximumIterations );
177 typedef Image (
Self::*MemberFunctionType)(
const std::vector<Image> & );
178 template <
class TImageType>
Image ExecuteInternal (
const std::vector<Image> &images );
209 SITKBasicFilters_EXPORT Image STAPLE (
const std::vector<Image> &images ,
double confidenceWeight = 1.0,
double foregroundValue = 1.0,
unsigned int maximumIterations = std::numeric_limits<unsigned int>::max() );
211 SITKBasicFilters_EXPORT Image STAPLE (
const Image& image1,
double confidenceWeight = 1.0,
double foregroundValue = 1.0,
unsigned int maximumIterations = std::numeric_limits<unsigned int>::max() );
212 SITKBasicFilters_EXPORT Image STAPLE (
const Image& image1,
const Image& image2,
double confidenceWeight = 1.0,
double foregroundValue = 1.0,
unsigned int maximumIterations = std::numeric_limits<unsigned int>::max() );
The main Image class for SimpleITK.
IntegerPixelIDTypeList PixelIDTypeList
double m_ConfidenceWeight
double GetForegroundValue() const
unsigned int GetMaximumIterations() const
std::string GetName() const
Image STAPLE(const std::vector< Image > &images, double confidenceWeight=1.0, double foregroundValue=1.0, unsigned int maximumIterations=std::numeric_limits< unsigned int >::max())
The STAPLE filter implements the Simultaneous Truth and Performance Level Estimation algorithm for ge...
double GetConfidenceWeight() const
#define SITKBasicFilters_EXPORT
unsigned int m_MaximumIterations
uint32_t m_ElapsedIterations
std::vector< double > GetSensitivity() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::vector< double > m_Specificity
Self & SetForegroundValue(double ForegroundValue)
The base interface for SimpleITK filters that take one input image.
std::vector< double > GetSpecificity() const
After the filter is updated, this method returns the Specificity (true negative fraction,...
Base class for SimpleITK classes based on ProcessObject.
Self & SetConfidenceWeight(double ConfidenceWeight)
std::vector< double > m_Sensitivity
uint32_t GetElapsedIterations() const
Self & SetMaximumIterations(unsigned int MaximumIterations)
The STAPLE filter implements the Simultaneous Truth and Performance Level Estimation algorithm for ge...
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList