+ |
- get_chunksize() (cvpl_tools.im.ndblock.NDBlock method)
@@ -116,6 +238,10 @@ G
I
+ |
- is_numpy() (cvpl_tools.im.ndblock.NDBlock method)
@@ -125,8 +251,16 @@ I
L
|
- load_dask_array_from_path() (in module cvpl_tools.ome_zarr.io)
@@ -140,6 +274,10 @@
M
@@ -148,6 +286,20 @@ N
+
+P
+
@@ -156,9 +308,13 @@ R
|
|
@@ -168,12 +324,22 @@ S
@@ -192,8 +358,24 @@ T
+U
+
+
W
+ |
-- cvpl_tools.im.fs.py
+- cvpl_tools.im.fs.py
+
- cvpl_tools.im.ndblock.py
- cvpl_tools.im.seg_process.py
-- cvpl_tools.im.algs
+- cvpl_tools.im.algs
+
diff --git a/objects.inv b/objects.inv
index 01598aa2ebbfb5ee3c7ede43f4753c3a0f90ef19..9483cc3641dd3452bb1dd430086584bb369301a2 100644
GIT binary patch
delta 1201
zcmV;i1Wx;r2AK+wcz?Z_UvJ|m5WwH_DJ@vKyhbd^I
zG&8O~m$Bo5NnElR475|GM34h~aV|1$QNLm?ji&M6J>K!$E{n!65uD-5hzrdhlyaAL
z2Fk4#xSr`p?|&Eyh3WZL7C*Bytt8zFMV_+1ZdT2wKfgi!G3yM&x@mebHl~~P_)vvi%TuIELQccbl-8)Lw&Gi1sbe_;TddxFW4NH=w)7h=}()$Ec*WlKa(0o
za072W;6>T2+Z$K;qq@%nQZviTVg~v*cF-*MjQ*L!hGK&w7Nh|alC4!G-Q9Xs=lw<%
z6_^o%#D83i4<|>+u223(3$}sxJpp_gF&7i=XQX86;IlK+79qo~GBch33@6Hto!sZa
zYj7SIBOe`EkiNk0q5SUF!I65r3>SrA1ynlP)`-UsI3yF}A**}??_B)C{bWMo5}W#3
z(lwLLC{FL7G9J~fv<^$cK9`|lF=@H0qXT12
z9Cj`aOrs5Rcq`r?}w9z5Zi)K*ufKgg}h@Y|9kU-ayMr+I``OD7>X{-j=59S;k
zg>r|DWAxx^3_UTVgWv!BhW@#Jc<@2cAAc(0P;)^J(l>C^fgSXrl_l#==A&T-CG3T`
zS#L;l&EPD@-taIxzH^k1RLQ1S9s6s)A}Ax*-1Za0wR_Xw%=p1yt4e<91XM}hsuqW$
z=zgb3kAIw*DU5>2_NHWNI7mBpx6QwcL-|bb
zhm0;tMQ38vbvh_I+)rQ$)<^4??IdWwaF?ARZAZUf#Nz^nzlB3Q!*rzc1bWa%N^qpjHYS;tiH0LwLdTMer<+|)->0s_vuVvVf{S?~C
zhMH*g8`wz}ep{QQ=4f99K{||nvnt7*?ii=0dAesT$Ex%Io9`s2TgPd~r<%vISEZFs
PL6!Ef`Ihn@&=t@%Uf^C3
delta 677
zcmV;W0$Tl<3Xukocz>;x$!^;)5Qgu53IghtHhRr1-GUs_8a8_Agn~u!1^7%1WLsd!=h(%zq+T3B9^0u5iAVA+Sb`
z&8}q`npb4?bS!>Z&!C(V|Hc%rgj{_tTZy#@r*3!|YZ&v#3s%HrPX8dw8KL$DuLbWScZ_{#3ozvzJ_FJfwWOx38Tp*uBnz%
zw}(AY=a?*x4jV`Fu2c%035oC@PhZim`@>-fGSpVwFMlRXN^f1j^#ddH5NzOcv<=bz
z1cFM3>-&Z@)08tw7b;A~$3n-%1@?_=TrWH#FC$k{WQk$gE!LZeZ|emY_^E++fn#uO
zI#F=^O!-I_UOW@RD5wkzv7gvlW4Xur@1~Pa58nxBgpU%s!kbg}xXvj52@GR{NjmVc
zRX5R%P=EPEkNN^zN5nmO7N7I7-zKDWQFXGPqTM@Lu^Namkn
zd!15-TcFp;Xmhst&_~bjgk+{~410g^-#OWz`Gi>K4mTm!EZSh3K2Wcv*pRXhjkZ=3
z!N2!klFe|f^+q#XY?(K}HhOW%&2NmkW6tl4EFN{i4mQ0>=2ypj;ko6JH7;0b=v}aZ
LO|O){Xr+CGp!Z9(
diff --git a/searchindex.js b/searchindex.js
index a2accb9..0141ff3 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"docnames": ["API/algs", "API/imfs", "API/napari_zarr", "API/ndblock", "API/ome_zarr_io", "API/seg_process", "GettingStarted/ome_zarr", "GettingStarted/result_caching", "GettingStarted/segmentation_pipeline", "GettingStarted/setting_up_the_script", "index"], "filenames": ["API/algs.rst", "API/imfs.rst", "API/napari_zarr.rst", "API/ndblock.rst", "API/ome_zarr_io.rst", "API/seg_process.rst", "GettingStarted/ome_zarr.rst", "GettingStarted/result_caching.rst", "GettingStarted/segmentation_pipeline.rst", "GettingStarted/setting_up_the_script.rst", "index.rst"], "titles": ["cvpl_tools/im/algs", "cvpl_tools/im/fs.py", "cvpl_tools/ome_zarr/napari/add.py", "cvpl_tools/im/ndblock.py", "cvpl_tools/ome_zarr/io.py", "cvpl_tools/im/seg_process.py", "OME_ZARR", "Result Caching", "Segmentation Pipeline", "Setting Up the Script", "Introduction - cvpl_tools documentation"], "terms": {"thi": [0, 3, 4, 5, 6, 7, 8, 9, 10], "subdirectori": [0, 8], "defin": [0, 5, 8, 9, 10], "relev": 0, "algorithm": [0, 5, 7, 8], "parallel": [0, 8], "process": [0, 5, 7, 8, 9, 10], "nd": 0, "imag": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10], "api": [0, 1, 2, 3, 4, 5, 6, 8, 9], "view": [1, 2, 3, 4, 5, 10], "sourc": [1, 2, 3, 4, 5], "zarr": [2, 4, 7, 8, 9, 10], "For": [2, 3, 4, 5, 7, 8, 9], "om": [2, 4, 7, 8, 9, 10], "subarray_from_path": 2, "can": [2, 3, 4, 6, 7, 8, 9, 10], "us": [2, 3, 4, 5, 6, 7, 8, 9, 10], "gener": [2, 3, 5, 7], "If": [2, 3, 4, 6, 8, 9, 10], "an": [2, 3, 4, 6, 7, 8, 9, 10], "ha": [2, 3, 6, 8], "associ": [2, 5], "label": [2, 4, 6], "file": [2, 3, 4, 8, 9, 10], "": [2, 3, 6, 7, 8, 9], "image_ome_zarr": 2, "label_nam": [2, 6], "path": [2, 3, 4, 7, 8, 9, 10], "open": [2, 4, 6, 9], "togeth": 2, "singl": [2, 3, 5, 6, 7, 8], "group_from_path": 2, "call": [2, 8, 9], "class": [3, 5, 6, 7, 9, 10], "arr": [3, 9], "ndarrai": [3, 5], "ani": [3, 5, 6, 9], "dtype": [3, 9], "_scalartype_co": 3, "arrai": [3, 4, 5, 6, 8, 9], "none": [3, 4, 6, 8, 9], "repres": [3, 7, 8], "n": [3, 5, 8], "dimension": [3, 8], "grid": 3, "each": [3, 5, 6, 7, 8], "block": [3, 5, 8, 9], "i": [3, 4, 5, 6, 7, 8, 9], "arbitrari": [3, 8], "shape": [3, 4, 5, 6], "when": [3, 4, 5, 6, 7, 8, 9], "size": [3, 5, 8], "1": [3, 4, 5, 6, 7, 8, 9], "all": [3, 7, 8, 9], "ax": 3, "numpi": [3, 4, 6, 8, 9, 10], "match": [3, 7, 8], "dask": [3, 4, 6, 7, 8, 10], "In": [3, 4, 7, 8, 9], "case": [3, 4, 6, 7, 8, 9], "vari": 3, "e": [3, 4, 8], "g": [3, 4, 6, 8], "A": [3, 5, 6, 7, 10], "2": [3, 4, 6, 7, 8, 9], "mai": [3, 5, 6, 7, 8, 9], "neighbor": 3, "5": 3, "10": 3, "current": [3, 5, 9], "we": [3, 4, 6, 7, 8, 9], "assum": [3, 4], "block_index": 3, "list": [3, 5], "alwai": [3, 7], "order": [3, 7, 9], "0": [3, 4, 5, 6, 8], "m": 3, "increas": 3, "from": [3, 4, 5, 6, 7, 8, 9], "side": [3, 8], "tail": 3, "first": [3, 6, 7, 8], "as_dask_arrai": 3, "tmp_dirpath": 3, "str": [3, 4], "get": [3, 7, 8, 9], "copi": [3, 4], "valu": [3, 6, 9], "paramet": [3, 4, 8], "avoid": [3, 7], "doubl": [3, 6], "comput": [3, 6, 7, 8, 9], "best": [3, 8], "provid": [3, 4, 6, 8, 9, 10], "input": [3, 5, 6, 8, 9], "format": [3, 6, 7, 8], "reprformat": [3, 10], "dict_block_index_slic": 3, "instead": [3, 4, 6, 7], "return": [3, 4, 7, 8, 9], "convert": [3, 8], "retriev": 3, "get_chunks": 3, "tupl": [3, 9], "int": [3, 4], "chunk": [3, 6, 7, 8, 9], "axi": [3, 6], "length": 3, "ndim": 3, "is_numpi": 3, "bool": [3, 4], "true": [3, 4, 6, 7, 8, 9], "note": [3, 6, 7, 8, 10], "besid": 3, "type": [3, 4, 5, 6, 8], "have": [3, 4, 6, 7, 8, 9], "either": [3, 4, 6, 8], "delai": 3, "object": [3, 5, 6, 7, 9, 10], "former": 3, "latter": 3, "fals": [3, 4, 6, 7, 8, 9], "static": 3, "load": [3, 4, 6, 7, 8, 9], "storage_opt": [3, 4], "dict": [3, 4, 6, 8, 9], "given": 3, "storag": [3, 6], "opiton": 3, "compressor": 3, "The": [3, 4, 5, 6, 7, 9, 10], "compress": 3, "same": [3, 5, 6, 7, 9, 10], "save": [3, 6, 7, 8, 9], "function": [3, 4, 6, 7, 8, 9], "specifi": [3, 4, 7, 8, 10], "option": [3, 4, 6, 8], "method": [3, 8], "guarante": 3, "properti": 3, "one": [3, 4, 6, 7, 8, 9, 10], "content": 3, "thei": [3, 7, 8, 9], "ar": [3, 5, 6, 7, 8, 9, 10], "map_ndblock": 3, "sequenc": [3, 8], "fn": 3, "callabl": 3, "out_dtyp": 3, "use_input_index_as_arrloc": 3, "new_slic": 3, "fn_arg": 3, "similar": [3, 4, 6], "da": [3, 8, 9], "map_block": [3, 9], "work": [3, 6, 7, 8, 9], "differ": [3, 4, 5, 8, 9], "block_info": [3, 9], "map": [3, 10], "contain": [3, 5, 6, 7, 9], "onli": [3, 4, 6, 7, 8, 9], "two": [3, 5, 6, 7, 8, 9], "kei": 3, "locat": [3, 5, 6, 7, 8], "must": 3, "number": [3, 5, 7, 8, 9], "indic": [3, 7], "over": [3, 8], "slice": [3, 4, 10], "well": [3, 6, 8], "output": [3, 4, 5, 7, 8, 9], "slices_list": 3, "ignor": 3, "variabl": [3, 6, 9], "replac": 3, "attribut": [3, 6, 7, 8], "extra": [3, 6], "argument": [3, 6, 8], "pass": [3, 4, 6, 8, 9], "result": [3, 6, 8, 9, 10], "reduc": [3, 7], "force_numpi": 3, "concaten": 3, "forc": 3, "alreadi": 3, "analysi": [3, 8], "requir": [3, 4, 7, 8, 9, 10], "previou": 3, "Will": 3, "immedi": 3, "multiscal": [3, 6, 8, 9], "appli": 3, "write": [3, 4, 7, 8, 9, 10], "multilevel": 3, "non": [3, 7], "zero": [3, 7, 9], "which": [3, 4, 5, 6, 7, 8, 9], "select_column": 3, "col": 3, "perform": [3, 8], "column": 3, "select": 3, "2d": [3, 5, 7], "sum": [3, 9], "keepdim": 3, "to_dask_arrai": 3, "represent": 3, "empti": [3, 8, 9], "creat": [3, 4, 6, 7, 8, 9], "temporari": [3, 4, 6, 7, 8, 10], "you": [3, 4, 6, 7, 8, 9, 10], "want": [3, 6, 7, 8, 9], "repeat": 3, "to_dict_block_index_slic": 3, "to_numpy_arrai": 3, "name": [3, 4, 6, 7], "modul": [3, 8, 9], "qualnam": 3, "start": [3, 4, 7, 9], "boundari": 3, "possibl": 3, "numpy_arrai": 3, "dask_arrai": 3, "read": [4, 7, 10], "load_dask_array_from_path": [4, 6, 10], "directli": [4, 6, 7, 8], "altern": 4, "load_zarr_group_from_path": [4, 6, 10], "group": [4, 6], "mode": [4, 6, 9], "from_zarr": 4, "would": [4, 8, 9], "like": [4, 6, 7, 9], "zip": [4, 6], "directori": [4, 6, 7, 8, 10], "write_ome_zarr_imag": [4, 6, 10], "onto": [4, 7], "disk": [4, 7, 9], "use_zip": [4, 6], "level": [4, 6, 8], "folder": [4, 6, 7, 8], "r": [4, 6], "treat": [4, 8], "determin": [4, 7, 9], "default": [4, 8, 9], "entir": [4, 6], "correspond": 4, "compar": 4, "allow": [4, 6, 8, 9], "channel": [4, 6], "queri": 4, "string": [4, 6], "syntax": [4, 6], "idea": [4, 6, 8], "thank": 4, "davi": [4, 6], "bennett": [4, 6], "thread": [4, 8, 9], "http": 4, "forum": 4, "sc": 4, "t": [4, 8], "97798": 4, "exampl": [4, 8, 9], "200": [4, 6], "1000": [4, 6], "arr_origin": [4, 6], "arr1": [4, 6], "arr2": [4, 6], "100": [4, 6], "arr3": [4, 6], "500": [4, 6], "essenti": 4, "python": [4, 6, 9], "multi": [4, 6, 8, 9], "index": 4, "done": [4, 6, 8], "effect": 4, "torch": [4, 6], "ome_zarr_path": 4, "tmp_path": [4, 8, 9], "da_arr": 4, "lbl_arr": 4, "lbl_name": 4, "make_zip": 4, "max_lay": 4, "log": [4, 7, 10], "lbl_storage_opt": 4, "due": [4, 6], "doe": [4, 6, 7, 8, 9], "support": [4, 6, 7, 8, 9], "temp": 4, "after": [4, 6, 7, 8, 9], "why": [4, 5, 6, 7], "target": [4, 6], "store": [4, 6, 8], "under": [4, 7, 8, 9], "base": [4, 8, 9], "suffix": [4, 6], "maximum": [4, 6, 8], "layer": [4, 6], "down": [4, 8, 9], "sampl": 4, "print": [4, 9], "messag": [4, 9], "job": 4, "end": [4, 6, 8], "q": 5, "baseclass": 5, "segprocess": [5, 9, 10], "blocktoblockprocess": 5, "my": [5, 9], "own": 5, "pipelin": [5, 9, 10], "should": [5, 6, 8, 9], "subclass": [5, 7, 8, 9], "wrapper": 5, "around": 5, "code": [5, 6, 8, 9], "whose": 5, "centroid": [5, 8], "built": [5, 10], "binari": [5, 8], "segment": [5, 6, 9, 10], "ordin": [5, 8], "section": [5, 8], "mask": [5, 6, 8], "instanc": [5, 6, 7, 8], "integ": [5, 6], "where": [5, 6, 7, 8, 9], "cell": [5, 7, 10], "count": [5, 10], "describ": [5, 7, 9], "meta": [5, 6, 9], "inform": 5, "about": [5, 6, 7], "summar": 5, "statist": 5, "oridn": 5, "other": [5, 9, 10], "step": [5, 7, 8, 9], "adapt": 5, "data": [5, 8, 9], "adequ": 5, "classif": 5, "napari": [6, 7, 8, 9, 10], "command": [6, 9], "widget": 6, "button": 6, "bottom": 6, "left": 6, "corner": 6, "window": [6, 9], "3": [6, 7, 8, 9], "invok": 6, "add": [6, 8, 9, 10], "more": [6, 7, 8, 9], "To": [6, 7, 8, 9], "wai": [6, 7, 8], "cvpl_tool": [6, 8, 9], "import": [6, 8, 9], "napari_add_ome_zarr": 6, "subarrai": 6, "viewer": [6, 7, 8, 9, 10], "absolut": 6, "your": [6, 8, 9], "kwarg": 6, "displayed_name_in_ui": 6, "new": [6, 7, 8], "displai": [6, 7, 8, 9], "underli": 6, "implement": [6, 7, 8], "add_imag": [6, 8], "set": [6, 8, 10], "regardless": [6, 9], "its": [6, 7], "both": [6, 7, 9], "standard": 6, "cvpl_zarr": 6, "add_ome_zarr_group_from_path": 6, "addit": 6, "dictionari": 6, "googl": 6, "cloud": [6, 10], "follow": [6, 7, 8, 9], "gcsf": 6, "gf": 6, "gcsfilesystem": 6, "token": 6, "get_mapp": 6, "path_to_your": 6, "zarr_group": 6, "is_label": [6, 8], "via": 6, "boolean": 6, "whether": [6, 7], "add_label": [6, 8], "segmentaion": 6, "distinct": 6, "color": 6, "similarli": [6, 7], "multipl": 6, "befor": [6, 8, 9], "talk": 6, "need": [6, 7, 8, 9], "understand": [6, 7, 8], "structur": [6, 9], "basic": [6, 7, 8], "what": [6, 7, 8], "look": [6, 7, 8, 9], "linux": 6, "origin": 6, "x": 6, "zarrai": 6, "downsampl": [6, 8], "4": [6, 8], "smallest": 6, "zattr": 6, "zgroup": 6, "abov": [6, 7, 9], "denot": [6, 8], "collaps": 6, "expand": 6, "few": [6, 8], "thing": 6, "here": [6, 7, 8, 9], "multisc": 6, "confus": 6, "crash": 6, "forget": 6, "subfold": [6, 7], "except": [6, 9], "root": [6, 7, 8, 9], "zipstor": 6, "featur": [6, 9], "individu": 6, "without": [6, 7, 9], "unpack": 6, "howev": [6, 9], "lack": [6, 8], "librari": [6, 7, 8, 9], "hpc": [6, 9], "system": [6, 7, 9], "canada": [6, 9], "better": [6, 8], "larg": [6, 8, 9], "than": [6, 8], "mani": [6, 7, 8, 9], "small": [6, 8], "thu": 6, "somewher": 6, "As": [6, 8], "time": [6, 7, 8, 9], "2024": 6, "8": 6, "14": 6, "writer": 6, "issu": [6, 7, 8, 9], "patch": 6, "our": [6, 8, 9], "ve": [6, 9], "ad": [6, 8, 9], "also": [6, 8, 9], "see": [6, 8, 9], "page": [6, 8, 9], "io": [6, 10], "py": [6, 9, 10], "how": [6, 8, 9, 10], "task": [6, 9], "respect": 6, "y": 6, "z": 6, "conveni": [6, 8, 9], "load_ome_zarr_array_from_path": 6, "much": [6, 9], "discuss": [6, 8], "do": [6, 8, 9], "commonli": 6, "script": [6, 8, 10], "run": [6, 7, 9, 10], "in_channel": 6, "With": [6, 9], "sub": [6, 7, 9], "region": [6, 7, 8], "crop": 6, "some": [7, 8, 9], "intermedi": [7, 8, 9], "discard": [7, 9], "onc": [7, 8, 9], "think": 7, "encount": [7, 9], "long": [7, 8], "workflow": [7, 8], "densiti": [7, 8], "scan": 7, "up": [7, 8, 10], "expect": [7, 8], "so": [7, 9], "heatmap": 7, "graphic": 7, "show": [7, 8, 9], "final": [7, 8, 9], "got": 7, "text": [7, 9], "consol": 7, "redo": [7, 9], "error": 7, "occur": 7, "out": [7, 8], "caus": [7, 8, 9], "rather": 7, "difficult": 7, "went": 7, "wrong": 7, "aid": 7, "debug": [7, 8, 9], "veri": [7, 8], "help": [7, 8], "identifi": [7, 8], "friendli": 7, "headach": 7, "risk": 7, "unknown": 7, "come": [7, 8], "difficulti": 7, "distribut": [7, 8, 9], "environ": 7, "strategi": [7, 9], "overcom": 7, "insid": [7, 9], "tree": 7, "node": 7, "children": 7, "txt": [7, 9], "graph": 7, "plot": 7, "interfac": 7, "detail": 7, "below": [7, 8, 9], "everi": [7, 9], "imf": [7, 8, 9], "f": [7, 8, 9, 10], "remove_when_don": [7, 8, 9], "read_if_exist": [7, 8, 9], "temp_directori": [7, 8, 9], "cache_dir": 7, "cache_subdir": [7, 9], "cid": [7, 8, 9], "test": [7, 8], "dir_cache_test": 7, "dir": [7, 9], "persist": [7, 8, 9], "next": [7, 8], "program": [7, 9], "exist": [7, 8, 9], "ones": 7, "pure": 7, "delet": 7, "finish": [7, 8], "make": [7, 8, 9], "cachepath": 7, "otherwis": 7, "know": [7, 8, 9, 10], "anew": 7, "sub_cache_path": 7, "cache_subpath": [7, 9], "subpath1": 7, "leaf": 7, "sub_cache_dir": 7, "subdir1": 7, "even": [7, 9], "though": [7, 9], "most": [7, 8], "often": [7, 8], "point": [7, 8], "struct": 7, "parent": [7, 9], "pointer": 7, "refer": 7, "design": [7, 8], "flexibl": 7, "decid": 7, "equival": 7, "subpath2": 7, "cptr": [7, 8], "subpath": [7, 8], "subdir2": 7, "subdir": 7, "It": [7, 8], "seem": [7, 9], "unnecessari": 7, "just": [7, 8], "defer": 7, "decis": 7, "child": 7, "handi": 7, "caller": 7, "care": 7, "def": [7, 8, 9], "im": [7, 8, 9, 10], "cache_path": [7, 8, 9], "abs_path": [7, 8, 9], "im2": 7, "plus_on": 7, "im3": 7, "times_thre": 7, "input_im": 7, "second": [7, 9], "cacherootdirecotri": 7, "recurs": 7, "take": [7, 8, 9], "is_dir": 7, "_": 7, "is_tmp": 7, "There": [7, 8], "noth": [7, 8], "fanci": 7, "happen": [7, 9], "mechan": 7, "quit": 7, "simpl": [7, 8, 9], "place": [7, 8, 10], "last": 7, "were": 7, "manual": 7, "remov": [7, 8], "dure": 7, "re": [7, 9], "chang": [7, 8, 9], "part": [7, 8], "again": [7, 8], "recomput": 7, "them": [7, 8, 9], "automat": [7, 9], "receiv": 7, "bring": 7, "calle": 7, "separ": [7, 8, 9], "duplic": 7, "twice": 7, "becaus": 7, "speedup": 7, "readabl": 7, "flat": [7, 8], "scheme": 7, "suitabl": [7, 8], "rechunk": 7, "back": [7, 8, 9], "memori": [7, 9], "slower": 7, "usual": [7, 9], "big": 7, "lightsheet": [8, 9], "microscopi": 8, "mous": [8, 9], "brain": 8, "produc": [8, 9], "sever": 8, "hundr": 8, "gb": 8, "necessari": 8, "trackabl": 8, "choos": 8, "project": 8, "research": 8, "autom": 8, "visibl": 8, "pixel": 8, "obtain": 8, "find": [8, 10], "give": [8, 9], "accur": 8, "incom": 8, "volum": 8, "abl": 8, "quickli": 8, "On": 8, "consist": 8, "rel": 8, "dataset": 8, "larger": 8, "hard": 8, "ten": 8, "minut": 8, "hour": 8, "rerun": 8, "seg_process": [8, 9, 10], "u": 8, "interpret": 8, "cach": [8, 9, 10], "consid": 8, "3d": 8, "bright": 8, "cell_count": 8, "block3d": 8, "threshold": 8, "mark": 8, "inst": 8, "instance_segment": 8, "contour": 8, "cell_cnt": 8, "count_inst": 8, "bug": 8, "unexpectedli": 8, "becom": 8, "problem": [8, 9], "sinc": [8, 9], "don": 8, "three": 8, "did": 8, "reason": 8, "ideal": 8, "visual": [8, 10], "etc": 8, "sure": [8, 9], "costli": 8, "address": 8, "integr": 8, "cachedirectori": [8, 10], "cvpl": 8, "ndblock": [8, 10], "particular": 8, "forward": 8, "By": 8, "easier": 8, "Then": 8, "hierarch": [8, 9], "now": [8, 9, 10], "build": 8, "break": 8, "IN": [8, 9], "b": [8, 9], "o": [8, 9], "cc": 8, "np": [8, 9], "float32": 8, "between": 8, "min": 8, "max": 8, "uint8": [8, 9], "int32": 8, "float64": 8, "estim": 8, "float": 8, "choic": 8, "One": 8, "simpli": 8, "rest": [8, 9], "background": 8, "anoth": 8, "train": 8, "machin": 8, "learn": [8, 10], "connect": 8, "watersh": 8, "finner": 8, "perhap": 8, "seper": 8, "found": [8, 9], "abstract": 8, "four": 8, "reus": 8, "variat": 8, "plan": 8, "model_predict": 8, "direct_inst_segment": 8, "watershed_inst_segment": 8, "cell_cnt_from_inst": 8, "go": [8, 10], "actual": 8, "recommend": 8, "although": 8, "argu": 8, "oop": 8, "mean": [8, 9], "viewer_arg": [8, 9], "set_tmpdir": 8, "cacherootdirectori": [8, 9, 10], "close": [8, 9], "within": 8, "self": 8, "tmpdir": 8, "cache_im": 8, "examplesegprocess": 8, "cachepoint": [8, 10], "makedir": [8, 9], "compute_result": 8, "lc_interpretable_napari": 8, "while": 8, "lambda": 8, "ndisplai": [8, 9], "skip": [8, 9], "preferred_chunks": 8, "4096": 8, "chunksiz": 8, "els": 8, "root_dir": 8, "flatter": 8, "fast": 8, "cross": 8, "zoom": 8, "boilerpl": 8, "cluster": [8, 10], "setup": [8, 10], "__name__": [8, 9], "__main__": [8, 9], "main": [8, 9], "worker": [8, 9], "client": [8, 9], "config": [8, 9], "temporary_directori": [8, 9], "threads_per_work": [8, 9], "12": [8, 9], "n_worker": [8, 9], "load_im": 8, "cell_count_cach": 8, "At": 8, "prefer": 8, "through": 8, "__init__": 8, "relat": 8, "faster": 8, "configur": 9, "util": 9, "brief": 9, "descript": 9, "multithread": 9, "fit": 9, "written": 9, "scratch": 9, "enough": 9, "quickstart": 9, "post": 9, "initi": 9, "modifi": 9, "simplest": 9, "guid": 9, "tmp": 9, "TO": 9, "FOR": 9, "6": 9, "item": 9, "9": 9, "line": 9, "ensur": 9, "execut": 9, "creation": 9, "spawn": 9, "exactli": 9, "top": [9, 10], "guard": 9, "statement": 9, "present": 9, "lead": 9, "infinit": 9, "loop": 9, "complic": 9, "stem": 9, "add_ome_zarr_array_from_path": 9, "avail": 9, "fetch": 9, "drag": 9, "navig": 9, "across": 9, "typic": 9, "speed": 9, "slow": 9, "lag": 9, "solut": 9, "solv": 9, "itself": 9, "too": 9, "resourc": 9, "freed": 9, "had": 9, "right": 9, "echo": 9, "stdout": 9, "stderr": 9, "logfil": 9, "accident": 9, "dprint": 9, "logfile_stdout": 9, "log_stdout": 9, "w": 9, "logfile_stderr": 9, "log_stderr": 9, "sy": 9, "multioutputstream": 9, "map_fn": 9, "access": 9, "later": 9, "fix": 9, "manag": 9, "assign": 9, "id": 9, "belong": 9, "act": 9, "model": 9, "some_cache_path": 9, "exists_ok": 9, "put": 9, "multi_step_comput": 9, "cache_at": 9, "computea": 9, "cache_path_b": 9, "computebfroma": 9, "sub_temp_directori": 9, "mult_step_cach": 9, "sort": 9, "complex": 9, "broken": 9, "smaller": 9, "simpler": 9, "amount": 9, "tear": 9, "bother": 9, "quick": 9, "local": [9, 10], "pretti": 9, "bare": 9, "bone": 9, "custom": 9, "qsetup": 9, "those": 9, "captur": 9, "c": 9, "programmingtool": 9, "computervis": 9, "robartsresearch": 9, "plcompon": 9, "client_arg": 9, "use_view": 9, "plc": 9, "AND": 9, "anyon": 9, "witht": 9, "pleas": 9, "let": [9, 10], "me": [9, 10], "tool": 10, "scipi": 10, "scikit": 10, "These": 10, "pip": 10, "depend": 10, "version": 10, "spimquant": 10, "conflict": 10, "instal": 10, "pyqt": 10, "pyside2": 10, "gettingstart": 10, "ome_zarr": 10, "quicker": 10, "motiv": 10, "microscop": 10, "atla": 10, "extend": 10, "overview": 10, "tip": 10, "bs_to_o": 10, "lc_to_cc": 10, "os_to_cc": 10, "os_to_lc": 10, "any_to_ani": 10, "alg": 10}, "objects": {"cvpl_tools.im.ndblock": [[3, 0, 1, "", "NDBlock"], [3, 0, 1, "", "ReprFormat"]], "cvpl_tools.im.ndblock.NDBlock": [[3, 1, 1, "", "as_dask_array"], [3, 1, 1, "", "get_chunksize"], [3, 1, 1, "", "is_numpy"], [3, 1, 1, "", "load"], [3, 1, 1, "", "map_ndblocks"], [3, 1, 1, "", "reduce"], [3, 1, 1, "", "save"], [3, 1, 1, "", "select_columns"], [3, 1, 1, "", "sum"], [3, 1, 1, "", "to_dask_array"], [3, 1, 1, "", "to_dict_block_index_slices"], [3, 1, 1, "", "to_numpy_array"]], "cvpl_tools.ome_zarr.io": [[4, 2, 1, "", "load_dask_array_from_path"], [4, 2, 1, "", "load_zarr_group_from_path"], [4, 2, 1, "", "write_ome_zarr_image"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"]}, "titleterms": {"cvpl_tool": [0, 1, 2, 3, 4, 5, 10], "im": [0, 1, 3, 5], "alg": 0, "f": 1, "py": [1, 2, 3, 4, 5], "ome_zarr": [2, 4, 6], "napari": 2, "add": 2, "ndblock": 3, "io": 4, "seg_process": 5, "bs_to_o": 5, "lc_to_cc": 5, "os_to_cc": 5, "os_to_lc": 5, "any_to_ani": 5, "view": 6, "om": 6, "zarr": 6, "file": [6, 7], "read": 6, "write": 6, "specifi": 6, "slice": 6, "path": 6, "result": 7, "cach": 7, "overview": 7, "cacherootdirectori": 7, "cachedirectori": [7, 9], "cachepoint": 7, "find": 7, "tip": 7, "segment": 8, "pipelin": 8, "motiv": 8, "microscop": 8, "cell": 8, "count": 8, "atla": 8, "map": 8, "object": 8, "The": 8, "segprocess": 8, "class": 8, "extend": 8, "run": 8, "set": 9, "up": 9, "script": 9, "dask": 9, "cluster": 9, "temporari": 9, "directori": 9, "log": 9, "setup": 9, "A": 9, "quicker": 9, "introduct": 10, "document": 10, "content": 10, "api": 10, "refer": 10}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 58}, "alltitles": {"cvpl_tools/im/algs": [[0, "cvpl-tools-im-algs"]], "cvpl_tools/im/fs.py": [[1, "cvpl-tools-im-fs-py"]], "cvpl_tools/ome_zarr/napari/add.py": [[2, "cvpl-tools-ome-zarr-napari-add-py"]], "cvpl_tools/im/ndblock.py": [[3, "cvpl-tools-im-ndblock-py"]], "cvpl_tools/ome_zarr/io.py": [[4, "cvpl-tools-ome-zarr-io-py"]], "cvpl_tools/im/seg_process.py": [[5, "cvpl-tools-im-seg-process-py"]], "bs_to_os": [[5, "bs-to-os"]], "lc_to_cc": [[5, "lc-to-cc"]], "os_to_cc": [[5, "os-to-cc"]], "os_to_lc": [[5, "os-to-lc"]], "any_to_any": [[5, "any-to-any"]], "OME_ZARR": [[6, "ome-zarr"]], "Viewing of ome zarr file": [[6, "viewing-of-ome-zarr-file"]], "Reading and Writing ome zarr files": [[6, "reading-and-writing-ome-zarr-files"]], "Specifying slices in path": [[6, "specifying-slices-in-path"]], "Result Caching": [[7, "result-caching"]], "Overview": [[7, "overview"]], "CacheRootDirectory": [[7, "cacherootdirectory"]], "CacheDirectory": [[7, "cachedirectory"], [9, "cachedirectory"]], "CachePointer": [[7, "cachepointer"]], "Finding Cached Files": [[7, "finding-cached-files"]], "Tips": [[7, "tips"]], "Segmentation Pipeline": [[8, "segmentation-pipeline"]], "Motivation: Microscope, Cell Counting, Atlas map and Object Segmentation": [[8, "motivation-microscope-cell-counting-atlas-map-and-object-segmentation"]], "The SegProcess Class": [[8, "the-segprocess-class"]], "Extending the Pipeline": [[8, "extending-the-pipeline"]], "Running the Pipeline": [[8, "running-the-pipeline"]], "Setting Up the Script": [[9, "setting-up-the-script"]], "Dask Cluster and temporary directory": [[9, "dask-cluster-and-temporary-directory"]], "Dask Logging Setup": [[9, "dask-logging-setup"]], "A Quicker Setup": [[9, "a-quicker-setup"]], "Introduction - cvpl_tools documentation": [[10, "introduction-cvpl-tools-documentation"]], "Contents:": [[10, null]], "API Reference": [[10, null]]}, "indexentries": {"ndblock (class in cvpl_tools.im.ndblock)": [[3, "cvpl_tools.im.ndblock.NDBlock"]], "reprformat (class in cvpl_tools.im.ndblock)": [[3, "cvpl_tools.im.ndblock.ReprFormat"]], "as_dask_array() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.as_dask_array"]], "get_chunksize() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.get_chunksize"]], "is_numpy() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.is_numpy"]], "load() (cvpl_tools.im.ndblock.ndblock static method)": [[3, "cvpl_tools.im.ndblock.NDBlock.load"]], "map_ndblocks() (cvpl_tools.im.ndblock.ndblock static method)": [[3, "cvpl_tools.im.ndblock.NDBlock.map_ndblocks"]], "reduce() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.reduce"]], "save() (cvpl_tools.im.ndblock.ndblock static method)": [[3, "cvpl_tools.im.ndblock.NDBlock.save"]], "select_columns() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.select_columns"]], "sum() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.sum"]], "to_dask_array() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.to_dask_array"]], "to_dict_block_index_slices() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.to_dict_block_index_slices"]], "to_numpy_array() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.to_numpy_array"]], "load_dask_array_from_path() (in module cvpl_tools.ome_zarr.io)": [[4, "cvpl_tools.ome_zarr.io.load_dask_array_from_path"]], "load_zarr_group_from_path() (in module cvpl_tools.ome_zarr.io)": [[4, "cvpl_tools.ome_zarr.io.load_zarr_group_from_path"]], "write_ome_zarr_image() (in module cvpl_tools.ome_zarr.io)": [[4, "cvpl_tools.ome_zarr.io.write_ome_zarr_image"]]}})
\ No newline at end of file
+Search.setIndex({"docnames": ["API/algs", "API/imfs", "API/napari_zarr", "API/ndblock", "API/ome_zarr_io", "API/seg_process", "GettingStarted/ome_zarr", "GettingStarted/result_caching", "GettingStarted/segmentation_pipeline", "GettingStarted/setting_up_the_script", "index"], "filenames": ["API/algs.rst", "API/imfs.rst", "API/napari_zarr.rst", "API/ndblock.rst", "API/ome_zarr_io.rst", "API/seg_process.rst", "GettingStarted/ome_zarr.rst", "GettingStarted/result_caching.rst", "GettingStarted/segmentation_pipeline.rst", "GettingStarted/setting_up_the_script.rst", "index.rst"], "titles": ["cvpl_tools/im/algs", "cvpl_tools/im/fs.py", "cvpl_tools/ome_zarr/napari/add.py", "cvpl_tools/im/ndblock.py", "cvpl_tools/ome_zarr/io.py", "cvpl_tools/im/seg_process.py", "OME_ZARR", "Result Caching", "Segmentation Pipeline", "Setting Up the Script", "Introduction - cvpl_tools documentation"], "terms": {"thi": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10], "subdirectori": [0, 8], "defin": [0, 5, 8, 9, 10], "relev": 0, "algorithm": [0, 5, 7, 8], "parallel": [0, 8], "process": [0, 5, 7, 8, 9, 10], "nd": 0, "imag": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "api": [0, 1, 2, 3, 4, 5, 6, 8, 9], "dask_label": 0, "label": [0, 2, 4, 5, 6, 10], "ndarrai": [0, 1, 3, 5], "ani": [0, 1, 3, 5, 6, 9], "dtype": [0, 3, 5, 9], "_scalartype_co": [0, 3, 5], "arrai": [0, 1, 3, 4, 5, 6, 8, 9], "ndblock": [0, 1, 5, 8, 10], "cptr": [0, 5, 7, 8], "cachepoint": [0, 1, 5, 8, 10], "output_dtyp": 0, "none": [0, 1, 3, 4, 5, 6, 8, 9], "viewer_arg": [0, 1, 5, 8, 9], "dict": [0, 1, 3, 4, 5, 6, 8, 9], "return": [0, 1, 3, 4, 5, 7, 8, 9], "lbl_im": 0, "nlbl": 0, "where": [0, 1, 5, 6, 7, 8, 9], "i": [0, 1, 3, 4, 5, 6, 7, 8, 9], "global": 0, "same": [0, 1, 3, 5, 6, 7, 9, 10], "type": [0, 1, 3, 4, 5, 6, 8], "chunk": [0, 1, 3, 5, 6, 7, 8, 9], "size": [0, 1, 3, 5, 8], "input": [0, 3, 5, 6, 8, 9], "view": [1, 2, 3, 4, 5, 10], "sourc": [1, 2, 3, 4, 5], "save": [1, 3, 6, 7, 8, 9, 10], "file": [1, 2, 3, 4, 8, 9, 10], "str": [1, 3, 4, 5], "storage_opt": [1, 3, 4], "an": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "object": [1, 3, 5, 6, 7, 9, 10], "given": [1, 3, 5], "path": [1, 2, 3, 4, 7, 8, 9, 10], "support": [1, 4, 6, 7, 8, 9], "np": [1, 5, 8, 9], "dask": [1, 3, 4, 5, 6, 7, 8, 10], "storag": [1, 3, 6], "option": [1, 3, 4, 6, 8], "preferred_chunks": [1, 8], "tupl": [1, 3, 5, 9], "int": [1, 3, 4, 5], "rechunk": [1, 7], "differ": [1, 3, 4, 5, 8, 9], "from": [1, 3, 4, 5, 6, 7, 8, 9], "current": [1, 3, 5, 9], "onli": [1, 3, 4, 6, 7, 8, 9], "appli": [1, 3, 5], "multiscal": [1, 3, 6, 8, 9], "0": [1, 3, 4, 5, 6, 8], "The": [1, 3, 4, 5, 6, 7, 9, 10], "number": [1, 3, 5, 7, 8, 9], "downsampl": [1, 5, 6, 8], "layer": [1, 4, 5, 6], "om": [1, 2, 4, 7, 8, 9, 10], "zarr": [1, 2, 4, 7, 8, 9, 10], "compressor": [1, 3], "us": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "compress": [1, 3], "paramet": [1, 3, 4, 5, 8], "full": 1, "rel": [1, 8], "directori": [1, 4, 5, 6, 7, 8, 10], "specifi": [1, 3, 4, 5, 7, 8, 10], "method": [1, 3, 8], "format": [1, 3, 6, 7, 8], "load": [1, 3, 4, 6, 7, 8, 9, 10], "one": [1, 3, 4, 5, 6, 7, 8, 9, 10], "read": [1, 4, 7, 10], "recreat": 1, "attempt": 1, "keep": 1, "meta": [1, 5, 6, 9], "content": [1, 3], "stai": 1, "when": [1, 3, 4, 5, 6, 7, 8, 9], "thei": [1, 3, 5, 7, 8, 9], "ar": [1, 3, 5, 6, 7, 8, 9, 10], "displai": [1, 5, 6, 7, 8, 9, 10], "viewer": [1, 5, 6, 7, 8, 9, 10], "numpi": [1, 3, 4, 5, 6, 8, 9, 10], "contain": [1, 3, 5, 6, 7, 9], "argument": [1, 3, 5, 6, 8], "pass": [1, 3, 4, 6, 8, 9], "": [1, 2, 3, 5, 6, 7, 8, 9], "add": [1, 5, 6, 8, 9, 10], "function": [1, 3, 4, 5, 6, 7, 8, 9], "class": [1, 3, 5, 6, 7, 9, 10], "cachepath": [1, 7, 10], "root": [1, 6, 7, 8, 9], "cacherootdirectori": [1, 8, 9, 10], "path_seg": 1, "parent": [1, 7, 9], "cachedirectori": [1, 8, 10], "exist": [1, 7, 8, 9], "bool": [1, 3, 4, 5], "fals": [1, 3, 4, 5, 6, 7, 8, 9], "rdirfilesystem": 1, "A": [1, 3, 5, 6, 7, 10], "pointer": [1, 7], "cach": [1, 5, 8, 9, 10], "locat": [1, 3, 5, 6, 7, 8], "within": [1, 8], "hierarch": [1, 8, 9], "structur": [1, 6, 9], "two": [1, 3, 5, 6, 7, 8, 9], "implement": [1, 6, 7, 8], "program": [1, 7, 9], "pattern": 1, "subclass": [1, 5, 7, 8, 9], "zero": [1, 3, 7, 9], "more": [1, 5, 6, 7, 8, 9], "its": [1, 6, 7], "children": [1, 7], "To": [1, 6, 7, 8, 9], "creat": [1, 4, 6, 7, 8, 9], "alloc": 1, "new": [1, 6, 7, 8], "find": [1, 8, 10], "name": [1, 3, 4, 5, 6, 7], "suggest": 1, "folder": [1, 4, 6, 7, 8], "associ": [1, 2, 5], "automat": [1, 7, 9], "properti": [1, 3], "abs_path": [1, 7, 8, 9], "obtain": [1, 8], "absolut": [1, 6], "first": [1, 3, 5, 6, 7, 8], "time": [1, 6, 7, 8, 9], "url": 1, "suppos": 1, "empti": [1, 8, 9], "can": [1, 2, 3, 4, 6, 7, 8, 9, 10], "address": [1, 8], "store": [1, 4, 6, 8], "afterward": 1, "next": [1, 7, 8], "app": 1, "start": [1, 3, 4, 7, 9], "filenam": 1, "last": [1, 7], "segment": [1, 5, 6, 9, 10], "typic": [1, 9], "cid": [1, 5, 7, 8, 9], "prepend": 1, "is_dir": [1, 7], "is_tmp": [1, 7], "inform": [1, 5], "do": [1, 5, 6, 8, 9], "call": [1, 2, 8, 9], "static": [1, 3], "filename_form_meta": 1, "dictionari": [1, 6], "string": [1, 4, 6], "true": [1, 3, 4, 5, 6, 7, 8, 9], "instead": [1, 4, 5, 6, 7], "In": [1, 3, 4, 7, 8, 9], "other": [1, 5, 9, 10], "word": 1, "leaf": [1, 7], "node": [1, 7], "meta_from_filenam": 1, "return_none_if_malform": 1, "retriev": [1, 3], "plan": [1, 8], "If": [1, 2, 3, 4, 5, 6, 8, 9, 10], "throw": 1, "error": [1, 7], "malform": 1, "rel_path": 1, "o": [1, 8, 9], "remove_when_don": [1, 7, 8, 9], "read_if_exist": [1, 7, 8, 9], "correspond": [1, 4, 5], "similar": [1, 3, 4, 6], "_create_cach": 1, "intermedi": [1, 7, 8, 9], "offset": 1, "decis": [1, 7], "often": [1, 7, 8], "we": [1, 3, 4, 6, 7, 8, 9], "which": [1, 3, 4, 5, 6, 7, 8, 9], "result": [1, 3, 5, 6, 8, 9, 10], "singl": [1, 2, 3, 5, 6, 7, 8], "prefer": [1, 8], "make": [1, 5, 7, 8, 9], "befor": [1, 5, 6, 8, 9], "inappropri": 1, "avoid": [1, 7], "struct": [1, 7], "desir": 1, "either": [1, 3, 4, 6, 8], "itself": [1, 9], "cache_im": [1, 8], "fn": [1, 3], "cache_level": 1, "float": [1, 5, 8], "comput": [1, 3, 5, 6, 7, 8, 9], "alreadi": [1, 3], "id": [1, 5, 9], "level": [1, 4, 6, 8], "oper": 1, "note": [1, 3, 6, 7, 8, 10], "even": [1, 7, 9], "skip": [1, 8, 9], "avail": [1, 9], "disk": [1, 4, 7, 9], "still": 1, "cache_subdir": [1, 7, 9], "wrapper": [1, 5], "see": [1, 6, 8, 9], "doc": 1, "cache_subpath": [1, 7, 9], "children_from_path": 1, "prefix_path_seg": 1, "examin": 1, "recurs": [1, 7], "all": [1, 3, 7, 8, 9], "prefix": 1, "found": [1, 5, 8, 9], "under": [1, 4, 5, 7, 8, 9], "json": 1, "map": [1, 3, 10], "determin": [1, 4, 7, 9], "remove_tmp": 1, "travers": 1, "subnod": 1, "self": [1, 5, 8], "remov": [1, 7, 8], "those": [1, 9], "For": [2, 3, 4, 5, 7, 8, 9], "subarray_from_path": 2, "gener": [2, 3, 5, 7], "ha": [2, 3, 6, 8], "image_ome_zarr": 2, "label_nam": [2, 6], "open": [2, 4, 6, 9], "togeth": [2, 5], "group_from_path": 2, "arr": [3, 9], "repres": [3, 7, 8], "n": [3, 5, 8], "dimension": [3, 8], "grid": 3, "each": [3, 5, 6, 7, 8], "block": [3, 5, 8, 9], "arbitrari": [3, 8], "shape": [3, 4, 5, 6], "1": [3, 4, 5, 6, 7, 8, 9], "ax": 3, "match": [3, 7, 8], "case": [3, 4, 5, 6, 7, 8, 9], "vari": 3, "e": [3, 4, 8], "g": [3, 4, 6, 8], "2": [3, 4, 5, 6, 7, 8, 9], "mai": [3, 5, 6, 7, 8, 9], "neighbor": [3, 5], "5": [3, 5], "10": [3, 5], "assum": [3, 4], "block_index": [3, 5], "list": [3, 5], "alwai": [3, 7], "order": [3, 5, 7, 9], "m": 3, "increas": 3, "side": [3, 8], "tail": 3, "as_dask_arrai": 3, "get": [3, 5, 7, 8, 9], "copi": [3, 4], "valu": [3, 6, 9], "persist": [3, 7, 8, 9], "convert": [3, 5, 8], "get_chunks": 3, "axi": [3, 6], "length": [3, 5], "ndim": [3, 5], "is_numpi": 3, "besid": 3, "reprformat": [3, 10], "dict_block_index_slic": 3, "have": [3, 4, 6, 7, 8, 9], "delai": 3, "former": 3, "latter": 3, "opiton": 3, "includ": 3, "port_protocol": 3, "guarante": 3, "map_ndblock": 3, "sequenc": [3, 5, 8], "callabl": [3, 5], "out_dtyp": [3, 5], "use_input_index_as_arrloc": 3, "new_slic": 3, "fn_arg": 3, "da": [3, 8, 9], "map_block": [3, 9], "work": [3, 5, 6, 7, 8, 9], "block_info": [3, 5, 9], "provid": [3, 4, 5, 6, 8, 9, 10], "kei": 3, "must": 3, "indic": [3, 7], "over": [3, 8], "slice": [3, 4, 10], "well": [3, 6, 8], "output": [3, 4, 5, 7, 8, 9], "slices_list": 3, "ignor": 3, "variabl": [3, 6, 9], "replac": 3, "attribut": [3, 6, 7, 8], "extra": [3, 5, 6], "client": [3, 8, 9], "reload": 3, "done": [3, 4, 6, 8], "directli": [3, 4, 6, 7, 8], "reduc": [3, 5, 7], "force_numpi": 3, "concaten": 3, "forc": 3, "analysi": [3, 8], "requir": [3, 4, 7, 8, 9, 10], "previou": 3, "Will": 3, "immedi": 3, "write": [3, 4, 7, 8, 9, 10], "multilevel": 3, "non": [3, 7], "select_column": 3, "col": 3, "perform": [3, 8], "column": 3, "select": 3, "2d": [3, 5, 7], "sum": [3, 9], "keepdim": 3, "to_dask_arrai": 3, "represent": 3, "to_dict_block_index_slic": 3, "to_numpy_arrai": 3, "modul": [3, 8, 9], "qualnam": 3, "boundari": [3, 5], "possibl": 3, "numpy_arrai": 3, "dask_arrai": 3, "load_dask_array_from_path": [4, 6, 10], "altern": 4, "load_zarr_group_from_path": [4, 6, 10], "group": [4, 6], "mode": [4, 6, 9], "from_zarr": 4, "you": [4, 5, 6, 7, 8, 9, 10], "would": [4, 8, 9], "like": [4, 5, 6, 7, 9], "zip": [4, 6], "write_ome_zarr_imag": [4, 6, 10], "onto": [4, 7], "use_zip": [4, 6], "r": [4, 6], "treat": [4, 5, 8], "default": [4, 8, 9], "entir": [4, 6], "compar": 4, "allow": [4, 6, 8, 9], "channel": [4, 6], "queri": 4, "syntax": [4, 6], "idea": [4, 6, 8], "thank": 4, "davi": [4, 6], "bennett": [4, 6], "thread": [4, 8, 9], "http": 4, "forum": 4, "sc": 4, "t": [4, 8], "97798": 4, "exampl": [4, 8, 9], "200": [4, 6], "1000": [4, 6], "arr_origin": [4, 6], "arr1": [4, 6], "arr2": [4, 6], "100": [4, 5, 6], "arr3": [4, 6], "500": [4, 6], "essenti": 4, "python": [4, 6, 9], "multi": [4, 6, 8, 9], "index": [4, 5], "effect": 4, "torch": [4, 6], "out_ome_zarr_path": 4, "tmp_path": [4, 8, 9], "da_arr": 4, "lbl_arr": 4, "lbl_name": 4, "make_zip": 4, "max_lay": 4, "log": [4, 7, 10], "lbl_storage_opt": 4, "due": [4, 5, 6], "doe": [4, 5, 6, 7, 8, 9], "temp": 4, "after": [4, 6, 7, 8, 9], "why": [4, 5, 6, 7], "target": [4, 6], "temporari": [4, 6, 7, 8, 10], "base": [4, 5, 8, 9], "suffix": [4, 6], "maximum": [4, 6, 8], "down": [4, 5, 8, 9], "sampl": [4, 5], "print": [4, 9], "messag": [4, 9], "job": 4, "end": [4, 6, 8], "q": 5, "baseclass": 5, "segprocess": [5, 9, 10], "blocktoblockprocess": [5, 10], "my": [5, 9], "own": 5, "pipelin": [5, 9, 10], "should": [5, 6, 8, 9], "around": 5, "code": [5, 6, 8, 9], "whose": 5, "centroid": [5, 8], "abstract": [5, 8], "forward": [5, 8], "arg": 5, "kwarg": [5, 6], "just": [5, 7, 8], "step": [5, 7, 8, 9], "visual": [5, 8, 10], "underli": [5, 6], "mechan": [5, 7], "napari": [5, 6, 7, 8, 9, 10], "interpret": [5, 8], "debug": [5, 7, 8, 9], "purpos": 5, "is_label": [5, 6, 8], "compute_chunk_s": 5, "lc_interpretable_napari": [5, 8, 10], "layer_nam": 5, "lc": 5, "extra_featur": 5, "text_color": 5, "green": 5, "featur": [5, 6, 9], "point": [5, 7, 8], "row": 5, "nextra": 5, "dimens": 5, "text": [5, 7, 9], "color": [5, 6], "built": [5, 10], "gaussianblur": [5, 10], "sigma": 5, "bspredictor": [5, 10], "pred_fn": 5, "simplethreshold": [5, 10], "threshold": [5, 8], "blobdog": [5, 10], "min_sigma": 5, "max_sigma": 5, "float32": [5, 8], "sumscaledintens": [5, 10], "scale": 5, "008": 5, "min_thr": 5, "spatial_box_width": 5, "binaryandcentroidlisttoinst": [5, 10], "maxsplit": 5, "instanc": [5, 6, 7, 8], "take": [5, 7, 8, 9], "binari": [5, 8], "mask": [5, 6, 8], "detect": 5, "Then": [5, 8], "split": 5, "pixel": [5, 8], "fine": 5, "closer": 5, "correctli": 5, "bacl_forward": 5, "b": [5, 8, 9], "uint8": [5, 8, 9], "float64": [5, 8], "int32": [5, 8], "ordin": [5, 8], "section": [5, 8], "integ": [5, 6], "directbstoo": 5, "is_glob": 5, "watershed3sizesbstoo": 5, "size_thr": 5, "60": 5, "dist_thr": 5, "rst": 5, "size_thres2": 5, "dist_thres2": 5, "rst2": 5, "cell": [5, 7, 10], "count": [5, 10], "describ": [5, 7, 9], "about": [5, 6, 7], "summar": 5, "statist": 5, "countlcbys": 5, "size_threshold": 5, "25": 5, "volume_weight": 5, "006": 5, "border_param": 5, "3": [5, 6, 7, 8, 9], "min_siz": 5, "sever": [5, 8], "below": [5, 7, 8, 9], "contour": [5, 8], "part": [5, 7, 8], "abov": [5, 6, 7, 9], "seen": 5, "cluster": [5, 8, 10], "estim": [5, 8], "volum": [5, 8], "ncell": 5, "penal": 5, "accord": 5, "distanc": 5, "between": [5, 8], "voxel": 5, "touch": 5, "edg": 5, "penalti": 5, "4": [5, 6, 8], "simpli": [5, 8], "discard": [5, 7, 9], "becaus": [5, 7], "artifact": 5, "cc_list": 5, "os_shap": 5, "assumpt": 5, "nvoxel": 5, "edge_contact": 5, "countlcedgepen": 5, "calcul": 5, "need": [5, 6, 7, 8, 9], "image_shap": 5, "fact": 5, "suffici": 5, "far": 5, "divisor": 5, "becom": [5, 8], "decreas": 5, "toward": 5, "sinc": [5, 8, 9], "doubl": [5, 6], "tripl": 5, "corner": [5, 6], "etc": [5, 8], "d": 5, "element": 5, "scalar": 5, "np_featur": 5, "concat": 5, "left": [5, 6], "oridn": 5, "countosbys": 5, "directostolc": 5, "ex_statist": 5, "origin": [5, 6], "come": [5, 7, 8], "so": [5, 7, 9], "aggregate_by_id": 5, "aggreg": 5, "_ndblock": 5, "adapt": 5, "data": [5, 8, 9], "adequ": 5, "classif": 5, "downsamplingbyintfactor": 5, "factor": 5, "deprec": 5, "alg": [5, 10], "dask_ndinterp": 5, "scale_nearest": 5, "sure": [5, 8, 9], "set": [5, 6, 8, 10], "bright": [5, 8], "rgb": 5, "want": [5, 6, 7, 8, 9], "correspondingli": 5, "tmp": [5, 9], "upsamplingbyintfactor": 5, "upsampl": 5, "up": [5, 7, 8, 10], "np_forward": 5, "command": [6, 9], "widget": 6, "button": 6, "bottom": 6, "window": [6, 9], "invok": 6, "wai": [6, 7, 8], "cvpl_tool": [6, 8, 9], "import": [6, 8, 9], "napari_add_ome_zarr": 6, "subarrai": 6, "your": [6, 8, 9], "displayed_name_in_ui": 6, "add_imag": [6, 8], "regardless": [6, 9], "both": [6, 7, 9], "standard": 6, "cvpl_zarr": 6, "add_ome_zarr_group_from_path": 6, "addit": 6, "googl": 6, "cloud": [6, 10], "follow": [6, 7, 8, 9], "gcsf": 6, "gf": 6, "gcsfilesystem": 6, "token": 6, "get_mapp": 6, "path_to_your": 6, "zarr_group": 6, "via": 6, "boolean": 6, "whether": [6, 7], "add_label": [6, 8], "segmentaion": 6, "distinct": 6, "similarli": [6, 7], "multipl": 6, "talk": 6, "understand": [6, 7, 8], "basic": [6, 7, 8], "what": [6, 7, 8], "look": [6, 7, 8, 9], "linux": 6, "x": 6, "zarrai": 6, "smallest": 6, "zattr": 6, "zgroup": 6, "denot": [6, 8], "collaps": 6, "expand": 6, "few": [6, 8], "thing": 6, "here": [6, 7, 8, 9], "multisc": 6, "confus": 6, "crash": 6, "forget": 6, "subfold": [6, 7], "except": [6, 9], "zipstor": 6, "individu": 6, "without": [6, 7, 9], "unpack": 6, "howev": [6, 9], "lack": [6, 8], "librari": [6, 7, 8, 9], "hpc": [6, 9], "system": [6, 7, 9], "canada": [6, 9], "better": [6, 8], "larg": [6, 8, 9], "than": [6, 8], "mani": [6, 7, 8, 9], "small": [6, 8], "thu": 6, "somewher": 6, "As": [6, 8], "2024": 6, "8": 6, "14": 6, "writer": 6, "issu": [6, 7, 8, 9], "patch": 6, "our": [6, 8, 9], "ve": [6, 9], "ad": [6, 8, 9], "also": [6, 8, 9], "page": [6, 8, 9], "io": [6, 10], "py": [6, 9, 10], "how": [6, 8, 9, 10], "task": [6, 9], "respect": 6, "y": 6, "z": 6, "conveni": [6, 8, 9], "load_ome_zarr_array_from_path": 6, "much": [6, 9], "discuss": [6, 8], "commonli": 6, "script": [6, 8, 10], "run": [6, 7, 9, 10], "in_channel": 6, "With": [6, 9], "sub": [6, 7, 9], "region": [6, 7, 8], "crop": 6, "some": [7, 8, 9], "onc": [7, 8, 9], "think": 7, "encount": [7, 9], "long": [7, 8], "workflow": [7, 8], "densiti": [7, 8], "scan": 7, "expect": [7, 8], "heatmap": 7, "graphic": 7, "show": [7, 8, 9], "final": [7, 8, 9], "got": 7, "consol": 7, "redo": [7, 9], "occur": 7, "out": [7, 8], "caus": [7, 8, 9], "rather": 7, "difficult": 7, "went": 7, "wrong": 7, "aid": 7, "veri": [7, 8], "help": [7, 8], "identifi": [7, 8], "friendli": 7, "headach": 7, "risk": 7, "unknown": 7, "difficulti": 7, "distribut": [7, 8, 9], "environ": 7, "strategi": [7, 9], "overcom": 7, "insid": [7, 9], "tree": 7, "txt": [7, 9], "graph": 7, "plot": 7, "interfac": 7, "detail": 7, "everi": [7, 9], "imf": [7, 8, 9], "f": [7, 8, 9, 10], "temp_directori": [7, 8, 9], "cache_dir": 7, "test": [7, 8], "dir_cache_test": 7, "dir": [7, 9], "ones": 7, "pure": 7, "delet": 7, "finish": [7, 8], "otherwis": 7, "know": [7, 8, 9, 10], "anew": 7, "sub_cache_path": 7, "subpath1": 7, "sub_cache_dir": 7, "subdir1": 7, "though": [7, 9], "most": [7, 8], "refer": 7, "design": [7, 8], "flexibl": 7, "decid": 7, "equival": 7, "subpath2": 7, "subpath": [7, 8], "subdir2": 7, "subdir": 7, "It": [7, 8], "seem": [7, 9], "unnecessari": 7, "defer": 7, "child": 7, "handi": 7, "caller": 7, "care": 7, "def": [7, 8, 9], "im": [7, 8, 9, 10], "cache_path": [7, 8, 9], "im2": 7, "plus_on": 7, "im3": 7, "times_thre": 7, "input_im": 7, "second": [7, 9], "cacherootdirecotri": 7, "_": 7, "There": [7, 8], "noth": [7, 8], "fanci": 7, "happen": [7, 9], "quit": 7, "simpl": [7, 8, 9], "place": [7, 8, 10], "were": 7, "manual": 7, "dure": 7, "re": [7, 9], "chang": [7, 8, 9], "again": [7, 8], "recomput": 7, "them": [7, 8, 9], "receiv": 7, "bring": 7, "calle": 7, "separ": [7, 8, 9], "duplic": 7, "twice": 7, "speedup": 7, "readabl": 7, "flat": [7, 8], "scheme": 7, "suitabl": [7, 8], "back": [7, 8, 9], "memori": [7, 9], "slower": 7, "usual": [7, 9], "big": 7, "lightsheet": [8, 9], "microscopi": 8, "mous": [8, 9], "brain": 8, "produc": [8, 9], "hundr": 8, "gb": 8, "necessari": 8, "trackabl": 8, "choos": 8, "project": 8, "research": 8, "autom": 8, "visibl": 8, "give": [8, 9], "accur": 8, "incom": 8, "abl": 8, "quickli": 8, "On": 8, "consist": 8, "dataset": 8, "larger": 8, "hard": 8, "ten": 8, "minut": 8, "hour": 8, "rerun": 8, "seg_process": [8, 9, 10], "u": 8, "consid": 8, "3d": 8, "cell_count": 8, "block3d": 8, "mark": 8, "inst": 8, "instance_segment": 8, "cell_cnt": 8, "count_inst": 8, "bug": 8, "unexpectedli": 8, "problem": [8, 9], "don": 8, "three": 8, "did": 8, "reason": 8, "ideal": 8, "costli": 8, "integr": 8, "cvpl": 8, "particular": 8, "By": 8, "easier": 8, "now": [8, 9, 10], "build": 8, "break": 8, "IN": [8, 9], "cc": 8, "min": 8, "max": 8, "choic": 8, "One": 8, "rest": [8, 9], "background": 8, "anoth": 8, "train": 8, "machin": 8, "learn": [8, 10], "connect": 8, "watersh": 8, "finner": 8, "perhap": 8, "seper": 8, "best": 8, "four": 8, "reus": 8, "variat": 8, "model_predict": 8, "direct_inst_segment": 8, "watershed_inst_segment": 8, "cell_cnt_from_inst": 8, "go": [8, 10], "actual": 8, "recommend": 8, "although": 8, "argu": 8, "oop": 8, "mean": [8, 9], "set_tmpdir": 8, "close": [8, 9], "tmpdir": 8, "examplesegprocess": 8, "makedir": [8, 9], "compute_result": 8, "while": 8, "lambda": 8, "ndisplai": [8, 9], "4096": 8, "chunksiz": 8, "els": 8, "root_dir": 8, "flatter": 8, "fast": 8, "cross": 8, "zoom": 8, "boilerpl": 8, "setup": [8, 10], "__name__": [8, 9], "__main__": [8, 9], "main": [8, 9], "worker": [8, 9], "config": [8, 9], "temporary_directori": [8, 9], "threads_per_work": [8, 9], "12": [8, 9], "n_worker": [8, 9], "load_im": 8, "cell_count_cach": 8, "At": 8, "through": 8, "__init__": 8, "relat": 8, "faster": 8, "configur": 9, "util": 9, "brief": 9, "descript": 9, "multithread": 9, "fit": 9, "written": 9, "scratch": 9, "enough": 9, "quickstart": 9, "post": 9, "initi": 9, "modifi": 9, "simplest": 9, "guid": 9, "TO": 9, "FOR": 9, "6": 9, "item": 9, "9": 9, "line": 9, "ensur": 9, "execut": 9, "creation": 9, "spawn": 9, "exactli": 9, "top": [9, 10], "guard": 9, "statement": 9, "present": 9, "lead": 9, "infinit": 9, "loop": 9, "complic": 9, "stem": 9, "add_ome_zarr_array_from_path": 9, "fetch": 9, "drag": 9, "navig": 9, "across": 9, "speed": 9, "slow": 9, "lag": 9, "solut": 9, "solv": 9, "too": 9, "resourc": 9, "freed": 9, "had": 9, "right": 9, "echo": 9, "stdout": 9, "stderr": 9, "logfil": 9, "accident": 9, "dprint": 9, "logfile_stdout": 9, "log_stdout": 9, "w": 9, "logfile_stderr": 9, "log_stderr": 9, "sy": 9, "multioutputstream": 9, "map_fn": 9, "access": 9, "later": 9, "fix": 9, "manag": 9, "assign": 9, "belong": 9, "act": 9, "model": 9, "some_cache_path": 9, "exists_ok": 9, "put": 9, "multi_step_comput": 9, "cache_at": 9, "computea": 9, "cache_path_b": 9, "computebfroma": 9, "sub_temp_directori": 9, "mult_step_cach": 9, "sort": 9, "complex": 9, "broken": 9, "smaller": 9, "simpler": 9, "amount": 9, "tear": 9, "bother": 9, "quick": 9, "local": [9, 10], "pretti": 9, "bare": 9, "bone": 9, "custom": 9, "qsetup": 9, "captur": 9, "c": 9, "programmingtool": 9, "computervis": 9, "robartsresearch": 9, "plcompon": 9, "client_arg": 9, "use_view": 9, "plc": 9, "AND": 9, "anyon": 9, "witht": 9, "pleas": 9, "let": [9, 10], "me": [9, 10], "tool": 10, "scipi": 10, "scikit": 10, "These": 10, "pip": 10, "depend": 10, "version": 10, "spimquant": 10, "conflict": 10, "instal": 10, "pyqt": 10, "pyside2": 10, "gettingstart": 10, "ome_zarr": 10, "quicker": 10, "motiv": 10, "microscop": 10, "atla": 10, "extend": 10, "overview": 10, "tip": 10, "bs_to_o": 10, "lc_to_cc": 10, "os_to_cc": 10, "os_to_lc": 10, "any_to_ani": 10}, "objects": {"cvpl_tools.im.algs.dask_label": [[0, 0, 1, "", "label"]], "cvpl_tools.im.fs": [[1, 1, 1, "", "CacheDirectory"], [1, 1, 1, "", "CachePath"], [1, 1, 1, "", "CacheRootDirectory"], [1, 0, 1, "", "display"], [1, 0, 1, "", "load"], [1, 0, 1, "", "save"]], "cvpl_tools.im.fs.CacheDirectory": [[1, 2, 1, "", "cache"], [1, 2, 1, "", "cache_im"], [1, 2, 1, "", "cache_subdir"], [1, 2, 1, "", "cache_subpath"], [1, 2, 1, "", "children_from_path"], [1, 2, 1, "", "remove_tmp"]], "cvpl_tools.im.fs.CachePath": [[1, 3, 1, "", "abs_path"], [1, 3, 1, "", "filename"], [1, 2, 1, "", "filename_form_meta"], [1, 3, 1, "", "is_dir"], [1, 2, 1, "", "meta_from_filename"], [1, 3, 1, "", "rel_path"], [1, 3, 1, "", "url"]], "cvpl_tools.im.ndblock": [[3, 1, 1, "", "NDBlock"], [3, 1, 1, "", "ReprFormat"]], "cvpl_tools.im.ndblock.NDBlock": [[3, 2, 1, "", "as_dask_array"], [3, 2, 1, "", "get_chunksize"], [3, 2, 1, "", "is_numpy"], [3, 2, 1, "", "load"], [3, 2, 1, "", "map_ndblocks"], [3, 2, 1, "", "persist"], [3, 2, 1, "", "reduce"], [3, 2, 1, "", "save"], [3, 2, 1, "", "select_columns"], [3, 2, 1, "", "sum"], [3, 2, 1, "", "to_dask_array"], [3, 2, 1, "", "to_dict_block_index_slices"], [3, 2, 1, "", "to_numpy_array"]], "cvpl_tools.im.process.any_to_any": [[5, 1, 1, "", "DownsamplingByIntFactor"], [5, 1, 1, "", "UpsamplingByIntFactor"]], "cvpl_tools.im.process.any_to_any.DownsamplingByIntFactor": [[5, 2, 1, "", "forward"]], "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor": [[5, 2, 1, "", "forward"], [5, 2, 1, "", "np_forward"]], "cvpl_tools.im.process.bs_to_os": [[5, 1, 1, "", "DirectBSToOS"], [5, 1, 1, "", "Watershed3SizesBSToOS"]], "cvpl_tools.im.process.bs_to_os.DirectBSToOS": [[5, 2, 1, "", "forward"]], "cvpl_tools.im.process.lc_to_cc": [[5, 1, 1, "", "CountLCBySize"], [5, 1, 1, "", "CountLCEdgePenalized"]], "cvpl_tools.im.process.lc_to_cc.CountLCBySize": [[5, 2, 1, "", "cc_list"], [5, 2, 1, "", "forward"]], "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized": [[5, 2, 1, "", "cc_list"], [5, 2, 1, "", "forward"], [5, 2, 1, "", "np_features"]], "cvpl_tools.im.process.os_to_cc": [[5, 1, 1, "", "CountOSBySize"]], "cvpl_tools.im.process.os_to_cc.CountOSBySize": [[5, 2, 1, "", "forward"]], "cvpl_tools.im.process.os_to_lc": [[5, 1, 1, "", "DirectOSToLC"]], "cvpl_tools.im.process.os_to_lc.DirectOSToLC": [[5, 2, 1, "", "aggregate_by_id"], [5, 2, 1, "", "forward"]], "cvpl_tools.im.seg_process": [[5, 1, 1, "", "BSPredictor"], [5, 1, 1, "", "BinaryAndCentroidListToInstance"], [5, 1, 1, "", "BlobDog"], [5, 1, 1, "", "BlockToBlockProcess"], [5, 1, 1, "", "GaussianBlur"], [5, 1, 1, "", "SegProcess"], [5, 1, 1, "", "SimpleThreshold"], [5, 1, 1, "", "SumScaledIntensity"], [5, 0, 1, "", "lc_interpretable_napari"]], "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance": [[5, 2, 1, "", "bacl_forward"], [5, 2, 1, "", "forward"]], "cvpl_tools.im.seg_process.BlobDog": [[5, 2, 1, "", "forward"]], "cvpl_tools.im.seg_process.BlockToBlockProcess": [[5, 2, 1, "", "forward"]], "cvpl_tools.im.seg_process.SegProcess": [[5, 2, 1, "", "forward"]], "cvpl_tools.im.seg_process.SumScaledIntensity": [[5, 2, 1, "", "forward"]], "cvpl_tools.ome_zarr.io": [[4, 0, 1, "", "load_dask_array_from_path"], [4, 0, 1, "", "load_zarr_group_from_path"], [4, 0, 1, "", "write_ome_zarr_image"]]}, "objtypes": {"0": "py:function", "1": "py:class", "2": "py:method", "3": "py:property"}, "objnames": {"0": ["py", "function", "Python function"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "property", "Python property"]}, "titleterms": {"cvpl_tool": [0, 1, 2, 3, 4, 5, 10], "im": [0, 1, 3, 5], "alg": 0, "f": 1, "py": [1, 2, 3, 4, 5], "ome_zarr": [2, 4, 6], "napari": 2, "add": 2, "ndblock": 3, "io": 4, "seg_process": 5, "bs_to_o": 5, "lc_to_cc": 5, "os_to_cc": 5, "os_to_lc": 5, "any_to_ani": 5, "view": 6, "om": 6, "zarr": 6, "file": [6, 7], "read": 6, "write": 6, "specifi": 6, "slice": 6, "path": 6, "result": 7, "cach": 7, "overview": 7, "cacherootdirectori": 7, "cachedirectori": [7, 9], "cachepoint": 7, "find": 7, "tip": 7, "segment": 8, "pipelin": 8, "motiv": 8, "microscop": 8, "cell": 8, "count": 8, "atla": 8, "map": 8, "object": 8, "The": 8, "segprocess": 8, "class": 8, "extend": 8, "run": 8, "set": 9, "up": 9, "script": 9, "dask": 9, "cluster": 9, "temporari": 9, "directori": 9, "log": 9, "setup": 9, "A": 9, "quicker": 9, "introduct": 10, "document": 10, "content": 10, "api": 10, "refer": 10}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 58}, "alltitles": {"cvpl_tools/im/algs": [[0, "cvpl-tools-im-algs"]], "cvpl_tools/im/fs.py": [[1, "cvpl-tools-im-fs-py"]], "cvpl_tools/ome_zarr/napari/add.py": [[2, "cvpl-tools-ome-zarr-napari-add-py"]], "cvpl_tools/im/ndblock.py": [[3, "cvpl-tools-im-ndblock-py"]], "cvpl_tools/ome_zarr/io.py": [[4, "cvpl-tools-ome-zarr-io-py"]], "cvpl_tools/im/seg_process.py": [[5, "cvpl-tools-im-seg-process-py"]], "bs_to_os": [[5, "bs-to-os"]], "lc_to_cc": [[5, "lc-to-cc"]], "os_to_cc": [[5, "os-to-cc"]], "os_to_lc": [[5, "os-to-lc"]], "any_to_any": [[5, "any-to-any"]], "OME_ZARR": [[6, "ome-zarr"]], "Viewing of ome zarr file": [[6, "viewing-of-ome-zarr-file"]], "Reading and Writing ome zarr files": [[6, "reading-and-writing-ome-zarr-files"]], "Specifying slices in path": [[6, "specifying-slices-in-path"]], "Result Caching": [[7, "result-caching"]], "Overview": [[7, "overview"]], "CacheRootDirectory": [[7, "cacherootdirectory"]], "CacheDirectory": [[7, "cachedirectory"], [9, "cachedirectory"]], "CachePointer": [[7, "cachepointer"]], "Finding Cached Files": [[7, "finding-cached-files"]], "Tips": [[7, "tips"]], "Segmentation Pipeline": [[8, "segmentation-pipeline"]], "Motivation: Microscope, Cell Counting, Atlas map and Object Segmentation": [[8, "motivation-microscope-cell-counting-atlas-map-and-object-segmentation"]], "The SegProcess Class": [[8, "the-segprocess-class"]], "Extending the Pipeline": [[8, "extending-the-pipeline"]], "Running the Pipeline": [[8, "running-the-pipeline"]], "Setting Up the Script": [[9, "setting-up-the-script"]], "Dask Cluster and temporary directory": [[9, "dask-cluster-and-temporary-directory"]], "Dask Logging Setup": [[9, "dask-logging-setup"]], "A Quicker Setup": [[9, "a-quicker-setup"]], "Introduction - cvpl_tools documentation": [[10, "introduction-cvpl-tools-documentation"]], "Contents:": [[10, null]], "API Reference": [[10, null]]}, "indexentries": {"label() (in module cvpl_tools.im.algs.dask_label)": [[0, "cvpl_tools.im.algs.dask_label.label"]], "cachedirectory (class in cvpl_tools.im.fs)": [[1, "cvpl_tools.im.fs.CacheDirectory"]], "cachepath (class in cvpl_tools.im.fs)": [[1, "cvpl_tools.im.fs.CachePath"]], "cacherootdirectory (class in cvpl_tools.im.fs)": [[1, "cvpl_tools.im.fs.CacheRootDirectory"]], "abs_path (cvpl_tools.im.fs.cachepath property)": [[1, "cvpl_tools.im.fs.CachePath.abs_path"]], "cache() (cvpl_tools.im.fs.cachedirectory method)": [[1, "cvpl_tools.im.fs.CacheDirectory.cache"]], "cache_im() (cvpl_tools.im.fs.cachedirectory method)": [[1, "cvpl_tools.im.fs.CacheDirectory.cache_im"]], "cache_subdir() (cvpl_tools.im.fs.cachedirectory method)": [[1, "cvpl_tools.im.fs.CacheDirectory.cache_subdir"]], "cache_subpath() (cvpl_tools.im.fs.cachedirectory method)": [[1, "cvpl_tools.im.fs.CacheDirectory.cache_subpath"]], "children_from_path() (cvpl_tools.im.fs.cachedirectory method)": [[1, "cvpl_tools.im.fs.CacheDirectory.children_from_path"]], "display() (in module cvpl_tools.im.fs)": [[1, "cvpl_tools.im.fs.display"]], "filename (cvpl_tools.im.fs.cachepath property)": [[1, "cvpl_tools.im.fs.CachePath.filename"]], "filename_form_meta() (cvpl_tools.im.fs.cachepath static method)": [[1, "cvpl_tools.im.fs.CachePath.filename_form_meta"]], "is_dir (cvpl_tools.im.fs.cachepath property)": [[1, "cvpl_tools.im.fs.CachePath.is_dir"]], "load() (in module cvpl_tools.im.fs)": [[1, "cvpl_tools.im.fs.load"]], "meta_from_filename() (cvpl_tools.im.fs.cachepath static method)": [[1, "cvpl_tools.im.fs.CachePath.meta_from_filename"]], "rel_path (cvpl_tools.im.fs.cachepath property)": [[1, "cvpl_tools.im.fs.CachePath.rel_path"]], "remove_tmp() (cvpl_tools.im.fs.cachedirectory method)": [[1, "cvpl_tools.im.fs.CacheDirectory.remove_tmp"]], "save() (in module cvpl_tools.im.fs)": [[1, "cvpl_tools.im.fs.save"]], "url (cvpl_tools.im.fs.cachepath property)": [[1, "cvpl_tools.im.fs.CachePath.url"]], "ndblock (class in cvpl_tools.im.ndblock)": [[3, "cvpl_tools.im.ndblock.NDBlock"]], "reprformat (class in cvpl_tools.im.ndblock)": [[3, "cvpl_tools.im.ndblock.ReprFormat"]], "as_dask_array() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.as_dask_array"]], "get_chunksize() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.get_chunksize"]], "is_numpy() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.is_numpy"]], "load() (cvpl_tools.im.ndblock.ndblock static method)": [[3, "cvpl_tools.im.ndblock.NDBlock.load"]], "map_ndblocks() (cvpl_tools.im.ndblock.ndblock static method)": [[3, "cvpl_tools.im.ndblock.NDBlock.map_ndblocks"]], "persist() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.persist"]], "reduce() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.reduce"]], "save() (cvpl_tools.im.ndblock.ndblock static method)": [[3, "cvpl_tools.im.ndblock.NDBlock.save"]], "select_columns() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.select_columns"]], "sum() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.sum"]], "to_dask_array() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.to_dask_array"]], "to_dict_block_index_slices() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.to_dict_block_index_slices"]], "to_numpy_array() (cvpl_tools.im.ndblock.ndblock method)": [[3, "cvpl_tools.im.ndblock.NDBlock.to_numpy_array"]], "load_dask_array_from_path() (in module cvpl_tools.ome_zarr.io)": [[4, "cvpl_tools.ome_zarr.io.load_dask_array_from_path"]], "load_zarr_group_from_path() (in module cvpl_tools.ome_zarr.io)": [[4, "cvpl_tools.ome_zarr.io.load_zarr_group_from_path"]], "write_ome_zarr_image() (in module cvpl_tools.ome_zarr.io)": [[4, "cvpl_tools.ome_zarr.io.write_ome_zarr_image"]], "bspredictor (class in cvpl_tools.im.seg_process)": [[5, "cvpl_tools.im.seg_process.BSPredictor"]], "binaryandcentroidlisttoinstance (class in cvpl_tools.im.seg_process)": [[5, "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance"]], "blobdog (class in cvpl_tools.im.seg_process)": [[5, "cvpl_tools.im.seg_process.BlobDog"]], "blocktoblockprocess (class in cvpl_tools.im.seg_process)": [[5, "cvpl_tools.im.seg_process.BlockToBlockProcess"]], "countlcbysize (class in cvpl_tools.im.process.lc_to_cc)": [[5, "cvpl_tools.im.process.lc_to_cc.CountLCBySize"]], "countlcedgepenalized (class in cvpl_tools.im.process.lc_to_cc)": [[5, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized"]], "countosbysize (class in cvpl_tools.im.process.os_to_cc)": [[5, "cvpl_tools.im.process.os_to_cc.CountOSBySize"]], "directbstoos (class in cvpl_tools.im.process.bs_to_os)": [[5, "cvpl_tools.im.process.bs_to_os.DirectBSToOS"]], "directostolc (class in cvpl_tools.im.process.os_to_lc)": [[5, "cvpl_tools.im.process.os_to_lc.DirectOSToLC"]], "downsamplingbyintfactor (class in cvpl_tools.im.process.any_to_any)": [[5, "cvpl_tools.im.process.any_to_any.DownsamplingByIntFactor"]], "gaussianblur (class in cvpl_tools.im.seg_process)": [[5, "cvpl_tools.im.seg_process.GaussianBlur"]], "segprocess (class in cvpl_tools.im.seg_process)": [[5, "cvpl_tools.im.seg_process.SegProcess"]], "simplethreshold (class in cvpl_tools.im.seg_process)": [[5, "cvpl_tools.im.seg_process.SimpleThreshold"]], "sumscaledintensity (class in cvpl_tools.im.seg_process)": [[5, "cvpl_tools.im.seg_process.SumScaledIntensity"]], "upsamplingbyintfactor (class in cvpl_tools.im.process.any_to_any)": [[5, "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor"]], "watershed3sizesbstoos (class in cvpl_tools.im.process.bs_to_os)": [[5, "cvpl_tools.im.process.bs_to_os.Watershed3SizesBSToOS"]], "aggregate_by_id() (cvpl_tools.im.process.os_to_lc.directostolc method)": [[5, "cvpl_tools.im.process.os_to_lc.DirectOSToLC.aggregate_by_id"]], "bacl_forward() (cvpl_tools.im.seg_process.binaryandcentroidlisttoinstance method)": [[5, "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance.bacl_forward"]], "cc_list() (cvpl_tools.im.process.lc_to_cc.countlcbysize method)": [[5, "cvpl_tools.im.process.lc_to_cc.CountLCBySize.cc_list"]], "cc_list() (cvpl_tools.im.process.lc_to_cc.countlcedgepenalized method)": [[5, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized.cc_list"]], "forward() (cvpl_tools.im.process.any_to_any.downsamplingbyintfactor method)": [[5, "cvpl_tools.im.process.any_to_any.DownsamplingByIntFactor.forward"]], "forward() (cvpl_tools.im.process.any_to_any.upsamplingbyintfactor method)": [[5, "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor.forward"]], "forward() (cvpl_tools.im.process.bs_to_os.directbstoos method)": [[5, "cvpl_tools.im.process.bs_to_os.DirectBSToOS.forward"]], "forward() (cvpl_tools.im.process.lc_to_cc.countlcbysize method)": [[5, "cvpl_tools.im.process.lc_to_cc.CountLCBySize.forward"]], "forward() (cvpl_tools.im.process.lc_to_cc.countlcedgepenalized method)": [[5, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized.forward"]], "forward() (cvpl_tools.im.process.os_to_cc.countosbysize method)": [[5, "cvpl_tools.im.process.os_to_cc.CountOSBySize.forward"]], "forward() (cvpl_tools.im.process.os_to_lc.directostolc method)": [[5, "cvpl_tools.im.process.os_to_lc.DirectOSToLC.forward"]], "forward() (cvpl_tools.im.seg_process.binaryandcentroidlisttoinstance method)": [[5, "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance.forward"]], "forward() (cvpl_tools.im.seg_process.blobdog method)": [[5, "cvpl_tools.im.seg_process.BlobDog.forward"]], "forward() (cvpl_tools.im.seg_process.blocktoblockprocess method)": [[5, "cvpl_tools.im.seg_process.BlockToBlockProcess.forward"]], "forward() (cvpl_tools.im.seg_process.segprocess method)": [[5, "cvpl_tools.im.seg_process.SegProcess.forward"]], "forward() (cvpl_tools.im.seg_process.sumscaledintensity method)": [[5, "cvpl_tools.im.seg_process.SumScaledIntensity.forward"]], "lc_interpretable_napari() (in module cvpl_tools.im.seg_process)": [[5, "cvpl_tools.im.seg_process.lc_interpretable_napari"]], "np_features() (cvpl_tools.im.process.lc_to_cc.countlcedgepenalized method)": [[5, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized.np_features"]], "np_forward() (cvpl_tools.im.process.any_to_any.upsamplingbyintfactor method)": [[5, "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor.np_forward"]]}})
\ No newline at end of file
|
|
|
|