Skip to main content

Skeletonize densely labeled image volumes.

Project description

Build Status PyPI version

Kimimaro: Skeletonize Densely Labeled Images

# Produce SWC files from volumetric images.
kimimaro forge labels.npy --progress # writes to ./kimimaro_out/
kimimaro view kimimaro_out/10.swc

Rapidly skeletonize all non-zero labels in 2D and 3D numpy arrays using a TEASAR derived method. The returned list of skeletons is in the format used by cloud-volume. A skeleton is a stick figure 1D representation of a 2D or 3D object that consists of a graph of verticies linked by edges. A skeleton where the verticies also carry a distance to the nearest boundary they were extracted from is called a "Medial Axis Transform", which Kimimaro provides.

Skeletons are a compact representation that can be used to visualize objects, trace the connectivity of an object, or otherwise analyze the object's geometry. Kimimaro was designed for use with high resolution neurons extracted from electron microscopy data via AI segmentation, but it can be applied to many different fields.

On an Apple Silicon M1 arm64 chip (Firestorm cores 3.2 GHz max frequency), this package processed a 512x512x100 volume with 333 labels in 20 seconds. It processed a 512x512x512 volume (connectomics.npy) with 2124 labels in 187 seconds.

A Densely Labeled Volume Skeletonized with Kimimaro
Fig. 1: A Densely Labeled Volume Skeletonized with Kimimaro

pip Installation

If a binary is available for your platform:

pip install numpy
pip install kimimaro

Otherwise, you'll also need a C++ compiler:

sudo apt-get install python3-dev g++ # ubuntu linux

Example

A Densely Labeled Volume Skeletonized with Kimimaro
Fig. 2: Memory Usage on a 512x512x512 Densely Labeled Volume (`connectomics.npy`)

Figure 2 shows the memory usage and processessing time (~390 seconds, about 6.5 minutes) required when Kimimaro 1.4.0 was applied to a 512x512x512 cutout, labels, from a connectomics dataset, connectomics.npy containing 2124 connected components. The different sections of the algorithm are depicted. Grossly, the preamble runs for about half a minute, skeletonization for about six minutes, and finalization within seconds. The peak memory usage was about 4.5 GB. The code below was used to process labels. The processing of the glia was truncated in due to a combination of fix_borders and max_paths.

Kimimaro has come a long way. Version 0.2.1 took over 15 minutes and had a Preamble run time twice as long on the same dataset.

Python Interface

# LISTING 1: Producing Skeletons from a labeled image.

import kimimaro

# Run lzma -d connectomics.npy.lzma on the command line to 
# obtain this 512 MB segmentation volume. Details below.
labels = np.load("connectomics.npy") 

skels = kimimaro.skeletonize(
  labels, 
  teasar_params={
    "scale": 1.5, 
    "const": 300, # physical units
    "pdrf_scale": 100000,
    "pdrf_exponent": 4,
    "soma_acceptance_threshold": 3500, # physical units
    "soma_detection_threshold": 750, # physical units
    "soma_invalidation_const": 300, # physical units
    "soma_invalidation_scale": 2,
    "max_paths": 300, # default None
  },
  # object_ids=[ ... ], # process only the specified labels
  # extra_targets_before=[ (27,33,100), (44,45,46) ], # target points in voxels
  # extra_targets_after=[ (27,33,100), (44,45,46) ], # target points in voxels
  dust_threshold=1000, # skip connected components with fewer than this many voxels
  anisotropy=(16,16,40), # default True
  fix_branching=True, # default True
  fix_borders=True, # default True
  fill_holes=False, # default False
  fix_avocados=False, # default False
  progress=True, # default False, show progress bar
  parallel=1, # <= 0 all cpu, 1 single process, 2+ multiprocess
  parallel_chunk_size=100, # how many skeletons to process before updating progress bar
)

# LISTING 2: Combining skeletons produced from 
#            adjacent or overlapping images.

import kimimaro
from cloudvolume import Skeleton

skels = ... # a set of skeletons produced from the same label id
skel = Skeleton.simple_merge(skels).consolidate()
skel = kimimaro.postprocess(
  skel, 
  dust_threshold=1000, # physical units
  tick_threshold=3500 # physical units
)

# LISTING 3: Adding cross sectional area to skeletons
# Cross section planes are defined by normal vectors. Those
# vectors come from the difference between adjacent vertices.
skels = ... # one or more skeletons produced from a single image
skels = kimimaro.cross_sectional_area(
  labels, skels, 
  anisotropy=(16,16,40), 
  smoothing_window=5, # rolling average window of plane normals
  progress=True,
)
skel = skels[0]
skel.cross_sectional_area # array of cross sectional areas
skel.cross_sectional_area_contacts # non-zero contacted the image border

# Split input skeletons into connected components and
# then join the two nearest vertices within `radius` distance
# of each other until there is only a single connected component
# or no pairs of points nearer than `radius` exist. 
# Fuse all remaining components into a single skeleton.
skel = kimimaro.join_close_components([skel1, skel2], radius=1500) # 1500 units threshold
skel = kimimaro.join_close_components([skel1, skel2], radius=None) # no threshold

# Given synapse centroids (in voxels) and the SWC integer label you'd 
# like to assign (e.g. for pre-synaptic and post-synaptic) this finds the 
# nearest voxel to the centroid for that label.
# Input: { label: [ ((x,y,z), swc_label), ... ] }
# Returns: { (x,y,z): swc_label, ... }
extra_targets = kimimaro.synapses_to_targets(labels, synapses)


# LISTING 4: Drawing a centerline between
#   preselected points on a binary image.
#   This is a much simpler option for when
#   you know exactly what you want, but may
#   be less efficient for large scale procesing.

skel = kimimaro.connect_points(
  labels == 67301298,
  start=(3, 215, 202), 
  end=(121, 426, 227),
  anisotropy=(32,32,40),
)

# LISTING 5: Using skeletons to oversegment existing
#  segmentations for integration into proofreading systems 
#  that on merging atomic labels. oversegmented_labels 
#  is returned numbered from 1. skels is a copy returned 
#  with the property skel.segments that associates a label
#  to each vertex (labels will not be unique if downsampling 
#  is used)
oversegmented_labels, skels = kimimaro.oversegment(
  labels, skels, 
  anisotropy=(32,32,40), 
  downsample=10,
)

