Proposals:Refactoring Statistics Framework 2007 Action Items: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 60: Line 60:


* MeanFilter (Andinet) <font style="color: #8b0000;">'''Done!'''</font>
* MeanFilter (Andinet) <font style="color: #8b0000;">'''Done!'''</font>
* ListSampleToHistogramFilter (it was ListSampleToHistogramGenerator) (Luis)
* ListSampleToHistogramFilter (it was ListSampleToHistogramGenerator) (Luis) <font style="color: #006400;">'''In Progress'''</font>
* ImageToCooccurrenceListFilter (Luis)
* ImageToCooccurrenceListFilter (Luis)
* CovarianceFilter (Luis)
* CovarianceFilter (Luis)
Line 67: Line 67:
* WeightedCovarianceFilter (Luis)
* WeightedCovarianceFilter (Luis)
* WeightedMeanFilter (Andinet) <font style="color: #8b0000;">'''Done!'''</font>
* WeightedMeanFilter (Andinet) <font style="color: #8b0000;">'''Done!'''</font>
* ImageToHistogramFilter (was ImageToHistogramGenerator) (Luis) <font style="color: #006400;">'''In Progress'''</font>
* ImageToHistogramFilter (was ImageToHistogramGenerator) (Luis)  
* ImageToListSampleFilter (ImageToListGenerator) (Andinet) <font style="color: #006400;">'''In Progress'''</font>
* ImageToListSampleFilter (ImageToListGenerator) (Andinet) <font style="color: #006400;">'''In Progress'''</font>
* SampleToKdTreeFilter (it was KdTreeGenerator  ) (Andinet)
* SampleToKdTreeFilter (it was KdTreeGenerator  ) (Andinet)

Revision as of 16:47, 13 April 2007

Action Items

API Fixes

  • ImageToCoocurrenceListAdaptor
    • Create a Filter for this operation, in this class the Compute() method will be used.
    • Fix the API so it is a real Adaptor : must have a GetMeasurementVector(unsigned int id) method.
  • There is no conceptual difference between "Generators" and "Calculators"
    • They should become Filters
  • Estimators have similar characterstics as "Generators" and "Calculators"
    • They could be converted to filters

Proposals

  • Sample class could be derived from a DataObject
    • Subsequently, all the derived classes such as ListSampleBase, Histogram and Subsample will be part of the pipeline.
  • Add a typedef in the Sample class for the DataObjectDectorator of a Measurement vector
  • KDTree could be derived from a DataObject
  • ListSampleBase : to be deprecated
  • SampleAlgorithmBase will be derived from ProcessObject
    • Subsequently, classes derived from the SampleAlgorithmBase will be process objects.
  • The following Calculator classes will also be derived from process object
    • ScalarImageTextureCalculator
    • GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator
  • The following Generator classes will be derived from process object
    • ImageToHistogramGenerator
    • ImageToListGenerator
    • KdTreeGenerator
    • ListSampleToHistogramGenerator
    • MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator
    • MembershipSampleGenerator
    • ScalarImageToGreyLevelCooccurrenceMatrixGenerator
    • ScalarImageToHistogramGenerator
    • SelectiveSubsampleGenerator
    • WeightedCentroidKdTreeGenerator
  • The following two generator classes will remain as generators
    • NormalVariateGenerator
    • RandomVariateGeneratorBase
  • Frequency container classes ( DenseFrequencyContainer and SparseFrequencyContainer ) do not need any modification at this point unless
    • there is a filter which outputs this data type ( in which case DataObjectDecorator can be defined )
  • There is a duplication of data in the omponentbase, membership function

Progress of Specific Tasks

Data Objects

  • Sample (Luis) Done
  • ListSample (Luis) Done
  • Histogram (Luis) Done
  • Subsample (Andinet)
  • MembershipSample (Andinet)
  • KdTree (Luis)
    • Replace "WeightedCentroid" with "SumMeasurmentVector"
    • propagate this to KdTree generators
  • VariableDimensionHistogram (Luis)
  • MembershipFunctionBase (Luis)
    • Make it a DataObject ?
    • and derived classes

Process Objects

  • MeanFilter (Andinet) Done!
  • ListSampleToHistogramFilter (it was ListSampleToHistogramGenerator) (Luis) In Progress
  • ImageToCooccurrenceListFilter (Luis)
  • CovarianceFilter (Luis)
  • HistogramToTextureFeaturesFilter (it was GreyLevelCooccurrenceMatrixTextureCoefficientsFilter) (Andinet)
  • ScalarImageToTextureFeaturesFilter (Luis)
  • WeightedCovarianceFilter (Luis)
  • WeightedMeanFilter (Andinet) Done!
  • ImageToHistogramFilter (was ImageToHistogramGenerator) (Luis)
  • ImageToListSampleFilter (ImageToListGenerator) (Andinet) In Progress
  • SampleToKdTreeFilter (it was KdTreeGenerator ) (Andinet)
    • (+option for generating sum vectors)
    • WeigthedCentroidKdTreeGenerator will be deprecated
  • ScalarImageToCooccurrenceMatrixFilter (it was ScalarImageToGreyLevelCooccurrenceMatrixGenerator)(Andinet)
  • MaskedScalarImageToCooccurrenceMatrixFilter (it was MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator) (Luis)
  • SampleToMembershipSampleFilter (it was MembershipSampleGenerator)(Andinet)
  • ScalarImageToHistogramFilter (it was ScalarImageToHistogramGenerator)(Luis)
  • SampleToSubsampleFilter (New class) (Luis)
    • ClassLabelSubsamplerFilter (it was SelectiveSubsampleGenerator) (Luis)
    • NeighborSubsamplerFilter (it was NeighborhoodSampler)(Luis)
  • ListSampleToHistogramFilter (make it derive from ProcessObject) Andinet
  • SampleFilterBase (it was SampleAlgorithmBase) (make it derive from ProcessObject) (Luis)
  • HistogramToImageFilter (remove decorator, now that Histogram is a DataObject) (Luis)
    • HistogramToEntropyImageFilter (do code review) (Andinet)
    • HistogramToIntensityImageFilter (do code review) (Luis)
    • HistogramToLogProbabilityImageFilter (do code review) (Andinet)
    • HistogramToProbabilityImageFilter (do code review) (Luis)
  • SampleToHistogramProjectionFilter (output Histogram should be created in MakeOutput)(Andinet)
  • MeanShiftBlurringSampleFilter (it was SampleMeanShiftBlurringFilter)(Andinet)
  • SelectiveMeanShiftBlurringSampleFilter (it was SampleSelectiveMeanShiftBlurringFilter)(Luis)
  • MeanShiftClusteringSampleFilter (it was SampleMeanShiftClusteringFilter) (Andinet)
  • SelectiveMeanShiftClusteringSampleFilter (it was SampleSelectiveMeanShiftClusteringFilter) (Luis)(why should be called "Selective")
  • ExpectationMaximizationMixtureModelEstimator (Luis)
    • (review the Classifiers hierarchy)
    • Review Components and MembershipSample classes
  • SampleToKmeansFilter (it was KdTreeBasedKmeansEstimator) (Andinet)
    • (it now should use the WeightedKdTreeGenerator inside).
    • Output should be a container of MeasuremenVectors of RealType (Andinet)
    • Rework the Insight/Code/Algorithms/itkScalarImageKmeansImageFilter accordingly (Luis)
  • ClassificationSampleFilter (it was SampleClassifier) (Andinet)
    • Related to the classifier reorganization
  • MaskedClassificationSampleFilter (it was SampleClassifierWithMask) (Luis)
    • Related to the classifier reorganization

Adaptors

  • ImageToListAdaptor (Andinet)
  • JointDomainImageToListAdaptor (Andinet)
  • PointSetToListAdaptor (Luis)
  • ScalarImageToListAdaptor (Andinet)