Skip to main content

Stitcher - mesh builder

Project description

Stitcher package is a 3D mesh builder

It was developed by metaBIO lab member Heitor Gessner as part of his master thesis. The main usage is for recreating brain models from rare species, i.e., especies with low number of spiciements.

It provides 3 classes:
  • Points()

  • Perimeters()

  • Surface()

Each Periemeter is a collection of Points. Each Surface is a collection of Perimeters. For the points in points, it is expected to have a 3D coordinate reference for each point that delimits a plane contour. The contours are made by manual or automatic segmentation, in the case of brains. This can be done in softwares such as ImageJ, Horos or Osirix - and than exported as a json file.

Version 1.1:

-New super resolution method using Fourier Transform -Fixed fix_intersection() method from Perimeter() to properly handle rare parallel lines case

Version 1.2:

-FIX: Point division by number added as operation (division) -NEW: Perimeter legth added -NEW: estimation of volume and lateral area by numerical approximation prior to the reconstruction (doi: 10.3389/fnana.2013.00028) -NEW: report of possible topological artifacts after build the 3D mesh

Version 1.2.1:

-CHANGE: fixing the intersection is optinal when making a new Perimeter

Version 1.2.2:

-Fix: loading from cache now works as expected -NEW: Perimeter.remove_by_angle(limit_in_radians) method to remove vertices that with angle<limit

Version 1.2.2.1:

-Fix: Intersection check limit (reconstruction.Surface.intersection_limit) is now a property of Surface intead of being hard coded

Version 1.2.3:

-NEW: Added Surface.self_intersection boolean property to report problematic surface build

Version 1.3:

-Fix: remove_overlap was improved and now can handle multiple overlaps on the same spot

Version 1.3.1:

-Fix: islands_ensemble now doesn’t create self intersection anymore

Version 1.3.2:

-Fix: fix_intersection in Perimiter class didn’t update de area vector, now it does

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

brain-stitcher-1.3.2.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

brain_stitcher-1.3.2-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

Details for the file brain-stitcher-1.3.2.tar.gz.

File metadata

  • Download URL: brain-stitcher-1.3.2.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for brain-stitcher-1.3.2.tar.gz
Algorithm Hash digest
SHA256 b57fbb13dc51ddc6a28d1c76e7cf823b3ebb61d3c2160047538217fc8ecef15b
MD5 099baf24ec659f72778cdf71011406a5
BLAKE2b-256 4b35309d30775d6e19c61d50b1ee27095de794b0d42f7aea1cebaebee017deaa

See more details on using hashes here.

File details

Details for the file brain_stitcher-1.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for brain_stitcher-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6bba338c36d5b62ba969e78d19f652d826aeb0a1a6abc7ed3b8d01f2fd85803
MD5 183f8ae35fc13467c439cebba4b0e88f
BLAKE2b-256 5fa676b0fd301e23f5065adcb05548ac04a170860f2549fc879547e786882663

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