ContourNeuronCreate< TC2 > Class Template Reference

This class will create the neuron connection template. More...

#include <CINNIC/contourNeuron.H>

Collaboration diagram for ContourNeuronCreate< TC2 >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

float FindRatio (TC2 &XMax, TC2 &X)
 find the ratio of XMax to X from 0 to 1
float FindDistance (TC2 &PiX, TC2 &PiY)
 find the length from center to coord X,Y
void FindCenter ()
 Calculate the where the center pixel is.
void FindReach ()
 calculate the reach of excitation or inhabition
float FindAngleToRad (TC2 &X, TC2 &Y)
 find the angle to X,Y from the Center
float FindRadToDeg (TC2 &r)
 Transform angle from radians to degrees.
float FindLinear (TC2 &m, TC2 &n, TC2 &o, TC2 &x, TC2 &b)
 Convert along linear function y=mx+b.
float sigmoid (TC2 &beta, TC2 &v)
 common sigmoidal function
PropHold GetCompleteNeuron ()
 Return the completed neuron.
void CreateNeuron (readConfig &config)
 Create the neuron using config file parameters.

Public Attributes

PropHold FourDNeuralMap [AnglesUsed][AnglesUsed][XSize+1][YSize+1]
 create the 4D neuron map, return that map

Detailed Description

template<class TC2>
class ContourNeuronCreate< TC2 >

This class will create the neuron connection template.

This class creates the 4D neuron template. It processes the excitation and inhabition each neuron should have to another neuron given the property of the two neurons. The result is a set of weights. The weight for each hyperpixel is held in PropHold. The entire set is held in a 4D array called FourDNeuralMap.

Definition at line 123 of file contourNeuron.H.


Member Function Documentation

template<class TC2 >
void ContourNeuronCreate< TC2 >::CreateNeuron ( readConfig config  )  [inline]
template<class TC2>
float ContourNeuronCreate< TC2 >::FindAngleToRad ( TC2 &  X,
TC2 &  Y 
) [inline]

find the angle to X,Y from the Center

Definition at line 102 of file contourNeuron.C.

Referenced by ContourNeuronCreate< TC2 >::CreateNeuron().

template<class TC2 >
void ContourNeuronCreate< TC2 >::FindCenter (  )  [inline]

Calculate the where the center pixel is.

Definition at line 85 of file contourNeuron.C.

Referenced by ContourNeuronCreate< TC2 >::CreateNeuron().

template<class TC2>
float ContourNeuronCreate< TC2 >::FindDistance ( TC2 &  PiX,
TC2 &  PiY 
) [inline]

find the length from center to coord X,Y

Definition at line 76 of file contourNeuron.C.

References sqrt().

Referenced by ContourNeuronCreate< TC2 >::CreateNeuron().

template<class TC2>
float ContourNeuronCreate< TC2 >::FindLinear ( TC2 &  m,
TC2 &  n,
TC2 &  o,
TC2 &  x,
TC2 &  b 
) [inline]

Convert along linear function y=mx+b.

Definition at line 167 of file contourNeuron.C.

Referenced by ContourNeuronCreate< TC2 >::CreateNeuron().

template<class TC2>
float ContourNeuronCreate< TC2 >::FindRadToDeg ( TC2 &  r  )  [inline]

Transform angle from radians to degrees.

Definition at line 159 of file contourNeuron.C.

Referenced by ContourNeuronCreate< TC2 >::CreateNeuron().

template<class TC2>
float ContourNeuronCreate< TC2 >::FindRatio ( TC2 &  XMax,
TC2 &  X 
) [inline]

find the ratio of XMax to X from 0 to 1

Definition at line 68 of file contourNeuron.C.

Referenced by ContourNeuronCreate< TC2 >::CreateNeuron().

template<class TC2 >
void ContourNeuronCreate< TC2 >::FindReach (  )  [inline]

calculate the reach of excitation or inhabition

Definition at line 92 of file contourNeuron.C.

Referenced by ContourNeuronCreate< TC2 >::CreateNeuron().

template<class TC2>
PropHold ContourNeuronCreate< TC2 >::GetCompleteNeuron (  ) 

Return the completed neuron.

template<class TC2>
float ContourNeuronCreate< TC2 >::sigmoid ( TC2 &  beta,
TC2 &  v 
) [inline]

common sigmoidal function

Definition at line 173 of file contourNeuron.C.


Member Data Documentation

template<class TC2>
PropHold ContourNeuronCreate< TC2 >::FourDNeuralMap[AnglesUsed][AnglesUsed][XSize+1][YSize+1]

create the 4D neuron map, return that map

Definition at line 138 of file contourNeuron.H.

Referenced by CINNIC::convolveTest(), ContourNeuronCreate< TC2 >::CreateNeuron(), main(), and CINNIC::viewNeuronTemplate().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:21:02 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3