18 #ifndef itkNeuralNetworkFileWriter_h
19 #define itkNeuralNetworkFileWriter_h
21 #include <metaTypes.h>
22 #include <metaUtils.h>
54 template<
typename TNetwork >
102 itkSetStringMacro(FileName);
105 itkGetStringMacro(FileName);
109 void SetInput(TNetwork *network);
112 const TNetwork * GetInput()
const;
124 typedef enum { IGNORE = 0, ASCII = 1, BINARY = 2 } NetworkWriteWeightsType;
125 itkSetEnumMacro(WriteWeightValuesType, NetworkWriteWeightsType);
126 itkGetEnumMacro(WriteWeightValuesType, NetworkWriteWeightsType);
131 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
151 #ifndef ITK_MANUAL_INSTANTIATION
152 #include "itkNeuralNetworkFileWriter.hxx"
LayerBaseType::ConstPointer LayerBaseConstPointer
This is the itkLayerBase class.
Light weight base class for most itk classes.
Statistics::LayerBase< MeasurementVectorType, TargetVectorType > LayerBaseType
Writer for Neural Network.
LayerBaseType::Pointer LayerBasePointer
NeuralNetworkFileWriter Self
TNetwork::TargetVectorType TargetVectorType
std::ofstream m_OutputFile
NetworkWriteWeightsType m_WriteWeightValuesType
TNetwork::MeasurementVectorType MeasurementVectorType
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
Base class for most ITK classes.
TNetwork::Pointer m_Network
std::vector< MET_FieldRecordType * > FieldsContainerType
FieldsContainerType m_Fields
SmartPointer< Self > Pointer