Skip to content
Snippets Groups Projects
Commit 045bef4f authored by hanste's avatar hanste
Browse files

Update README.md with requirements, description and How to Use.

parent 954d47c3
Branches 3d_watershed
No related tags found
No related merge requests found
# Thick Section Point Density # Thick Section Point Density
Exact calculation of point density in thick sections from spherical source. Exact calculation of point density in thick sections from spherical point source.
\ No newline at end of file
# Requirements
- numpy
- overlap (https://github.com/severinstrobl/overlap)
- tqdm (optional)
# Description
This method tackles the problem of measuring point densities object point objects in non-overlapping spaced out thick sections.
This method arose from the study of cells migrating in living tissue from an injection site and where the cells were later annotated in discrete number of sections with known thickness and relative position.
The thick section as well as spaces between section results in missing data when binning point counts as a function of the distance to the injection site. This software approximates a solution to solve this problem by integrating both points and section volume, and calcualtes a point density instead.
# How to use
For example use, see run.py alongside the structure in the data folder. Alternatively, use the measure_cumulative_volume and
measure_cumulative_points functions directly found in measure.py.
The code assumes the section domains are represented as ordered polygon points, a known thickness of each section, known source site, and point locations for each section.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment