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.0.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.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: segmentmesher-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ec6c2d269c44981668514d23af1c044cd3ae0a0a1c15f46b9cfa0fcaf25bf332
MD5 00626e2754679bcaf1387648010b6442
BLAKE2b-256 9d98daeec880dcfe1f58fbf69a4db07524dbed495b3d2caa7e5840be060e8289

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for segmentmesher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62b04f16c37af6a79b3ad7766ff35df14af4b447386f5349472e52e8e4de3c37
MD5 170631d0917a499588b8e22cd39efb6c
BLAKE2b-256 63a2ad28dd5e0d70eccd737b77422f6dd4504567cbe3f8626ac8fbaebfa0b8d8

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