Exemple #1
0
//tip number
void computeTips(Neuron *n)
{
	n->setFunc(4);
	Feature* features = new Feature(n);
	cout<<"Number of Tips: "<<(int)features->getSum()<<"\n";
	//myfile<<"Number of Tips: "<<(int)featues->getSum()<<"\n";
	features->~Feature();
}
Exemple #2
0
//bifurcation number
void computeBifs(Neuron *n)
{
	n->setFunc(2);
	Feature* features = new Feature(n);
	cout<<"Number of Bifurcations: "<<(int)features->getSum()<<"\n";
	//myfile<<"Number of Bifurcations: "<<(int)featues->getSum()<<"\n";
	features->~Feature();
}
Exemple #3
0
//total volume
void computeVol(Neuron *n)
{
	n->setFunc(14);
	Feature* features = new Feature(n);
	cout<<"Total Volume: "<<features->getSum()<<"\n";
	//myfile<<"Total Volume: "<<featues->getSum()<<"\n";
	features->~Feature();
}
Exemple #4
0
//surface area
void computeSurface(Neuron *n)
{
	n->setFunc(12);
	Feature* features = new Feature(n);
	cout<<"Total Surface Area: "<<features->getSum()<<"\n";
	//myfile<<"Total Surface Area: "<<featues->getSum()<<"\n";
	features->~Feature();
}
Exemple #5
0
//total length
void computeLength(Neuron *n)
{
	n->setFunc(11);
	Feature* features = new Feature(n);
	cout<<"Total Length: "<<features->getSum()<<"\n";
	//myfile<<"Total length: "<<featues->getSum()<<"\n";
	features->~Feature();
}
Exemple #6
0
//stem number
void computeStems(Neuron * n)
{
	n->setFunc(1);
	Feature* features = new Feature(n);
	//print values
	cout<<"Number of Stems: "<<(int)features->getSum()<<"\n";	
	//myfile<<"Number of Stems: "<<(int)features->getSum()<<"\n";
	features->~Feature();
}