MCPcopy Index your code

hub / github.com/DigitalSlideArchive/HistomicsTK / functions

Functions504 in github.com/DigitalSlideArchive/HistomicsTK

↓ 2 callersMethodset_slide_ids
Get dict of slide idx, indexed by name.
histomicstk/workflows/workflow_runner.py:44
↓ 2 callersFunctionsplitKey
(k)
histomicstk/cli/utils.py:458
↓ 2 callersFunctionstain_unmixing_routine
Perform stain unmixing using the method of choice (wrapper). Parameters ---------- im_rgb : array_like An RGB image (m x n x 3) t
histomicstk/preprocessing/color_deconvolution/color_deconvolution.py:151
↓ 2 callersFunctionthreshold_multichannel
Threshold a multi-channel image (eg. HSI image) to get tissue. The relies on the fact that oftentimes some slide elements (eg blood or whites
histomicstk/saliency/tissue_detection.py:199
↓ 2 callersMethodwalk
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:157
↓ 1 callersFunction_FSDs
Calculated FSDs from boundary points X,Y. Boundaries are resampled to have K equally spaced points (arclength) around the shape. The curvatur
histomicstk/features/compute_fsd_features.py:159
↓ 1 callersFunction_GetBounds
Returns bounds of object in global label image. Parameters ---------- bbox : tuple Bounding box (min_row, min_col, max_row,
histomicstk/features/compute_fsd_features.py:224
↓ 1 callersFunction_InterpolateArcLength
Resamples boundary points [X, Y] at L total equal arc-length locations. Parameters ---------- X : array_like x points of bou
histomicstk/features/compute_fsd_features.py:114
↓ 1 callersMethod__init__
Detect whitespace, saliency, etc in one tissue piece (Internal). Arguments: --------- cdt : object Cellularity_de
histomicstk/saliency/cellularity_detection_thresholding.py:34
↓ 1 callersMethod__init__
Detect cellularity in one tissue piece (Internal). Arguments: --------- cd : object Cellularity_detector_superpix
histomicstk/saliency/cellularity_detection_superpixels.py:31
↓ 1 callersFunction_add_annotation_docs_to_sqlite
(dbcon, annotation_docs, item)
histomicstk/annotations_and_masks/annotation_database_parser.py:92
↓ 1 callersFunction_add_annotation_elements_to_sqlite
(dbcon, annotation_elements)
histomicstk/annotations_and_masks/annotation_database_parser.py:117
↓ 1 callersFunction_add_contour_to_df
Add single contour to dataframe (Internal).
histomicstk/annotations_and_masks/masks_to_annotations_handler.py:68
↓ 1 callersFunction_add_element_to_final_df
Add a single element to the final dataframe. Note that we wrap this into a method so that when (if) we split an annotation element into multi
histomicstk/annotations_and_masks/annotation_and_mask_utils.py:350
↓ 1 callersFunction_add_folder_to_sqlite
(dbcon, folder_info)
histomicstk/annotations_and_masks/annotation_database_parser.py:58
↓ 1 callersFunction_add_item_to_sqlite
(dbcon, item)
histomicstk/annotations_and_masks/annotation_database_parser.py:23
↓ 1 callersMethod_add_merged_edge_contours
Add merged polygons to self.merged_contours df (Internal).
histomicstk/annotations_and_masks/polygon_merger.py:508
↓ 1 callersMethod_add_merged_multipolygon_contours
Add merged polygons to self.new_contours df (Internal).
histomicstk/annotations_and_masks/polygon_merger_v2.py:219
↓ 1 callersMethod_add_roi_offset_to_contours
Add roi offset to coordinates of polygons (Internal).
histomicstk/annotations_and_masks/polygon_merger.py:530
↓ 1 callersMethod_add_single_merged_edge_contour
Add single contour to self.new_contours (Internal).
histomicstk/annotations_and_masks/polygon_merger_v2.py:199
↓ 1 callersMethod_balance
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:302
↓ 1 callersFunction_compute_global_cell_graph_features
Internal support for compute_global_cell_graph_features that returns its result in a nested nametuple structure instead of a pandas DataFrame.
histomicstk/features/compute_global_cell_graph_features.py:92
↓ 1 callersFunction_compute_tile_foreground_fraction_single
(slide_path, im_fgnd_mask_lres, fgnd_seg_scale, it_kwargs,
histomicstk/utils/compute_tile_foreground_fraction.py:90
↓ 1 callersFunction_connect_to_existing_local_dsa
()
tests/htk_test_utilities.py:40
↓ 1 callersFunction_create_and_connect_to_local_dsa
Create a local dsa docker and connect to it
tests/htk_test_utilities.py:46
↓ 1 callersFunction_deconv_color
Wrap around color_deconvolution_routine (compatibility).
histomicstk/saliency/tissue_detection.py:42
↓ 1 callersFunction_default_gray_limits
(im_input)
histomicstk/features/graycomatrixext.py:222
↓ 1 callersFunction_disconnect_local_dsa
()
tests/htk_test_utilities.py:81
↓ 1 callersMethod_drop_merged_edge_contours
Drop edge contours that have already been merged (Internal).
histomicstk/annotations_and_masks/polygon_merger.py:520
↓ 1 callersMethod_ensure_pool
(self, idx)
histomicstk/annotations_and_masks/pyrtree/rtree.py:74
↓ 1 callersFunction_flatten_to_dataframe
Flatten the result of _compute_global_cell_graph_features to the DataFrame returned by compute_global_cell_graph_features.
histomicstk/features/compute_global_cell_graph_features.py:207
↓ 1 callersFunction_flatten_to_dict
(nt, prefix='')
histomicstk/features/compute_global_cell_graph_features.py:217
↓ 1 callersFunction_fractal_dimension
Calculate the fractal dimension of an object (boundary complexity). Source: https://gist.github.com/rougier/e5eafc276a4e54f516ed5559df4242c0
histomicstk/features/compute_morphometry_features.py:170
↓ 1 callersMethod_get_all_merged_polygons
Merge polygons using shapely (Internal). Given a a list of clusters from _get_merge_clusters_from_df(). Creates and merges polygons i
histomicstk/annotations_and_masks/polygon_merger.py:472
↓ 1 callersFunction_get_and_add_element_to_roi
Get element coords and mask and add to ROI (Internal).
histomicstk/annotations_and_masks/annotation_and_mask_utils.py:744
↓ 1 callersFunction_get_angles
Take a 2xN matrix of vectors and return a length-N array of an. ... angle-like quantity. Since this is an internal function, we assume that t
histomicstk/preprocessing/color_deconvolution/separate_stains_macenko_pca.py:106
↓ 1 callersFunction_get_channel_order
(W)
histomicstk/preprocessing/color_deconvolution/color_deconvolution.py:137
↓ 1 callersMethod_get_coord_str_from_polygon
Parse shapely polygon coordinates into string form (Internal).
histomicstk/annotations_and_masks/polygon_merger.py:489
↓ 1 callersMethod_get_coord_str_from_polygon
Parse shapely polygon coordinates into string form (Internal).
histomicstk/annotations_and_masks/polygon_merger_v2.py:192
↓ 1 callersFunction_get_fillColor
(lineColor)
histomicstk/annotations_and_masks/masks_to_annotations_handler.py:467
↓ 1 callersFunction_get_largest_regions
(labeled, top_n=10)
histomicstk/saliency/tissue_detection.py:259
↓ 1 callersMethod_get_mask_offsets_from_masknames
Get dictionary of mask offsets (top and left) (Internal). The pattern _left-123_ and _top-123_ is assumed to encode the x and y offse
histomicstk/annotations_and_masks/polygon_merger.py:181
↓ 1 callersMethod_get_merge_clusters_from_df
Assign each nest to one cluster (Internal). That is, such that all nests that are connected to each other are in the same cluster. Us
histomicstk/annotations_and_masks/polygon_merger.py:382
↓ 1 callersMethod_get_merge_df
Get merge dataframe (pairs along shared edges) (Internal).
histomicstk/annotations_and_masks/polygon_merger.py:368
↓ 1 callersMethod_get_merge_pairs
Get nest dfs and indices of which ones to merge (Internal).
histomicstk/annotations_and_masks/polygon_merger.py:295
↓ 1 callersMethod_get_merged_polygon
Merge polygons using shapely (Internal). Given a single cluster from _get_merge_clusters_from_df(), This creates and merges polygons
histomicstk/annotations_and_masks/polygon_merger.py:450
↓ 1 callersFunction_get_review_visualization
Get a visualization of rgb and annotations for rapid review. Parameters ---------- rgb : np.array mxnx3 rgb image vis : np.ar
histomicstk/annotations_and_masks/review_gallery.py:178
↓ 1 callersFunction_get_rgb_and_pad_roi
(gc, slide_id, bounds, appendStr, ROI, tau=10)
histomicstk/annotations_and_masks/annotations_to_masks_handler.py:508
↓ 1 callersMethod_get_roi_pairs
Get unique roi pairs (Internal).
histomicstk/annotations_and_masks/polygon_merger.py:238
↓ 1 callersFunction_get_visualization_zoomout
Get a zoomed out visualization of ROI RGB and annotation overlay. Parameters ---------- gc : girder_client.Girder_Client authenti
histomicstk/annotations_and_masks/review_gallery.py:104
↓ 1 callersMethod_insert_child
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:353
↓ 1 callersFunction_keep_relevant_elements_for_roi
( element_infos, sf, mode='manual_bounds', idx_for_roi=None, roiinfo=None)
histomicstk/annotations_and_masks/annotations_to_object_mask_handler.py:56
↓ 1 callersFunction_maybe_crop_polygon
Crop bounds to desired area using shapely polygons.
histomicstk/annotations_and_masks/annotation_and_mask_utils.py:304
↓ 1 callersFunction_ordered_stack
(mat, order)
histomicstk/preprocessing/color_deconvolution/color_deconvolution.py:145
↓ 1 callersFunction_parse_coords_to_str
(vertices)
histomicstk/annotations_and_masks/annotation_and_mask_utils.py:344
↓ 1 callersFunction_parse_tilepath
(tpath)
histomicstk/annotations_and_masks/review_gallery.py:343
↓ 1 callersFunction_poly_peri
(vertices)
histomicstk/features/compute_global_cell_graph_features.py:174
↓ 1 callersFunction_poly_signed_area
(vertices)
histomicstk/features/compute_global_cell_graph_features.py:168
↓ 1 callersFunction_process_coords
(k)
histomicstk/annotations_and_masks/annotation_and_mask_utils.py:787
↓ 1 callersFunction_process_gtcodes
(gtcodesdf)
histomicstk/annotations_and_masks/annotations_to_object_mask_handler.py:363
↓ 1 callersFunction_roi_getter_asis
Download special ROI regions as-is, even if they are very large.
histomicstk/annotations_and_masks/annotations_to_masks_handler.py:725
↓ 1 callersFunction_roi_getter_tiled
Download special ROI regions in a tiled fashion.
histomicstk/annotations_and_masks/annotations_to_masks_handler.py:760
↓ 1 callersMethod_runTest
(self, args)
tests/test_cli_results.py:31
↓ 1 callersMethod_runTest
(self, args)
tests/test_cli_results.py:69
↓ 1 callersMethod_runTest
(self, args)
tests/test_cli_results.py:92
↓ 1 callersFunction_sanity_checks
( MPP, MAG, mode, bounds, idx_for_roi, get_rgb, get_visualization)
histomicstk/annotations_and_masks/annotations_to_object_mask_handler.py:24
↓ 1 callersFunction_sanity_checks
( MPP, MAG, mode, bounds, idx_for_roi, get_roi_mask_kwargs, get_rgb, get_contours, get_visuali
histomicstk/annotations_and_masks/annotations_to_masks_handler.py:427
↓ 1 callersFunction_trim_slide_annotations_to_roi
(annotations, elinfos_roi)
histomicstk/annotations_and_masks/annotations_to_object_mask_handler.py:101
↓ 1 callersFunctionangle_score
Scores the angles produced by cutting line (cx1, cy1)->(cx2, cy2) given the convex hull segments (ax1, ay1)->(bx1, by1) and (ax2, ay2)->(bx2, by2)
histomicstk/segmentation/nuclear/min_model.py:714
↓ 1 callersFunctionargpercentile
Calculate index in arr of element nearest the pth percentile.
histomicstk/preprocessing/color_deconvolution/separate_stains_macenko_pca.py:121
↓ 1 callersMethodassign_cellularity_scores
Assign cellularity scores to spixel clusters.
histomicstk/saliency/cellularity_detection_superpixels.py:181
↓ 1 callersMethodassign_colors_to_spixel_clusters
Assign RGB color string to cellularity clusters.
histomicstk/saliency/cellularity_detection_superpixels.py:197
↓ 1 callersMethodassign_components_by_thresholding
Get components by thresholding in HSI and LAB spaces.
histomicstk/saliency/cellularity_detection_thresholding.py:106
↓ 1 callersFunctionbackground_intensity
Sample the background of the slide identified by slide_path to compute the background intensities in the RGB channels. Arguments are as in hi
histomicstk/preprocessing/color_normalization/background_intensity.py:6
↓ 1 callersFunctionboxcount
(arr, k)
histomicstk/features/compute_morphometry_features.py:188
↓ 1 callersFunctioncdog
SCale-adaptive Multiscale Difference-of-Gaussian (DoG) filter for nuclei/blob detection. Computes the maximal DoG response over a series of s
histomicstk/filters/shape/cdog.py:6
↓ 1 callersFunctioncheck_args
(args)
histomicstk/cli/ComputeNucleiFeatures/ComputeNucleiFeatures.py:21
↓ 1 callersFunctionclog
Constrained Laplacian of Gaussian filter. Takes as input a grayscale nuclear image and binary mask of cell nuclei, and uses the distance tran
histomicstk/filters/shape/clog.py:4
↓ 1 callersFunctioncolorDeconvolve
(args)
histomicstk/cli/ColorDeconvolution/ColorDeconvolution.py:16
↓ 1 callersFunctioncolor_convolution
Perform Color Convolution. Reconstructs a color image from the stain matrix `w` and the individual images stored as channels in `im_stains` a
histomicstk/preprocessing/color_deconvolution/color_convolution.py:8
↓ 1 callersFunctioncolor_deconvolution
Perform color deconvolution. The given RGB Image `I` is first first transformed into optical density space, and then projected onto the stain
histomicstk/preprocessing/color_deconvolution/color_deconvolution.py:21
↓ 1 callersMethodcolor_normalize_unspecified_components
Color normalize "true" tissue components.
histomicstk/saliency/cellularity_detection_thresholding.py:149
↓ 1 callersFunctioncombs_with_unique_products
(low, high, k)
histomicstk/annotations_and_masks/annotations_to_object_mask_handler.py:291
↓ 1 callersFunctioncompute_haralick_features
r""" Calculates 26 Haralick texture features for each object in the given label mask. These features are derived from gray-level co-occur
histomicstk/features/compute_haralick_features.py:9
↓ 1 callersFunctioncompute_reinhard_norm
(args, invert_image=False, default_img_inversion=False)
histomicstk/cli/NucleiDetection/NucleiDetection.py:130
↓ 1 callersFunctioncontours_to_labeled_object_mask
Process contours to get and object segmentation labeled mask. Parameters ---------- contours : DataFrame contours corresponding t
histomicstk/annotations_and_masks/annotations_to_object_mask_handler.py:300
↓ 1 callersFunctionconvert_matrix_to_image
Convert a column matrix of pixels to a 3D image given by shape. The number of channels is taken from m, not shape. If shape has length 2, the
histomicstk/utils/convert_matrix_to_image.py:1
↓ 1 callersFunctionconvert_polygons_tobbox
Convert nuclei segmentation data from polygon format to bounding box format. Parameters ---------- nuclei_list (list): A list of dic
histomicstk/segmentation/label/remove_overlap_nuclei.py:20
↓ 1 callersFunctioncount_image
Count positive pixels, computing a label mask and summary statistics. Parameters ---------- image : array-like NxMx3 array of
histomicstk/segmentation/positive_pixel_count.py:151
↓ 1 callersFunctioncreateSuperPixels
Besides the inputs described by the specification, this also can take opts.callback, which is a function that takes (step_name: str, step
histomicstk/cli/SuperpixelSegmentation/SuperpixelSegmentation.py:17
↓ 1 callersMethodcreate_leaf
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:127
↓ 1 callersFunctioncreate_polygon
Create a shapely Polygon from a list of points. Args: ---- points (list): A list containing tuples representing the points of th
histomicstk/segmentation/label/remove_overlap_nuclei.py:4
↓ 1 callersFunctioncreate_review_galleries
Create and or post review galleries for rapid review. Parameters ---------- tilepath_base : str directory where combined visualiz
histomicstk/annotations_and_masks/review_gallery.py:284
↓ 1 callersMethodcreate_rtree
Add contour bounding boxes to R-tree.
histomicstk/annotations_and_masks/polygon_merger_v2.py:78
↓ 1 callersFunctioncreate_tile_nuclei_bbox_annotations
(im_nuclei_seg_mask, tile_info, region_props=None)
histomicstk/cli/utils.py:104
↓ 1 callersFunctioncreate_tile_nuclei_boundary_annotations
(im_nuclei_seg_mask, tile_info, region_props=None)
histomicstk/cli/utils.py:145
↓ 1 callersMethodcreate_with_children
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:116
↓ 1 callersFunctioncut
Performs a cut across a binary mask, zeroing pixels that round to positions on the line (x1, y1)->(x2, y2). Returns ------- Cut : arr
histomicstk/segmentation/nuclear/min_model.py:784
↓ 1 callersFunctiondetect_cycle
(Trajectory, points)
histomicstk/segmentation/nuclear/gvf_tracking.py:245
↓ 1 callersFunctiondetect_nuclei_with_dask
(ts, tile_fgnd_frac_list, it_kwargs, args, invert_image=False, is_wsi=False, src_m
histomicstk/cli/NucleiDetection/NucleiDetection.py:146
← previousnext →101–200 of 504, ranked by callers