Skip to content

Commit a4a2024

Browse files
authored
add cellprofiler cproj and deepimagej macro
1 parent b189342 commit a4a2024

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

413 KB
Binary file not shown.

pipeline/deepimagejmacro.ijm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#@String Directory
2+
model_path = "C:\\Users\\user\\path\\to\\your\\fiji\\Fiji.app\\models\\stardist" (change this line it by the path to your own model)
3+
input_image_path = Directory + "\\input.tiff"
4+
output_folder_path = Directory
5+
macro_arg = "model_path=[" + model_path + "] input_path=[" + input_image_path +"] output_folder=[" + output_folder_path + "] display_output=null"
6+
run("DeepImageJ Run", macro_arg)
7+
File.rename(output_folder_path + File.separator + "input_mask.tif", Directory + File.separator + "output.tiff")

0 commit comments

Comments
 (0)