18 #ifndef itkNeuralNetworkFileReader_h
19 #define itkNeuralNetworkFileReader_h
21 #include "metaTypes.h"
22 #include "metaUtils.h"
56 template<
typename TNetwork >
100 itkSetStringMacro(FileName);
103 itkGetStringMacro(FileName);
108 TNetwork * GetOutput()
const;
113 typedef enum { IGNORE = 0, ASCII = 1, BINARY = 2 } NetworkWriteWeightsType;
114 itkSetEnumMacro(ReadWeightValuesType, NetworkWriteWeightsType);
115 itkGetEnumMacro(ReadWeightValuesType, NetworkWriteWeightsType);
120 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
127 typedef std::vector< typename TNetwork::LayerInterfaceType::Pointer >
LayersContainer;
128 typedef std::vector< typename TNetwork::LayerInterfaceType::WeightSetInterfaceType::Pointer >
WeightsContainer;
150 #ifndef ITK_MANUAL_INSTANTIATION
151 #include "itkNeuralNetworkFileReader.hxx"
TNetwork::Pointer m_Network
Light weight base class for most itk classes.
TNetwork::LayerInterfaceType LayerInterfaceType
LinesContainer m_NameValue
Statistics::BackPropagationLayer< MeasurementVectorType, TargetVectorType > BackPropagationLayerType
TNetwork::MeasurementVectorType MeasurementVectorType
MeasurementVectorType::ValueType MeasurementVectorValueType
std::vector< typename TNetwork::LayerInterfaceType::WeightSetInterfaceType::Pointer > WeightsContainer
This is the itkBackPropagationLayer class.
SmartPointer< const Self > ConstPointer
std::list< LineType > LinesContainer
FieldsContainerType m_Fields
WeightsContainer m_Weights
NetworkWriteWeightsType m_ReadWeightValuesType
WeightSetType::Pointer WeightSetPointer
std::ifstream m_InputFile
std::vector< MET_FieldRecordType * > FieldsContainerType
BackPropagationLayerType::Pointer BackPropagationLayerPointer
Reader for Neural Network.
SmartPointer< Self > Pointer
std::vector< typename TNetwork::LayerInterfaceType::Pointer > LayersContainer
TNetwork::TargetVectorType TargetVectorType
Control indentation during Print() invocation.
LayerInterfaceType::WeightSetType WeightSetType
NeuralNetworkFileReader Self
Base class for most ITK classes.
bool m_BinaryDataByteOrderMSB