Main class to run an image in CINNICtest for contours. More...
#include <CINNIC/CINNIC.H>
Public Member Functions | |
void | viewNeuronTemplate (ContourNeuronCreate< float > &NeuronTemplate, readConfig &config) |
View the output visualy of the contour neuron templates. | |
void | RunSimpleImage (ContourNeuronCreate< float > &NeuronTemplate, Image< byte > &input, readConfig &config) |
Run an image (this is the important method). | |
void | convolveTest (ContourNeuronCreate< float > &NeuronTemplate, readConfig &config, Image< float > &testImage) |
test a simple image against itself to find the value of convolution | |
Public Attributes | |
Image< byte > | Ninput |
Aux Image holder. | |
const char * | filename |
This is the file name as supplied by argv. | |
const char * | savefilename |
this is what to save output as |
Main class to run an image in CINNICtest for contours.
This is the central class at this point for running CINNIC. It works by creating a CINNIC template for neuron connections in contourNeuron. It then imports an image as defines from the command line. The image is processed for orientations using the orientedFilter in Image as well as a few other processes. The image is then reduced and a 3D map of the image created and stored in ImageMap. This map and the neuron are then fed into contourRun which runs the 3D image against the template neuron. Output is produced in many ways including several raw data dumps and image dumps.
Definition at line 69 of file CINNIC.H.
void CINNIC::convolveTest | ( | ContourNeuronCreate< float > & | NeuronTemplate, | |
readConfig & | config, | |||
Image< float > & | testImage | |||
) |
test a simple image against itself to find the value of convolution
Definition at line 178 of file CINNIC.C.
References PropHold::angABD, ContourNeuronCreate< TC2 >::FourDNeuralMap, Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), Image< T >::resize(), and Image< T >::setVal().
Referenced by main().
void CINNIC::RunSimpleImage | ( | ContourNeuronCreate< float > & | NeuronTemplate, | |
Image< byte > & | input, | |||
readConfig & | config | |||
) |
Run an image (this is the important method).
Definition at line 321 of file CINNIC.C.
References Timer::get(), Image< T >::getHeight(), Image< T >::getWidth(), Timer::reset(), and Image< T >::resize().
Referenced by main().
void CINNIC::viewNeuronTemplate | ( | ContourNeuronCreate< float > & | NeuronTemplate, | |
readConfig & | config | |||
) |
View the output visualy of the contour neuron templates.
Definition at line 128 of file CINNIC.C.
References PropHold::angABD, ContourNeuronCreate< TC2 >::FourDNeuralMap, getMinMaxAvg(), inplacePaste(), NO_INIT, normalizeRGPolar(), Image< T >::resize(), Image< T >::setVal(), and Raster::VisuRGB().
Referenced by main().
const char* CINNIC::filename |
const char* CINNIC::savefilename |