connectomics.npy is multilabel connectomics data derived from pinky40, a 2018 experimental automated segmentation of ~1.5 million cubic micrometers of mouse visual cortex. It is an early predecessor to the now public pinky100_v185 segmentation that can be found at https://microns-explorer.org/phase1 You will need to run lzma -d connectomics.npy.lzma to obtain the 512x512x512 uint32 volume at 32x32x40 nm3 resolution.

CLI Interface

The CLI supports producing skeletons from a single image as SWCs and viewing the resulting SWC files one at a time. By default, the SWC files are written to ./kimimaro_out/$LABEL.swc.

Here's an equivalent example to the code above.

kimimaro forge labels.npy --scale 4 --const 10 --soma-detect 1100 --soma-accept 3500 --soma-scale 1 --soma-const 300 --anisotropy 16,16,40 --fix-borders --progress 

Visualize the your data:

kimimaro view 1241241.swc # visualize skeleton
kimimaro view labels.npy # visualize segmentation

It can also convert binary image skeletons produced by thinning algorithms into SWC files and back. This can be helpful for comparing different skeletonization algorithms or even just using their results.

kimimaro swc from binary_image.tiff # -> binary_image.swc
kimimaro swc to --format tiff binary_image.swc # -> binary_image.tiff or npy

Tweaking kimimaro.skeletonize Parameters

This algorithm works by finding a root point on a 3D object and then serially tracing paths via dijksta's shortest path algorithm through a penalty field to the most distant unvisited point. After each pass, there is a sphere (really a circumscribing cube) that expands around each vertex in the current path that marks part of the object as visited.

For a visual tutorial on the basics of the skeletonization procedure, check out this wiki article: A Pictorial Guide to TEASAR Skeletonization

For more detailed information, read below or the TEASAR paper (though we deviate from TEASAR in a few places). [1]

scale and const

Usually, the most important parameters to tweak are scale and const which control the radius of this invalidation sphere according to the equation r(x,y,z) = scale * DBF(x,y,z) + const where the dimensions are physical (e.g. nanometers, i.e. corrected for anisotropy). DBF(x,y,z) is the physical distance from the shape boundary at that point.

Check out this wiki article to help refine your intuition.

anisotropy

Represents the physical dimension of each voxel. For example, a connectomics dataset might be scanned with an electron microscope at 4nm x 4nm per pixel and stacked in slices 40nm thick. i.e. anisotropy=(4,4,40). You can use any units so long as you are consistent.

dust_threshold

This threshold culls connected components that are smaller than this many voxels.

extra_targets_after and extra_targets_before

extra_targets_after provides additional voxel targets to trace to after the morphological tracing algorithm completes. For example, you might add known synapse locations to the skeleton.

extra_targets_before is the same as extra_targets_after except that the additional targets are front-loaded and the paths that they cover are invalidated. This may affect the results of subsequent morphological tracing.

max_paths

Limits the number of paths that can be drawn for the given label. Certain cells, such as glia, that may not be important for the current analysis may be expensive to process and can be aborted early.

pdrf_scale and pdrf_exponent

The pdrf_scale and pdrf_exponent represent parameters to the penalty equation that takes the euclidean distance field (D) and augments it so that cutting closer to the border is very penalized to make dijkstra take paths that are more centered.

Pr = pdrf_scale * (1 - D / max(D)) pdrf_exponent + (directional gradient < 1.0).

The default settings should work fairly well, but under large anisotropies or with cavernous morphologies, it's possible that you might need to tweak it. If you see the skeleton go haywire inside a large area, it could be a collapse of floating point precision.

soma_acceptance_threshold and soma_detection_threshold

We process somas specially because they do not have a tubular geometry and instead should be represented in a hub and spoke manner. soma_acceptance_threshold is the physical radius (e.g. in nanometers) beyond which we classify a connected component of the image as containing a soma. The distance transform's output is depressed by holes in the label, which are frequently produced by segmentation algorithms on somata. We can fill them, but the hole filling algorithm we use is slow so we would like to only apply it occasionally. Therefore, we set a lower threshold, the soma_acceptance_threshold, beyond which we fill the holes and retest the soma.

soma_invalidation_scale and soma_invalidation_const

Once we have classified a region as a soma, we fix root of the skeletonization algorithm at one of the points of maximum distance from the boundary (usually there is only one). We then mark as visited all voxels around that point in a spherical radius described by r(x,y,z) = soma_invalidation_scale * DBF(x,y,z) + soma_invalidation_const where DBF(x,y,z) is the physical distance from the shape boundary at that point. If done correctly, this can prevent skeletons from being drawn to the boundaries of the soma, and instead pulls the skeletons mainly into the processes extending from the cell body.

fix_borders

This feature makes it easier to connect the skeletons of adjacent image volumes that do not fit in RAM. If enabled, skeletons will be deterministically drawn to the approximate center of the 2D contact area of each place where the shape contacts the border. This can affect the performance of the operation positively or negatively depending on the shape and number of contacts.

fix_branching

You'll probably never want to disable this, but base TEASAR is infamous for forking the skeleton at branch points way too early. This option makes it preferential to fork at a more reasonable place at a significant performance penalty.

fill_holes

Warning: This will remove input labels that are deemed to be holes.

If your segmentation contains artifacts that cause holes to appear in labels, you can preprocess the entire image to eliminate background holes and holes caused by entirely contained inclusions. This option adds a moderate amount of additional processing time at the beginning (perhaps ~30%).

fix_avocados

Avocados are segmentations of cell somata that classify the nucleus separately from the cytoplasm. This is a common problem in automatic segmentations due to the visual similarity of a cell membrane and a nuclear membrane combined with insufficient context.

Skeletonizing an avocado results in a poor skeletonization of the cell soma that will disconnect the nucleus and usually results in too many paths traced around the nucleus. Setting fix_avocados=True attempts to detect and fix these problems. Currently we handle non-avocados, avocados, cells with inclusions, and nested avocados. You can see examples here.

progress

Show a progress bar once the skeletonization phase begins.

parallel

