diff --git a/API/ome_zarr_io.html b/API/ome_zarr_io.html index 4612fc8..ae66bd0 100644 --- a/API/ome_zarr_io.html +++ b/API/ome_zarr_io.html @@ -123,13 +123,20 @@
cvpl_tools.ome_zarr.io.load_dask_array_from_path(path: str, mode: str | None = None, use_zip: bool | None = None, level: int | None = None) Array
-

Loads either a zarr folder or zarr zip file into a zarr group.

+

Loads either a zarr folder or zarr zip file into a dask array.

Compared to load_zarr_group_from_path, this function allows specifying which slice and channel to read using a query string syntax (idea thanks to Davis Bennett in the thread https://forum.image.sc/t/loading-only-one-channel-from-an-ome-zarr/97798)

-

Examples

-

load_dask_array_from_path(‘C://path/to/image.ome.zarr?slices=[1]’) # use channel 1 -load_dask_array_from_path(‘/path/to/image.ome.zarr?slices=[:, :100]’) # all channels, 0-99 on the second axis

+

Example

+

Loading an ome zarr array of shape (2, 200, 1000, 1000) using different slices:

+
arr_original = load_dask_array_from_path('file.ome.zarr', level=0)  # shape=(2, 200, 1000, 1000)
+arr1 = load_dask_array_from_path('file.ome.zarr?slices=[0]', level=0)  # shape=(200, 1000, 1000)
+arr2 = load_dask_array_from_path('file.ome.zarr?slices=[:, :100]', level=0)  # shape=(2, 100, 1000, 1000)
+arr3 = load_dask_array_from_path('file.ome.zarr?slices=[0:1, 0, -1:, ::2]', level=0)  # shape=(1, 1, 500)
+
+
+

Essentially, Python multi-index slicing can be done and the effect is similar to torch or numpy indexing using +slices.

Parameters:
    diff --git a/searchindex.js b/searchindex.js index 4c136e7..9fcbdf5 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["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/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/fs.py", "cvpl_tools/napari/zarr.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": {"view": [0, 1, 2, 3, 4, 9], "sourc": [0, 1, 2, 3, 4], "api": [0, 1, 2, 3, 4, 5, 7, 8], "save": [0, 2, 5, 6, 7, 8, 9], "file": [0, 1, 2, 3, 7, 8, 9], "str": [0, 1, 2, 3, 4], "storage_opt": [0, 2, 3], "dict": [0, 1, 2, 3, 4, 5, 7, 8], "none": [0, 1, 2, 3, 4, 5, 7, 8], "an": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "imag": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "object": [0, 1, 2, 4, 5, 6, 8, 9], "given": [0, 1, 2, 4], "path": [0, 1, 2, 3, 6, 7, 8, 9], "support": [0, 3, 5, 6, 7, 8], "type": [0, 2, 3, 4, 5, 7], "np": [0, 4, 7, 8], "ndarrai": [0, 2, 4], "dask": [0, 2, 3, 4, 5, 6, 7, 9], "arrai": [0, 1, 2, 3, 4, 5, 7, 8], "ndblock": [0, 4, 7, 9], "storag": [0, 2, 5], "option": [0, 2, 3, 5, 7], "preferred_chunks": [0, 7], "tupl": [0, 2, 4, 8], "int": [0, 1, 2, 3, 4], "chunk": [0, 2, 4, 5, 6, 7, 8], "size": [0, 2, 4, 7], "rechunk": [0, 6], "differ": [0, 2, 4, 7, 8], "from": [0, 1, 2, 3, 4, 5, 6, 7, 8], "current": [0, 2, 4, 8], "onli": [0, 1, 2, 3, 5, 6, 7, 8], "appli": [0, 2, 4], "multiscal": [0, 1, 2, 5, 7, 8], "0": [0, 1, 2, 3, 4, 5, 7], "The": [0, 1, 2, 3, 4, 5, 6, 8, 9], "number": [0, 1, 2, 4, 6, 7, 8], "downsampl": [0, 4, 5, 7], "layer": [0, 1, 3, 4, 5], "om": [0, 1, 3, 6, 7, 8, 9], "zarr": [0, 3, 6, 7, 8, 9], "i": [0, 1, 2, 3, 4, 5, 6, 7, 8], "compressor": [0, 2], "us": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "compress": [0, 2], "paramet": [0, 1, 2, 3, 4, 7], "full": 0, "rel": [0, 7], "directori": [0, 3, 4, 5, 6, 7, 9], "specifi": [0, 2, 3, 4, 6, 7, 9], "method": [0, 2, 7], "format": [0, 2, 5, 6, 7], "load": [0, 2, 3, 5, 6, 7, 8, 9], "one": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "read": [0, 3, 6, 9], "return": [0, 2, 3, 4, 6, 7, 8], "recreat": 0, "thi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "attempt": 0, "keep": 0, "meta": [0, 4, 5, 8], "content": [0, 2], "stai": 0, "same": [0, 2, 4, 5, 6, 8, 9], "when": [0, 2, 3, 4, 5, 6, 7, 8], "thei": [0, 2, 4, 6, 7, 8], "ar": [0, 2, 4, 5, 6, 7, 8, 9], "displai": [0, 1, 4, 5, 6, 7, 8, 9], "viewer_arg": [0, 4, 7, 8], "viewer": [0, 1, 4, 5, 6, 7, 8, 9], "numpi": [0, 2, 4, 5, 7, 8, 9], "contain": [0, 1, 2, 4, 5, 6, 8], "argument": [0, 1, 2, 4, 5, 7], "pass": [0, 1, 2, 3, 5, 7, 8], "": [0, 1, 2, 4, 5, 6, 7, 8], "add": [0, 1, 4, 5, 7, 8], "function": [0, 1, 2, 3, 4, 5, 6, 7, 8], "class": [0, 2, 4, 5, 6, 8, 9], "cachepath": [0, 6, 9], "root": [0, 1, 5, 6, 7, 8], "cacherootdirectori": [0, 7, 8, 9], "path_seg": 0, "parent": [0, 6, 8], "cachedirectori": [0, 7, 9], "exist": [0, 1, 6, 7, 8], "bool": [0, 1, 2, 3, 4], "fals": [0, 1, 2, 3, 4, 5, 6, 7, 8], "A": [0, 2, 4, 5, 6, 9], "pointer": [0, 6], "cach": [0, 4, 7, 8, 9], "locat": [0, 2, 4, 5, 6, 7], "within": [0, 7], "hierarch": [0, 7, 8], "structur": [0, 5, 8], "two": [0, 2, 4, 5, 6, 7, 8], "implement": [0, 5, 6, 7], "program": [0, 6, 8], "pattern": 0, "where": [0, 1, 4, 5, 6, 7, 8], "subclass": [0, 4, 6, 7, 8], "zero": [0, 2, 6, 8], "more": [0, 4, 5, 6, 7, 8], "its": [0, 1, 5, 6], "children": [0, 6], "To": [0, 5, 6, 7, 8], "creat": [0, 2, 3, 5, 6, 7, 8], "alloc": 0, "new": [0, 5, 6, 7], "find": [0, 7, 9], "name": [0, 2, 3, 4, 5, 6], "suggest": 0, "associ": [0, 1, 4], "automat": [0, 6, 8], "properti": [0, 2], "abs_path": [0, 6, 7, 8], "obtain": [0, 7], "o": [0, 7, 8], "under": [0, 3, 4, 6, 7, 8], "which": [0, 2, 3, 4, 5, 6, 7, 8], "you": [0, 2, 3, 4, 5, 6, 7, 8, 9], "can": [0, 1, 2, 5, 6, 7, 8, 9], "first": [0, 1, 2, 4, 5, 6, 7], "time": [0, 5, 6, 7, 8], "cache_path": [0, 6, 7, 8], "point": [0, 4, 6, 7], "empti": [0, 2, 7, 8], "second": [0, 3, 6, 8], "onward": 0, "remov": [0, 6, 7], "previous": 0, "filenam": 0, "last": [0, 6], "segment": [0, 1, 4, 5, 8, 9], "typic": [0, 8], "cid": [0, 4, 6, 7, 8], "prepend": 0, "is_dir": [0, 6], "is_tmp": [0, 6], "inform": [0, 4], "do": [0, 4, 5, 7, 8], "call": [0, 1, 7, 8], "static": [0, 2], "filename_form_meta": 0, "ani": [0, 2, 4, 5, 8], "dictionari": [0, 1, 5], "string": [0, 3, 5], "true": [0, 1, 2, 3, 4, 5, 6, 7, 8], "instead": [0, 1, 2, 3, 4, 5, 6], "In": [0, 2, 3, 6, 7, 8], "other": [0, 4, 8, 9], "word": 0, "leaf": [0, 6], "node": [0, 6], "meta_from_filenam": 0, "return_none_if_malform": 0, "retriev": [0, 2], "plan": [0, 7], "If": [0, 1, 2, 3, 4, 5, 7, 8, 9], "throw": 0, "error": [0, 6], "malform": 0, "rel_path": 0, "remove_when_don": [0, 6, 7, 8], "read_if_exist": [0, 6, 7, 8], "correspond": [0, 3, 4], "similar": [0, 2, 5], "_create_cach": 0, "intermedi": [0, 6, 7, 8], "offset": 0, "decis": [0, 6], "often": [0, 6, 7], "we": [0, 2, 3, 5, 6, 7, 8], "result": [0, 1, 2, 4, 5, 7, 8, 9], "singl": [0, 1, 2, 4, 5, 6, 7], "prefer": [0, 7], "make": [0, 4, 6, 7, 8], "befor": [0, 4, 5, 7, 8], "inappropri": 0, "avoid": [0, 2, 6], "struct": [0, 6], "desir": 0, "either": [0, 2, 3, 5, 7], "itself": [0, 8], "cachepoint": [0, 4, 7, 9], "cache_im": [0, 7], "fn": [0, 2], "cache_level": 0, "float": [0, 4, 7], "comput": [0, 2, 4, 5, 6, 7, 8], "alreadi": [0, 2], "id": [0, 4, 8], "level": [0, 1, 3, 5, 7], "oper": 0, "note": [0, 2, 5, 6, 7, 9], "even": [0, 6, 8], "skip": [0, 7, 8], "avail": [0, 8], "disk": [0, 3, 6, 8], "still": 0, "cache_subdir": [0, 6, 8], "wrapper": [0, 4], "see": [0, 5, 7, 8], "doc": 0, "cache_subpath": [0, 6, 8], "children_from_path": 0, "prefix_path_seg": 0, "examin": 0, "recurs": [0, 6], "all": [0, 2, 3, 6, 7, 8], "prefix": 0, "found": [0, 4, 7, 8], "json": 0, "map": [0, 2, 9], "determin": [0, 3, 6, 8], "remove_tmp": 0, "travers": 0, "subnod": 0, "self": [0, 4, 7], "those": [0, 8], "system": [0, 5, 6, 8], "For": [1, 2, 3, 4, 6, 7, 8], "add_ome_zarr_array_from_path": [1, 5, 8, 9], "gener": [1, 2, 4, 6], "ha": [1, 2, 5, 7], "label": [1, 3, 4, 5], "ome_zarr": [1, 9], "image_ome_zarr": 1, "label_nam": [1, 5], "open": [1, 3, 5, 8], "togeth": [1, 4], "add_ome_zarr_group_from_path": [1, 5, 9], "zarr_view": [1, 5, 9], "add_ome_zarr_group": [1, 5, 9], "zarr_group": [1, 5], "group": [1, 3], "merge_channel": 1, "kwarg": [1, 4, 5], "lbl_kwarg": 1, "along": 1, "attach": 1, "per": 1, "channel": [1, 3, 5], "keyword": 1, "add_imag": [1, 5, 7], "add_ome_zarr_arrai": [1, 9], "start_level": 1, "is_label": [1, 4, 5, 7], "assum": [1, 2, 3], "dimens": [1, 4], "relev": 1, "hierarchi": 1, "lowest": 1, "highest": 1, "resolut": 1, "ad": [1, 5, 7, 8], "default": [1, 3, 7, 8], "suitabl": [1, 6, 7], "instanc": [1, 4, 5, 6, 7], "mask": [1, 4, 5, 7], "need": [1, 4, 5, 6, 7, 8], "distinct": [1, 5], "color": [1, 4, 5], "each": [1, 2, 4, 5, 6, 7], "use_zip": [1, 3, 5], "combin": 1, "load_zarr_group_from_path": [1, 3, 5, 9], "load_zarr_array_from_path": 1, "arr": [2, 8], "dtype": [2, 4, 8], "_scalartype_co": [2, 4], "repres": [2, 6, 7], "n": [2, 4, 7], "dimension": [2, 7], "grid": 2, "block": [2, 4, 7, 8], "arbitrari": [2, 7], "shape": [2, 4, 5], "1": [2, 3, 4, 5, 6, 7, 8], "ax": 2, "match": [2, 6, 7], "case": [2, 3, 4, 5, 6, 7, 8], "vari": 2, "e": [2, 3, 7], "g": [2, 3, 5, 7], "2": [2, 4, 5, 6, 7, 8], "mai": [2, 4, 5, 6, 7, 8], "neighbor": [2, 4], "5": [2, 4], "10": [2, 4], "block_index": [2, 4], "list": [2, 4], "alwai": [2, 6], "order": [2, 4, 6, 8], "m": 2, "increas": 2, "side": [2, 7], "tail": 2, "as_dask_arrai": 2, "tmp_dirpath": 2, "get": [2, 4, 6, 7, 8], "copi": [2, 3], "valu": [2, 5, 8], "doubl": [2, 4, 5], "best": [2, 7], "provid": [2, 3, 4, 5, 7, 8, 9], "input": [2, 4, 5, 7, 8], "reprformat": [2, 9], "dict_block_index_slic": 2, "convert": [2, 4, 7], "get_chunks": 2, "axi": [2, 3, 5], "length": [2, 4], "ndim": [2, 4], "is_numpi": 2, "besid": 2, "have": [2, 3, 5, 6, 7, 8], "delai": 2, "former": 2, "latter": 2, "opiton": 2, "guarante": 2, "map_ndblock": 2, "sequenc": [2, 4, 7], "callabl": [2, 4], "out_dtyp": [2, 4], "use_input_index_as_arrloc": 2, "new_slic": 2, "fn_arg": 2, "da": [2, 7, 8], "map_block": [2, 8], "work": [2, 4, 5, 6, 7, 8], "block_info": [2, 4, 8], "kei": 2, "must": 2, "indic": [2, 6], "over": [2, 7], "slice": [2, 3, 9], "well": [2, 5, 7], "output": [2, 3, 4, 6, 7, 8], "slices_list": 2, "ignor": 2, "variabl": [2, 5, 8], "replac": 2, "attribut": [2, 5, 6, 7], "extra": [2, 4, 5], "reduc": [2, 4, 6], "force_numpi": 2, "concaten": 2, "forc": 2, "analysi": [2, 7], "requir": [2, 3, 6, 7, 8, 9], "previou": 2, "Will": 2, "immedi": 2, "write": [2, 3, 6, 7, 8, 9], "multilevel": 2, "non": [2, 6], "select_column": 2, "col": 2, "perform": [2, 7], "column": 2, "select": 2, "2d": [2, 4, 6], "sum": [2, 8], "keepdim": 2, "to_dask_arrai": 2, "represent": 2, "temporari": [2, 3, 5, 6, 7, 9], "want": [2, 4, 5, 6, 7, 8], "repeat": 2, "to_dict_block_index_slic": 2, "to_numpy_arrai": 2, "modul": [2, 7, 8], "qualnam": 2, "start": [2, 3, 6, 8], "boundari": [2, 4], "possibl": 2, "numpy_arrai": 2, "dask_arrai": 2, "load_dask_array_from_path": [3, 5, 9], "directli": [3, 5, 6, 7], "altern": 3, "mode": [3, 5, 8], "from_zarr": 3, "would": [3, 7, 8], "like": [3, 4, 5, 6, 8], "zip": [3, 5], "write_ome_zarr_imag": [3, 5, 9], "onto": [3, 6], "folder": [3, 5, 6, 7], "r": [3, 5], "treat": [3, 4, 7], "entir": [3, 5], "compar": 3, "allow": [3, 5, 7, 8], "queri": 3, "syntax": [3, 5], "idea": [3, 5, 7], "thank": 3, "davi": [3, 5], "bennett": [3, 5], "thread": [3, 7, 8], "http": 3, "forum": 3, "sc": 3, "t": [3, 7], "97798": 3, "exampl": [3, 7, 8], "c": [3, 8], "100": [3, 4, 5], "99": 3, "ome_zarr_path": 3, "tmp_path": [3, 7, 8], "da_arr": 3, "lbl_arr": 3, "lbl_name": 3, "make_zip": 3, "max_lay": 3, "log": [3, 6, 9], "lbl_storage_opt": 3, "due": [3, 4, 5], "doe": [3, 4, 5, 6, 7, 8], "temp": 3, "after": [3, 5, 6, 7, 8], "done": [3, 5, 7], "why": [3, 4, 5, 6], "target": [3, 5], "store": [3, 5, 7], "base": [3, 4, 7, 8], "suffix": [3, 5], "maximum": [3, 5, 7], "down": [3, 4, 7, 8], "sampl": [3, 4], "print": [3, 8], "messag": [3, 8], "job": 3, "end": [3, 5, 7], "q": 4, "baseclass": 4, "segprocess": [4, 8, 9], "blocktoblockprocess": [4, 9], "defin": [4, 7, 8, 9], "my": [4, 8], "own": 4, "pipelin": [4, 8, 9], "should": [4, 5, 7, 8], "around": 4, "code": [4, 5, 7, 8], "whose": 4, "process": [4, 6, 7, 8, 9], "centroid": [4, 7], "abstract": [4, 7], "forward": [4, 7], "arg": 4, "just": [4, 6, 7], "step": [4, 6, 7, 8], "visual": [4, 7, 9], "underli": [4, 5], "mechan": [4, 6], "napari": [4, 5, 6, 7, 8, 9], "interpret": [4, 7], "debug": [4, 6, 7, 8], "purpos": 4, "compute_chunk_s": 4, "cptr": [4, 6, 7], "lc_interpretable_napari": [4, 7, 9], "layer_nam": 4, "lc": 4, "extra_featur": 4, "text_color": 4, "green": 4, "featur": [4, 5, 8], "row": 4, "nextra": 4, "text": [4, 6, 8], "built": [4, 9], "gaussianblur": [4, 9], "sigma": 4, "bspredictor": [4, 9], "pred_fn": 4, "simplethreshold": [4, 9], "threshold": [4, 7], "blobdog": [4, 9], "min_sigma": 4, "max_sigma": 4, "float32": [4, 7], "sumscaledintens": [4, 9], "scale": 4, "008": 4, "min_thr": 4, "spatial_box_width": 4, "binaryandcentroidlisttoinst": [4, 9], "maxsplit": 4, "take": [4, 6, 7, 8], "binari": [4, 7], "detect": 4, "algorithm": [4, 6, 7], "Then": [4, 7], "split": 4, "pixel": [4, 7], "fine": 4, "closer": 4, "correctli": 4, "bacl_forward": 4, "b": [4, 7, 8], "uint8": [4, 7, 8], "float64": [4, 7], "int32": [4, 7], "ordin": [4, 7], "section": [4, 7], "integ": [4, 5], "directbstoo": 4, "is_glob": 4, "watershed3sizesbstoo": 4, "size_thr": 4, "60": 4, "dist_thr": 4, "rst": 4, "size_thres2": 4, "dist_thres2": 4, "rst2": 4, "cell": [4, 6, 9], "count": [4, 9], "describ": [4, 6, 8], "about": [4, 5, 6], "summar": 4, "statist": 4, "countlcbys": 4, "size_threshold": 4, "25": 4, "volume_weight": 4, "006": 4, "border_param": 4, "3": [4, 5, 6, 7, 8], "min_siz": 4, "sever": [4, 7], "below": [4, 6, 7, 8], "contour": [4, 7], "part": [4, 6, 7], "abov": [4, 5, 6, 8], "seen": 4, "cluster": [4, 7, 9], "estim": [4, 7], "volum": [4, 7], "ncell": 4, "penal": 4, "accord": 4, "distanc": 4, "between": [4, 7], "voxel": 4, "touch": 4, "edg": 4, "penalti": 4, "4": [4, 5, 7], "simpli": [4, 7], "discard": [4, 6, 8], "becaus": [4, 6], "artifact": 4, "cc_list": 4, "os_shap": 4, "assumpt": 4, "nvoxel": 4, "edge_contact": 4, "countlcedgepen": 4, "calcul": 4, "image_shap": 4, "fact": 4, "suffici": 4, "far": 4, "divisor": 4, "becom": [4, 7], "decreas": 4, "toward": 4, "sinc": [4, 7, 8], "tripl": 4, "corner": [4, 5], "etc": [4, 7], "index": 4, "d": 4, "element": 4, "scalar": 4, "np_featur": 4, "concat": 4, "left": [4, 5], "oridn": 4, "countosbys": 4, "directostolc": 4, "ex_statist": 4, "origin": [4, 5], "come": [4, 6, 7], "so": [4, 6, 8], "aggregate_by_id": 4, "aggreg": 4, "_ndblock": 4, "adapt": 4, "data": [4, 7, 8], "adequ": 4, "classif": 4, "downsamplingbyintfactor": 4, "factor": 4, "sure": [4, 7, 8], "set": [4, 5, 7, 9], "bright": [4, 7], "rgb": 4, "correspondingli": 4, "tmp": [4, 8], "upsamplingbyintfactor": 4, "upsampl": 4, "up": [4, 6, 7, 9], "np_forward": 4, "command": [5, 8], "widget": 5, "button": 5, "bottom": 5, "window": [5, 8], "invok": 5, "wai": [5, 6, 7], "cvpl_tool": [5, 7, 8], "import": [5, 7, 8], "cvpl_zarr": 5, "absolut": 5, "your": [5, 7, 8], "displayed_name_in_ui": 5, "regardless": [5, 8], "both": [5, 6, 8], "standard": 5, "addit": 5, "googl": 5, "cloud": [5, 9], "follow": [5, 6, 7, 8], "gcsf": 5, "gf": 5, "gcsfilesystem": 5, "token": 5, "get_mapp": 5, "path_to_your": 5, "via": 5, "boolean": 5, "whether": [5, 6], "add_label": [5, 7], "segmentaion": 5, "similarli": [5, 6], "multipl": 5, "talk": 5, "understand": [5, 6, 7], "basic": [5, 6, 7], "what": [5, 6, 7], "look": [5, 6, 7, 8], "linux": 5, "x": 5, "zarrai": 5, "smallest": 5, "zattr": 5, "zgroup": 5, "denot": [5, 7], "collaps": 5, "expand": 5, "few": [5, 7], "thing": 5, "here": [5, 6, 7, 8], "multisc": 5, "confus": 5, "crash": 5, "forget": 5, "subfold": [5, 6], "except": [5, 8], "zipstor": 5, "individu": 5, "without": [5, 6, 8], "unpack": 5, "howev": [5, 8], "lack": [5, 7], "python": [5, 8], "librari": [5, 6, 7, 8], "hpc": [5, 8], "canada": [5, 8], "better": [5, 7], "larg": [5, 7, 8], "than": [5, 7], "mani": [5, 6, 7, 8], "small": [5, 7], "thu": 5, "somewher": 5, "As": [5, 7], "2024": 5, "8": 5, "14": 5, "writer": 5, "issu": [5, 6, 7, 8], "patch": 5, "our": [5, 7, 8], "ve": [5, 8], "also": [5, 7, 8], "page": [5, 7, 8], "io": [5, 9], "py": [5, 8, 9], "how": [5, 7, 8, 9], "task": [5, 8], "respect": 5, "y": 5, "z": 5, "conveni": [5, 7, 8], "load_ome_zarr_array_from_path": 5, "much": [5, 8], "torch": 5, "arr_origin": 5, "200": 5, "1000": 5, "arr1": 5, "arr2": 5, "arr3": 5, "500": 5, "discuss": [5, 7], "commonli": 5, "script": [5, 7, 9], "run": [5, 6, 8, 9], "multi": [5, 7, 8], "in_channel": 5, "With": [5, 8], "sub": [5, 6, 8], "region": [5, 6, 7], "crop": 5, "some": [6, 7, 8], "onc": [6, 7, 8], "think": 6, "encount": [6, 8], "long": [6, 7], "workflow": [6, 7], "densiti": [6, 7], "scan": 6, "expect": [6, 7], "heatmap": 6, "graphic": 6, "show": [6, 7, 8], "final": [6, 7, 8], "got": 6, "consol": 6, "redo": [6, 8], "occur": 6, "out": [6, 7], "caus": [6, 7, 8], "rather": 6, "difficult": 6, "went": 6, "wrong": 6, "aid": 6, "veri": [6, 7], "help": [6, 7], "identifi": [6, 7], "friendli": 6, "headach": 6, "risk": 6, "unknown": 6, "difficulti": 6, "distribut": [6, 7, 8], "environ": 6, "strategi": [6, 8], "overcom": 6, "insid": [6, 8], "tree": 6, "txt": [6, 8], "graph": 6, "plot": 6, "interfac": 6, "detail": 6, "everi": [6, 8], "imf": [6, 7, 8], "f": [6, 7, 8, 9], "temp_directori": [6, 7, 8], "cache_dir": 6, "test": [6, 7], "dir_cache_test": 6, "dir": [6, 8], "persist": [6, 7, 8], "next": [6, 7], "ones": 6, "pure": 6, "delet": 6, "finish": [6, 7], "otherwis": 6, "know": [6, 7, 8, 9], "anew": 6, "sub_cache_path": 6, "subpath1": 6, "sub_cache_dir": 6, "subdir1": 6, "though": [6, 8], "most": [6, 7], "refer": 6, "design": [6, 7], "flexibl": 6, "decid": 6, "equival": 6, "subpath2": 6, "subpath": [6, 7], "subdir2": 6, "subdir": 6, "It": [6, 7], "seem": [6, 8], "unnecessari": 6, "defer": 6, "child": 6, "handi": 6, "caller": 6, "care": 6, "def": [6, 7, 8], "im": [6, 7, 8, 9], "im2": 6, "plus_on": 6, "im3": 6, "times_thre": 6, "input_im": 6, "cacherootdirecotri": 6, "_": 6, "There": [6, 7], "noth": [6, 7], "fanci": 6, "happen": [6, 8], "quit": 6, "simpl": [6, 7, 8], "place": [6, 7, 9], "were": 6, "manual": 6, "dure": 6, "re": [6, 8], "chang": [6, 7, 8], "again": [6, 7], "recomput": 6, "them": [6, 7, 8], "receiv": 6, "bring": 6, "calle": 6, "separ": [6, 7, 8], "duplic": 6, "twice": 6, "speedup": 6, "readabl": 6, "flat": [6, 7], "scheme": 6, "back": [6, 7, 8], "memori": [6, 8], "slower": 6, "usual": [6, 8], "big": 6, "lightsheet": [7, 8], "microscopi": 7, "mous": [7, 8], "brain": 7, "produc": [7, 8], "hundr": 7, "gb": 7, "necessari": 7, "trackabl": 7, "choos": 7, "project": 7, "research": 7, "autom": 7, "visibl": 7, "give": [7, 8], "accur": 7, "incom": 7, "abl": 7, "quickli": 7, "On": 7, "consist": 7, "dataset": 7, "larger": 7, "hard": 7, "ten": 7, "minut": 7, "hour": 7, "rerun": 7, "seg_process": [7, 8, 9], "u": 7, "consid": 7, "3d": 7, "cell_count": 7, "block3d": 7, "mark": 7, "inst": 7, "instance_segment": 7, "cell_cnt": 7, "count_inst": 7, "bug": 7, "unexpectedli": 7, "problem": [7, 8], "don": 7, "three": 7, "did": 7, "reason": 7, "ideal": 7, "costli": 7, "address": 7, "integr": 7, "cvpl": 7, "particular": 7, "parallel": 7, "By": 7, "easier": 7, "now": [7, 8, 9], "build": 7, "break": 7, "IN": [7, 8], "cc": 7, "min": 7, "max": 7, "choic": 7, "One": 7, "rest": [7, 8], "background": 7, "anoth": 7, "train": 7, "machin": 7, "learn": [7, 9], "connect": 7, "watersh": 7, "finner": 7, "perhap": 7, "seper": 7, "four": 7, "reus": 7, "variat": 7, "model_predict": 7, "direct_inst_segment": 7, "watershed_inst_segment": 7, "cell_cnt_from_inst": 7, "go": [7, 9], "actual": 7, "recommend": 7, "although": 7, "argu": 7, "oop": 7, "mean": [7, 8], "subdirectori": 7, "set_tmpdir": 7, "close": [7, 8], "tmpdir": 7, "examplesegprocess": 7, "makedir": [7, 8], "compute_result": 7, "while": 7, "lambda": 7, "ndisplai": [7, 8], "4096": 7, "chunksiz": 7, "els": 7, "root_dir": 7, "flatter": 7, "fast": 7, "cross": 7, "zoom": 7, "boilerpl": 7, "setup": [7, 9], "__name__": [7, 8], "__main__": [7, 8], "main": [7, 8], "worker": [7, 8], "client": [7, 8], "config": [7, 8], "temporary_directori": [7, 8], "threads_per_work": [7, 8], "12": [7, 8], "n_worker": [7, 8], "load_im": 7, "cell_count_cach": 7, "At": 7, "through": 7, "__init__": 7, "relat": 7, "faster": 7, "configur": 8, "util": 8, "brief": 8, "descript": 8, "multithread": 8, "fit": 8, "written": 8, "scratch": 8, "enough": 8, "quickstart": 8, "post": 8, "initi": 8, "modifi": 8, "simplest": 8, "guid": 8, "TO": 8, "FOR": 8, "6": 8, "item": 8, "9": 8, "line": 8, "ensur": 8, "execut": 8, "creation": 8, "spawn": 8, "exactli": 8, "top": [8, 9], "guard": 8, "statement": 8, "present": 8, "lead": 8, "infinit": 8, "loop": 8, "complic": 8, "stem": 8, "fetch": 8, "drag": 8, "navig": 8, "across": 8, "speed": 8, "slow": 8, "lag": 8, "solut": 8, "solv": 8, "too": 8, "resourc": 8, "freed": 8, "had": 8, "right": 8, "echo": 8, "stdout": 8, "stderr": 8, "logfil": 8, "accident": 8, "dprint": 8, "logfile_stdout": 8, "log_stdout": 8, "w": 8, "logfile_stderr": 8, "log_stderr": 8, "sy": 8, "multioutputstream": 8, "map_fn": 8, "access": 8, "later": 8, "fix": 8, "manag": 8, "assign": 8, "belong": 8, "act": 8, "model": 8, "some_cache_path": 8, "exists_ok": 8, "put": 8, "multi_step_comput": 8, "cache_at": 8, "computea": 8, "cache_path_b": 8, "computebfroma": 8, "sub_temp_directori": 8, "mult_step_cach": 8, "sort": 8, "complex": 8, "broken": 8, "smaller": 8, "simpler": 8, "amount": 8, "tear": 8, "bother": 8, "quick": 8, "local": [8, 9], "pretti": 8, "bare": 8, "bone": 8, "custom": 8, "qsetup": 8, "captur": 8, "programmingtool": 8, "computervis": 8, "robartsresearch": 8, "plcompon": 8, "cachedirectorythread": 8, "client_arg": 8, "use_view": 8, "plc": 8, "AND": 8, "anyon": 8, "witht": 8, "pleas": 8, "let": [8, 9], "me": [8, 9], "tool": 9, "scipi": 9, "scikit": 9, "These": 9, "pip": 9, "depend": 9, "version": 9, "spimquant": 9, "conflict": 9, "instal": 9, "pyqt": 9, "pyside2": 9, "gettingstart": 9, "quicker": 9, "motiv": 9, "microscop": 9, "atla": 9, "extend": 9, "overview": 9, "tip": 9, "bs_to_o": 9, "lc_to_cc": 9, "os_to_cc": 9, "os_to_lc": 9, "any_to_ani": 9}, "objects": {"cvpl_tools.im.fs": [[0, 0, 1, "", "CacheDirectory"], [0, 0, 1, "", "CachePath"], [0, 0, 1, "", "CacheRootDirectory"], [0, 3, 1, "", "display"], [0, 3, 1, "", "load"], [0, 3, 1, "", "save"]], "cvpl_tools.im.fs.CacheDirectory": [[0, 1, 1, "", "cache"], [0, 1, 1, "", "cache_im"], [0, 1, 1, "", "cache_subdir"], [0, 1, 1, "", "cache_subpath"], [0, 1, 1, "", "children_from_path"], [0, 1, 1, "", "remove_tmp"]], "cvpl_tools.im.fs.CachePath": [[0, 2, 1, "", "abs_path"], [0, 2, 1, "", "filename"], [0, 1, 1, "", "filename_form_meta"], [0, 2, 1, "", "is_dir"], [0, 1, 1, "", "meta_from_filename"], [0, 2, 1, "", "rel_path"]], "cvpl_tools.im.fs.CacheRootDirectory": [[0, 2, 1, "", "abs_path"]], "cvpl_tools.im.ndblock": [[2, 0, 1, "", "NDBlock"], [2, 0, 1, "", "ReprFormat"]], "cvpl_tools.im.ndblock.NDBlock": [[2, 1, 1, "", "as_dask_array"], [2, 1, 1, "", "get_chunksize"], [2, 1, 1, "", "is_numpy"], [2, 1, 1, "", "load"], [2, 1, 1, "", "map_ndblocks"], [2, 1, 1, "", "reduce"], [2, 1, 1, "", "save"], [2, 1, 1, "", "select_columns"], [2, 1, 1, "", "sum"], [2, 1, 1, "", "to_dask_array"], [2, 1, 1, "", "to_dict_block_index_slices"], [2, 1, 1, "", "to_numpy_array"]], "cvpl_tools.im.process.any_to_any": [[4, 0, 1, "", "DownsamplingByIntFactor"], [4, 0, 1, "", "UpsamplingByIntFactor"]], "cvpl_tools.im.process.any_to_any.DownsamplingByIntFactor": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor": [[4, 1, 1, "", "forward"], [4, 1, 1, "", "np_forward"]], "cvpl_tools.im.process.bs_to_os": [[4, 0, 1, "", "DirectBSToOS"], [4, 0, 1, "", "Watershed3SizesBSToOS"]], "cvpl_tools.im.process.bs_to_os.DirectBSToOS": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.process.lc_to_cc": [[4, 0, 1, "", "CountLCBySize"], [4, 0, 1, "", "CountLCEdgePenalized"]], "cvpl_tools.im.process.lc_to_cc.CountLCBySize": [[4, 1, 1, "", "cc_list"], [4, 1, 1, "", "forward"]], "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized": [[4, 1, 1, "", "cc_list"], [4, 1, 1, "", "forward"], [4, 1, 1, "", "np_features"]], "cvpl_tools.im.process.os_to_cc": [[4, 0, 1, "", "CountOSBySize"]], "cvpl_tools.im.process.os_to_cc.CountOSBySize": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.process.os_to_lc": [[4, 0, 1, "", "DirectOSToLC"]], "cvpl_tools.im.process.os_to_lc.DirectOSToLC": [[4, 1, 1, "", "aggregate_by_id"], [4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process": [[4, 0, 1, "", "BSPredictor"], [4, 0, 1, "", "BinaryAndCentroidListToInstance"], [4, 0, 1, "", "BlobDog"], [4, 0, 1, "", "BlockToBlockProcess"], [4, 0, 1, "", "GaussianBlur"], [4, 0, 1, "", "SegProcess"], [4, 0, 1, "", "SimpleThreshold"], [4, 0, 1, "", "SumScaledIntensity"], [4, 3, 1, "", "lc_interpretable_napari"]], "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance": [[4, 1, 1, "", "bacl_forward"], [4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process.BlobDog": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process.BlockToBlockProcess": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process.SegProcess": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process.SumScaledIntensity": [[4, 1, 1, "", "forward"]], "cvpl_tools.ome_zarr.io": [[3, 3, 1, "", "load_dask_array_from_path"], [3, 3, 1, "", "load_zarr_group_from_path"], [3, 3, 1, "", "write_ome_zarr_image"]], "cvpl_tools.ome_zarr.napari.zarr_viewer": [[1, 3, 1, "", "add_ome_zarr_array"], [1, 3, 1, "", "add_ome_zarr_array_from_path"], [1, 3, 1, "", "add_ome_zarr_group"], [1, 3, 1, "", "add_ome_zarr_group_from_path"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:property", "3": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "property", "Python property"], "3": ["py", "function", "Python function"]}, "titleterms": {"cvpl_tool": [0, 1, 2, 3, 4, 9], "im": [0, 2, 4], "f": 0, "py": [0, 1, 2, 3, 4], "napari": 1, "zarr": [1, 5], "ndblock": 2, "ome_zarr": [3, 5], "io": 3, "seg_process": 4, "bs_to_o": 4, "lc_to_cc": 4, "os_to_cc": 4, "os_to_lc": 4, "any_to_ani": 4, "view": 5, "om": 5, "file": [5, 6], "read": 5, "write": 5, "specifi": 5, "slice": 5, "path": 5, "result": 6, "cach": 6, "overview": 6, "cacherootdirectori": 6, "cachedirectori": [6, 8], "cachepoint": 6, "find": 6, "tip": 6, "segment": 7, "pipelin": 7, "motiv": 7, "microscop": 7, "cell": 7, "count": 7, "atla": 7, "map": 7, "object": 7, "The": 7, "segprocess": 7, "class": 7, "extend": 7, "run": 7, "set": 8, "up": 8, "script": 8, "dask": 8, "cluster": 8, "temporari": 8, "directori": 8, "log": 8, "setup": 8, "A": 8, "quicker": 8, "introduct": 9, "document": 9, "content": 9, "api": 9, "refer": 9}, "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/fs.py": [[0, "cvpl-tools-im-fs-py"]], "cvpl_tools/napari/zarr.py": [[1, "cvpl-tools-napari-zarr-py"]], "cvpl_tools/im/ndblock.py": [[2, "cvpl-tools-im-ndblock-py"]], "cvpl_tools/ome_zarr/io.py": [[3, "cvpl-tools-ome-zarr-io-py"]], "cvpl_tools/im/seg_process.py": [[4, "cvpl-tools-im-seg-process-py"]], "bs_to_os": [[4, "bs-to-os"]], "lc_to_cc": [[4, "lc-to-cc"]], "os_to_cc": [[4, "os-to-cc"]], "os_to_lc": [[4, "os-to-lc"]], "any_to_any": [[4, "any-to-any"]], "OME_ZARR": [[5, "ome-zarr"]], "Viewing of ome zarr file": [[5, "viewing-of-ome-zarr-file"]], "Reading and Writing ome zarr files": [[5, "reading-and-writing-ome-zarr-files"]], "Specifying slices in path": [[5, "specifying-slices-in-path"]], "Result Caching": [[6, "result-caching"]], "Overview": [[6, "overview"]], "CacheRootDirectory": [[6, "cacherootdirectory"]], "CacheDirectory": [[6, "cachedirectory"], [8, "cachedirectory"]], "CachePointer": [[6, "cachepointer"]], "Finding Cached Files": [[6, "finding-cached-files"]], "Tips": [[6, "tips"]], "Segmentation Pipeline": [[7, "segmentation-pipeline"]], "Motivation: Microscope, Cell Counting, Atlas map and Object Segmentation": [[7, "motivation-microscope-cell-counting-atlas-map-and-object-segmentation"]], "The SegProcess Class": [[7, "the-segprocess-class"]], "Extending the Pipeline": [[7, "extending-the-pipeline"]], "Running the Pipeline": [[7, "running-the-pipeline"]], "Setting Up the Script": [[8, "setting-up-the-script"]], "Dask Cluster and temporary directory": [[8, "dask-cluster-and-temporary-directory"]], "Dask Logging Setup": [[8, "dask-logging-setup"]], "A Quicker Setup": [[8, "a-quicker-setup"]], "Introduction - cvpl_tools documentation": [[9, "introduction-cvpl-tools-documentation"]], "Contents:": [[9, null]], "API Reference": [[9, null]]}, "indexentries": {"cachedirectory (class in cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.CacheDirectory"]], "cachepath (class in cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.CachePath"]], "cacherootdirectory (class in cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.CacheRootDirectory"]], "abs_path (cvpl_tools.im.fs.cachepath property)": [[0, "cvpl_tools.im.fs.CachePath.abs_path"]], "abs_path (cvpl_tools.im.fs.cacherootdirectory property)": [[0, "cvpl_tools.im.fs.CacheRootDirectory.abs_path"]], "cache() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.cache"]], "cache_im() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.cache_im"]], "cache_subdir() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.cache_subdir"]], "cache_subpath() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.cache_subpath"]], "children_from_path() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.children_from_path"]], "display() (in module cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.display"]], "filename (cvpl_tools.im.fs.cachepath property)": [[0, "cvpl_tools.im.fs.CachePath.filename"]], "filename_form_meta() (cvpl_tools.im.fs.cachepath static method)": [[0, "cvpl_tools.im.fs.CachePath.filename_form_meta"]], "is_dir (cvpl_tools.im.fs.cachepath property)": [[0, "cvpl_tools.im.fs.CachePath.is_dir"]], "load() (in module cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.load"]], "meta_from_filename() (cvpl_tools.im.fs.cachepath static method)": [[0, "cvpl_tools.im.fs.CachePath.meta_from_filename"]], "rel_path (cvpl_tools.im.fs.cachepath property)": [[0, "cvpl_tools.im.fs.CachePath.rel_path"]], "remove_tmp() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.remove_tmp"]], "save() (in module cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.save"]], "add_ome_zarr_array() (in module cvpl_tools.ome_zarr.napari.zarr_viewer)": [[1, "cvpl_tools.ome_zarr.napari.zarr_viewer.add_ome_zarr_array"]], "add_ome_zarr_array_from_path() (in module cvpl_tools.ome_zarr.napari.zarr_viewer)": [[1, "cvpl_tools.ome_zarr.napari.zarr_viewer.add_ome_zarr_array_from_path"]], "add_ome_zarr_group() (in module cvpl_tools.ome_zarr.napari.zarr_viewer)": [[1, "cvpl_tools.ome_zarr.napari.zarr_viewer.add_ome_zarr_group"]], "add_ome_zarr_group_from_path() (in module cvpl_tools.ome_zarr.napari.zarr_viewer)": [[1, "cvpl_tools.ome_zarr.napari.zarr_viewer.add_ome_zarr_group_from_path"]], "ndblock (class in cvpl_tools.im.ndblock)": [[2, "cvpl_tools.im.ndblock.NDBlock"]], "reprformat (class in cvpl_tools.im.ndblock)": [[2, "cvpl_tools.im.ndblock.ReprFormat"]], "as_dask_array() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.as_dask_array"]], "get_chunksize() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.get_chunksize"]], "is_numpy() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.is_numpy"]], "load() (cvpl_tools.im.ndblock.ndblock static method)": [[2, "cvpl_tools.im.ndblock.NDBlock.load"]], "map_ndblocks() (cvpl_tools.im.ndblock.ndblock static method)": [[2, "cvpl_tools.im.ndblock.NDBlock.map_ndblocks"]], "reduce() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.reduce"]], "save() (cvpl_tools.im.ndblock.ndblock static method)": [[2, "cvpl_tools.im.ndblock.NDBlock.save"]], "select_columns() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.select_columns"]], "sum() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.sum"]], "to_dask_array() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.to_dask_array"]], "to_dict_block_index_slices() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.to_dict_block_index_slices"]], "to_numpy_array() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.to_numpy_array"]], "load_dask_array_from_path() (in module cvpl_tools.ome_zarr.io)": [[3, "cvpl_tools.ome_zarr.io.load_dask_array_from_path"]], "load_zarr_group_from_path() (in module cvpl_tools.ome_zarr.io)": [[3, "cvpl_tools.ome_zarr.io.load_zarr_group_from_path"]], "write_ome_zarr_image() (in module cvpl_tools.ome_zarr.io)": [[3, "cvpl_tools.ome_zarr.io.write_ome_zarr_image"]], "bspredictor (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.BSPredictor"]], "binaryandcentroidlisttoinstance (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance"]], "blobdog (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.BlobDog"]], "blocktoblockprocess (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.BlockToBlockProcess"]], "countlcbysize (class in cvpl_tools.im.process.lc_to_cc)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCBySize"]], "countlcedgepenalized (class in cvpl_tools.im.process.lc_to_cc)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized"]], "countosbysize (class in cvpl_tools.im.process.os_to_cc)": [[4, "cvpl_tools.im.process.os_to_cc.CountOSBySize"]], "directbstoos (class in cvpl_tools.im.process.bs_to_os)": [[4, "cvpl_tools.im.process.bs_to_os.DirectBSToOS"]], "directostolc (class in cvpl_tools.im.process.os_to_lc)": [[4, "cvpl_tools.im.process.os_to_lc.DirectOSToLC"]], "downsamplingbyintfactor (class in cvpl_tools.im.process.any_to_any)": [[4, "cvpl_tools.im.process.any_to_any.DownsamplingByIntFactor"]], "gaussianblur (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.GaussianBlur"]], "segprocess (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.SegProcess"]], "simplethreshold (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.SimpleThreshold"]], "sumscaledintensity (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.SumScaledIntensity"]], "upsamplingbyintfactor (class in cvpl_tools.im.process.any_to_any)": [[4, "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor"]], "watershed3sizesbstoos (class in cvpl_tools.im.process.bs_to_os)": [[4, "cvpl_tools.im.process.bs_to_os.Watershed3SizesBSToOS"]], "aggregate_by_id() (cvpl_tools.im.process.os_to_lc.directostolc method)": [[4, "cvpl_tools.im.process.os_to_lc.DirectOSToLC.aggregate_by_id"]], "bacl_forward() (cvpl_tools.im.seg_process.binaryandcentroidlisttoinstance method)": [[4, "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance.bacl_forward"]], "cc_list() (cvpl_tools.im.process.lc_to_cc.countlcbysize method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCBySize.cc_list"]], "cc_list() (cvpl_tools.im.process.lc_to_cc.countlcedgepenalized method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized.cc_list"]], "forward() (cvpl_tools.im.process.any_to_any.downsamplingbyintfactor method)": [[4, "cvpl_tools.im.process.any_to_any.DownsamplingByIntFactor.forward"]], "forward() (cvpl_tools.im.process.any_to_any.upsamplingbyintfactor method)": [[4, "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor.forward"]], "forward() (cvpl_tools.im.process.bs_to_os.directbstoos method)": [[4, "cvpl_tools.im.process.bs_to_os.DirectBSToOS.forward"]], "forward() (cvpl_tools.im.process.lc_to_cc.countlcbysize method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCBySize.forward"]], "forward() (cvpl_tools.im.process.lc_to_cc.countlcedgepenalized method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized.forward"]], "forward() (cvpl_tools.im.process.os_to_cc.countosbysize method)": [[4, "cvpl_tools.im.process.os_to_cc.CountOSBySize.forward"]], "forward() (cvpl_tools.im.process.os_to_lc.directostolc method)": [[4, "cvpl_tools.im.process.os_to_lc.DirectOSToLC.forward"]], "forward() (cvpl_tools.im.seg_process.binaryandcentroidlisttoinstance method)": [[4, "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance.forward"]], "forward() (cvpl_tools.im.seg_process.blobdog method)": [[4, "cvpl_tools.im.seg_process.BlobDog.forward"]], "forward() (cvpl_tools.im.seg_process.blocktoblockprocess method)": [[4, "cvpl_tools.im.seg_process.BlockToBlockProcess.forward"]], "forward() (cvpl_tools.im.seg_process.segprocess method)": [[4, "cvpl_tools.im.seg_process.SegProcess.forward"]], "forward() (cvpl_tools.im.seg_process.sumscaledintensity method)": [[4, "cvpl_tools.im.seg_process.SumScaledIntensity.forward"]], "lc_interpretable_napari() (in module cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.lc_interpretable_napari"]], "np_features() (cvpl_tools.im.process.lc_to_cc.countlcedgepenalized method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized.np_features"]], "np_forward() (cvpl_tools.im.process.any_to_any.upsamplingbyintfactor method)": [[4, "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor.np_forward"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["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/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/fs.py", "cvpl_tools/napari/zarr.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": {"view": [0, 1, 2, 3, 4, 9], "sourc": [0, 1, 2, 3, 4], "api": [0, 1, 2, 3, 4, 5, 7, 8], "save": [0, 2, 5, 6, 7, 8, 9], "file": [0, 1, 2, 3, 7, 8, 9], "str": [0, 1, 2, 3, 4], "storage_opt": [0, 2, 3], "dict": [0, 1, 2, 3, 4, 5, 7, 8], "none": [0, 1, 2, 3, 4, 5, 7, 8], "an": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "imag": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "object": [0, 1, 2, 4, 5, 6, 8, 9], "given": [0, 1, 2, 4], "path": [0, 1, 2, 3, 6, 7, 8, 9], "support": [0, 3, 5, 6, 7, 8], "type": [0, 2, 3, 4, 5, 7], "np": [0, 4, 7, 8], "ndarrai": [0, 2, 4], "dask": [0, 2, 3, 4, 5, 6, 7, 9], "arrai": [0, 1, 2, 3, 4, 5, 7, 8], "ndblock": [0, 4, 7, 9], "storag": [0, 2, 5], "option": [0, 2, 3, 5, 7], "preferred_chunks": [0, 7], "tupl": [0, 2, 4, 8], "int": [0, 1, 2, 3, 4], "chunk": [0, 2, 4, 5, 6, 7, 8], "size": [0, 2, 4, 7], "rechunk": [0, 6], "differ": [0, 2, 3, 4, 7, 8], "from": [0, 1, 2, 3, 4, 5, 6, 7, 8], "current": [0, 2, 4, 8], "onli": [0, 1, 2, 3, 5, 6, 7, 8], "appli": [0, 2, 4], "multiscal": [0, 1, 2, 5, 7, 8], "0": [0, 1, 2, 3, 4, 5, 7], "The": [0, 1, 2, 3, 4, 5, 6, 8, 9], "number": [0, 1, 2, 4, 6, 7, 8], "downsampl": [0, 4, 5, 7], "layer": [0, 1, 3, 4, 5], "om": [0, 1, 3, 6, 7, 8, 9], "zarr": [0, 3, 6, 7, 8, 9], "i": [0, 1, 2, 3, 4, 5, 6, 7, 8], "compressor": [0, 2], "us": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "compress": [0, 2], "paramet": [0, 1, 2, 3, 4, 7], "full": 0, "rel": [0, 7], "directori": [0, 3, 4, 5, 6, 7, 9], "specifi": [0, 2, 3, 4, 6, 7, 9], "method": [0, 2, 7], "format": [0, 2, 5, 6, 7], "load": [0, 2, 3, 5, 6, 7, 8, 9], "one": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "read": [0, 3, 6, 9], "return": [0, 2, 3, 4, 6, 7, 8], "recreat": 0, "thi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "attempt": 0, "keep": 0, "meta": [0, 4, 5, 8], "content": [0, 2], "stai": 0, "same": [0, 2, 4, 5, 6, 8, 9], "when": [0, 2, 3, 4, 5, 6, 7, 8], "thei": [0, 2, 4, 6, 7, 8], "ar": [0, 2, 4, 5, 6, 7, 8, 9], "displai": [0, 1, 4, 5, 6, 7, 8, 9], "viewer_arg": [0, 4, 7, 8], "viewer": [0, 1, 4, 5, 6, 7, 8, 9], "numpi": [0, 2, 3, 4, 5, 7, 8, 9], "contain": [0, 1, 2, 4, 5, 6, 8], "argument": [0, 1, 2, 4, 5, 7], "pass": [0, 1, 2, 3, 5, 7, 8], "": [0, 1, 2, 4, 5, 6, 7, 8], "add": [0, 1, 4, 5, 7, 8], "function": [0, 1, 2, 3, 4, 5, 6, 7, 8], "class": [0, 2, 4, 5, 6, 8, 9], "cachepath": [0, 6, 9], "root": [0, 1, 5, 6, 7, 8], "cacherootdirectori": [0, 7, 8, 9], "path_seg": 0, "parent": [0, 6, 8], "cachedirectori": [0, 7, 9], "exist": [0, 1, 6, 7, 8], "bool": [0, 1, 2, 3, 4], "fals": [0, 1, 2, 3, 4, 5, 6, 7, 8], "A": [0, 2, 4, 5, 6, 9], "pointer": [0, 6], "cach": [0, 4, 7, 8, 9], "locat": [0, 2, 4, 5, 6, 7], "within": [0, 7], "hierarch": [0, 7, 8], "structur": [0, 5, 8], "two": [0, 2, 4, 5, 6, 7, 8], "implement": [0, 5, 6, 7], "program": [0, 6, 8], "pattern": 0, "where": [0, 1, 4, 5, 6, 7, 8], "subclass": [0, 4, 6, 7, 8], "zero": [0, 2, 6, 8], "more": [0, 4, 5, 6, 7, 8], "its": [0, 1, 5, 6], "children": [0, 6], "To": [0, 5, 6, 7, 8], "creat": [0, 2, 3, 5, 6, 7, 8], "alloc": 0, "new": [0, 5, 6, 7], "find": [0, 7, 9], "name": [0, 2, 3, 4, 5, 6], "suggest": 0, "associ": [0, 1, 4], "automat": [0, 6, 8], "properti": [0, 2], "abs_path": [0, 6, 7, 8], "obtain": [0, 7], "o": [0, 7, 8], "under": [0, 3, 4, 6, 7, 8], "which": [0, 2, 3, 4, 5, 6, 7, 8], "you": [0, 2, 3, 4, 5, 6, 7, 8, 9], "can": [0, 1, 2, 3, 5, 6, 7, 8, 9], "first": [0, 1, 2, 4, 5, 6, 7], "time": [0, 5, 6, 7, 8], "cache_path": [0, 6, 7, 8], "point": [0, 4, 6, 7], "empti": [0, 2, 7, 8], "second": [0, 6, 8], "onward": 0, "remov": [0, 6, 7], "previous": 0, "filenam": 0, "last": [0, 6], "segment": [0, 1, 4, 5, 8, 9], "typic": [0, 8], "cid": [0, 4, 6, 7, 8], "prepend": 0, "is_dir": [0, 6], "is_tmp": [0, 6], "inform": [0, 4], "do": [0, 4, 5, 7, 8], "call": [0, 1, 7, 8], "static": [0, 2], "filename_form_meta": 0, "ani": [0, 2, 4, 5, 8], "dictionari": [0, 1, 5], "string": [0, 3, 5], "true": [0, 1, 2, 3, 4, 5, 6, 7, 8], "instead": [0, 1, 2, 3, 4, 5, 6], "In": [0, 2, 3, 6, 7, 8], "other": [0, 4, 8, 9], "word": 0, "leaf": [0, 6], "node": [0, 6], "meta_from_filenam": 0, "return_none_if_malform": 0, "retriev": [0, 2], "plan": [0, 7], "If": [0, 1, 2, 3, 4, 5, 7, 8, 9], "throw": 0, "error": [0, 6], "malform": 0, "rel_path": 0, "remove_when_don": [0, 6, 7, 8], "read_if_exist": [0, 6, 7, 8], "correspond": [0, 3, 4], "similar": [0, 2, 3, 5], "_create_cach": 0, "intermedi": [0, 6, 7, 8], "offset": 0, "decis": [0, 6], "often": [0, 6, 7], "we": [0, 2, 3, 5, 6, 7, 8], "result": [0, 1, 2, 4, 5, 7, 8, 9], "singl": [0, 1, 2, 4, 5, 6, 7], "prefer": [0, 7], "make": [0, 4, 6, 7, 8], "befor": [0, 4, 5, 7, 8], "inappropri": 0, "avoid": [0, 2, 6], "struct": [0, 6], "desir": 0, "either": [0, 2, 3, 5, 7], "itself": [0, 8], "cachepoint": [0, 4, 7, 9], "cache_im": [0, 7], "fn": [0, 2], "cache_level": 0, "float": [0, 4, 7], "comput": [0, 2, 4, 5, 6, 7, 8], "alreadi": [0, 2], "id": [0, 4, 8], "level": [0, 1, 3, 5, 7], "oper": 0, "note": [0, 2, 5, 6, 7, 9], "even": [0, 6, 8], "skip": [0, 7, 8], "avail": [0, 8], "disk": [0, 3, 6, 8], "still": 0, "cache_subdir": [0, 6, 8], "wrapper": [0, 4], "see": [0, 5, 7, 8], "doc": 0, "cache_subpath": [0, 6, 8], "children_from_path": 0, "prefix_path_seg": 0, "examin": 0, "recurs": [0, 6], "all": [0, 2, 6, 7, 8], "prefix": 0, "found": [0, 4, 7, 8], "json": 0, "map": [0, 2, 9], "determin": [0, 3, 6, 8], "remove_tmp": 0, "travers": 0, "subnod": 0, "self": [0, 4, 7], "those": [0, 8], "system": [0, 5, 6, 8], "For": [1, 2, 3, 4, 6, 7, 8], "add_ome_zarr_array_from_path": [1, 5, 8, 9], "gener": [1, 2, 4, 6], "ha": [1, 2, 5, 7], "label": [1, 3, 4, 5], "ome_zarr": [1, 9], "image_ome_zarr": 1, "label_nam": [1, 5], "open": [1, 3, 5, 8], "togeth": [1, 4], "add_ome_zarr_group_from_path": [1, 5, 9], "zarr_view": [1, 5, 9], "add_ome_zarr_group": [1, 5, 9], "zarr_group": [1, 5], "group": [1, 3], "merge_channel": 1, "kwarg": [1, 4, 5], "lbl_kwarg": 1, "along": 1, "attach": 1, "per": 1, "channel": [1, 3, 5], "keyword": 1, "add_imag": [1, 5, 7], "add_ome_zarr_arrai": [1, 9], "start_level": 1, "is_label": [1, 4, 5, 7], "assum": [1, 2, 3], "dimens": [1, 4], "relev": 1, "hierarchi": 1, "lowest": 1, "highest": 1, "resolut": 1, "ad": [1, 5, 7, 8], "default": [1, 3, 7, 8], "suitabl": [1, 6, 7], "instanc": [1, 4, 5, 6, 7], "mask": [1, 4, 5, 7], "need": [1, 4, 5, 6, 7, 8], "distinct": [1, 5], "color": [1, 4, 5], "each": [1, 2, 4, 5, 6, 7], "use_zip": [1, 3, 5], "combin": 1, "load_zarr_group_from_path": [1, 3, 5, 9], "load_zarr_array_from_path": 1, "arr": [2, 8], "dtype": [2, 4, 8], "_scalartype_co": [2, 4], "repres": [2, 6, 7], "n": [2, 4, 7], "dimension": [2, 7], "grid": 2, "block": [2, 4, 7, 8], "arbitrari": [2, 7], "shape": [2, 3, 4, 5], "1": [2, 3, 4, 5, 6, 7, 8], "ax": 2, "match": [2, 6, 7], "case": [2, 3, 4, 5, 6, 7, 8], "vari": 2, "e": [2, 3, 7], "g": [2, 3, 5, 7], "2": [2, 3, 4, 5, 6, 7, 8], "mai": [2, 4, 5, 6, 7, 8], "neighbor": [2, 4], "5": [2, 4], "10": [2, 4], "block_index": [2, 4], "list": [2, 4], "alwai": [2, 6], "order": [2, 4, 6, 8], "m": 2, "increas": 2, "side": [2, 7], "tail": 2, "as_dask_arrai": 2, "tmp_dirpath": 2, "get": [2, 4, 6, 7, 8], "copi": [2, 3], "valu": [2, 5, 8], "doubl": [2, 4, 5], "best": [2, 7], "provid": [2, 3, 4, 5, 7, 8, 9], "input": [2, 4, 5, 7, 8], "reprformat": [2, 9], "dict_block_index_slic": 2, "convert": [2, 4, 7], "get_chunks": 2, "axi": [2, 5], "length": [2, 4], "ndim": [2, 4], "is_numpi": 2, "besid": 2, "have": [2, 3, 5, 6, 7, 8], "delai": 2, "former": 2, "latter": 2, "opiton": 2, "guarante": 2, "map_ndblock": 2, "sequenc": [2, 4, 7], "callabl": [2, 4], "out_dtyp": [2, 4], "use_input_index_as_arrloc": 2, "new_slic": 2, "fn_arg": 2, "da": [2, 7, 8], "map_block": [2, 8], "work": [2, 4, 5, 6, 7, 8], "block_info": [2, 4, 8], "kei": 2, "must": 2, "indic": [2, 6], "over": [2, 7], "slice": [2, 3, 9], "well": [2, 5, 7], "output": [2, 3, 4, 6, 7, 8], "slices_list": 2, "ignor": 2, "variabl": [2, 5, 8], "replac": 2, "attribut": [2, 5, 6, 7], "extra": [2, 4, 5], "reduc": [2, 4, 6], "force_numpi": 2, "concaten": 2, "forc": 2, "analysi": [2, 7], "requir": [2, 3, 6, 7, 8, 9], "previou": 2, "Will": 2, "immedi": 2, "write": [2, 3, 6, 7, 8, 9], "multilevel": 2, "non": [2, 6], "select_column": 2, "col": 2, "perform": [2, 7], "column": 2, "select": 2, "2d": [2, 4, 6], "sum": [2, 8], "keepdim": 2, "to_dask_arrai": 2, "represent": 2, "temporari": [2, 3, 5, 6, 7, 9], "want": [2, 4, 5, 6, 7, 8], "repeat": 2, "to_dict_block_index_slic": 2, "to_numpy_arrai": 2, "modul": [2, 7, 8], "qualnam": 2, "start": [2, 3, 6, 8], "boundari": [2, 4], "possibl": 2, "numpy_arrai": 2, "dask_arrai": 2, "load_dask_array_from_path": [3, 5, 9], "directli": [3, 5, 6, 7], "altern": 3, "mode": [3, 5, 8], "from_zarr": 3, "would": [3, 7, 8], "like": [3, 4, 5, 6, 8], "zip": [3, 5], "write_ome_zarr_imag": [3, 5, 9], "onto": [3, 6], "folder": [3, 5, 6, 7], "r": [3, 5], "treat": [3, 4, 7], "entir": [3, 5], "compar": 3, "allow": [3, 5, 7, 8], "queri": 3, "syntax": [3, 5], "idea": [3, 5, 7], "thank": 3, "davi": [3, 5], "bennett": [3, 5], "thread": [3, 7, 8], "http": 3, "forum": 3, "sc": 3, "t": [3, 7], "97798": 3, "exampl": [3, 7, 8], "200": [3, 5], "1000": [3, 5], "arr_origin": [3, 5], "arr1": [3, 5], "arr2": [3, 5], "100": [3, 4, 5], "arr3": [3, 5], "500": [3, 5], "essenti": 3, "python": [3, 5, 8], "multi": [3, 5, 7, 8], "index": [3, 4], "done": [3, 5, 7], "effect": 3, "torch": [3, 5], "ome_zarr_path": 3, "tmp_path": [3, 7, 8], "da_arr": 3, "lbl_arr": 3, "lbl_name": 3, "make_zip": 3, "max_lay": 3, "log": [3, 6, 9], "lbl_storage_opt": 3, "due": [3, 4, 5], "doe": [3, 4, 5, 6, 7, 8], "temp": 3, "after": [3, 5, 6, 7, 8], "why": [3, 4, 5, 6], "target": [3, 5], "store": [3, 5, 7], "base": [3, 4, 7, 8], "suffix": [3, 5], "maximum": [3, 5, 7], "down": [3, 4, 7, 8], "sampl": [3, 4], "print": [3, 8], "messag": [3, 8], "job": 3, "end": [3, 5, 7], "q": 4, "baseclass": 4, "segprocess": [4, 8, 9], "blocktoblockprocess": [4, 9], "defin": [4, 7, 8, 9], "my": [4, 8], "own": 4, "pipelin": [4, 8, 9], "should": [4, 5, 7, 8], "around": 4, "code": [4, 5, 7, 8], "whose": 4, "process": [4, 6, 7, 8, 9], "centroid": [4, 7], "abstract": [4, 7], "forward": [4, 7], "arg": 4, "just": [4, 6, 7], "step": [4, 6, 7, 8], "visual": [4, 7, 9], "underli": [4, 5], "mechan": [4, 6], "napari": [4, 5, 6, 7, 8, 9], "interpret": [4, 7], "debug": [4, 6, 7, 8], "purpos": 4, "compute_chunk_s": 4, "cptr": [4, 6, 7], "lc_interpretable_napari": [4, 7, 9], "layer_nam": 4, "lc": 4, "extra_featur": 4, "text_color": 4, "green": 4, "featur": [4, 5, 8], "row": 4, "nextra": 4, "text": [4, 6, 8], "built": [4, 9], "gaussianblur": [4, 9], "sigma": 4, "bspredictor": [4, 9], "pred_fn": 4, "simplethreshold": [4, 9], "threshold": [4, 7], "blobdog": [4, 9], "min_sigma": 4, "max_sigma": 4, "float32": [4, 7], "sumscaledintens": [4, 9], "scale": 4, "008": 4, "min_thr": 4, "spatial_box_width": 4, "binaryandcentroidlisttoinst": [4, 9], "maxsplit": 4, "take": [4, 6, 7, 8], "binari": [4, 7], "detect": 4, "algorithm": [4, 6, 7], "Then": [4, 7], "split": 4, "pixel": [4, 7], "fine": 4, "closer": 4, "correctli": 4, "bacl_forward": 4, "b": [4, 7, 8], "uint8": [4, 7, 8], "float64": [4, 7], "int32": [4, 7], "ordin": [4, 7], "section": [4, 7], "integ": [4, 5], "directbstoo": 4, "is_glob": 4, "watershed3sizesbstoo": 4, "size_thr": 4, "60": 4, "dist_thr": 4, "rst": 4, "size_thres2": 4, "dist_thres2": 4, "rst2": 4, "cell": [4, 6, 9], "count": [4, 9], "describ": [4, 6, 8], "about": [4, 5, 6], "summar": 4, "statist": 4, "countlcbys": 4, "size_threshold": 4, "25": 4, "volume_weight": 4, "006": 4, "border_param": 4, "3": [4, 5, 6, 7, 8], "min_siz": 4, "sever": [4, 7], "below": [4, 6, 7, 8], "contour": [4, 7], "part": [4, 6, 7], "abov": [4, 5, 6, 8], "seen": 4, "cluster": [4, 7, 9], "estim": [4, 7], "volum": [4, 7], "ncell": 4, "penal": 4, "accord": 4, "distanc": 4, "between": [4, 7], "voxel": 4, "touch": 4, "edg": 4, "penalti": 4, "4": [4, 5, 7], "simpli": [4, 7], "discard": [4, 6, 8], "becaus": [4, 6], "artifact": 4, "cc_list": 4, "os_shap": 4, "assumpt": 4, "nvoxel": 4, "edge_contact": 4, "countlcedgepen": 4, "calcul": 4, "image_shap": 4, "fact": 4, "suffici": 4, "far": 4, "divisor": 4, "becom": [4, 7], "decreas": 4, "toward": 4, "sinc": [4, 7, 8], "tripl": 4, "corner": [4, 5], "etc": [4, 7], "d": 4, "element": 4, "scalar": 4, "np_featur": 4, "concat": 4, "left": [4, 5], "oridn": 4, "countosbys": 4, "directostolc": 4, "ex_statist": 4, "origin": [4, 5], "come": [4, 6, 7], "so": [4, 6, 8], "aggregate_by_id": 4, "aggreg": 4, "_ndblock": 4, "adapt": 4, "data": [4, 7, 8], "adequ": 4, "classif": 4, "downsamplingbyintfactor": 4, "factor": 4, "sure": [4, 7, 8], "set": [4, 5, 7, 9], "bright": [4, 7], "rgb": 4, "correspondingli": 4, "tmp": [4, 8], "upsamplingbyintfactor": 4, "upsampl": 4, "up": [4, 6, 7, 9], "np_forward": 4, "command": [5, 8], "widget": 5, "button": 5, "bottom": 5, "window": [5, 8], "invok": 5, "wai": [5, 6, 7], "cvpl_tool": [5, 7, 8], "import": [5, 7, 8], "cvpl_zarr": 5, "absolut": 5, "your": [5, 7, 8], "displayed_name_in_ui": 5, "regardless": [5, 8], "both": [5, 6, 8], "standard": 5, "addit": 5, "googl": 5, "cloud": [5, 9], "follow": [5, 6, 7, 8], "gcsf": 5, "gf": 5, "gcsfilesystem": 5, "token": 5, "get_mapp": 5, "path_to_your": 5, "via": 5, "boolean": 5, "whether": [5, 6], "add_label": [5, 7], "segmentaion": 5, "similarli": [5, 6], "multipl": 5, "talk": 5, "understand": [5, 6, 7], "basic": [5, 6, 7], "what": [5, 6, 7], "look": [5, 6, 7, 8], "linux": 5, "x": 5, "zarrai": 5, "smallest": 5, "zattr": 5, "zgroup": 5, "denot": [5, 7], "collaps": 5, "expand": 5, "few": [5, 7], "thing": 5, "here": [5, 6, 7, 8], "multisc": 5, "confus": 5, "crash": 5, "forget": 5, "subfold": [5, 6], "except": [5, 8], "zipstor": 5, "individu": 5, "without": [5, 6, 8], "unpack": 5, "howev": [5, 8], "lack": [5, 7], "librari": [5, 6, 7, 8], "hpc": [5, 8], "canada": [5, 8], "better": [5, 7], "larg": [5, 7, 8], "than": [5, 7], "mani": [5, 6, 7, 8], "small": [5, 7], "thu": 5, "somewher": 5, "As": [5, 7], "2024": 5, "8": 5, "14": 5, "writer": 5, "issu": [5, 6, 7, 8], "patch": 5, "our": [5, 7, 8], "ve": [5, 8], "also": [5, 7, 8], "page": [5, 7, 8], "io": [5, 9], "py": [5, 8, 9], "how": [5, 7, 8, 9], "task": [5, 8], "respect": 5, "y": 5, "z": 5, "conveni": [5, 7, 8], "load_ome_zarr_array_from_path": 5, "much": [5, 8], "discuss": [5, 7], "commonli": 5, "script": [5, 7, 9], "run": [5, 6, 8, 9], "in_channel": 5, "With": [5, 8], "sub": [5, 6, 8], "region": [5, 6, 7], "crop": 5, "some": [6, 7, 8], "onc": [6, 7, 8], "think": 6, "encount": [6, 8], "long": [6, 7], "workflow": [6, 7], "densiti": [6, 7], "scan": 6, "expect": [6, 7], "heatmap": 6, "graphic": 6, "show": [6, 7, 8], "final": [6, 7, 8], "got": 6, "consol": 6, "redo": [6, 8], "occur": 6, "out": [6, 7], "caus": [6, 7, 8], "rather": 6, "difficult": 6, "went": 6, "wrong": 6, "aid": 6, "veri": [6, 7], "help": [6, 7], "identifi": [6, 7], "friendli": 6, "headach": 6, "risk": 6, "unknown": 6, "difficulti": 6, "distribut": [6, 7, 8], "environ": 6, "strategi": [6, 8], "overcom": 6, "insid": [6, 8], "tree": 6, "txt": [6, 8], "graph": 6, "plot": 6, "interfac": 6, "detail": 6, "everi": [6, 8], "imf": [6, 7, 8], "f": [6, 7, 8, 9], "temp_directori": [6, 7, 8], "cache_dir": 6, "test": [6, 7], "dir_cache_test": 6, "dir": [6, 8], "persist": [6, 7, 8], "next": [6, 7], "ones": 6, "pure": 6, "delet": 6, "finish": [6, 7], "otherwis": 6, "know": [6, 7, 8, 9], "anew": 6, "sub_cache_path": 6, "subpath1": 6, "sub_cache_dir": 6, "subdir1": 6, "though": [6, 8], "most": [6, 7], "refer": 6, "design": [6, 7], "flexibl": 6, "decid": 6, "equival": 6, "subpath2": 6, "subpath": [6, 7], "subdir2": 6, "subdir": 6, "It": [6, 7], "seem": [6, 8], "unnecessari": 6, "defer": 6, "child": 6, "handi": 6, "caller": 6, "care": 6, "def": [6, 7, 8], "im": [6, 7, 8, 9], "im2": 6, "plus_on": 6, "im3": 6, "times_thre": 6, "input_im": 6, "cacherootdirecotri": 6, "_": 6, "There": [6, 7], "noth": [6, 7], "fanci": 6, "happen": [6, 8], "quit": 6, "simpl": [6, 7, 8], "place": [6, 7, 9], "were": 6, "manual": 6, "dure": 6, "re": [6, 8], "chang": [6, 7, 8], "again": [6, 7], "recomput": 6, "them": [6, 7, 8], "receiv": 6, "bring": 6, "calle": 6, "separ": [6, 7, 8], "duplic": 6, "twice": 6, "speedup": 6, "readabl": 6, "flat": [6, 7], "scheme": 6, "back": [6, 7, 8], "memori": [6, 8], "slower": 6, "usual": [6, 8], "big": 6, "lightsheet": [7, 8], "microscopi": 7, "mous": [7, 8], "brain": 7, "produc": [7, 8], "hundr": 7, "gb": 7, "necessari": 7, "trackabl": 7, "choos": 7, "project": 7, "research": 7, "autom": 7, "visibl": 7, "give": [7, 8], "accur": 7, "incom": 7, "abl": 7, "quickli": 7, "On": 7, "consist": 7, "dataset": 7, "larger": 7, "hard": 7, "ten": 7, "minut": 7, "hour": 7, "rerun": 7, "seg_process": [7, 8, 9], "u": 7, "consid": 7, "3d": 7, "cell_count": 7, "block3d": 7, "mark": 7, "inst": 7, "instance_segment": 7, "cell_cnt": 7, "count_inst": 7, "bug": 7, "unexpectedli": 7, "problem": [7, 8], "don": 7, "three": 7, "did": 7, "reason": 7, "ideal": 7, "costli": 7, "address": 7, "integr": 7, "cvpl": 7, "particular": 7, "parallel": 7, "By": 7, "easier": 7, "now": [7, 8, 9], "build": 7, "break": 7, "IN": [7, 8], "cc": 7, "min": 7, "max": 7, "choic": 7, "One": 7, "rest": [7, 8], "background": 7, "anoth": 7, "train": 7, "machin": 7, "learn": [7, 9], "connect": 7, "watersh": 7, "finner": 7, "perhap": 7, "seper": 7, "four": 7, "reus": 7, "variat": 7, "model_predict": 7, "direct_inst_segment": 7, "watershed_inst_segment": 7, "cell_cnt_from_inst": 7, "go": [7, 9], "actual": 7, "recommend": 7, "although": 7, "argu": 7, "oop": 7, "mean": [7, 8], "subdirectori": 7, "set_tmpdir": 7, "close": [7, 8], "tmpdir": 7, "examplesegprocess": 7, "makedir": [7, 8], "compute_result": 7, "while": 7, "lambda": 7, "ndisplai": [7, 8], "4096": 7, "chunksiz": 7, "els": 7, "root_dir": 7, "flatter": 7, "fast": 7, "cross": 7, "zoom": 7, "boilerpl": 7, "setup": [7, 9], "__name__": [7, 8], "__main__": [7, 8], "main": [7, 8], "worker": [7, 8], "client": [7, 8], "config": [7, 8], "temporary_directori": [7, 8], "threads_per_work": [7, 8], "12": [7, 8], "n_worker": [7, 8], "load_im": 7, "cell_count_cach": 7, "At": 7, "through": 7, "__init__": 7, "relat": 7, "faster": 7, "configur": 8, "util": 8, "brief": 8, "descript": 8, "multithread": 8, "fit": 8, "written": 8, "scratch": 8, "enough": 8, "quickstart": 8, "post": 8, "initi": 8, "modifi": 8, "simplest": 8, "guid": 8, "TO": 8, "FOR": 8, "6": 8, "item": 8, "9": 8, "line": 8, "ensur": 8, "execut": 8, "creation": 8, "spawn": 8, "exactli": 8, "top": [8, 9], "guard": 8, "statement": 8, "present": 8, "lead": 8, "infinit": 8, "loop": 8, "complic": 8, "stem": 8, "fetch": 8, "drag": 8, "navig": 8, "across": 8, "speed": 8, "slow": 8, "lag": 8, "solut": 8, "solv": 8, "too": 8, "resourc": 8, "freed": 8, "had": 8, "right": 8, "echo": 8, "stdout": 8, "stderr": 8, "logfil": 8, "accident": 8, "dprint": 8, "logfile_stdout": 8, "log_stdout": 8, "w": 8, "logfile_stderr": 8, "log_stderr": 8, "sy": 8, "multioutputstream": 8, "map_fn": 8, "access": 8, "later": 8, "fix": 8, "manag": 8, "assign": 8, "belong": 8, "act": 8, "model": 8, "some_cache_path": 8, "exists_ok": 8, "put": 8, "multi_step_comput": 8, "cache_at": 8, "computea": 8, "cache_path_b": 8, "computebfroma": 8, "sub_temp_directori": 8, "mult_step_cach": 8, "sort": 8, "complex": 8, "broken": 8, "smaller": 8, "simpler": 8, "amount": 8, "tear": 8, "bother": 8, "quick": 8, "local": [8, 9], "pretti": 8, "bare": 8, "bone": 8, "custom": 8, "qsetup": 8, "captur": 8, "c": 8, "programmingtool": 8, "computervis": 8, "robartsresearch": 8, "plcompon": 8, "cachedirectorythread": 8, "client_arg": 8, "use_view": 8, "plc": 8, "AND": 8, "anyon": 8, "witht": 8, "pleas": 8, "let": [8, 9], "me": [8, 9], "tool": 9, "scipi": 9, "scikit": 9, "These": 9, "pip": 9, "depend": 9, "version": 9, "spimquant": 9, "conflict": 9, "instal": 9, "pyqt": 9, "pyside2": 9, "gettingstart": 9, "quicker": 9, "motiv": 9, "microscop": 9, "atla": 9, "extend": 9, "overview": 9, "tip": 9, "bs_to_o": 9, "lc_to_cc": 9, "os_to_cc": 9, "os_to_lc": 9, "any_to_ani": 9}, "objects": {"cvpl_tools.im.fs": [[0, 0, 1, "", "CacheDirectory"], [0, 0, 1, "", "CachePath"], [0, 0, 1, "", "CacheRootDirectory"], [0, 3, 1, "", "display"], [0, 3, 1, "", "load"], [0, 3, 1, "", "save"]], "cvpl_tools.im.fs.CacheDirectory": [[0, 1, 1, "", "cache"], [0, 1, 1, "", "cache_im"], [0, 1, 1, "", "cache_subdir"], [0, 1, 1, "", "cache_subpath"], [0, 1, 1, "", "children_from_path"], [0, 1, 1, "", "remove_tmp"]], "cvpl_tools.im.fs.CachePath": [[0, 2, 1, "", "abs_path"], [0, 2, 1, "", "filename"], [0, 1, 1, "", "filename_form_meta"], [0, 2, 1, "", "is_dir"], [0, 1, 1, "", "meta_from_filename"], [0, 2, 1, "", "rel_path"]], "cvpl_tools.im.fs.CacheRootDirectory": [[0, 2, 1, "", "abs_path"]], "cvpl_tools.im.ndblock": [[2, 0, 1, "", "NDBlock"], [2, 0, 1, "", "ReprFormat"]], "cvpl_tools.im.ndblock.NDBlock": [[2, 1, 1, "", "as_dask_array"], [2, 1, 1, "", "get_chunksize"], [2, 1, 1, "", "is_numpy"], [2, 1, 1, "", "load"], [2, 1, 1, "", "map_ndblocks"], [2, 1, 1, "", "reduce"], [2, 1, 1, "", "save"], [2, 1, 1, "", "select_columns"], [2, 1, 1, "", "sum"], [2, 1, 1, "", "to_dask_array"], [2, 1, 1, "", "to_dict_block_index_slices"], [2, 1, 1, "", "to_numpy_array"]], "cvpl_tools.im.process.any_to_any": [[4, 0, 1, "", "DownsamplingByIntFactor"], [4, 0, 1, "", "UpsamplingByIntFactor"]], "cvpl_tools.im.process.any_to_any.DownsamplingByIntFactor": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor": [[4, 1, 1, "", "forward"], [4, 1, 1, "", "np_forward"]], "cvpl_tools.im.process.bs_to_os": [[4, 0, 1, "", "DirectBSToOS"], [4, 0, 1, "", "Watershed3SizesBSToOS"]], "cvpl_tools.im.process.bs_to_os.DirectBSToOS": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.process.lc_to_cc": [[4, 0, 1, "", "CountLCBySize"], [4, 0, 1, "", "CountLCEdgePenalized"]], "cvpl_tools.im.process.lc_to_cc.CountLCBySize": [[4, 1, 1, "", "cc_list"], [4, 1, 1, "", "forward"]], "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized": [[4, 1, 1, "", "cc_list"], [4, 1, 1, "", "forward"], [4, 1, 1, "", "np_features"]], "cvpl_tools.im.process.os_to_cc": [[4, 0, 1, "", "CountOSBySize"]], "cvpl_tools.im.process.os_to_cc.CountOSBySize": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.process.os_to_lc": [[4, 0, 1, "", "DirectOSToLC"]], "cvpl_tools.im.process.os_to_lc.DirectOSToLC": [[4, 1, 1, "", "aggregate_by_id"], [4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process": [[4, 0, 1, "", "BSPredictor"], [4, 0, 1, "", "BinaryAndCentroidListToInstance"], [4, 0, 1, "", "BlobDog"], [4, 0, 1, "", "BlockToBlockProcess"], [4, 0, 1, "", "GaussianBlur"], [4, 0, 1, "", "SegProcess"], [4, 0, 1, "", "SimpleThreshold"], [4, 0, 1, "", "SumScaledIntensity"], [4, 3, 1, "", "lc_interpretable_napari"]], "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance": [[4, 1, 1, "", "bacl_forward"], [4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process.BlobDog": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process.BlockToBlockProcess": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process.SegProcess": [[4, 1, 1, "", "forward"]], "cvpl_tools.im.seg_process.SumScaledIntensity": [[4, 1, 1, "", "forward"]], "cvpl_tools.ome_zarr.io": [[3, 3, 1, "", "load_dask_array_from_path"], [3, 3, 1, "", "load_zarr_group_from_path"], [3, 3, 1, "", "write_ome_zarr_image"]], "cvpl_tools.ome_zarr.napari.zarr_viewer": [[1, 3, 1, "", "add_ome_zarr_array"], [1, 3, 1, "", "add_ome_zarr_array_from_path"], [1, 3, 1, "", "add_ome_zarr_group"], [1, 3, 1, "", "add_ome_zarr_group_from_path"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:property", "3": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "property", "Python property"], "3": ["py", "function", "Python function"]}, "titleterms": {"cvpl_tool": [0, 1, 2, 3, 4, 9], "im": [0, 2, 4], "f": 0, "py": [0, 1, 2, 3, 4], "napari": 1, "zarr": [1, 5], "ndblock": 2, "ome_zarr": [3, 5], "io": 3, "seg_process": 4, "bs_to_o": 4, "lc_to_cc": 4, "os_to_cc": 4, "os_to_lc": 4, "any_to_ani": 4, "view": 5, "om": 5, "file": [5, 6], "read": 5, "write": 5, "specifi": 5, "slice": 5, "path": 5, "result": 6, "cach": 6, "overview": 6, "cacherootdirectori": 6, "cachedirectori": [6, 8], "cachepoint": 6, "find": 6, "tip": 6, "segment": 7, "pipelin": 7, "motiv": 7, "microscop": 7, "cell": 7, "count": 7, "atla": 7, "map": 7, "object": 7, "The": 7, "segprocess": 7, "class": 7, "extend": 7, "run": 7, "set": 8, "up": 8, "script": 8, "dask": 8, "cluster": 8, "temporari": 8, "directori": 8, "log": 8, "setup": 8, "A": 8, "quicker": 8, "introduct": 9, "document": 9, "content": 9, "api": 9, "refer": 9}, "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/fs.py": [[0, "cvpl-tools-im-fs-py"]], "cvpl_tools/napari/zarr.py": [[1, "cvpl-tools-napari-zarr-py"]], "cvpl_tools/im/ndblock.py": [[2, "cvpl-tools-im-ndblock-py"]], "cvpl_tools/ome_zarr/io.py": [[3, "cvpl-tools-ome-zarr-io-py"]], "cvpl_tools/im/seg_process.py": [[4, "cvpl-tools-im-seg-process-py"]], "bs_to_os": [[4, "bs-to-os"]], "lc_to_cc": [[4, "lc-to-cc"]], "os_to_cc": [[4, "os-to-cc"]], "os_to_lc": [[4, "os-to-lc"]], "any_to_any": [[4, "any-to-any"]], "OME_ZARR": [[5, "ome-zarr"]], "Viewing of ome zarr file": [[5, "viewing-of-ome-zarr-file"]], "Reading and Writing ome zarr files": [[5, "reading-and-writing-ome-zarr-files"]], "Specifying slices in path": [[5, "specifying-slices-in-path"]], "Result Caching": [[6, "result-caching"]], "Overview": [[6, "overview"]], "CacheRootDirectory": [[6, "cacherootdirectory"]], "CacheDirectory": [[6, "cachedirectory"], [8, "cachedirectory"]], "CachePointer": [[6, "cachepointer"]], "Finding Cached Files": [[6, "finding-cached-files"]], "Tips": [[6, "tips"]], "Segmentation Pipeline": [[7, "segmentation-pipeline"]], "Motivation: Microscope, Cell Counting, Atlas map and Object Segmentation": [[7, "motivation-microscope-cell-counting-atlas-map-and-object-segmentation"]], "The SegProcess Class": [[7, "the-segprocess-class"]], "Extending the Pipeline": [[7, "extending-the-pipeline"]], "Running the Pipeline": [[7, "running-the-pipeline"]], "Setting Up the Script": [[8, "setting-up-the-script"]], "Dask Cluster and temporary directory": [[8, "dask-cluster-and-temporary-directory"]], "Dask Logging Setup": [[8, "dask-logging-setup"]], "A Quicker Setup": [[8, "a-quicker-setup"]], "Introduction - cvpl_tools documentation": [[9, "introduction-cvpl-tools-documentation"]], "Contents:": [[9, null]], "API Reference": [[9, null]]}, "indexentries": {"cachedirectory (class in cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.CacheDirectory"]], "cachepath (class in cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.CachePath"]], "cacherootdirectory (class in cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.CacheRootDirectory"]], "abs_path (cvpl_tools.im.fs.cachepath property)": [[0, "cvpl_tools.im.fs.CachePath.abs_path"]], "abs_path (cvpl_tools.im.fs.cacherootdirectory property)": [[0, "cvpl_tools.im.fs.CacheRootDirectory.abs_path"]], "cache() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.cache"]], "cache_im() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.cache_im"]], "cache_subdir() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.cache_subdir"]], "cache_subpath() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.cache_subpath"]], "children_from_path() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.children_from_path"]], "display() (in module cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.display"]], "filename (cvpl_tools.im.fs.cachepath property)": [[0, "cvpl_tools.im.fs.CachePath.filename"]], "filename_form_meta() (cvpl_tools.im.fs.cachepath static method)": [[0, "cvpl_tools.im.fs.CachePath.filename_form_meta"]], "is_dir (cvpl_tools.im.fs.cachepath property)": [[0, "cvpl_tools.im.fs.CachePath.is_dir"]], "load() (in module cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.load"]], "meta_from_filename() (cvpl_tools.im.fs.cachepath static method)": [[0, "cvpl_tools.im.fs.CachePath.meta_from_filename"]], "rel_path (cvpl_tools.im.fs.cachepath property)": [[0, "cvpl_tools.im.fs.CachePath.rel_path"]], "remove_tmp() (cvpl_tools.im.fs.cachedirectory method)": [[0, "cvpl_tools.im.fs.CacheDirectory.remove_tmp"]], "save() (in module cvpl_tools.im.fs)": [[0, "cvpl_tools.im.fs.save"]], "add_ome_zarr_array() (in module cvpl_tools.ome_zarr.napari.zarr_viewer)": [[1, "cvpl_tools.ome_zarr.napari.zarr_viewer.add_ome_zarr_array"]], "add_ome_zarr_array_from_path() (in module cvpl_tools.ome_zarr.napari.zarr_viewer)": [[1, "cvpl_tools.ome_zarr.napari.zarr_viewer.add_ome_zarr_array_from_path"]], "add_ome_zarr_group() (in module cvpl_tools.ome_zarr.napari.zarr_viewer)": [[1, "cvpl_tools.ome_zarr.napari.zarr_viewer.add_ome_zarr_group"]], "add_ome_zarr_group_from_path() (in module cvpl_tools.ome_zarr.napari.zarr_viewer)": [[1, "cvpl_tools.ome_zarr.napari.zarr_viewer.add_ome_zarr_group_from_path"]], "ndblock (class in cvpl_tools.im.ndblock)": [[2, "cvpl_tools.im.ndblock.NDBlock"]], "reprformat (class in cvpl_tools.im.ndblock)": [[2, "cvpl_tools.im.ndblock.ReprFormat"]], "as_dask_array() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.as_dask_array"]], "get_chunksize() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.get_chunksize"]], "is_numpy() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.is_numpy"]], "load() (cvpl_tools.im.ndblock.ndblock static method)": [[2, "cvpl_tools.im.ndblock.NDBlock.load"]], "map_ndblocks() (cvpl_tools.im.ndblock.ndblock static method)": [[2, "cvpl_tools.im.ndblock.NDBlock.map_ndblocks"]], "reduce() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.reduce"]], "save() (cvpl_tools.im.ndblock.ndblock static method)": [[2, "cvpl_tools.im.ndblock.NDBlock.save"]], "select_columns() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.select_columns"]], "sum() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.sum"]], "to_dask_array() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.to_dask_array"]], "to_dict_block_index_slices() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.to_dict_block_index_slices"]], "to_numpy_array() (cvpl_tools.im.ndblock.ndblock method)": [[2, "cvpl_tools.im.ndblock.NDBlock.to_numpy_array"]], "load_dask_array_from_path() (in module cvpl_tools.ome_zarr.io)": [[3, "cvpl_tools.ome_zarr.io.load_dask_array_from_path"]], "load_zarr_group_from_path() (in module cvpl_tools.ome_zarr.io)": [[3, "cvpl_tools.ome_zarr.io.load_zarr_group_from_path"]], "write_ome_zarr_image() (in module cvpl_tools.ome_zarr.io)": [[3, "cvpl_tools.ome_zarr.io.write_ome_zarr_image"]], "bspredictor (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.BSPredictor"]], "binaryandcentroidlisttoinstance (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance"]], "blobdog (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.BlobDog"]], "blocktoblockprocess (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.BlockToBlockProcess"]], "countlcbysize (class in cvpl_tools.im.process.lc_to_cc)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCBySize"]], "countlcedgepenalized (class in cvpl_tools.im.process.lc_to_cc)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized"]], "countosbysize (class in cvpl_tools.im.process.os_to_cc)": [[4, "cvpl_tools.im.process.os_to_cc.CountOSBySize"]], "directbstoos (class in cvpl_tools.im.process.bs_to_os)": [[4, "cvpl_tools.im.process.bs_to_os.DirectBSToOS"]], "directostolc (class in cvpl_tools.im.process.os_to_lc)": [[4, "cvpl_tools.im.process.os_to_lc.DirectOSToLC"]], "downsamplingbyintfactor (class in cvpl_tools.im.process.any_to_any)": [[4, "cvpl_tools.im.process.any_to_any.DownsamplingByIntFactor"]], "gaussianblur (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.GaussianBlur"]], "segprocess (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.SegProcess"]], "simplethreshold (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.SimpleThreshold"]], "sumscaledintensity (class in cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.SumScaledIntensity"]], "upsamplingbyintfactor (class in cvpl_tools.im.process.any_to_any)": [[4, "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor"]], "watershed3sizesbstoos (class in cvpl_tools.im.process.bs_to_os)": [[4, "cvpl_tools.im.process.bs_to_os.Watershed3SizesBSToOS"]], "aggregate_by_id() (cvpl_tools.im.process.os_to_lc.directostolc method)": [[4, "cvpl_tools.im.process.os_to_lc.DirectOSToLC.aggregate_by_id"]], "bacl_forward() (cvpl_tools.im.seg_process.binaryandcentroidlisttoinstance method)": [[4, "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance.bacl_forward"]], "cc_list() (cvpl_tools.im.process.lc_to_cc.countlcbysize method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCBySize.cc_list"]], "cc_list() (cvpl_tools.im.process.lc_to_cc.countlcedgepenalized method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized.cc_list"]], "forward() (cvpl_tools.im.process.any_to_any.downsamplingbyintfactor method)": [[4, "cvpl_tools.im.process.any_to_any.DownsamplingByIntFactor.forward"]], "forward() (cvpl_tools.im.process.any_to_any.upsamplingbyintfactor method)": [[4, "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor.forward"]], "forward() (cvpl_tools.im.process.bs_to_os.directbstoos method)": [[4, "cvpl_tools.im.process.bs_to_os.DirectBSToOS.forward"]], "forward() (cvpl_tools.im.process.lc_to_cc.countlcbysize method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCBySize.forward"]], "forward() (cvpl_tools.im.process.lc_to_cc.countlcedgepenalized method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized.forward"]], "forward() (cvpl_tools.im.process.os_to_cc.countosbysize method)": [[4, "cvpl_tools.im.process.os_to_cc.CountOSBySize.forward"]], "forward() (cvpl_tools.im.process.os_to_lc.directostolc method)": [[4, "cvpl_tools.im.process.os_to_lc.DirectOSToLC.forward"]], "forward() (cvpl_tools.im.seg_process.binaryandcentroidlisttoinstance method)": [[4, "cvpl_tools.im.seg_process.BinaryAndCentroidListToInstance.forward"]], "forward() (cvpl_tools.im.seg_process.blobdog method)": [[4, "cvpl_tools.im.seg_process.BlobDog.forward"]], "forward() (cvpl_tools.im.seg_process.blocktoblockprocess method)": [[4, "cvpl_tools.im.seg_process.BlockToBlockProcess.forward"]], "forward() (cvpl_tools.im.seg_process.segprocess method)": [[4, "cvpl_tools.im.seg_process.SegProcess.forward"]], "forward() (cvpl_tools.im.seg_process.sumscaledintensity method)": [[4, "cvpl_tools.im.seg_process.SumScaledIntensity.forward"]], "lc_interpretable_napari() (in module cvpl_tools.im.seg_process)": [[4, "cvpl_tools.im.seg_process.lc_interpretable_napari"]], "np_features() (cvpl_tools.im.process.lc_to_cc.countlcedgepenalized method)": [[4, "cvpl_tools.im.process.lc_to_cc.CountLCEdgePenalized.np_features"]], "np_forward() (cvpl_tools.im.process.any_to_any.upsamplingbyintfactor method)": [[4, "cvpl_tools.im.process.any_to_any.UpsamplingByIntFactor.np_forward"]]}}) \ No newline at end of file