Quick Start Guide: How To Install, Setup and Use Smartroot
Quick Start Guide: How To Install, Setup and Use Smartroot
October 5, 2011
Contents
1 First steps 2
2 Windows installation 3
4 Linux installation 6
6 Tracing roots 9
This small document presents briefly how to install, setup and use SmartRoot.
For more detailed informations about SmartRoot, you might want to read either the
User Guide1 or the related paper:
Guillaume Lobet, Loı̈c Pagès and Xavier Draye. A Novel Image Analysis Toolbox En-
abling Quantitative Analysis of Root System Architecture. 2011 Plant Physiology
157 doi:10.1104/pp.111.179895
1 www.uclouvain.be/en-smartroot
1
1 FIRST STEPS
1 First steps
1.1 System requirement
Memory: At least 1024 MB of RAM for a good functioning
Java: SmartRoot works with Java 1.5 or higher
Database (optional): SmartRoot can export data to .csv text files but also directly into
a database. For Windows me present how to setup a MS Access database connection.
For Mac OS X and Linux (Ubuntu), we present how to setup a MySQL connection.
People who does not have MS Access on Windows can follows similar steps as for
Linux and Mac OS to install a MySQL database.
SmartRoot Quick Start.pdf This document. Helps you to quickly install SmartRoot.
SmartRoot User Guide.pdf Complete user guide to learn all the SmartRoot function-
alities.
Quick Start Images folder Four images to learn how to trace root with SmartRoot. In-
structions are written directly on the images.
SmartRoot folder The SmartRoot program in itself. Contains four .jar files 2 . This is
the folder you will have to copy in the ImageJ folder (see below).
5.1.7-bin.jar
2
2 WINDOWS INSTALLATION
2 Windows installation
1. Configure the database (optional)
2. Install ImageJ and SmartRoot
3. Use the Quick start images
When you launch SmartRoot (see below), the following message is displayed in the
Results window of ImageJ if the connexion was successfully established:
ImageJ download:
http://rsbweb.nih.gov/ij/download.html
If you do not have Java installed, please choose a version of ImageJ bundled with Java
Important:
If you are using Windows 7, all the components you are using together (in our case, Java,
ImageJ and Access) have to be build on the same architecture (32bit or 64bit).
For instance, if your Access software is 64bit, please choose the ImageJ bundled with 64 bit
Java in the ImageJ download page.
3
3 MAC OSX INSTALLATION
http://dev.mysql.com/downloads/
Open the disk image then install MySQL by double clicking on the mysql-...-.pkg icon.
Also install the MySQLStratupItem.pkg and MySQL.prefPane.
3.1.2 Configuration
Download the MySQLWorkbench from the following link and install it
http://dev.mysql.com/downloads/workbench
Open the application and click New Connection. Fill the fields as follow:
ImageJ download:
http://rsbweb.nih.gov/ij/download.html
4
3 MAC OSX INSTALLATION
If you see this error message, go in the SmartRoot window, choose the Settings tab and
find the SQL options panel. Fill the fields as follow:
5
4 LINUX INSTALLATION
While installing, you will be asked to setup username and password for your database
connection. Leave the default values.
4.1.2 Configuration
Open MySQL Administrator. To connect to the database fill the form as follow:
To launch SmartRoot open ImageJ and choose Plugins > SmartRoot > SR Explorer
Important:
Ubuntu use the Alt-key to grab and move windows. SmartRoot use the same key to
automatically trace roots. In order to use SmartRoot correctly, you have to change one
Ubuntu parameter:
Go to System > Preferences > Windows and set the Movement key to Super.
6
4 LINUX INSTALLATION
If you see this error message, go in the SmartRoot window, choose the Settings tab and
find the SQL options panel. Fill the fields as follow:
7
5 QUICK START SMARTROOT
ImageJ Window
SmartRoot Window
Explorer Window
Image Window
Results Window
8
6 TRACING ROOTS
6 Tracing roots
Manual tracing
Semi-automated tracing
9
6 TRACING ROOTS
Modifying nodes
Remove all nodes (before): Discard all node located proximal to the selected node.
Modifying roots
Find laterals: Check along the root axis for lateral roots creation.
Attach parent root: Set a parent for the current root.
Detach parent root: Remove the relationship between a root and its parent.
Detach children roots: Remove the relationship between a root and all its children.
Rename root: Change the name of the selected root.
Delete a root: Remove the whole root.
Reverse orientation: Reverse the root orientation.
Crop children: Cut all roots whose first node is within the area of the selected root.
10
6 TRACING ROOTS
3. Hold the Control key down and move a node for a Diameter freeze
4. Hold the Shift key down and move a node for a Align to border
5. Combine Control, Shift and Alt keys.
11
7 SMARTROOT WINDOW’S TABS
A. Type of layers.
B. Save your preferences.
A
D
E F G
A. Files to link.
B. Marks to link.
C. Add a file to the list.
A B D. Refresh the image display.
E. Refresh the list display.
C D E
12
7 SMARTROOT WINDOW’S TABS
Datasets: Global Root Data — All marks — Root Nodes — Root Length density
Plot tab
A. Histograms.
A B B. Charts.
C. Refresh button.
D. Close all plots.
E. Plot the selected charts and histograms.
C D E
Settings tab
A. Image resolution.
A B. Naming options.
B
C. SQL options.
D. Lateral finding options.
E. Thresholding options.
C
13