Skip to content

Commit 7abeac4

Browse files
committed
fixed docs + removed unused docs script
1 parent e87d1a8 commit 7abeac4

File tree

11 files changed

+51
-104
lines changed

11 files changed

+51
-104
lines changed

docs/.nojekyll

Whitespace-only changes.

docs/buildsite.sh

Lines changed: 0 additions & 61 deletions
This file was deleted.

docs/res/code/model_framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _model_framework.py_models_dict:
1+
.. _model_framework.py:
22

33

44
model_framework.py

docs/res/code/model_instance_seg.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ binary_watershed
1515

1616
clear_small_objects
1717
**************************************
18-
.. autofunction:: napari_cellseg_annotator.model_instance_seg::clear_small_objects
18+
.. autofunction:: napari_cellseg_3d.model_instance_seg::clear_small_objects
1919

2020
to_instance
2121
**************************************

docs/res/code/plugin_base.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Class : BasePluginSingleImage
88

99
Methods
1010
**********************
11-
.. autoclass:: napari_cellseg_annotator.plugin_base::BasePluginSingleImage
11+
.. autoclass:: napari_cellseg_3d.plugin_base::BasePluginSingleImage
1212
:members: __init__, remove_from_viewer, show_dialog_images, show_dialog_labels, update_default
1313
:noindex:
1414

@@ -17,23 +17,25 @@ Methods
1717
Attributes
1818
*********************
1919

20-
.. autoclass:: napari_cellseg_annotator.plugin_base::BasePluginSingleImage
20+
.. autoclass:: napari_cellseg_3d.plugin_base::BasePluginSingleImage
2121
:members: _viewer, image_path, label_path, filetype, file_handling_box
2222

2323

24+
25+
2426
Class : BasePluginFolder
2527
-------------------------------------------------------
2628

2729

2830
Methods
2931
***********************
30-
.. autoclass:: napari_cellseg_annotator.plugin_base::BasePluginFolder
32+
.. autoclass:: napari_cellseg_3d.plugin_base::BasePluginFolder
3133
:members: __init__, remove_from_viewer,make_close_button,make_prev_button,make_next_button, load_dataset_paths,load_image_dataset,load_label_dataset,load_results_path, update_default,remove_docked_widgets
3234
:noindex:
3335

3436

3537
Attributes
3638
*********************
3739

38-
.. autoclass:: napari_cellseg_annotator.plugin_base::BasePluginFolder
40+
.. autoclass:: napari_cellseg_3d.plugin_base::BasePluginFolder
3941
:members: _viewer, images_filepaths, labels_filepaths,results_path, filetype_choice

docs/res/guides/convert_module_guide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _convert_module_guide:
22

3-
Label conversion utility
4-
===========================
3+
Label conversion utility guide
4+
==================================
55

66
This utility will let you convert labels to various different formats.
77
You will have to specify the results directory for saving; afterwards you can run each action on a folder or on the currently selected layer.

docs/res/guides/cropping_module_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _cropping_module_guide:
22

3-
Cropping module guide
3+
Cropping utility guide
44
=================================
55

66
This module allows you to crop your volumes and labels dynamically,

docs/res/guides/inference_module_guide.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ Interface and functionalities
4444
* Thresholding : You can perform thresholding to binarize your labels, all values beneath the confidence threshold will be set to 0 using this.
4545
If you wish to use instance segmentation it is recommended to use threshlding.
4646

47-
47+
* Instance segmentatin : You can convert the semantic segmentation into instance labels by using either the watershed or connected components method.
48+
You can set the probability threshhold from which a pixel is considered as a valid instance, as well as the minimum size in pixels for objects. All smaller objects will be removed.
49+
Instance labels will be saved (and shown if applicable) separately from other results.
4850

4951
* Viewing results : You can also select whether you'd like to see the results in napari afterwards; by default the first image processed will be displayed,
5052
but you can choose to display up to ten at once. You can also request to see the originals.

docs/res/plugin_base.rst

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/res/welcome.rst

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ any custom model written in Pytorch.
1414

1515
From here you can access the guides on the several modules available for your tasks, such as :
1616

17-
* Review : :ref:`loader_module_guide`
18-
* Inference: :ref:`inference_module_guide`
19-
* Training : :ref:`training_module_guide`
20-
* Cropping utility (3D) : :ref:`cropping_module_guide`
21-
* Convert labels : :ref:`convert_module_guide`
22-
* Compute scores : :ref:`metrics_module_guide`
23-
* Advanced : Defining custom models directly in the plugin (WIP) : :ref:`custom_model_guide`
17+
* Main modules :
18+
* Review : :ref:`loader_module_guide`
19+
* Inference: :ref:`inference_module_guide`
20+
* Training : :ref:`training_module_guide`
21+
* Utilities :
22+
* Cropping (3D) : :ref:`cropping_module_guide`
23+
* Convert labels : :ref:`convert_module_guide`
24+
* Compute scores : :ref:`metrics_module_guide`
25+
* Advanced :
26+
* Defining custom models directly in the plugin (WIP) : :ref:`custom_model_guide`
2427

2528

2629
Requirements
@@ -63,10 +66,34 @@ Then go into Plugins > napari-cellseg-3d, and choose which tool to use.
6366
- **Review**: This module allows you to review your labels, from predictions or manual labeling, and correct them if needed. It then saves the status of each file in a csv, for easier monitoring.
6467
- **Infer**: This module allows you to use pre-trained segmentation algorithms on volumes to automatically label cells.
6568
- **Train**: This module allows you to train segmentation algorithms from labeled volumes.
66-
- **Crop utility**: This module allows you to crop your volumes and labels dynamically, by selecting a fixed size volume and moving it around the image.
69+
- **Utilities**: This module allows you to use several utilities, e.g. to crop your volumes and labels, compute prediction scores or convert labels
6770

6871

72+
Credits & acknowledgments
73+
---------------------------------------------
74+
This plugin has been developed by Cyril Achard and Maxime Vidal for the `Mathis Laboratory of Adaptive Motor Control`_.
6975

76+
The TRAILMAP models and original weights used here all originate from the `TRAILMAP project on GitHub`_
77+
78+
**Mapping Mesoscale Axonal Projections in the Mouse Brain Using A 3D Convolutional Network**
79+
*Drew Friedmann, Albert Pun, Eliza L Adams, Jan H Lui, Justus M Kebschull, Sophie M Grutzner, Caitlin Castagnola, Marc Tessier-Lavigne, Liqun Luo*
80+
bioRxiv 812644; doi: https://doi.org/10.1101/812644
81+
82+
This plugin mainly uses the following libraries and software:
83+
84+
* `Napari website`_
85+
86+
* `Pytorch website`_
87+
88+
* `MONAI project website`_ (various models used here are credited `on their website`_)
89+
90+
91+
.. _Mathis Laboratory of adaptive motor control: http://www.mackenziemathislab.org/
92+
.. _TRAILMAP project on GitHub: https://github.com/AlbertPun/TRAILMAP
93+
.. _Napari website: https://napari.org/
94+
.. _Pytorch website: https://pytorch.org/
95+
.. _MONAI project website: https://monai.io/
96+
.. _on their website: https://docs.monai.io/en/stable/networks.html#nets
7097

7198

7299
.. rubric:: References

0 commit comments

Comments
 (0)