#include "CINNIC/CINNIC.H"
#include "CINNIC/cascadeHold.H"
#include "Util/log.H"
#include "Util/readConfig.H"
#include <fstream>
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <sys/types.h>
#include <time.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
This is the main function for CINNIC. | |
Variables | |
ContourNeuronCreate< float > | CINNICreate |
Create a CINNIC neuron, use float. | |
CINNIC | skeptic |
Standard CINNIC test object. | |
std::istream * | argInput |
pointer to command line argument stream | |
const char * | configFile |
This is the configFile name. | |
readConfig | configIn (25) |
This is the configFile object. |
Tests the CINNIC neuron
Definition in file CINNICtest.C.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
This is the main function for CINNIC.
to use this you must have a config file called contour.conf you should run this file by running it from src3 and executing it as such "../bin/CINNICtest ../image_in/imagefile outputname" where imagefile is a ppm file (do not include extention) and outputname is the name you would like attached to all the output files.
Definition at line 76 of file CINNICtest.C.
References PropHold::ang, PropHold::ang2, PropHold::angAB, PropHold::angABD, argInput, PropHold::coLinear, configFile, configIn, ContourNeuronCreate< TC2 >::CreateNeuron(), PropHold::dis, CINNIC::filename, ContourNeuronCreate< TC2 >::FourDNeuralMap, NeuralAngles, CINNIC::Ninput, NO_INIT, readConfig::openFile(), PropHold::pol, RASFMT_PNM, Raster::ReadGray(), CINNIC::RunSimpleImage(), CINNIC::savefilename, PropHold::sender, and CINNIC::viewNeuronTemplate().
std::istream* argInput |
pointer to command line argument stream
Definition at line 63 of file CINNICtest.C.
ContourNeuronCreate<float> CINNICreate |
Create a CINNIC neuron, use float.
Definition at line 59 of file CINNICtest.C.
const char* configFile |
This is the configFile name.
Definition at line 65 of file CINNICtest.C.
readConfig configIn(25) |
This is the configFile object.
Standard CINNIC test object.
Definition at line 61 of file CINNICtest.C.