Root Analysis – Tomato (Standard Interface)

To begin the plant analysis process, launch the interface. This will open the main analysis window. Put your mouse over any button to see a description of what it does.
Interface Components:
- Select Project Folder: Specifies the storage location for your analysis results. A project encompasses a complete experimental setup involving one or more Raspberry Pi modules.
- Select Video Folder: Identifies the video file for current processing. Videos must be processed sequentially, one at a time.
- Plant Identification Fields: The Raspberry Pi Module, Camera, Plant Number, and Identifier fields allow you to tag each plant according to its origin (camera and module), position on the plate, and biological variety.
- Manual Calibration Parameters: If your video does not have a 1-cm QR code, measure a known distance and write the pixels from the calibration helper.
Getting Started:
Begin by creating a dedicated folder for storing results, then select the first video from the Demo dataset. A popup window will prompt you to choose the appropriate folders.

Video Preview and Setup:
Click the "Preview Video" button to view your selected video. Use the scrollbar to navigate between frames and press the "S" button to toggle the segmentation overlay for visual inspection. In this case, we can see that the video contains a QR code.

Using the calibration helper to complete the distances:
As these demo plates do not contain QR codes we can use the known distance on the center of the plate, the visible area given by the plate holder is 11 centimers, and according to the calibrator, those measure ~2600 pixels.

Plant Analysis Workflow:
1 ROI Selection: Click "Analyze Plant" to open the ROI (Region of Interest) selector. Manually define the analysis area and press double-enter to confirm your selection.

2 Evaluate the segmentation quality: Use this step to determine the correct amount of days that the segmentation can be properly analyzed. In some cases here we can determine any potential issues. In this case we can see that we need to be careful with the main root positioning as we may era some potential lateral roots.

3 Select the point of main root start: This acts as a cleaning step, everything above the selected point will be discarded and not regarded as part of the root system. Please note that you can zoom in using the mouse wheel.
We select the two plants of the first camera with identifier A.
{ width="49%"
For the second camera, root start selection can be trickier.

But in this kind of cases, do not worry! Selecting above the root will also help, as we can see there are not any miss-detections that can cause us any trouble.

Then the last plant:

Quality Control and Batch Processing:
Navigate to the "Analysis Overview" tab to monitor experiment progress and error rates. Poor ROI selection or incorrect seed point positioning may cause errors in graph creation. Once individual plant processing is complete, select "Process all plants."

PS: In case you close the app while it was analyzing, the repeat analysis button is there for you! Just remember to delete the previous plant after relaunching it.
Visual Inspection:
The "Plant Overlay" tab provides visual inspection capabilities for both segmentation results and plant root performance analysis. This interface allows you to discard problematic plants or restart the entire process if needed. Redoing the analysis will make you choose the ROI and root start position from scratch.

Above we can see a stop of growth in the main root due to the plant reaching the bottom of the plate. This should normally mark the end of the experiment. Meanwhile, plants of plate A still have not reached the base; we can see this as the main root length does not stagnate. But we need to be careful, because that can also happen if the bounding box is not properly chosen (does not give space to grow).

Report Generation:
After completing individual plant analyses, you can generate comprehensive reports. The demo dataset includes 10 complete days of plant growth data—feel free to experiment with different report types. The system can perform interval testing (for example, every 6 hours) to compare different varieties using statistical methods such as the Mann-Whitney U test to determine if varieties show statistically significant differences.
PS: If working with longer datasets and wanting to limit processing time, set the processing limit to your desired number of analysis days.

The system automatically generates comprehensive reports containing various figure types. All raw figures and images are saved within the report directory for detailed analysis and further investigation.
