Proposals:Refactoring Statistics Framework 2007 Migration Users Guide: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
Line 117: | Line 117: | ||
* GetFrequency() | * GetFrequency() | ||
** const specifier of the InstanceIdentifier was removed (it was useless) | ** const specifier of the InstanceIdentifier was removed (it was useless) | ||
* SetFrequency( value ) | |||
** const specifier of the FrequencyType value was removed (it was useless) | |||
* SetFrequency( id, value ) | |||
** const reference specifier of the InstanceIdentifier was removed. It is now passed by copy | |||
** const specifier of the FrequencyType value was removed (it was useless) | |||
* IncreaseFrequency( id, value ) | |||
** const reference specifier of the InstanceIdentifier was removed. It is now passed by copy | |||
** const specifier of the FrequencyType value was removed (it was useless) | |||
* IncreaseFrequency( index, value ) | |||
** const specifier of the FrequencyType value was removed (it was useless) | |||
* GetMeasurementVector( id ) | |||
** const specifier of the InstanceIdentifier was removed (it was useless) | |||
* GetMeasurement( id, dimension ) | |||
** type "const unsigned long" of the id, was replaced with InstanceIdentifier, (const part was removed, it was useless) | |||
** const specifier of the dimension value was removed (it was useless) | |||
* GetFrequency( id, dimension ) | |||
** type "const unsigned long" of the id, was replaced with InstanceIdentifier, (const part was removed, it was useless) | |||
** const specifier of the dimension value was removed (it was useless) | |||
* Quantile( dimension, value ) | |||
* const specifier of the dimension type was removed (it was useless) | |||
* const & specifier of the value type was removed (it was useless), value is now passed by copy. | |||
* SetMeasurementVectorSize() | |||
** const modified of the argument was removed (it was useless) | |||
* Iterators | |||
** non-const Iterator now derives from the ConstIterator | |||
** SetFrequency() method was removed from the non-const Iterator, and put in the ConstIterator | |||
|| | || | ||
|- | |- |
Revision as of 20:15, 7 May 2007
How To Migrate your code to the New Statistics Framework
Measurement Containers
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
Sample | Refactored |
|
|
Subsample | Refactored |
|
|
ListSampleBase | Deprecated. The class was unecessary, it was providing only a Search() method that should in fact be provided by a process class, not a data container. |
|
|
ListSample | Refactored |
|
|
MembershipSample | Refactoring in Progress Luis |
|
|
Histogram | Refactored same name |
|
|
VariableDimensionHistogram | Pending | ||
KdTree | Pending |
Frequency Containers
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
DenseFrequencyContainer | |||
SparseFrequencyContainer |
Process Objects
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
SampleClassifier | |||
SampleClassifierWithMask |
Traits
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
MeasurementVectorTraits | Refactored (same name) |
|
MeanShift
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
Adaptors
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
ImageToCoocurrenceListAdaptor | UNDECIDED | ||
ImageToListAdaptor | Refactored into "ImageToListSampleAdaptor". This class handles images with scalar, fixed size array (itk::FixedArray) and variable length vector (itk::VariableLengthVector) pixel types. |
|
|
ScalarImageToListAdaptor | Deprecated ( This class is redundant as the new ImageToListSampleAdaptor also handles scalar images with scalar pixel type. ) | ||
JointDomainImageToListAdaptor | Refactored into "JointDomainImageToListSampleAdaptor" |
|
|
PointSetToListAdapor | Refactored into "PointSetToListSampleAdaptor" |
|
|
Univariate Distributions
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
Algorithms
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
Calculators
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
MeanCalculator | Refactored into MeanFilter |
|
|
WeightedMeanCalculator | Refactored into WeightedMeanFilter |
|
|
CovarianceCalculator | Refactored into CovarianceFilter |
|
|
WeightedCovarianceCalculator | Refactored into WeightedCovarianceFilter |
|
|
GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator | Refactored into HistogramToTextureFeaturesFilter |
|
|
ScalarImageTextureCalculator | To be Refactored into ScalarImageToTextureFeaturesFilter |
|
Generators
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
ListSampleToHistogramGenerator | Refactored into SampleToHistogramFilter |
|
|
ImageToListGenerator | Refactored into ImageToListSampleFilter |
|
|
ScalarImageToGreyLevelCooccurrenceMatrixGenerator | Refactored into ScalarImageToCooccurrenceMatrixFilter |
|
|
MaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator | Deprecated ( Use ScalarImageToCooccurrenceMatrixFilter instead since this takes a mask image in addition to the input image ) |
Filters
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
ListSampleToHistogramFilter | Refactored as SampleToHistogramFilter |
|
|
Multivariate Density Functions
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
Distance Metrics
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
Components
Class Name | Fate | Deprecated API | New API |
---|---|---|---|
Estimators
Class Name | Fate | Deprecated API | New API |
---|---|---|---|