Skip to content
Guillaume Cerutti edited this page Feb 16, 2017 · 4 revisions

#Testing Draco-Stem

Testing in TissueLab

Launching and configuring TissueLab

  • Make sure you have TissueLab installed on your system, otherwise follow the installation procedure

  • In a terminal window, type oalab and then select the Tissue environment, or directly type oalab -e tissue

  • In TissueLab main window, you might need to add the widgets to enable mesh manipulation :

    • Viewer 3D : should be present by default in the bottom right corner
    • World Controls : should be present by default in the bottom left corner (with an empty combobox)
    • Topomesh Controls : follow this procedure to add it in the bottom left corner
  • Quit and restart the application for the new widgets to be initialized correctly

Running the Draco-Stem example script

  • In TissueLab, load the project provided in the Draco-Stem package
    • Go to File/Open Project
      • Click on "+ Add More Items" to add a new project directory
    • Add the draco_stem/oalab directory of your draco_stem installation
    • Select the draco-stem project in and open it by clicking on OK
  • In the Project Manager, open the test_draco.py file by double clicking on it

  • Click on the Run button, or copy-paste the whole script in the IPython Shell and press enter

Testing on your own images

  • Instead of using the synthetic image provided in the example, you can load segmented tissue image files using the openalea.image import function
from openalea.image.serial.all import imread
filename = ".../.../***.inr.gz"
img = imread(filename)
Segmented images are 16-bit label images in which the exterior region is supposed to be labelled 1
.tif images are supported but they require PyLibTiff to be installed on your system

Clone this wiki locally