Use a pool of processors to skeletonize faster. Each process allocatable task is the skeletonization of one connected component (so it won't help with a single label that takes a long time to skeletonize). This option also affects the speed of the initial euclidean distance transform, which is parallel enabled and is the most expensive part of the Preamble (described below).

parallel_chunk_size

This only applies when using parallel. This sets the number of skeletons a subprocess will extract before returning control to the main thread, updating the progress bar, and acquiring a new task. If this value is set too low (e.g. < 10-20) the cost of interprocess communication can become significant and even dominant. If it is set too high, task starvation may occur for the other subprocesses if a subprocess gets a particularly hard skeleton and they complete quickly. Progress bar updates will be infrequent if the value is too high as well.

The actual chunk size used will be min(parallel_chunk_size, len(cc_labels) // parallel). cc_labels represents the number of connected components in the sample.

Performance Tips

  • If you only need a few labels skeletonized, pass in object_ids to bypass processing all the others. If object_ids contains only a single label, the masking operation will run faster.
  • You may save on peak memory usage by using a cc_safety_factor < 1, only if you are sure the connected components algorithm will generate many fewer labels than there are pixels in your image.
  • Larger TEASAR parameters scale and const require processing larger invalidation regions per path.
  • Set pdrf_exponent to a small power of two (e.g. 1, 2, 4, 8, 16) for a small speedup.
  • If you are willing to sacrifice the improved branching behavior, you can set fix_branching=False for a moderate 1.1x to 1.5x speedup (assuming your TEASAR parameters and data allow branching).
  • If your dataset contains important cells (that may in fact be the seat of consciousness) but they take significant processing power to analyze, you can save them to savor for later by setting max_paths to some reasonable level which will abort and proceed to the next label after the algorithm detects that that at least that many paths will be needed.
  • Parallel distributes work across connected components and is generally a good idea if you have the cores and memory. Not only does it make single runs proceed faster, but you can also practically use a much larger context; that improves soma processing as they are less likely to be cut off. The Preamble of the algorithm (detailed below) is still single threaded at the moment, so task latency increases with size.
  • If parallel_chunk_size is set very low (e.g. < 10) during parallel operation, interprocess communication can become a significant overhead. Try raising this value.

Motivation

The connectomics field commonly generates very large densely labeled volumes of neural tissue. Skeletons are one dimensional representations of two or three dimensional objects. They have many uses, a few of which are visualization of neurons, calculating global topological features, rapidly measuring electrical distances between objects, and imposing tree structures on neurons (useful for computation and user interfaces). There are several ways to compute skeletons and a few ways to define them [4]. After some experimentation, we found that the TEASAR [1] approach gave fairly good results. Other approaches include topological thinning ("onion peeling") and finding the centerline described by maximally inscribed spheres. Ignacio Arganda-Carreras, an alumnus of the Seung Lab, wrote a topological thinning plugin for Fiji called Skeletonize3d.

There are several implementations of TEASAR used in the connectomics field [3][5], however it is commonly understood that implementations of TEASAR are slow and can use tens of gigabytes of memory. Our goal to skeletonize all labels in a petavoxel scale image quickly showed clear that existing sparse implementations are impractical. While adapting a sparse approach to a cloud pipeline, we noticed that there are inefficiencies in repeated evaluation of the Euclidean Distance Transform (EDT), the repeated evaluation of the connected components algorithm, in the construction of the graph used by Dijkstra's algorithm where the edges are implied by the spatial relationships between voxels, in the memory cost, quadratic in the number of voxels, of representing a graph that is implicit in image, in the unnecessarily large data type used to represent relatively small cutouts, and in the repeated downloading of overlapping regions. We also found that the naive implmentation of TEASAR's "rolling invalidation ball" unnecessarily reevaluated large numbers of voxels in a way that could be loosely characterized as quadratic in the skeleton path length.

We further found that commodity implementations of the EDT supported only binary images. We were unable to find any available Python or C++ libraries for performing Dijkstra's shortest path on an image. Commodity implementations of connected components algorithms for images supported only binary images. Therefore, several libraries were devised to remedy these deficits (see Related Projects).

Why TEASAR?

TEASAR: Tree-structure Extraction Algorithm for Accurate and Robust skeletons, a 2000 paper by M. Sato and others [1], is a member of a family of algorithms that transform two and three dimensional structures into a one dimensional "skeleton" embedded in that higher dimension. One might concieve of a skeleton as extracting a stick figure drawing from a binary image. This problem is more difficult than it might seem. There are different situations one must consider when making such a drawing. For example, a stick drawing of a banana might merely be a curved centerline and a drawing of a doughnut might be a closed loop. In our case of analyzing neurons, sometimes we want the skeleton to include spines, short protrusions from dendrites that usually have synapses attached, and sometimes we want only the characterize the run length of the main trunk of a neurite.

Additionally, data quality issues can be challenging as well. If one is skeletonizing a 2D image of a doughnut, but the angle were sufficiently declinated from the ring's orthogonal axis, would it even be possible to perform this task accurately? In a 3D case, if there are breaks or mergers in the labeling of a neuron, will the algorithm function sensibly? These issues are common in both manual and automatic image sementations.

In our problem domain of skeletonizing neurons from anisotropic voxel labels, our chosen algorithm should produce tree structures, handle fine or coarse detail extraction depending on the circumstances, handle voxel anisotropy, and be reasonably efficient in CPU and memory usage. TEASAR fufills these criteria. Notably, TEASAR doesn't guarantee the centeredness of the skeleton within the shape, but it makes an effort. The basic TEASAR algorithm is known to cut corners around turns and branch too early. A 2001 paper by members of the original TEASAR team describes a method for reducing the early branching issue on page 204, section 4.2.2. [2]

TEASAR Derived Algorithm

We implemented TEASAR but made several deviations from the published algorithm in order to improve path centeredness, increase performance, handle bulging cell somas, and enable efficient chunked evaluation of large images. We opted not to implement the gradient vector field step from [2] as our implementation is already quite fast. The paper claims a reduction of 70-85% in input voxels, so it might be worth investigating.

In order to work with images that contain many labels, our general strategy is to perform as many actions as possible in such a way that all labels are treated in a single pass. Several of the component algorithms (e.g. connected components, euclidean distance transform) in our implementation can take several seconds per a pass, so it is important that they not be run hundreds or thousands of times. A large part of the engineering contribution of this package lies in the efficiency of these operations which reduce the runtime from the scale of hours to minutes.

Given a 3D labeled voxel array, I, with N >= 0 labels, and ordered triple describing voxel anisotropy A, our algorithm can be divided into three phases, the pramble, skeletonization, and finalization in that order.

I. Preamble

The Preamble takes a 3D image containing N labels and efficiently generates the connected components, distance transform, and bounding boxes needed by the skeletonization phase.

  1. To enhance performance, if N is 0 return an empty set of skeletons.
  2. Label the M connected components, Icc, of I.
  3. To save memory, renumber the connected components in order from 1 to M. Adjust the data type of the new image to the smallest uint type that will contain M and overwrite Icc.
  4. Generate a mapping of the renumbered Icc to I to assign meaningful labels to skeletons later on and delete I to save memory.
  5. Compute E, the multi-label anisotropic Euclidean Distance Transform of Icc given A. E treats all interlabel edges as transform edges, but not the boundaries of the image. Black pixels are considered background.
  6. Gather a list, Lcc of unique labels from Icc and threshold which ones to process based on the number of voxels they represent to remove "dust".
  7. In one pass, compute the list of bounding boxes, B, corresponding to each label in Lcc.

II. Skeletonization

In this phase, we extract the tree structured skeleton from each connected component label. Below, we reference variables defined in the Preamble. For clarity, we omit the soma specific processing and hold fix_branching=True.

For each label l in Lcc and B...

  1. Extract Il, the cropped binary image tightly enclosing l from Icc using Bl
  2. Using Il and Bl, extract El from E. El is the cropped tightly enclosed EDT of l. This is much faster than recomputing the EDT for each binary image.
  3. Find an arbitrary foreground voxel and using that point as a source, compute the anisotropic euclidean distance field for Il. The coordinate of the maximum value is now "the root" r.
  4. From r, compute the euclidean distance field and save it as the distance from root field Dr.
  5. Compute the penalized distance from root field Pr = pdrf_scale * ((1 - El / max(El)) ^ pdrf_exponent) + Dr / max(Dr).
  6. While Il contains foreground voxels:
    1. Identify a target coordinate, t, as the foreground voxel with maximum distance in Dr from r.
    2. Draw the shortest path p from r to t considering the voxel values in Pr as edge weights.
    3. For each vertex v in p, extend an invalidation cube of physical side length computed as scale * El(v) + const and convert any foreground pixels in Il that overlap with these cubes to background pixels.
    4. (Only if fix_branching=True) For each vertex coordinate v in p, set Pr(v) = 0.
    5. Append p to a list of paths for this label.
  7. Using El, extract the distance to the nearest boundary each vertex in the skeleton represents.
  8. For each raw skeleton extracted from Il, translate the vertices by Bl to correct for the translation the cropping operation induced.
  9. Multiply the vertices by the anisotropy A to place them in physical space.

If soma processing is considered, we modify the root (r) search process as follows:

  1. If max(El) > soma_detection_threshold...
  2. Fill toplogical holes in Il. Soma are large regions that often have dust from imperfect automatic labeling methods.
  3. Recompute El from this cleaned up image.
  4. If max(El) > soma_acceptance_threshold, divert to soma processing mode.
  5. If in soma processing mode, continue, else go to step 3 in the algorithm above.
  6. Set r to the coordinate corresponding to max(El)
  7. Create an invalidation sphere of physical radius soma_invalidation_scale * max(El) + soma_invalidation_const and erase foreground voxels from Il contained within it. This helps prevent errant paths from being drawn all over the soma.
  8. Continue from step 4 in the above algorithm.

III. Finalization

In the final phase, we agglomerate the disparate connected component skeletons into single skeletons and assign their labels corresponding to the input image. This step is artificially broken out compared to how intermingled its implementation is with skeletonization, but it's conceptually separate.

Deviations from TEASAR

There were several places where we took a different approach than called for by the TEASAR authors.

Using DAF for Targets, PDRF for Pathfinding

The original TEASAR algorithm defines the Penalized Distance from Root voxel Field (PDRF, Pr above) as:

PDRF = 5000 * (1 - DBF / max(DBF))^16 + DAF

DBF is the Distance from Boundary Field (El above) and DAF is the Distance from Any voxel Field (Dr above).

We found the addition of the DAF tended to perturb the skeleton path from the centerline better described by the inverted DBF alone. We also found it helpful to modify the constant and exponent to tune cornering behavior. Initially, we completely stripped out the addition of the DAF from the PDRF, but this introduced a different kind of problem. The exponentiation of the PDRF caused floating point values to collapse in wide open spaces. This made the skeletons go crazy as they traced out a path described by floating point errors.

The DAF provides a very helpful gradient to follow between the root and the target voxel, we just don't want that gradient to knock the path off the centerline. Therefore, in light of the fact that the PDRF base field is very large, we add the normalized DAF which is just enough to overwhelm floating point errors and provide direction in wide tubes and bulges.

The original paper also called for selecting targets using the max(PDRF) foreground values. However, this is a bit strange since the PDRF values are dominated by boundary effects rather than a pure distance metric. Therefore, we select targets from the max(DAF) forground value.

Zero Weighting Previous Paths (fix_branching=True)

The 2001 skeletonization paper [2] called for correcting early forking by computing a DAF using already computed path vertices as field sources. This allows Dijkstra's algorithm to trace the existing path cost free and diverge from it at a closer point to the target.

As we have strongly deemphasized the role of the DAF in dijkstra path finding, computing this field is unnecessary and we only need to set the PDRF to zero along the path of existing skeletons to achieve this effect. This saves us an expensive repeated DAF calculation per path.

However, we still incur a substantial cost for taking this approach because we had been computing a dijkstra "parental field" that recorded the shortest path to the root from every foreground voxel. We then used this saved result to rapidly compute all paths. However, as this zero weighting modification makes successive calculations dependent upon previous ones, we need to compute Dijkstra's algorithm anew for each path.

Non-Overlapped Chunked Processing (fix_borders=True)

When processing large volumes, a sensible approach for mass producing skeletons is to chunk the volume, process the chunks independently, and merge the resulting skeleton fragments at the end. However, this is complicated by the "edge effect" induced by a loss of context which makes it impossible to expect the endpoints of skeleton fragments produced by adjacent chunks to align. In contrast, it is easy to join mesh fragments because the vertices of the edge of mesh fragments lie at predictable identical locations given one pixel of overlap.

Previously, we had used 50% overlap to join adjacent skeleton fragments which increased the compute cost of skeletonizing a large volume by eight times. However, if we could force skeletons to lie at predictable locations on the border, we could use single pixel overlap and copy the simple mesh joining approach. As an (incorrect but useful) intuition for how one might go about this, consider computing the centroid of each connected component on each border plane and adding that as a required path target. This would guarantee that both sides of the plane connect at the same pixel. However, the centroid may not lie inside of non-convex hulls so we have to be more sophisticated and select some real point inside of the shape.

To this end, we again repurpose the euclidean distance transform and apply it to each of the six planes of connected components and select the maximum value as a mandatory target. This works well for many types of objects that contact a single plane and have a single maximum. However, we must treat the corners of the box and shapes that have multiple maxima.

To handle shapes that contact multiple sides of the box, we simply assign targets to all connected components. If this introduces a cycle in post-processing, we already have cycle removing code to handle it in Igneous. If it introduces tiny useless appendages, we also have code to handle this.

If a shape has multiple distance transform maxima, it is important to choose the same pixel without needing to communicate between spatially adjacent tasks which may run at different times on different machines. Additionally, the same plane on adjacent tasks has the coordinate system flipped. One simple approach might be to pick the coordinate with minimum x and y (or some other coordinate based criterion) in one of the coordinate frames, but this requires tracking the flips on all six planes and is annoying. Instead, we use a series of coordinate-free topology based filters which is both more fun, effort efficient, and picks something reasonable looking. A valid criticism of this approach is that it will fail on a perfectly symmetrical object, but these objects are rare in biological data.

We apply a series of filters and pick the point based on the first filter it passes:

  1. The voxel closest to the centroid of the current label.
  2. The voxel closest to the centroid of the image plane.
  3. Closest to a corner of the plane.
  4. Closest to an edge of the plane.
  5. The previously found maxima.

It is important that filter #1 be based on the shape of the label so that kinks are minimimized for convex hulls. For example, originally we used only filters two thru five, but this caused skeletons for neurites located away from the center of a chunk to suddenly jink towards the center of the chunk at chunk boundaries.

Rolling Invalidation Cube

The original TEASAR paper calls for a "rolling invalidation ball" that erases foreground voxels in step 6(iii). A naive implementation of this ball is very expensive as each voxel in the path requires its own ball, and many of these voxels overlap. In some cases, it is possible that the whole volume will need to be pointlessly reevaluated for every voxel along the path from root to target. While it's possible to special case the worst case, in the more common general case, a large amount of duplicate effort is expended.

Therefore, we applied an algorithm using topological cues to perform the invalidation operation in linear time. For simplicity of implmentation, we substituted a cube shape instead of a sphere. The function name roll_invalidation_cube is intended to evoke this awkwardness, though it hasn't appeared to have been important.

The two-pass algorithm is as follows. Given a binary image I, a skeleton S, and a set of vertices V:

  1. Let Bv be the set of bounding boxes that inscribe the spheres indicated by the TEASAR paper.
  2. Allocate a 3D signed integer array, T, the size and dimension of I representing the topology. T is initially set to all zeros.
  3. For each Bv:
  4. Set T(p) += 1 for all points p on Bv's left boundary along the x-axis.
  5. Set T(p) -= 1 for all points p on Bv's right boundary along the x-axis.
  6. Compute the bounding box Bglobal that inscribes the union of all Bv.
  7. A point p travels along the x-axis for each row of Bglobal starting on the YZ plane.
  8. Set integer coloring = 0
  9. At each index, coloring += T(p)
  10. If coloring > 0 or T(p) is non-zero (we're on the leaving edge), we are inside an invalidation cube and start converting foreground voxels into background voxels.

Related Projects

Several classic algorithms had to be specially tuned to make this module possible.

  1. edt: A single pass, multi-label anisotropy supporting euclidean distance transform implementation.
  2. dijkstra3d: Dijkstra's shortest-path algorithm defined on 26-connected 3D images. This avoids the time cost of edge generation and wasted memory of a graph representation.
  3. connected-components-3d: A connected components implementation defined on 26-connected 3D images with multiple labels.
  4. fastremap: Allows high speed renumbering of labels from 1 in a 3D array in order to reduce memory consumption caused by unnecessarily large 32 and 64-bit labels.
  5. fill_voids: High speed binary_fill_holes.
  6. xs3d: Cross section analysis of 3D images.

This module was originally designed to be used with CloudVolume and Igneous.

  1. CloudVolume: Serverless client for reading and writing petascale chunked images of neural tissue, meshes, and skeletons.
  2. Igneous: Distributed computation for visualizing connectomics datasets.

Some of the TEASAR modifications used in this package were first demonstrated by Alex Bae.

  1. skeletonization: Python implementation of modified TEASAR for sparse labels.

Credits

Alex Bae developed the precursor skeletonization package and several modifications to TEASAR that we use in this package. Alex also developed the postprocessing approach used for stitching skeletons using 50% overlap. Will Silversmith adapted these techniques for mass production, refined several basic algorithms for handling thousands of labels at once, and rewrote them into the Kimimaro package. Will added trickle DAF, zero weighted previously explored paths, and fixing borders to the algorithm. A.M. Wilson and Will designed the nucleus/soma "avocado" fuser. Forrest Collman added parameter flexibility and helped tune DAF computation performance. Sven Dorkenwald and Forrest both provided helpful discussions and feedback. Peter Li redesigned the target selection algorithm to avoid bilinear performance on complex cells.

Acknowledgments

We are grateful to our partners in the Seung Lab, the Allen Institute for Brain Science, and the Baylor College of Medicine for providing the data and problems necessitating this library.

This research was supported by the Intelligence Advanced Research Projects Activity (IARPA) via Department of Interior/ Interior Business Center (DoI/IBC) contract number D16PC0005, NIH/NIMH (U01MH114824, U01MH117072, RF1MH117815), NIH/NINDS (U19NS104648, R01NS104926), NIH/NEI (R01EY027036), and ARO (W911NF-12-1-0594). The U.S. Government is authorized to reproduce and distribute reprints for Governmental purposes notwithstanding any copyright annotation thereon. Disclaimer: The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of IARPA, DoI/IBC, or the U.S. Government. We are grateful for assistance from Google, Amazon, and Intel.

Papers Using Kimimaro

Please cite Kimimaro using the CITATION.cff file located in this repository.

The below list is not comprehensive and is sourced from collaborators or found using internet searches and does not constitute an endorsement except to the extent that they used it for their work.

  1. A.M. Wilson, R. Schalek, A. Suissa-Peleg, T.R. Jones, S. Knowles-Barley, H. Pfister, J.M. Lichtman. "Developmental Rewiring between Cerebellar Climbing Fibers and Purkinje Cells Begins with Positive Feedback Synapse Addition". Cell Reports. Vol. 29, Iss. 9, November 2019. Pgs. 2849-2861.e6 doi: 10.1016/j.celrep.2019.10.081 (link)
  2. S. Dorkenwald, N.L. Turner, T. Macrina, K. Lee, R. Lu, J. Wu, A.L. Bodor, A.A. Bleckert, D. Brittain, N. Kemnitz, W.M. Silversmith, D. Ih, J. Zung, A. Zlateski, I. Tartavull, S. Yu, S. Popovych, W. Wong, M. Castro, C. S. Jordan, A.M. Wilson, E. Froudarakis, J. Buchanan, M. Takeno, R. Torres, G. Mahalingam, F. Collman, C. Schneider-Mizell, D.J. Bumbarger, Y. Li, L. Becker, S. Suckow, J. Reimer, A.S. Tolias, N. Maçarico da Costa, R. C. Reid, H.S. Seung. "Binary and analog variation of synapses between cortical pyramidal neurons". bioRXiv. December 2019. doi: 10.1101/2019.12.29.890319 (link)
  3. N.L. Turner, T. Macrina, J.A. Bae, R. Yang, A.M. Wilson, C. Schneider-Mizell, K. Lee, R. Lu, J. Wu, A.L. Bodor, A.A. Bleckert, D. Brittain, E. Froudarakis, S. Dorkenwald, F. Collman, N. Kemnitz, D. Ih, W.M. Silversmith, J. Zung, A. Zlateski, I. Tartavull, S. Yu, S. Popovych, S. Mu, W. Wong, C.S. Jordan, M. Castro, J. Buchanan, D.J. Bumbarger, M. Takeno, R. Torres, G. Mahalingam, L. Elabbady, Y. Li, E. Cobos, P. Zhou, S. Suckow, L. Becker, L. Paninski, F. Polleux, J. Reimer, A.S. Tolias, R.C. Reid, N. Maçarico da Costa, H.S. Seung. "Multiscale and multimodal reconstruction of cortical structure and function". bioRxiv. October 2020; doi: 10.1101/2020.10.14.338681 (link)
  4. P.H. Li, L.F. Lindsey, M. Januszewski, Z. Zheng, A.S. Bates, I. Taisz, M. Tyka, M. Nichols, F. Li, E. Perlman, J. Maitin-Shepard, T. Blakely, L. Leavitt, G. S.X.E. Jefferis, D. Bock, V. Jain. "Automated Reconstruction of a Serial-Section EM Drosophila Brain with Flood-Filling Networks and Local Realignment". bioRxiv. October 2020. doi: 10.1101/605634 (link)

References

  1. M. Sato, I. Bitter, M.A. Bender, A.E. Kaufman, and M. Nakajima. "TEASAR: Tree-structure Extraction Algorithm for Accurate and Robust Skeletons". Proc. 8th Pacific Conf. on Computer Graphics and Applications. Oct. 2000. doi: 10.1109/PCCGA.2000.883951 (link)
  2. I. Bitter, A.E. Kaufman, and M. Sato. "Penalized-distance volumetric skeleton algorithm". IEEE Transactions on Visualization and Computer Graphics Vol. 7, Iss. 3, Jul-Sep 2001. doi: 10.1109/2945.942688 (link)
  3. T. Zhao, S. Plaza. "Automatic Neuron Type Identification by Neurite Localization in the Drosophila Medulla". Sept. 2014. arXiv:1409.1892 [q-bio.NC] (link)
  4. A. Tagliasacchi, T. Delame, M. Spagnuolo, N. Amenta, A. Telea. "3D Skeletons: A State-of-the-Art Report". May 2016. Computer Graphics Forum. Vol. 35, Iss. 2. doi: 10.1111/cgf.12865 (link)
  5. P. Li, L. Lindsey, M. Januszewski, Z. Zheng, A. Bates, I. Taisz, M. Tyka, M. Nichols, F. Li, E. Perlman, J. Maitin-Shepard, T. Blakely, L. Leavitt, G. Jefferis, D. Bock, V. Jain. "Automated Reconstruction of a Serial-Section EM Drosophila Brain with Flood-Filling Networks and Local Realignment". April 2019. bioRXiv. doi: 10.1101/605634 (link)
  6. M.M. McKerns, L. Strand, T. Sullivan, A. Fang, M.A.G. Aivazis, "Building a framework for predictive science", Proceedings of the 10th Python in Science Conference, 2011; http://arxiv.org/pdf/1202.1056
  7. Michael McKerns and Michael Aivazis, "pathos: a framework for heterogeneous computing", 2010- ; http://trac.mystic.cacr.caltech.edu/project/pathos

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kimimaro-3.7.0.tar.gz (477.3 kB view details)

Uploaded Source

Built Distributions

kimimaro-3.7.0-cp312-cp312-win_amd64.whl (332.2 kB view details)

Uploaded CPython 3.12 Windows x86-64

kimimaro-3.7.0-cp312-cp312-win32.whl (279.6 kB view details)

Uploaded CPython 3.12 Windows x86

kimimaro-3.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

kimimaro-3.7.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (2.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

kimimaro-3.7.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

kimimaro-3.7.0-cp312-cp312-macosx_11_0_arm64.whl (319.0 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

kimimaro-3.7.0-cp312-cp312-macosx_10_9_x86_64.whl (358.5 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

kimimaro-3.7.0-cp311-cp311-win_amd64.whl (335.4 kB view details)

Uploaded CPython 3.11 Windows x86-64

kimimaro-3.7.0-cp311-cp311-win32.whl (279.9 kB view details)

Uploaded CPython 3.11 Windows x86

kimimaro-3.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

kimimaro-3.7.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (2.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

kimimaro-3.7.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

kimimaro-3.7.0-cp311-cp311-macosx_11_0_arm64.whl (317.0 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

kimimaro-3.7.0-cp311-cp311-macosx_10_9_x86_64.whl (356.5 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

kimimaro-3.7.0-cp310-cp310-win_amd64.whl (334.7 kB view details)

Uploaded CPython 3.10 Windows x86-64

kimimaro-3.7.0-cp310-cp310-win32.whl (280.0 kB view details)

Uploaded CPython 3.10 Windows x86

kimimaro-3.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

kimimaro-3.7.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (2.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

kimimaro-3.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

kimimaro-3.7.0-cp310-cp310-macosx_11_0_arm64.whl (316.8 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

kimimaro-3.7.0-cp310-cp310-macosx_10_9_x86_64.whl (356.1 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

kimimaro-3.7.0-cp39-cp39-win_amd64.whl (334.9 kB view details)

Uploaded CPython 3.9 Windows x86-64

kimimaro-3.7.0-cp39-cp39-win32.whl (279.6 kB view details)

Uploaded CPython 3.9 Windows x86

kimimaro-3.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

kimimaro-3.7.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (2.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

kimimaro-3.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

kimimaro-3.7.0-cp39-cp39-macosx_11_0_arm64.whl (317.1 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

kimimaro-3.7.0-cp39-cp39-macosx_10_9_x86_64.whl (356.3 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

kimimaro-3.7.0-cp38-cp38-win_amd64.whl (337.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

kimimaro-3.7.0-cp38-cp38-win32.whl (281.2 kB view details)

Uploaded CPython 3.8 Windows x86

kimimaro-3.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

kimimaro-3.7.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (2.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

kimimaro-3.7.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

kimimaro-3.7.0-cp38-cp38-macosx_11_0_arm64.whl (315.0 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

kimimaro-3.7.0-cp38-cp38-macosx_10_9_x86_64.whl (350.3 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file kimimaro-3.7.0.tar.gz.

File metadata

  • Download URL: kimimaro-3.7.0.tar.gz
  • Upload date:
  • Size: 477.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0.tar.gz
Algorithm Hash digest
SHA256 f2f7ecae195e935f0536a7ebdf818b0addb8f77fd698f63873f012f731d07385
MD5 65a81fa825f763e8afe5d65a52247138
BLAKE2b-256 16c8e01ee9e99942b3abf1de01d2fbf6935ee2b36381cfad5d494441493b6715

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 332.2 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 62c67d2e90c37da9a4e55417a8f5f7842dd155c7b1ea621f790cbd3d3c646b7f
MD5 7185458a3ed893408927ff21f32e2c66
BLAKE2b-256 f81a58d058b2c99325c387a2faf2a8993cbf9171dd0b2c89234c86b34b193310

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp312-cp312-win32.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp312-cp312-win32.whl
  • Upload date:
  • Size: 279.6 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 776c64ccb4d409c1f03d073674d8fe71ff1fd6666600fbbf6637747a7b40025d
MD5 a240bf069a46c75fbc69aaf9b81d97a4
BLAKE2b-256 9565ad0d91bc5eefe3b8f4272377f266ffd2c952c0124991714bb9c774a3112f

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b860c09ecde9c63fd398280154a0ab28a1db1010e5023bb6c9f5e2772cd3be4
MD5 7f6169513cdf786e63795a30e759dfa9
BLAKE2b-256 113bab424267d633e7f1070b2f3d0aeca20832b2236c457dee0724954c48afcf

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 774569953e4289b99701eb4d19522466d4f7c67831a78f6201012e60e034ea5e
MD5 c12c3c1138e135b2ea31f9ba4e5a446f
BLAKE2b-256 faff255776ac65b01be191e130119a51b4c21f617516a8ede040fb1426229ecd

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 454e6d7982d414399cdc94fa8d7628cc9afa262af5bc152f36f4beb99a82f1ee
MD5 98859af16d5f06aad9bf2d2232cb6631
BLAKE2b-256 028ec389b5fd0e1fec13663f21e77634b0977e569b9066b1b60ec7f8b55f3ef2

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 319.0 kB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4a96b1001ee932144fa00f925fab06f52d6fab00cf6ec72baa0ff352e88f823
MD5 b7a05f4e16b946eaeb2541f8f682b08e
BLAKE2b-256 8132f4f08297634f0dd27faf4dab2a7515aea4654dca39e1e9f4cca8416d3718

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp312-cp312-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 358.5 kB
  • Tags: CPython 3.12, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 de1c2f4fd3e8b9d88bfef5a326e3fe9e273dbe88b8db1ff7442bf3bbcef3a6b0
MD5 57727c15dcd50fcb3e59a965625a308c
BLAKE2b-256 8165c64fb2948ccbd70ca9055b0b6c70e4145907b0eba230cb5e854865c8b1fd

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 335.4 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c36f67637404b3c10a243b1b979ab0466750437272c2bdada3f9cffbd9f21eef
MD5 3ce8ab36012c75929142202520666bd1
BLAKE2b-256 5da46fe63ad7773d2ad827c1df15e7489a9e0b6ccdc364f6dbd41ad681d458ce

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp311-cp311-win32.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp311-cp311-win32.whl
  • Upload date:
  • Size: 279.9 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 dabfb2f4999cd9c986f64de891edac2357acea1f91cdd587414bb585a6a4ef56
MD5 56f82e966c227c75a30bf30415e9e9f4
BLAKE2b-256 6557880e29a960a267d204444e19a194d98388e82da89761f8956ba937d15362

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 96972ee7c1128b2e068af60cf520d37ad7f6f218c8c2f7820c6d0fe7c11c4000
MD5 3db559b7b777c9b5ff0f0f660f1b394c
BLAKE2b-256 f6c2f1a85191ed5fa6150ec6fb6d2073546c185fb35c4b8d76456dbd3ce2ca99

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 1d7ff18f79675e10c625fcd5c8b8193c86d8dde1f337a90d629131294b9830af
MD5 8f8b4047c0bfce579878921b5d5571d6
BLAKE2b-256 159435b36e18afcccfc1debc71c3ab31313a9808b900af49115caf3daaff3e6e

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cd3ba92d236e91c7e693ddff898c9385cbf726c535cb79495dd2f5bc8bd55e5b
MD5 44deee076647f23a33750b92682ac04b
BLAKE2b-256 5bbccce0bb650428642ec0acc2c1441688c95b893f4dd385128a382bf053077e

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp311-cp311-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 317.0 kB
  • Tags: CPython 3.11, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82e92e0f31f245a679b89fbb0f13b438de2ba0588319bc4d57e96cf8c66a10f5
MD5 4fcf68c65394b844f83ab38680382de0
BLAKE2b-256 11fb313fefb085341b3ebe2ef0915d5ea29ce2dae1b7c6e48bf1e0b9884d5e27

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp311-cp311-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 356.5 kB
  • Tags: CPython 3.11, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d775ba9046328206ebdd0a9c8cf3034f12998bc1533a28cda4a10e322647656e
MD5 20e535b00ff95b071b9cbf44bbe97a6c
BLAKE2b-256 97d3d6cd18fba6497bb2ca8398586eb765e43dadb4857c55d2af638878e26386

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 334.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 06fb3e3fe676a8bc4f72161c19bb9e19a1b53e07f6c66e4f3cce7ff2fe1c27ee
MD5 52f6eead16e1c286dd3894793b3b1894
BLAKE2b-256 ebae1161da616228d4b8f38a85b4d60e12a418f3fccc59e8e653328cd99c444d

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp310-cp310-win32.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 280.0 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 b9b9cc3d1548390c18ea20ccdf12eb79ec7acb38327f05c882596b2211af6c5f
MD5 f4723e1b4c58b5a4eec400ba79194992
BLAKE2b-256 7a4e5a4107036b30d1e081c2ca04088246f56bab69f28a670959fc2caf2f728f

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c46e89b3ac8442fa4da524e233900c01635122ba2dc206672584a38cbc7ac2e5
MD5 90f7ebdea42939b99447b35d17007e78
BLAKE2b-256 8809d3f6c4ecf725f0ea155db08ec7ac7fc4963748a3efa8c004d3b4dbed5330

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 776623ec7c2822c8f83352a7a6dc3da72af75ebf51d376850ab20ecd6e8eb50f
MD5 db4302cc78a686d8dcfdefb5c58a9eb0
BLAKE2b-256 363bf73b0845e599ab313838cdc2ee0812a29f6c1993515545171a000f867f25

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ee0101d5e90de9ecee63e2f43314c1dee12950603ebb5a023858805ebf6efff2
MD5 7c506b9d7d4a6201d707fff07138ac9f
BLAKE2b-256 d3c746f16e07ec7767bb90e8969f580de98141b9f31095c9109f9322de0e4650

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 316.8 kB
  • Tags: CPython 3.10, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 820f57ed8ea312b6c46cc6eb92d346ac2812cd36c33bd585539bdcf8f8ae6e2d
MD5 0d9c2284ccf2ba0bfcb04c816d919236
BLAKE2b-256 8a70795cbb70a172c689652041451300714640301fac5e2c82380dcdf80bd0f2

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 356.1 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 15e66075d368cb2ee21f77dedbfb600e4550628c3970e475f07ca1af9f5751da
MD5 ed7d59319576b389f21f88173c2c4bf3
BLAKE2b-256 096a56e826b86246f7767d8498387a42f03be9d339e025546a01204c3930c201

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 334.9 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e1d6336b03b65f2dc045d8850a9e61a9a287ba66bf802f704e5235db065e4211
MD5 d2b4f5d5e6c01a0cdce18e7fb3432502
BLAKE2b-256 f27720a6479e00cec5f770904866e69a54de4cbc3b35a061a774b5e1cca94c11

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp39-cp39-win32.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 279.6 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 8556f0fd1819297a540bdcdcc21a6f84be5f929185377a79191cdccaec1bc7c6
MD5 0566b8b245d79e28d09771d206b926c3
BLAKE2b-256 e30df70363ed3f18deb8f55c5237621ba67a01e77da5cb1a41a963ef1b5b561f

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 001677903076f209c81eaec6a08cf9c919d7c55a868ca15c5e04635c3978583c
MD5 67861ab988e5b61736af81d64fb9334d
BLAKE2b-256 55c521a16fbf8b267cfa1d9c2a69e37a0510ca5e814146f8adc23a29b5b26c7a

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2eff3faa904af7e134f540ce3b8bb91fba4a206b70343077439961aee55fa5f3
MD5 9e8e31018dfd0f15a1bb9a7ae57376d9
BLAKE2b-256 572d24f347e3f1c19f7a97beacf2063de1767a4a5a898e1dbcfde674966f9384

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 daa79bda4749cb33db5a2e81811e11172e89a0f0b33aee4d6ccc8c9c875dee29
MD5 8ed0b61989eb8a25897267a2895b5612
BLAKE2b-256 2f76c7a13f13d97ad6898341dc01b26a470b4669d93ca67129f4b35235f00301

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 317.1 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c287315c6867e3188d15c8085765181d2d3f939cfcb212fca1d6f9f77e6bbd37
MD5 cab9d014e67fb0a1fd598dbf2fb92926
BLAKE2b-256 c49e606215a27cfbc670c6ff7f4b7b50c93dd079052e5e0e277c1deb7fe5a65c

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 356.3 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 15e2390ef271280fff518249c4adfeb0ba1d9628f690d594ded833be8ffe6828
MD5 77e8195861fd7bc5c893a4ee7dda5279
BLAKE2b-256 8f955c5399fc60d1a41c66fa7975abfb459282bba6b97ed78ab65894f1ad7804

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 337.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 67462d0b36a2d614f4f46d7c784a40df63e386c48a458312662e16408439d4a5
MD5 afb02ae7863bc56468710939629c8800
BLAKE2b-256 8e03dac74b869831d5323d08f439de6879d7ddc5d1f162862aa7aa6cb273c769

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp38-cp38-win32.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 281.2 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 d5962acbd14cefc633ee0bd68f10be7fcf49b536ccefb027e8d135275f30c93b
MD5 3d298a8cd38739b51110b524633c7f4f
BLAKE2b-256 8968adfd63b1f0f75f29be905f4a567d60f64a67dc04f5bd47795c5f31017665

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f56bab5ca4ccfcb3a41e872c3e20cee88506260df2ed521bf82f958b757b54a4
MD5 bd8315f7be21d5e3954b586f9b70a66e
BLAKE2b-256 b383d10beab271a7e55d4ba6ccd65bd39dc8273bfc70bd04969d8ae146357806

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ba2c991871b9b673f95408f9707d0c7dab172a28256c3b153c1298e4d365d5b1
MD5 423dcde4b46d823aabc371d36046ef48
BLAKE2b-256 1ff259e97284a034bd436798ca3ab988bb65234d98e46f562d45c48c184b7707

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for kimimaro-3.7.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 efa24abda0f3b8b2449ce39b69d29e0ed8a5cd5adf149c91ad2e09c74bd799f1
MD5 d56a0ae5371638ff80c9afd7c6f777dd
BLAKE2b-256 1bf9072ee8faa8784f172ec39cbccc3eb47149c64b083b20b5e0c3e49d3eee27

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 315.0 kB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1fa198a2c57a020ecd9e3d11e8eb69d5bb4d7a0622eda94b095a685cd4cd9dfe
MD5 f760805b564bb16bb45fe89876166b28
BLAKE2b-256 c2a2fba19027c464469868620b9515abc01290cf97d1d6f940c19f3c1dcba1c5

See more details on using hashes here.

File details

Details for the file kimimaro-3.7.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: kimimaro-3.7.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 350.3 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10

File hashes

Hashes for kimimaro-3.7.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8019f4330a5f32a4df24f8b6649d460bf13a449bf02aebebe355d8749b967a28
MD5 e9b5c59f3b186a02ddcb4e3b6e080463
BLAKE2b-256 e2dc3ad78c232f2d4e9155d64087baa280afc674a11698a3bd8bb23b76aa7c68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page