38 template<
typename TMeasurementVector,
typename TTargetVector>
71 itkGetConstReferenceMacro(RBF_Dim,
unsigned int);
72 void SetRBF_Dim(
unsigned int size);
73 virtual void SetNumberOfNodes(
unsigned int numNodes) ITK_OVERRIDE;
74 virtual ValueType GetInputValue(
unsigned int i)
const ITK_OVERRIDE;
75 void SetInputValue(
unsigned int i,
ValueType value);
77 virtual ValueType GetOutputValue(
unsigned int)
const ITK_OVERRIDE;
78 virtual void SetOutputValue(
unsigned int,
ValueType);
80 virtual ValueType * GetOutputVector() ITK_OVERRIDE;
81 void SetOutputVector(TMeasurementVector value);
83 virtual
void ForwardPropagate() ITK_OVERRIDE;
84 virtual
void ForwardPropagate(TMeasurementVector input) ITK_OVERRIDE;
86 virtual
void BackwardPropagate() ITK_OVERRIDE;
87 virtual
void BackwardPropagate(TTargetVector itkNotUsed(errors)) ITK_OVERRIDE {};
89 virtual void SetOutputErrorValues(TTargetVector) ITK_OVERRIDE;
90 virtual ValueType GetOutputErrorValue(
unsigned int node_id) const ITK_OVERRIDE;
92 virtual ValueType GetInputErrorValue(
unsigned int node_id) const ITK_OVERRIDE;
93 virtual ValueType * GetInputErrorVector() ITK_OVERRIDE;
94 virtual
void SetInputErrorValue(ValueType,
unsigned int node_id) ITK_OVERRIDE;
97 InternalVectorType GetCenter(
unsigned int i) const;
98 void SetCenter(TMeasurementVector c,
unsigned int i);
100 ValueType GetRadii(
unsigned int i) const;
101 void SetRadii(ValueType c,
unsigned int i);
103 virtual ValueType Activation(ValueType) ITK_OVERRIDE;
104 virtual ValueType DActivation(ValueType) ITK_OVERRIDE;
107 itkSetMacro( Bias, ValueType );
108 itkGetConstReferenceMacro( Bias, ValueType );
111 void SetDistanceMetric(DistanceMetricType* f);
114 itkSetMacro(NumClasses,
unsigned int);
115 itkGetConstReferenceMacro(NumClasses,
unsigned int);
117 void SetRBF(RBFType* f);
118 itkGetModifiableObjectMacro(RBF, RBFType);
123 virtual ~RBFLayer() ITK_OVERRIDE;
126 virtual
void PrintSelf( std::ostream& os,
Indent indent ) const ITK_OVERRIDE;
135 typename DistanceMetricType::
Pointer m_DistanceMetric;
139 unsigned int m_NumClasses;
141 unsigned int m_RBF_Dim;
148 #ifndef ITK_MANUAL_INSTANTIATION
149 #include "itkRBFLayer.hxx"
Array class with size defined at construction time.
This is the itkLayerBase class.
vnl_vector< ValueType > NodeVectorType
Light weight base class for most itk classes.
SmartPointer< const Self > ConstPointer
This is the itkRBFLayer class.
RadialBasisFunctionBase< ValueType > RBFType
SmartPointer< Self > Pointer
Superclass::InputFunctionInterfaceType InputFunctionInterfaceType
Superclass::TransferFunctionInterfaceType TransferFunctionInterfaceType
EuclideanDistanceMetric< InternalVectorType > DistanceMetricType
Euclidean distance function.
CompletelyConnectedWeightSet< TMeasurementVector, TTargetVector > WeightSetType
LayerBase< TMeasurementVector, TTargetVector > Superclass
TMeasurementVector::ValueType ValueType
this class declares common interfaces for distance functions.
Superclass::LayerInterfaceType LayerInterfaceType
Superclass::WeightSetInterfaceType WeightSetInterfaceType
Superclass::ValueType ValueType
vnl_vector< ValueType > NodeVectorType
Superclass::OutputVectorType OutputVectorType
DistanceMetricType::Pointer DistanceMetricPointer
This is the itkCompletelyConnectedWeightSet class.
Control indentation during Print() invocation.
Superclass::ValuePointer ValuePointer
Superclass::InternalVectorType InternalVectorType
This is the itkRadialBasisFunctionBase class.