Proposals:Refactoring Statistics Framework 2007 Class Manifesto

From KitwarePublic
Revision as of 10:55, 29 April 2009 by Karthik (talk | contribs) (→‎Calculators)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Statistics Class Manifesto

Summary Table

They are categorized in the following table


Conceptual Class Number
Measurement Containers 8
Frequency Containers 2
Process Objects 2
Traits 1
Mean shift 3
Adaptors 5
Univariate Distributions 4
Algorithms 3
Calculators 6
Generators 12
Filters 10
Multivariate Density Functions 8
Distance Metrics 2
Components 4
Estimators 2
Total 72

List of Classes per Category

Measurement Containers



  • KdTree Refactored (same name)
  • Histogram Refactored (same name)
  • VariableDimensionHistogram Refactored (now provided as Histrogram)
  • ListSampleBase Deprecated!
  • ListSample Refactored (same name)
  • Sample Refactored (same name) (now derives from DataObject)
  • Subsample Refactored (same name)(identifiers do not refer to sample anymore)
  • MembershipSample Refactored In Progress (same name. does not derive from sample anymore)


Migration Instructions

Frequency Containers

  • DenseFrequencyContainer Refactored (DenseFrequencyContainer2)
  • SparseFrequencyContainer Refactored (SparseFrequencyContainer2)

Note: The names of the frequency containers were suffixed by 2 to make them different from the frequency containers in ITK CVS to avoid linking problem with the ITKStatistics library Migration Instructions

Process Objects

  • SampleClassifier Refactored (as SampleClassifierFilter )
  • SampleClassifierWithMaskWill be Refactored (as SampleClassifierWithMaskFilter ) PENDING

Migration Instructions

Traits

  • MeasurementVectorTraits Refactored (same name)

Migration Instructions

MeanShift

  • HypersphereKernelMeanShiftModeSeeker PENDING
  • MeanShiftModeCacheMethod PENDING
  • MeanShiftModeSeekerBase PENDING

Migration Instructions

Adaptors

  • ImageToCooccurrenceListAdaptor Refactored ( now ScalarImageToCoocurrenceListSampleFilter )
  • ImageToListAdaptor Refactored ( now ImageToListSampleAdaptor )
  • JointDomainImageToListAdaptor Refactored ( now JointDomainImageToListSampleAdaptor )
  • PointSetToListAdaptor Refactored ( now PointSetToListSampleAdaptor )
  • ScalarImageToListAdaptor Deprecated!

Migration Instructions

Univariate Distributions

  • ChiSquareDistribution COPIED
  • GaussianDistribution COPIED
  • ProbabilityDistribution COPIED
  • TDistribution COPIED

Migration Instructions

Algorithms

  • SampleAlgorithmBase Deprecated!
  • StatisticsAlgorithm COPIED
  • NeighborhoodSampler Refactored (must be renamed as NeighborhoodExtractionSampleFilter?)

Migration Instructions

Calculators

  • CovarianceCalculator Refactored (now CovarianceSampleFilter : ProcessObject)
  • GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator Refactored (now HistogramToTextureFeaturesFilter : ProcessObject)
  • MeanCalculator Refactored (now MeanSampleFilter : ProcessObject)
  • ScalarImageTextureCalculator Refactored (now ScalarImageToTextureFeaturesFilter : ProcessObject)
  • WeightedCovarianceCalculator Refactored (now WeightedCovarianceSampleFilter : ProcessObject)
  • WeightedMeanCalculator Refactored (now WeightedMeanSampleFilter : ProcessObject)

Migration Instructions

Generators

  • ImageToHistogramGenerator Refactored (now ImageToHistogramFilter)
  • ImageToListGenerator Refactored (now ImageToListSampleFilter)
  • KdTreeGenerator COPIED
  • ListSampleToHistogramGenerator Refactored (now SampleToHistogramFilter)
  • MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator Deprecated! (now managed by the ScalarImageToCooccurrenceMatrixFilter )
  • MembershipSampleGenerator Deprecated! (it should have been a type of Classifier filter .. to be implemented, Low priority)
  • NormalVariateGenerator Will stay as the only Generators
  • RandomVariateGeneratorBase Will stay as the only Generators
  • ScalarImageToGreyLevelCooccurrenceMatrixGenerator Refactored (now ScalarImageToCooccurrenceMatrixFilter )
  • ScalarImageToHistogramGenerator Refactored (now ImageToHistogramFilter)
  • SelectiveSubsampleGenerator Refactored (to be implemented as a type of SubsampleFilter)
  • WeightedCentroidKdTreeGenerator COPIED

Migration Instructions

Filters

  • HistogramToEntropyImageFilter PENDING
  • HistogramToImageFilter PENDING
  • HistogramToIntensityImageFilter PENDING
  • HistogramToLogProbabilityImageFilter PENDING
  • HistogramToProbabilityImageFilter PENDING
  • ListSampleToHistogramFilter Refactored (now SampleToHistogramFilter)
  • SampleMeanShiftBlurringFilter PENDING
  • SampleMeanShiftClusteringFilter PENDING
  • SampleSelectiveMeanShiftBlurringFilter PENDING
  • SampleToHistogramProjectionFilter PENDING

Migration Instructions

Multivariate Density Functions

  • DensityFunction Deprecated!
  • DistanceToCentroidMembershipFunction Refactored
  • GaussianDensityFunction Refactored (and renamed as GaussianMembershipFunction)
  • GoodnessOfFitFunctionBase Deprecated! (has never been used in the toolkit) (to keep ?)
  • GoodnessOfFitMixtureModelCostFunction Deprecated! (has never been used in the toolkit)(to keep ?)
  • LogLikelihoodGoodnessOfFitFunction Deprecated! (has never been used in the toolkit)(to keep ?)
  • MahalanobisDistanceMembershipFunction Deprecated! (functionality provided by the MembershipFunction + MahalanobisDistance)
  • MembershipFunctionBase Refactored (same name)

Migration Instructions

Distance Metrics

  • DistanceMetric Refactored
  • EuclideanDistance Refactored (now EuclideanDistanceMetric)

Migration Instructions

Decision rules

  • DecisionRuleBase Refactored (now DecisionRule)
  • MinimumDecisionRule Refactored (same name +2)
  • MaximumDecisionRule Refactored (same name +2)
  • MaximumRatioDecisionRule Refactored (same name +2)

Migration Instructions

Components

  • GaussianGoodnessOfFitComponent PENDING
  • GaussianMixtureModelComponent Refactored (review comment at end of .txx)
  • GoodnessOfFitComponentBase PENDING
  • MixtureModelComponentBase Refactored (same name)

Migration Instructions

Estimators

  • ExpectationMaximizationMixtureModelEstimator Refactored
  • KdTreeBasedKmeansEstimator Refactored

Migration Instructions


Class Diagrams

Measurement Containers

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.


Frequency Containers

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Process Objects

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Traits

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

MeanShift

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Adaptors

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Univariate Distributions

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Algorithms

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Calculators

API

  • SetInputSample()
  • GetInputSample()
  • GetMeasurementVectorSize()
  • SetMeasurementVectorSize()
  • Update()
  • GenerateData()
  • GetOutput()

Class Diagram

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Generators

API

  • SetInput() / SetSample()
  • GetImput()
  • SetClassMask()
  • GetClassMask()
  • GenerateData()
  • GetOutput()

Class Diagram

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Filters

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Multivariate Density Functions

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Distance Metrics

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Components

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Estimators

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.