added config file to the repo - this needs to go in /data/ folder
This commit is contained in:
parent
60e51a84f2
commit
c8de799215
33
config.refindx
Normal file
33
config.refindx
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<config>
|
||||||
|
<camera>
|
||||||
|
<id>1</id>
|
||||||
|
<width>640</width>
|
||||||
|
<height>480</height>
|
||||||
|
</camera>
|
||||||
|
<display>
|
||||||
|
<fps>30</fps>
|
||||||
|
</display>
|
||||||
|
<locale>
|
||||||
|
<name>SWANSEA</name>
|
||||||
|
</locale>
|
||||||
|
|
||||||
|
<Analysis_NUM_RUN>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Analysis_NUM_RUN>
|
||||||
|
|
||||||
|
<analysis_time>
|
||||||
|
<acquiretime_shadowscapes> 25 </acquiretime_shadowscapes>
|
||||||
|
<acquiretime_relaxrate> 22 </acquiretime_relaxrate>
|
||||||
|
<acquiretime_iresponse> 23 </acquiretime_iresponse>
|
||||||
|
<acquiretime_shapefromshading> 24 </acquiretime_shapefromshading>
|
||||||
|
<acquiretime_strobe> 25 </acquiretime_strobe>
|
||||||
|
<acquiretime_camnoise> 20 </acquiretime_camnoise>
|
||||||
|
<acquiretime_colorsingle> 25 </acquiretime_colorsingle>
|
||||||
|
<acquiretime_colormulti> 35 </acquiretime_colormulti>
|
||||||
|
<acquiretime_diffnoise> 20 </acquiretime_diffnoise>
|
||||||
|
</analysis_time>
|
||||||
|
</config>
|
||||||
@ -15,7 +15,7 @@ using Poco::Thread;
|
|||||||
|
|
||||||
void CamNoiseAnalysis::setup(int camWidth, int camHeight)
|
void CamNoiseAnalysis::setup(int camWidth, int camHeight)
|
||||||
{
|
{
|
||||||
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN", NUMBER_RUNS);
|
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN_CamNoiseAnalysis", NUMBER_RUNS);
|
||||||
cout << "NUM_RUN CamNoiseAnalysis " << NUM_RUN << endl;
|
cout << "NUM_RUN CamNoiseAnalysis " << NUM_RUN << endl;
|
||||||
|
|
||||||
//NUM_RUN = 5;
|
//NUM_RUN = 5;
|
||||||
|
|||||||
@ -14,7 +14,7 @@ using Poco::Thread;
|
|||||||
|
|
||||||
void ColorMultiAnalysis::setup(int camWidth, int camHeight)
|
void ColorMultiAnalysis::setup(int camWidth, int camHeight)
|
||||||
{
|
{
|
||||||
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN", NUMBER_RUNS);
|
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN_ColorMultiAnalysis", NUMBER_RUNS);
|
||||||
cout << "NUM_RUN ColorMultiAnalysis " << NUM_RUN << endl;
|
cout << "NUM_RUN ColorMultiAnalysis " << NUM_RUN << endl;
|
||||||
|
|
||||||
//NUM_RUN = 5;
|
//NUM_RUN = 5;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ using Poco::Thread;
|
|||||||
|
|
||||||
void ColorSingleAnalysis::setup(int camWidth, int camHeight)
|
void ColorSingleAnalysis::setup(int camWidth, int camHeight)
|
||||||
{
|
{
|
||||||
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN", NUMBER_RUNS);
|
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN_ColorSingleAnalysis", NUMBER_RUNS);
|
||||||
cout << "NUM_RUN ColorSingleAnalysis " << NUM_RUN << endl;
|
cout << "NUM_RUN ColorSingleAnalysis " << NUM_RUN << endl;
|
||||||
|
|
||||||
//NUM_RUN = 5;
|
//NUM_RUN = 5;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ using Poco::Thread;
|
|||||||
|
|
||||||
void DiffNoiseAnalysis::setup(int camWidth, int camHeight)
|
void DiffNoiseAnalysis::setup(int camWidth, int camHeight)
|
||||||
{
|
{
|
||||||
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN", NUMBER_RUNS);
|
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN_DiffNoiseAnalysis", NUMBER_RUNS);
|
||||||
cout << "NUM_RUN DiffNoiseAnalysis " << NUM_RUN << endl;
|
cout << "NUM_RUN DiffNoiseAnalysis " << NUM_RUN << endl;
|
||||||
|
|
||||||
//NUM_RUN = 5;
|
//NUM_RUN = 5;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ using Poco::Thread;
|
|||||||
|
|
||||||
void IResponseAnalysis::setup(int camWidth, int camHeight)
|
void IResponseAnalysis::setup(int camWidth, int camHeight)
|
||||||
{
|
{
|
||||||
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN", NUMBER_RUNS);
|
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN_IResponseAnalysis", NUMBER_RUNS);
|
||||||
cout << "NUM_RUN IResponseAnalysis " << NUM_RUN << endl;
|
cout << "NUM_RUN IResponseAnalysis " << NUM_RUN << endl;
|
||||||
|
|
||||||
//NUM_RUN = 5;
|
//NUM_RUN = 5;
|
||||||
|
|||||||
@ -19,7 +19,7 @@ using Poco::Thread;
|
|||||||
|
|
||||||
void ShadowScapesAnalysis::setup(int camWidth, int camHeight)
|
void ShadowScapesAnalysis::setup(int camWidth, int camHeight)
|
||||||
{
|
{
|
||||||
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN", NUMBER_RUNS);
|
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN_ShadowScapesAnalysis", NUMBER_RUNS);
|
||||||
cout << "NUM_RUN ShadowScapesAnalysis " << NUM_RUN << endl;
|
cout << "NUM_RUN ShadowScapesAnalysis " << NUM_RUN << endl;
|
||||||
//NUM_RUN = 5;
|
//NUM_RUN = 5;
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ using Poco::Thread;
|
|||||||
void ShapeFromShadingAnalysis::setup(int camWidth, int camHeight)
|
void ShapeFromShadingAnalysis::setup(int camWidth, int camHeight)
|
||||||
{
|
{
|
||||||
|
|
||||||
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN", NUMBER_RUNS);
|
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN_ShapeFromShadingAnalysis", NUMBER_RUNS);
|
||||||
cout << "NUM_RUN ShapeFromShadingAnalysis " << NUM_RUN << endl;
|
cout << "NUM_RUN ShapeFromShadingAnalysis " << NUM_RUN << endl;
|
||||||
|
|
||||||
// NUM_RUN = 5;
|
// NUM_RUN = 5;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ using Poco::Thread;
|
|||||||
|
|
||||||
void StrobeAnalysis::setup(int camWidth, int camHeight)
|
void StrobeAnalysis::setup(int camWidth, int camHeight)
|
||||||
{
|
{
|
||||||
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN", NUMBER_RUNS);
|
NUM_RUN = RefractiveIndex::XML.getValue("config:analysis:NUM_RUN_StrobeAnalysis", NUMBER_RUNS);
|
||||||
cout << "NUM_RUN StrobeAnalysis " << NUM_RUN << endl;
|
cout << "NUM_RUN StrobeAnalysis " << NUM_RUN << endl;
|
||||||
|
|
||||||
//NUM_RUN = 5;
|
//NUM_RUN = 5;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user