//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(); }
//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(); }
//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(); }
//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(); }
//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(); }
//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(); }