1010[ ![ DOI] ( https://zenodo.org/badge/156891364.svg )] [ doi ]
1111
1212This package contains a diverse collection of Python functions dealing with
13- paths, I/O (file handles, ...), strings etc. and tons of [ Fiji] [ fiji ] /
14- [ ImageJ2] [ imagej ] convenience wrappers to simplify scripting and reduce
15- cross-script redundanciees.
13+ paths, I/O (file handles, ...), strings etc. and tons of [ Fiji] / [ ImageJ2]
14+ convenience wrappers to simplify scripting and reduce cross-script redundancies.
1615
1716Initially this has been a multi-purpose package where a substantial part had
18- been useful in ** CPython** as well. However, since the latest Jython
19- release is still based on Python 2.7 (see the [ Jython 3 roadmap] [ jython3 ] for
20- more info), * imcflibs* is now basically limited to the ** Fiji / ImageJ2
21- ecosystem** .
17+ been useful in ** CPython** as well. However, since the latest Jython release is
18+ still based on Python 2.7 (see the [ Jython 3 roadmap] [ jython3 ] for more info),
19+ * imcflibs* is now basically limited to the ** Fiji / ImageJ2 ecosystem** .
2220
2321Releases are made through Maven and published to the [ SciJava Maven
2422repository] [ sj_maven ] . The easiest way to use the lib is by adding the ** `IMCF
2523Uni Basel`** [ update site] [ imcf_updsite ] to your ImageJ installation.
2624
2725The [ ` pip install ` able package] [ pypi ] is probably only useful for two cases:
2826running ` pytest ` (where applicable) and rendering [ HTML-based API docs] [ apidocs ]
29- using [ ` pdoc ` ] [ pdoc ] . Let us know in case you're having another use case πͺ for
30- it.
27+ using [ pdoc] . Let us know in case you're having another use case πͺ for it.
3128
3229Developed and provided by the [ Imaging Core Facility (IMCF)] [ imcf ] of the
3330Biozentrum, University of Basel, Switzerland.
3431
32+ ## Installation Instructions
33+
34+ Two ways of installing the ` imcflibs ` package are described here, the "* easy* "
35+ one through the * Fiji Update Sites* and the "* manual* " method using packages
36+ explicitly downloaded from [ SciJava Maven] [ sj_maven ] .
37+
38+ ### π§Ώ Default: Installation via Update Sites
39+
40+ After a fresh install of [ Fiji] , navigate to * Help* -> * Update* and in the
41+ resulting window, press * Manage Update Sites* . Here, search for and tick the
42+ following necessary update sites for this package.
43+
44+ - ImageJ
45+ - Fiji
46+ - 3D ImageJ-Suite
47+ - clij2
48+ - IJPB-plugins
49+ - IMCF Uni Basel
50+ - StarDist
51+ - CALM
52+ - TrackMate-Cellpose
53+ - TrackMate-Helper
54+ - TrackMate-StarDist
55+ - TrackMate-Weka
56+ - TrackMate-MorpholibJ
57+
58+ The ** ` IMCF Uni Basel ` ** update-site will always provide the latest compatible
59+ combination of * official* ` .jar ` file to use this package.
60+
61+ ### π Alternative: SciJava Maven Package π·
62+
63+ π‘ ** IMPORTANT:** π‘ same as for the * default* installation previously
64+ described, you will need to enable ** all Update Sites listed above** in your
65+ Fiji as well when using the method described here!
66+
67+ The most up-to-date ` .jar ` (or any other published version, including
68+ pre-releases) for this package can be always found on the [ Scijava Maven
69+ repository] [ sj_maven ] . Navigate to the ` python-imcflibs ` folder, pick the
70+ desired version (can also be a pre-release) and download the contained ` .jar `
71+ file, e.g. ` python-imcflibs-2.0.0.jar ` .
72+
73+ Then simply place that file in the ` jars ` folder of your Fiji installation, e.g
74+ ` D:\Development\Fiji.app\jars\ ` or ` /opt/Fiji.app/jars/ ` , possibly removing
75+ other versions of the same package from that folder - then (re-)start Fiji.
76+
77+ If you'd prefer to use the cutting-edge version from GitHub, look into the
78+ [ development instructions] ( DEVELOPMENT.md ) for details.
79+
80+ ### Installation Testing
81+
82+ To check the package's correct installation in Fiji, search for * Script
83+ Interpreter* in the Search bar, and type ` :lang python ` , followed by e.g.
84+ ` import imcflibs.imagej.misc ` . If no errors are shown, the installation was
85+ successful. Alternatively, you can scroll in the sidebar of the Interpreter to
86+ search for imcflibs.
87+
3588## Example usage
3689
3790### Shading correction / projection
@@ -50,17 +103,17 @@ correct_and_project(raw_image, out_path, model, "Maximum", ".ics")
50103
51104### Split TIFFs by channels and slices
52105
53- * See the [ Split_TIFFs_By_Channels_And_Slices.py] [ script_split ] script.
106+ - See the [ Split_TIFFs_By_Channels_And_Slices.py] [ script_split ] script.
54107
55108### Use status and progress bar updates
56109
57- * See the [ FluoView_OIF_OIB_OIR_Simple_Stitcher.py] [ script_fvstitch ] script.
110+ - See the [ FluoView_OIF_OIB_OIR_Simple_Stitcher.py] [ script_fvstitch ] script.
58111
59112[ imcf ] : https://www.biozentrum.unibas.ch/imcf
60- [ imagej ] : https://imagej.net
113+ [ imagej2 ] : https://imagej.net
61114[ fiji ] : https://fiji.sc
62115[ jython3 ] : https://www.jython.org/jython-3-roadmap
63- [ sj_maven ] : https://maven.scijava.org/#nexus-search;gav~ch. unibas. biozentrum. imcf~~~~
116+ [ sj_maven ] : https://maven.scijava.org/service/rest/repository/browse/releases/ch/ unibas/ biozentrum/ imcf/
64117[ imcf_updsite ] : https://imagej.net/list-of-update-sites/
65118[ script_split ] : https://github.com/imcf/imcf-fiji-scripts/blob/master/src/main/resources/scripts/Plugins/IMCF_Utilities/Convert/Split_TIFFs_By_Channels_And_Slices.py
66119[ script_fvstitch ] : https://github.com/imcf/imcf-fiji-scripts/blob/master/src/main/resources/scripts/Plugins/IMCF_Utilities/Stitching_Registration/FluoView_OIF_OIB_OIR_Simple_Stitcher.py
0 commit comments