This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: omnipose | |
channels: | |
- conda-forge | |
- anaconda | |
- defaults | |
- pytorch-lts | |
dependencies: | |
- cudatoolkit=10.1.243 | |
- conda-forge::git | |
- conda-forge::mahotas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ─── SCRIPT PARAMETERS ────────────────────────────────────────────────────────── | |
#@ ImagePlus imp_nuclei | |
#@ ResultsTable rt | |
#@ OpService ops | |
#@ UIService ui | |
#@ CommandService command | |
# ─── IMPORTS ──────────────────────────────────────────────────────────────────── |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ ImagePlus imp | |
#@ CommandService command | |
#@ File(label="Folder with your environment", style="directory", description="Folder with the conda environment") env_folder | |
from ij import * | |
from ch.epfl.biop.wrappers.cellpose.ij2commands import Cellpose_SegmentImgPlusAdvanced, CellposePrefsSet | |
from ij.process import * | |
from ij.gui import * | |
from java.awt import * |