Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DigitalSlideArchive/HistomicsTK
/ functions
Functions
504 in github.com/DigitalSlideArchive/HistomicsTK
⨍
Functions
504
◇
Types & classes
58
↓ 1 callers
Function
validate_args
(args)
histomicstk/cli/NucleiDetection/NucleiDetection.py:49
↓ 1 callers
Method
visualize_contiguous_superpixels
Visualize contiguous spixels, color-coded by cellularity.
histomicstk/saliency/cellularity_detection_superpixels.py:255
↓ 1 callers
Method
visualize_individual_superpixels
Visualize individual spixels, color-coded by cellularity.
histomicstk/saliency/cellularity_detection_superpixels.py:215
↓ 1 callers
Method
visualize_results
Visualize results in DSA.
histomicstk/saliency/cellularity_detection_thresholding.py:234
↓ 1 callers
Method
walk
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:92
↓ 1 callers
Method
write_raw_coords
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rect.py:70
↓ 1 callers
Method
yield_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
Function
area_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
Function
cellularity_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
Function
chan_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
Function
chmodDataFile
(fname, action, pup)
tests/docker_setup.py:23
Function
compact
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
Function
compute_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
Function
compute_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
Function
compute_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
Function
compute_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
Function
compute_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
Function
compute_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
Function
connect_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
Function
count_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
Function
create_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
Function
create_tile_nuclei_annotations
(im_nuclei_seg_mask, tile_info, format, region_props=None)
histomicstk/cli/utils.py:189
Function
del2
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
Function
delete_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
Function
detect_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
Function
detect_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
Function
dilate_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
Function
disp_time_hms
Converts time from seconds to a string of the form hours:minutes:seconds
histomicstk/cli/utils.py:445
Method
does_contain
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rect.py:116
Function
dump_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
Function
eigen
Calculates the eigenvectors of the hessian volumes 'H' generated by Hessian.py Parameters ---------- im_hess : array_like
histomicstk/utils/eigen.py:4
Function
embed_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
Function
exclude_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
Function
fit_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
Function
gaussian_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
Function
gaussian_residuals
(Parameters, y, x)
histomicstk/utils/simple_mask.py:114
Function
gaussian_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
Function
get_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
Function
get_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
Function
get_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
Method
get_url
(self, fname)
tests/datastore.py:76
Function
girderClient
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
Function
glog
Performs generalized Laplacian of Gaussian blob detection. Parameters ---------- im_input : array_like A hematoxylin intensity im
histomicstk/filters/shape/glog.py:4
Method
grow
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rect.py:95
Function
gvf_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
Function
hessian
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
Function
initialize
(Mask, c0=2)
histomicstk/segmentation/level_set/reg_edge.py:107
Method
insert
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:259
Function
main
()
histomicstk/cli/__main__.py:7
Function
max_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
Function
merge_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
Function
merge_sinks
Merges attraction basins obtained from gradient flow tracking using sink locations. Parameters ---------- Segmentation : array_l
histomicstk/segmentation/nuclear/gvf_tracking.py:187
Function
min_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
Method
overlap
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rect.py:66
Method
p
(o, x)
histomicstk/annotations_and_masks/pyrtree/rtree.py:167
Function
parse_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
Function
perimeter
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
Function
polygons_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
Function
predict_nuclei_class_prob
(df, clf_model)
histomicstk/cli/NucleiClassification/NucleiClassification.py:285
Method
query_point
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:88
Method
query_point
Query by a point.
histomicstk/annotations_and_masks/pyrtree/rtree.py:171
Method
query_rect
Placeholder.
histomicstk/annotations_and_masks/pyrtree/rtree.py:84
Method
query_rect
Return things that intersect with 'r'.
histomicstk/annotations_and_masks/pyrtree/rtree.py:165
Function
rag
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
Function
rag_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
← previous
next →
301–400 of 504, ranked by callers