|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object HTPoutput
public class HTPoutput
HTPoutput
This class stores the measurement results and writes them to the results file (HTPheno_analysis_results_date--time.csv).
The data structure for storing the evaluated data:
PLANT_IMAGE_NAME parameter1 parameter2 parameter3 ... ========================================================================================================== experiment_plantnumber_timestamp_angle_side 120.0 63.3 0.0 ... experiment_plantnumber_timestamp_angle_side 0.0 0.0 24.3 ... ... ...As it should be able to expand arbitrarily in both dimension it is implemented as follows:
Hashtable
which does the mapping parameter --> column number.
A Hashtable
which does the mapping plant --> obtained data.
Constructor Summary | |
---|---|
HTPoutput()
|
Method Summary | |
---|---|
void |
addDataSet(java.lang.String plantName,
java.lang.String fieldName,
double data)
Adds a data set to the data structure. |
void |
showResults()
Displays the results as ImageJ results table. |
void |
writeAsCSV(java.lang.String filename)
Writes the complete data structure to the result file (HTPheno_analysis_results_date--time.csv). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTPoutput()
Method Detail |
---|
public void addDataSet(java.lang.String plantName, java.lang.String fieldName, double data)
plantName
- A String
which identifies the image of the plant.fieldName
- A String
which is the descriptor of the data to be saved (parameter).data
- The current obtained data for the plant and the parameter.public void showResults()
public void writeAsCSV(java.lang.String filename)
filename
- A String
containing a file name to store the measurement data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |