MCPcopy Create free account

hub / github.com/DigitalSlideArchive/HistomicsTK / functions

Functions504 in github.com/DigitalSlideArchive/HistomicsTK

↓ 1 callersFunctionvalidate_args
(args)
histomicstk/cli/NucleiDetection/NucleiDetection.py:49
↓ 1 callersMethodvisualize_contiguous_superpixels
Visualize contiguous spixels, color-coded by cellularity.
histomicstk/saliency/cellularity_detection_superpixels.py:255
↓ 1 callersMethodvisualize_individual_superpixels
Visualize individual spixels, color-coded by cellularity.
histomicstk/saliency/cellularity_detection_superpixels.py:215
↓ 1 callersMethodvisualize_results
Visualize results in DSA.
histomicstk/saliency/cellularity_detection_thresholding.py:234
↓ 1 callersMethodwalk
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:92
↓ 1 callersMethodwrite_raw_coords
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rect.py:70
↓ 1 callersMethodyield_callback_output_for_annotation
Yield callback output for one annotation at a time.
histomicstk/workflows/workflow_runner.py:216
Method__init__
(self)
tests/test_feature_extraction.py:28
Method__init__
Init. This is for PEP compliance.
histomicstk/utils/general_utils.py:14
Method__init__
Init base HTK class.
histomicstk/utils/general_utils.py:31
Method__init__
(self)
histomicstk/utils/tests/test_girder_convenience_utils.py:17
Method__init__
Init Polygon_merger object. Arguments: --------- maskpaths : list list of strings representing pathos to masks
histomicstk/annotations_and_masks/polygon_merger.py:25
Method__init__
Init Polygon_merger object. Arguments: --------- contours_df : pandas DataFrame The following columns are needed.
histomicstk/annotations_and_masks/polygon_merger_v2.py:20
Method__init__
(self)
histomicstk/annotations_and_masks/annotation_and_mask_utils.py:486
Method__init__
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:47
Method__init__
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:146
Method__init__
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rect.py:48
Method__init__
(self)
histomicstk/annotations_and_masks/tests/test_annotation_database_parser.py:21
Method__init__
(self)
histomicstk/annotations_and_masks/tests/test_annotations_to_masks_handler.py:27
Method__init__
(self)
histomicstk/annotations_and_masks/tests/test_annotations_to_object_mask_handler.py:25
Method__init__
(self)
histomicstk/annotations_and_masks/tests/test_annotation_and_mask_utils.py:22
Method__init__
(self)
histomicstk/annotations_and_masks/tests/test_review_gallery.py:20
Method__init__
(self)
histomicstk/preprocessing/tests/test_normalization_and_augmentation.py:28
Method__init__
Init Workflow_runner object. Arguments: --------- slide_iterator : object Slide_iterator object workflow
histomicstk/workflows/workflow_runner.py:74
Method__init__
Init Annotation_iterator object. Arguments: --------- gc : object girder client object slide_id : str
histomicstk/workflows/workflow_runner.py:178
Method__init__
(self)
histomicstk/workflows/tests/test_workflow_runner.py:21
Method__init__
Init Cellularity_Detector_Superpixels object. Arguments: --------- gc : object girder client object slid
histomicstk/saliency/cellularity_detection_thresholding.py:316
Method__init__
Init Cellularity_Detector_Superpixels object. Arguments: --------- gc : object girder client object slide
histomicstk/saliency/cellularity_detection_superpixels.py:322
Method__init__
(self)
histomicstk/saliency/tests/test_saliency.py:32
Method_add_hierarchy_level
Recursively add hierarchy levels.
histomicstk/annotations_and_masks/polygon_merger_v2.py:104
Function_combine
(results)
histomicstk/segmentation/positive_pixel_count.py:134
Function_count_tiles
(slide_path, params, kwargs, position, count)
histomicstk/segmentation/positive_pixel_count.py:139
Function_get_all_rois
(slide_id, monitorPrefix, **kwargs)
histomicstk/annotations_and_masks/review_gallery.py:77
Method_get_merged_polygon
(self, nidx)
histomicstk/annotations_and_masks/polygon_merger_v2.py:145
Method_get_nests_slice
(ridx=1)
histomicstk/annotations_and_masks/polygon_merger.py:299
Method_parse_to_dict
(text)
histomicstk/annotations_and_masks/polygon_merger.py:442
Function_plot_rapid_review_vis
Plot a visualization for rapid review of ROI. This is a callback to be called inside get_all_rois_from_slide_v2(). Parameters ----------
histomicstk/annotations_and_masks/review_gallery.py:224
Method_print
(self, text)
histomicstk/utils/general_utils.py:21
Function_return_input
(x)
histomicstk/features/compute_intensity_features.py:132
Method_run_slide
(self, monitorStr)
histomicstk/workflows/workflow_runner.py:120
Function_sample_pixels_tile
(slide_path, iter_args, positions, sample_fraction, tissue_seg_mag, min_coverage, im_f
histomicstk/utils/sample_pixels.py:135
Method_traverse
Recursively traverse tree till you get to leafs.
histomicstk/annotations_and_masks/polygon_merger_v2.py:88
Functionarea_open
Removes small objects from label image. Parameters ---------- im_label : array_like A uint32 type label image generated by segmen
histomicstk/segmentation/label/area_open.py:6
Functioncellularity_detection_workflow
Run cellularity detection for single slide. The cellularity detection algorithm can either be Cellularity_detector_superpixels or Cellularity
histomicstk/workflows/specific_workflows.py:10
Functionchan_vese
Region-based level sets. Region-based level set implementation based on the Chan-Vese method. Provides cost terms for boundary length, the va
histomicstk/segmentation/level_set/chan_vese.py:4
FunctionchmodDataFile
(fname, action, pup)
tests/docker_setup.py:23
Functioncompact
Performs a thinning operation on a label image to remove thin protrusions from objects that are in contact with the background. Applies a dist
histomicstk/segmentation/label/compact.py:4
Functioncompute_fsd_features
Calculates `Fourier shape descriptors` for each objects. Parameters ---------- im_label : array_like A labeled mask image wh
histomicstk/features/compute_fsd_features.py:4
Functioncompute_global_cell_graph_features
r"""Compute global (i.e., not per-nucleus) features of the nuclei with the given centroids based on the partitioning of the space into Voronoi
histomicstk/features/compute_global_cell_graph_features.py:14
Functioncompute_gradient_features
Calculates gradient features from an intensity image. Parameters ---------- im_label : array_like A labeled mask image wherein in
histomicstk/features/compute_gradient_features.py:4
Functioncompute_morphometry_features
Calculate morphometry features for each object Parameters ---------- im_label : array_like A labeled mask image wherein inte
histomicstk/features/compute_morphometry_features.py:6
Functioncompute_nuclei_features
Calculates features for nuclei classification Parameters ---------- im_label : array_like A labeled mask image wherein inten
histomicstk/features/compute_nuclei_features.py:11
Functioncompute_tile_foreground_fraction
Computes the fraction of foreground of a single tile or all tiles in a whole slide image given the binary foreground mask computed from a
histomicstk/utils/compute_tile_foreground_fraction.py:5
Functionconnect_to_api
Connect to a specific girder API. Parameters ---------- apiurl : str URL to the AP to connect to. apikey : str API au
histomicstk/utils/girder_convenience_utils.py:17
Functioncount_slide
Compute a count of positive pixels in the slide at slide_path. This routine can also create a label image. Parameters ---------- slid
histomicstk/segmentation/positive_pixel_count.py:80
Functioncreate_dask_client
Create and install a Dask distributed client using args from a Namespace, supporting the following attributes: - .scheduler: Address of the d
histomicstk/cli/utils.py:206
Functioncreate_tile_nuclei_annotations
(im_nuclei_seg_mask, tile_info, format, region_props=None)
histomicstk/cli/utils.py:189
Functiondel2
Discrete Laplacian with edge-value extrapolation. Calculates the discrete Laplacian of an input image. Edge values are calculated by using li
histomicstk/utils/del2.py:4
Functiondelete_overlap
Deletes overlapping regions from an image label based on overlap information and tile size. Args: ---- im_label (ndarray): Image
histomicstk/segmentation/label/delete_overlap.py:7
Functiondetect_nuclei_kofahi
Performs a nuclear segmentation using kofahi's method. This method uses scale-adaptive multi-scale Laplacian-of-Gaussian filtering for blob e
histomicstk/segmentation/nuclear/detect_nuclei_kofahi.py:7
Functiondetect_tile_nuclei
Detect nuclei within a tile image and generate annotations. Args: ---- tile_info (dict): Information about the tile image.
histomicstk/segmentation/nuclear/detect_tile_nuclei.py:11
Functiondilate_xor
Computes a label mask highlighting a ring-like neighborhood of each object or region in a given label mask Parameters ---------- im_l
histomicstk/segmentation/label/dilate_xor.py:4
Functiondisp_time_hms
Converts time from seconds to a string of the form hours:minutes:seconds
histomicstk/cli/utils.py:445
Methoddoes_contain
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rect.py:116
Functiondump_annotations_workflow
Dump annotations for single slide into the local folder. Parameters ---------- gc : girder_client.GirderClient authenticated gird
histomicstk/annotations_and_masks/annotation_database_parser.py:195
Functioneigen
Calculates the eigenvectors of the hessian volumes 'H' generated by Hessian.py Parameters ---------- im_hess : array_like
histomicstk/utils/eigen.py:4
Functionembed_boundaries
Embeds object boundaries into an RGB color, grayscale or binary image, returning a color rendering of the image and object boundaries. Ta
histomicstk/segmentation/embed_boundaries.py:4
Functionexclude_nonfinite
Exclude columns from m that have infinities or nans. In the context of color deconvolution, these occur in conversion from RGB to SDA when th
histomicstk/utils/exclude_nonfinite.py:4
Functionfit_poisson_mixture
Generates a Poisson mixture model to fit pixel intensities for foreground/background masking. Takes as input an array or intensity image 'I'
histomicstk/utils/fit_poisson_mixture.py:4
Functiongaussian_grad
Performs smoothing with derivative gaussian kernel. Uses separable convolution to simultaneously smooth and calculate the gradient of a grays
histomicstk/filters/edge/gaussian_grad.py:6
Functiongaussian_residuals
(Parameters, y, x)
histomicstk/utils/simple_mask.py:114
Functiongaussian_voting
Performs nuclear detection using Gaussian kernel voting. Uses a gaussian kernel to localize the centroids of cell nuclei. Takes as input a he
histomicstk/segmentation/nuclear/gaussian_voting.py:8
Functionget_principal_components
Take a matrix m (probably 3xN) and return the 3x3 matrix of "principal components". (Actually computed with SVD)
histomicstk/preprocessing/color_deconvolution/_linalg.py:4
Functionget_region_dict
Return a dict corresponding to region, checking the region size if maxRegionSize is provided. The intended use is to be passed via **kwargs,
histomicstk/cli/utils.py:370
Functionget_stain_matrix
Get the stain matrix corresponding to the args.stain_$index and args.stain_$index_vector arguments for values of index 1 to count. Return a nu
histomicstk/cli/utils.py:49
Methodget_url
(self, fname)
tests/datastore.py:76
FunctiongirderClient
Yield an authenticated girder client that points to the server. If a local girder server docker is running, this will connect to it, oth
tests/htk_test_utilities.py:90
Functionglog
Performs generalized Laplacian of Gaussian blob detection. Parameters ---------- im_input : array_like A hematoxylin intensity im
histomicstk/filters/shape/glog.py:4
Methodgrow
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rect.py:95
Functiongvf_tracking
Performs gradient-field tracking to segment smoothed images of cell nuclei. Takes as input a smoothed intensity or Laplacian-of-Gaussian fil
histomicstk/segmentation/nuclear/gvf_tracking.py:6
Functionhessian
Calculates hessian of image I convolved with a gaussian kernel with covariance C = [Sigma^2 0; 0 Sigma^2]. Parameters ----------
histomicstk/utils/hessian.py:4
Functioninitialize
(Mask, c0=2)
histomicstk/segmentation/level_set/reg_edge.py:107
Methodinsert
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:259
Functionmain
()
histomicstk/cli/__main__.py:7
Functionmax_clustering
Local max clustering pixel aggregation for nuclear segmentation. Takes as input a constrained log or other filtered nuclear image, a binary nu
histomicstk/segmentation/nuclear/max_clustering.py:6
Functionmerge_colinear
Processes boundary coordinates in polyline with vertices X, Y to remove redundant colinear points. Polyline is not assumed to be open or closed.
histomicstk/utils/merge_colinear.py:4
Functionmerge_sinks
Merges attraction basins obtained from gradient flow tracking using sink locations. Parameters ---------- Segmentation : array_l
histomicstk/segmentation/nuclear/gvf_tracking.py:187
Functionmin_model
Performs a nuclear segmentation using a gradient contour tracing and geometry splitting algorithm. Implemented from the reference below. Para
histomicstk/segmentation/nuclear/min_model.py:6
Methodoverlap
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rect.py:66
Methodp
(o, x)
histomicstk/annotations_and_masks/pyrtree/rtree.py:167
Functionparse_annotations_to_local_tables
Parse loaded annotations for slide into tables. Parameters ---------- item : dict girder response with item information anno
histomicstk/annotations_and_masks/annotation_database_parser.py:144
Functionperimeter
Converts a label or binary mask image to a binary perimeter image. Uses 4-neighbor or 8-neighbor shifts to detect pixels whose values do not
histomicstk/segmentation/label/perimeter.py:4
Functionpolygons_to_binary_mask
Convert a set of region polygons to a numpy binary mask. Params ------ polygons: list A list of lists of x, y tuples. If None, r
histomicstk/cli/utils.py:323
Functionpredict_nuclei_class_prob
(df, clf_model)
histomicstk/cli/NucleiClassification/NucleiClassification.py:285
Methodquery_point
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:88
Methodquery_point
Query by a point.
histomicstk/annotations_and_masks/pyrtree/rtree.py:171
Methodquery_rect
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:84
Methodquery_rect
Return things that intersect with 'r'.
histomicstk/annotations_and_masks/pyrtree/rtree.py:165
Functionrag
Constructs a region adjacency graph for a label image using either 4-neighbor or 8-neighbor connectivity. Background pixels are not included (
histomicstk/segmentation/rag.py:4
Functionrag_add_layer
Adds an additional layer of dependence to a region adjacency graph, connecting each node to the neighbors of its immediate neighbors. Paramet
histomicstk/segmentation/rag_add_layer.py:4
← previousnext →301–400 of 504, ranked by callers