Main class to run an image in CINNICtest for contours. More...
#include <CINNIC/CINNIC2.H>
Public Member Functions | |
CINNIC2 () | |
default constructor | |
void | CINtoggleFrameSeries (bool toggle) |
turn on using movie frames | |
void | CINconfigLoad (readConfig &config) |
load configuration file params | |
void | CINrunSimpleImage (const ContourNeuronCreate< FLOAT > &NeuronTemplate, const char fileName[100], unsigned int frame, Image< byte > &input, readConfig &config) |
run an image in CINNIC2 with a neuron template | |
void | CINgetOrientFiltered (Image< byte > &input) |
get the orientation filtered pre version of the input image | |
void | CINgetOrientFilteredMap (Image< byte > &input) |
get the orientation filtered version, but use convolution maps | |
void | CINgetScaled () |
get the scaled representations of the image | |
void | CINinitCINNIC (const std::vector< std::vector< Image< FLOAT > > > &input, readConfig &config, const INT sizeX, const INT sizeY) |
initalize parameters to run CINNIC2 | |
void | CINcomputeGroups (const std::vector< std::vector< Image< FLOAT > > > &input) |
initalize groups to run CINNIC2 | |
void | CINrunImage (const ContourNeuronCreate< FLOAT > &NeuronTemplate, const std::vector< std::vector< Image< FLOAT > > > &input, readConfig &config, const std::vector< FLOAT > >V) |
call contourRun2 for each iteration and scale | |
void | CINrunImageFrames (const ContourNeuronCreate< FLOAT > &NeuronTemplate, const std::vector< std::vector< Image< FLOAT > > > &input, readConfig &config, const std::vector< FLOAT > >V) |
call contourRun2 for each iteration and scale | |
Static Public Attributes | |
static const unsigned short | CINkernelSize = kernelSize |
static const unsigned short | CINscales = scales |
static const unsigned short | CINorientations = orientations |
static const unsigned short | CINiterations = iterations |
static const FLOAT | CINsmallNumber = 0.001F |
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 85 of file CINNIC2.H.
CINNIC2::CINNIC2 | ( | ) |
default constructor
void CINNIC2::CINcomputeGroups | ( | const std::vector< std::vector< Image< FLOAT > > > & | input | ) |
initalize groups to run CINNIC2
void CINNIC2::CINconfigLoad | ( | readConfig & | config | ) |
load configuration file params
get the orientation filtered pre version of the input image
get the orientation filtered version, but use convolution maps
void CINNIC2::CINgetScaled | ( | ) |
get the scaled representations of the image
void CINNIC2::CINinitCINNIC | ( | const std::vector< std::vector< Image< FLOAT > > > & | input, | |
readConfig & | config, | |||
const INT | sizeX, | |||
const INT | sizeY | |||
) |
initalize parameters to run CINNIC2
void CINNIC2::CINrunImage | ( | const ContourNeuronCreate< FLOAT > & | NeuronTemplate, | |
const std::vector< std::vector< Image< FLOAT > > > & | input, | |||
readConfig & | config, | |||
const std::vector< FLOAT > & | GTV | |||
) |
call contourRun2 for each iteration and scale
void CINNIC2::CINrunImageFrames | ( | const ContourNeuronCreate< FLOAT > & | NeuronTemplate, | |
const std::vector< std::vector< Image< FLOAT > > > & | input, | |||
readConfig & | config, | |||
const std::vector< FLOAT > & | GTV | |||
) |
call contourRun2 for each iteration and scale
void CINNIC2::CINrunSimpleImage | ( | const ContourNeuronCreate< FLOAT > & | NeuronTemplate, | |
const char | fileName[100], | |||
unsigned int | frame, | |||
Image< byte > & | input, | |||
readConfig & | config | |||
) |
void CINNIC2::CINtoggleFrameSeries | ( | bool | toggle | ) |
turn on using movie frames
Referenced by main().