You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #8 from gletort/epidev Tests, Open from layers, Vertices measures and Bug correction
Tests, Open from layers, Vertices measures and Bug correction
Add and updated tests file
Add option to open first layers in Napari with other plugins, then start EpiCure from it
Add option in Output to get and measure the vertices (TCJ)
Bug corrections, especially in measuring junction intensity in an other channel than the main one
Copy file name to clipboardExpand all lines: docs/Output.md
+19-9Lines changed: 19 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,6 @@
1
1
!!! abstract "Options to measure and export segmentation/events/tracks"
2
2
_Measurement and plotting options are/will be proposed here, as well as options to export the segmentation/measurements to use in other analysis softwares_
3
3
4
-
*[Apply on: define current selection](#define-current-selection)
5
-
*[Export to extern plugins](#export-to-other-plugins)
You can choose which cells to analyse/export with the `Apply on` option in the interface:
@@ -188,4 +180,22 @@ This allows to save screenshots of the current display/current view (same part o
188
180
Choose the first and last frame of the screenshot movie and click on `save current view`.
189
181
This will creates a `.tif` file in the `epics` folder containing the screenshots of the current view repeated on the given frames.
190
182
191
-

183
+

184
+
185
+
## Measure vertices
186
+
187
+
Find the vertices, points of junction of several cells (Tri-Cellular junctions or more), display it and measure intensity of the raw movie channel and the number of cells joining (the connectivity) at each vertex.
188
+
189
+
Choose the option `measure vertices` to launch it.
190
+
191
+
The parameter `vertex_radius` set the radius of a vertex, to find it (depending on the resolution, it can be bigger than a single pixel) and to measure the intensity inside the vertex (you might want to measure in a small circle rather than in only one point).
192
+
193
+
The parameter `vertex_display` set the radius at which each point is displayed in the viewer.
194
+
195
+
Click on `Measure` to launch the detection of vertices and their measures. It can take a few minutes.
196
+
197
+
When it's finished, it will display a new layer, called "Vertices" that contained the defined vertices, colored by their connectivity measure (number of cells joining in this point) and of a size controlled by the `vertex_display` parameter (and not the one used for measurement, for clarity of visualization).
198
+
199
+
The measures of each vertex position, connectivity (nb of neighbor cell joining) and intensity in the raw movie channel (the junction channel) are displayed in a table in the right side of the interface that can be saved for further analysis on the vertices connectivity or intensity distributions.
200
+
201
+

Copy file name to clipboardExpand all lines: docs/Start-epicure.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
!!! abstract "Start EpiCure: load the movies and metadata"
2
2
_Choose `Start epicure` in Napari `Plugins>Epicure` to open it._
3
3
4
+
EpiCure handles several inputs format through the `bioio` module.
5
+
However, if some format is not correctly recongized/handled by EpiCure, you can open the images in Napari with any other plugin (for example [napari-bioformats](https://github.com/tlambert03/napari-bioformats), [napari-aicsimageio](https://github.com/AllenCellModeling/napari-aicsimageio)) and use the `Start from open layers` option (see more [here](#start-from-opened-layers)).
6
+
4
7
## Loading the movies
5
8
6
9
In the `Start EpiCure` step, you have a dedicated interface in the right part of the main interface.
@@ -48,4 +51,23 @@ Depending on python/module versions and the input file itself, all the informati
48
51
49
52
While EpiCure is optimized for a graphical usage as its scope relies on easing manual edition of segmentation, there's a possbility to launch it without starting Napari first (or at all).
50
53
This can be useful for automatic testing or batching some process.
51
-
See our released [notebooks](https://github.com/gletort/Epicure/tree/main/notebooks/) for example of usage or our [test files](https://github.com/gletort/Epicure/tree/main/src/tests/).
54
+
See our released [notebooks](https://github.com/gletort/Epicure/tree/main/notebooks/) for example of usage or our [test files](https://github.com/gletort/Epicure/tree/main/src/tests/).
55
+
56
+
## Start from opened layers
57
+
58
+
To make EpiCure compatible with as many input formats as possible, we added the option to start it from already opened layers, so that the images can be opened with other readers than the one proposed in EpiCure if necessary.
59
+
60
+
Both the raw image and the segmentation can be opened before to start EpiCure, or only the raw image.
61
+
62
+
In `Plugins>EpiCure`, choose the option `Start from opened layers`.
63
+
64
+
In the parameters interface that open on the right side of the viewer, select the layer that corresponds to your raw movie (the layer containing the junction staining) in the `movie` parameter.
65
+
66
+
Select the raw file of the movie in the `movie path` parameter.
67
+
This will not open it as it is already opened, but is necessary to know the path and name of the image to save correspondingly the output files.
68
+
69
+
Select the layer containing the segmentation in the `segmentation` parameter if you have one, or select `None` otherwise.
70
+
71
+

72
+
73
+
Once the parameters are properly filled, click `Use selected layers` and you will be back to the "normal" EpiCure [starting interface](#movie-metadata) to check the image metadata and choose the main parameters of your analysis.
Copy file name to clipboardExpand all lines: docs/index.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,11 @@ You can launch `EpiCure` in Napari by going to `Plugins>epicure>Start`. It will
13
13
The first file to choose is the movie containing the epithelial staining.
14
14
It should be _2D(+time/channel) file_.
15
15
16
+
!!! Note "Input format"
17
+
EpiCure relies on `bioio` module to open images, compatible with various formats.
18
+
Note that if your file format is not correctly handled by EpiCure, you can first open the image with other plugins and start EpiCure from the opened layer(s). See [Start EpiCure page](./Start-epicure.md#start-from-opened-layers) for more details.
19
+
20
+
16
21
The second file is the segmentation of this movie (it should contain only the segmentation). It can be a binarized file of the junctions (skeletonized) or a labelled file (each cell is filled by a unique number).
17
22
_Note that if you haven't done the segmentation yet, there's an [additional option](./Segment-option.md) in EpiCure to directly run [EpySeg](https://github.com/baigouy/EPySeg) on the loaded movie._
0 commit comments