ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkMultilayerNeuralNetworkBase.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputFunctionBase < ValueType *, ValueType > | InputFunctionInterfaceType |
typedef Superclass::LayerInterfaceType | LayerInterfaceType |
typedef std::vector< typename LayerInterfaceType::Pointer > | LayerVectorType |
typedef LearningFunctionBase < typename TLearningLayer::LayerInterfaceType, TTargetVector > | LearningFunctionInterfaceType |
typedef TLearningLayer | LearningLayerType |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef Superclass::NetworkOutputType | NetworkOutputType |
typedef SmartPointer< Self > | Pointer |
typedef MultilayerNeuralNetworkBase | Self |
typedef NeuralNetworkObject < TMeasurementVector, TTargetVector > | Superclass |
typedef Superclass::TargetVectorType | TargetVectorType |
typedef TransferFunctionBase < ValueType > | TransferFunctionInterfaceType |
typedef Superclass::ValueType | ValueType |
typedef std::vector< typename LayerInterfaceType::WeightSetInterfaceType::Pointer > | WeightVectorType |
Public Types inherited from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector > | |
Public Types inherited from itk::DataObject | |
typedef std::string | DataObjectIdentifierType |
typedef std::vector< Pointer > ::size_type | DataObjectPointerArraySizeType |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Public Member Functions | |
void | AddLayer (LayerInterfaceType *) |
void | AddWeightSet (typename LayerInterfaceType::WeightSetInterfaceType *) |
virtual void | BackwardPropagate (NetworkOutputType errors) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual NetworkOutputType | GenerateOutput (TMeasurementVector samplevector) |
LayerInterfaceType * | GetLayer (int layer_id) |
const LayerInterfaceType * | GetLayer (int layer_id) const |
virtual const char * | GetNameOfClass () const |
int | GetNumOfLayers (void) const |
int | GetNumOfWeightSets (void) const |
LayerInterfaceType::WeightSetInterfaceType * | GetWeightSet (unsigned int id) |
void | InitializeWeights () |
void | SetLearningFunction (LearningFunctionInterfaceType *f) |
void | SetLearningRate (ValueType learningrate) |
void | SetLearningRule (LearningFunctionInterfaceType *) |
virtual void | UpdateWeights (ValueType) |
Public Member Functions inherited from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector > | |
virtual void | BackwardPropagate (NetworkOutputType errors)=0 |
Public Member Functions inherited from itk::DataObject | |
virtual void | CopyInformation (const DataObject *) |
virtual void | DataHasBeenGenerated () |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () |
SmartPointerForwardReference < ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual unsigned long | GetUpdateMTime () const |
virtual void | Initialize () |
virtual void | PrepareForNewData () |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
virtual void | SetRequestedRegion (const DataObject *) |
virtual void | SetRequestedRegionToLargestPossibleRegion () |
bool | ShouldIReleaseData () const |
virtual void | Update () |
virtual void | UpdateOutputData () |
virtual void | UpdateOutputInformation () |
virtual bool | VerifyRequestedRegion () |
void | SetPipelineMTime (unsigned long time) |
virtual const unsigned long & | GetPipelineMTime () |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () |
virtual void | Graft (const DataObject *) |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual unsigned long | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
MultilayerNeuralNetworkBase () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
~MultilayerNeuralNetworkBase () | |
Protected Member Functions inherited from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector > | |
NeuralNetworkObject () | |
virtual | ~NeuralNetworkObject () |
Protected Member Functions inherited from itk::DataObject | |
virtual void | PropagateResetPipeline () |
DataObject () | |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes | |
LayerVectorType | m_Layers |
LearningFunctionInterfaceType::Pointer | m_LearningFunction |
ValueType | m_LearningRate |
WeightVectorType | m_Weights |
Protected Attributes inherited from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector > |
This is the itkMultilayerNeuralNetworkBase class.
Definition at line 34 of file itkMultilayerNeuralNetworkBase.h.
typedef SmartPointer<const Self> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::ConstPointer |
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 42 of file itkMultilayerNeuralNetworkBase.h.
typedef InputFunctionBase<ValueType*, ValueType> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::InputFunctionInterfaceType |
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 66 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::LayerInterfaceType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::LayerInterfaceType |
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 54 of file itkMultilayerNeuralNetworkBase.h.
typedef std::vector<typename LayerInterfaceType::Pointer> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::LayerVectorType |
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 63 of file itkMultilayerNeuralNetworkBase.h.
typedef LearningFunctionBase<typename TLearningLayer::LayerInterfaceType, TTargetVector> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::LearningFunctionInterfaceType |
Definition at line 58 of file itkMultilayerNeuralNetworkBase.h.
typedef TLearningLayer itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::LearningLayerType |
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 56 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::MeasurementVectorType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::MeasurementVectorType |
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 50 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::NetworkOutputType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::NetworkOutputType |
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 52 of file itkMultilayerNeuralNetworkBase.h.
typedef SmartPointer<Self> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::Pointer |
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 41 of file itkMultilayerNeuralNetworkBase.h.
typedef MultilayerNeuralNetworkBase itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::Self |
Standard class typedefs.
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 38 of file itkMultilayerNeuralNetworkBase.h.
typedef NeuralNetworkObject<TMeasurementVector, TTargetVector> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::Superclass |
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 40 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::TargetVectorType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::TargetVectorType |
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 51 of file itkMultilayerNeuralNetworkBase.h.
typedef TransferFunctionBase<ValueType> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::TransferFunctionInterfaceType |
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 65 of file itkMultilayerNeuralNetworkBase.h.
typedef Superclass::ValueType itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::ValueType |
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 47 of file itkMultilayerNeuralNetworkBase.h.
typedef std::vector<typename LayerInterfaceType::WeightSetInterfaceType::Pointer> itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::WeightVectorType |
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
Definition at line 61 of file itkMultilayerNeuralNetworkBase.h.
|
protected |
|
protected |
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::AddLayer | ( | LayerInterfaceType * | ) |
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::AddWeightSet | ( | typename LayerInterfaceType::WeightSetInterfaceType * | ) |
|
virtual |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
|
virtual |
Implements itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
LayerInterfaceType* itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::GetLayer | ( | int | layer_id | ) |
const LayerInterfaceType* itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::GetLayer | ( | int | layer_id | ) | const |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
|
inline |
Definition at line 76 of file itkMultilayerNeuralNetworkBase.h.
|
inline |
Definition at line 80 of file itkMultilayerNeuralNetworkBase.h.
|
inline |
Definition at line 92 of file itkMultilayerNeuralNetworkBase.h.
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::InitializeWeights | ( | ) |
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >.
|
static |
New macro for creation of through a Smart Pointer.
Reimplemented from itk::Object.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
|
protectedvirtual |
Method to print the object.
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Reimplemented in itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::SetLearningFunction | ( | LearningFunctionInterfaceType * | f | ) |
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::SetLearningRate | ( | ValueType | learningrate | ) |
void itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, TLearningLayer >::SetLearningRule | ( | LearningFunctionInterfaceType * | ) |
|
virtual |
|
protected |
|
protected |
Definition at line 119 of file itkMultilayerNeuralNetworkBase.h.
|
protected |
Reimplemented from itk::Statistics::NeuralNetworkObject< TMeasurementVector, TTargetVector >.
Definition at line 120 of file itkMultilayerNeuralNetworkBase.h.
|
protected |
Definition at line 118 of file itkMultilayerNeuralNetworkBase.h.
Referenced by itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, BackPropagationLayer< TMeasurementVector, TTargetVector > >::GetNumOfWeightSets(), and itk::Statistics::MultilayerNeuralNetworkBase< TMeasurementVector, TTargetVector, BackPropagationLayer< TMeasurementVector, TTargetVector > >::GetWeightSet().