Skip to main content

Add your description here

Project description

SegmentMesher

Segmentmesher is a small python-application for creating labeled 2D meshes from segmented png-images. A few example images are located in the resources-folder.

To install run

pip install .

and to run:

segmentmesher -i resources/pixelbrain.png -o 2dbrain.vtu --visualize

which will first open a pyplot-window showing the input image, then upon closing the pyplot-window the segments will be meshed and stored to the file 2dbrain.vtu which will be visualized in a pyvista-window. If you drop the --visualize-flag nothing will be shown underways, and the mesh can be inspected by e.g. paraview.

To see possible arguments, run

segmentmesher --help

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

segmentmesher-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

segmentmesher-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file segmentmesher-0.1.1.tar.gz.

File metadata

  • Download URL: segmentmesher-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.25

File hashes

Hashes for segmentmesher-0.1.1.tar.gz
Algorithm Hash digest
SHA256 703a7692e812d2a6cf49921320d8cece79bf423f0485f550aa579886a1409d53
MD5 fee6b4400cbca137d9d3db22189f9831
BLAKE2b-256 a9cc79430676c37da97af25043107188ec9322ff4960defea13ee66036120980

See more details on using hashes here.

File details

Details for the file segmentmesher-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for segmentmesher-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53b94490a36fa5b94ac1ae1a53207bf456c83e84a12f90a5add42f30eb189975
MD5 ec7f6cd988ecbe2e0610703263a37d3b
BLAKE2b-256 301f066f7f4c8d83f4bff3520095e6d8b3006b297290a8f43131c01eb0e86e71

See more details on using hashes here.

Supported by

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