Skip to content

Commit

Permalink
Merge pull request #16 from jburel/doc_update
Browse files Browse the repository at this point in the history
Doc update
  • Loading branch information
jburel committed May 18, 2020
2 parents 77da0e1 + 86d5660 commit 2043b02
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/gettingstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ We will show:

- How to run ilastik using its Python API.

- How to save the generated results as OMERO images.
- How to save the generated results as OMERO images. If you are accessing a public resource e.g. idr.openmicroscopy.org, this step will not work.

**Setup**
---------
Expand All @@ -34,7 +34,7 @@ We will use an ilastik project created with ilastik version 1.3.3 to analyze 3D
- IDR data \ https://idr.openmicroscopy.org/webclient/?show=project-801

For convenience, the IDR data have been imported into the training
OMERO.server. This is only because we cannot save results back to IDR
OMERO.server. This is **only** because we **cannot** save results back to IDR
which is a read-only OMERO.server.

**Step-by-Step**
Expand Down
2 changes: 1 addition & 1 deletion docs/ilastik_fiji.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Use ilastik as a Fiji plugin and OMERO
**Description**
---------------

In this section, we will show how to use ilastik user interface to
In this section, we will show how to use the ilastik user interface to
perform segmentations on multi-z images stored in OMERO. The connection
between OMERO and ilastik is facilitated via Fiji, for which both OMERO
and ilastik have plugins. The segmentation steps in this part are
Expand Down
5 changes: 1 addition & 4 deletions docs/ilastik_parallel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Run ilastik in parallel using dask
---------------

We will show how to use `dask <https://dask.org/>`_ to analyze images in parallel
using ilastik. Binary data are stored in a public S3 repository in the Zarr format.
using the ilastik API. Binary data are stored in a public S3 repository in the Zarr format.


**Setup**
Expand Down Expand Up @@ -35,14 +35,12 @@ Load the images:
:start-after: # Load-images
:end-before: # Load-binary


Define the analysis function:

.. literalinclude:: ../scripts/pixel_classification_zarr_parallel.py
:start-after: # Analyze-data
:end-before: # Prepare-call


Helper function load the binary as a numpy array from the Zarr storage format:

.. literalinclude:: ../scripts/pixel_classification_zarr_parallel.py
Expand All @@ -68,7 +66,6 @@ We wait until this work is done and gather the results to our local process:
:start-after: # Gather
:end-before: # Disconnect


When done, close the session:

.. literalinclude:: ../scripts/pixel_classification_zarr_parallel.py
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ilastik
=======

ilastik is a free open-source interactive learning and segmentation toolkit, with which can be used to leverage machine learning algorithms to easily segment, classify, track and count cells or other experimental data. For more details go to see \ https://www.ilastik.org/\.
We will show how to analyze data stored in OMERO, using the ilastik user interface, Fiji and the OMERO ImageJ plugin. We will then also show how to analyze images using the ilastik API and OMERO.py API.

Contents:

Expand Down
6 changes: 4 additions & 2 deletions docs/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Install ilastik and OMERO Python bindings
==========================================

In this section, we show how to install ilastik in a `Conda <https://conda.io/en/latest/>`_ environment.
We will use the ilastik API to analyze data stored in an OMERO server.
We will use the ilastik API to analyze data stored in an OMERO server. We will use OMERO.py to interact with the OMERO server.

**Setup**
---------
Expand All @@ -12,7 +12,9 @@ Conda manages programming environments in a manner similar to
`virtualenv <https://virtualenv.pypa.io/en/stable/>`_.
You can install the various dependencies following the steps below (Option 1) or build locally a Docker Image
using ``repo2docker`` (Option 2). When the installation is done, you should be ready to use the ilastik API and OMERO, see :doc:`gettingstarted`.
:

The installation below is needed to run the scripts and/or notebooks. If you wish to start your own environment without the scripts/notebooks, copy locally into an ``environment.yml`` file the content of
`binder/environment.yml <https://raw.githubusercontent.com/ome/omero-guide-ilastik/master/binder/environment.yml>`_, remove or add the dependencies you need and run the commands below to create a conda environment.

*Option 1*
~~~~~~~~~~
Expand Down

0 comments on commit 2043b02

Please sign in to comment.