Skip to main content

Process and analyze surfaces using open3d and vedo in napari

Project description

napari-process-points-and-surfaces (nppas)

License PyPI Python Version tests codecov Development Status napari hub

Process and analyze surfaces using open3d and vedo in napari.

Usage

You find a couple of surface generation, smoothing and analysis functions in the menu Tools > Surfaces and Tools > Points. For detailed explanation of the underlying algorithms, please refer to the open3d documentation. Some code snippets and the knot example data have been taken from the open3d project which is MIT licensed and from the vedo documentation which is MIT licensed. The Standford Bunny example dataset has been taken from the The Stanford 3D Scanning Repository.

For processing meshes in Python scripts, see the demo notebook. There you also learn how this screenshot is made:

img.png

For performing quantitative measurements of meshes in Python scripts, see the demo notebook. There you also learn how this screenshot is made:

img.png

Surface measurements and annotations

Using the menu Tools > Measurement > Surface quality table (vedo, nppas) you can derived quantiative measurements of the vertices in a given surface layer.

img_1.png

To differentiate regions when analyzing those measurements it is recommended to use the menu Tools > Surfaces > Annotate surface manually (nppas) after measurements have been made. This tool allows you to draw annotation label values on the surface. It is recommended to do activate a colorful colormap such as hsv before starting to draw annotations. Furthermore, set the maximum of the contrast limit range to the number of regions you want to annotate + 1. Annotations can be drawn as freehand lines and circles.

img.png

After measurements and annotations were done, you can save the annotation in the same measurement table using the menu Tools > Measurement > Surface quality/annotation to table (nppas)

img.png

Measurement visualization

To visualize measurements on the surface, just double-click on the table column headers. This also allows to visualize measurements and annotations side-by-side.

img.png

Installation

You can install napari-process-points-and-surfaces via pip:

pip install napari-process-points-and-surfaces

See also

There are other napari plugins with similar / overlapping functionality

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-process-points-and-surfaces" is free and open source software

Issues

If you encounter any problems, please create a thread on image.sc along with a detailed description and tag @haesleinhuepf.

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

napari-process-points-and-surfaces-0.3.3.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file napari-process-points-and-surfaces-0.3.3.tar.gz.

File metadata

File hashes

Hashes for napari-process-points-and-surfaces-0.3.3.tar.gz
Algorithm Hash digest
SHA256 2696eb6ff9c9c1753341dd6dd6dc4f4abc20a848f04127e0d71226f6a770ffd4
MD5 d9650b94695081fcdc0d624a82b11a8a
BLAKE2b-256 490505db393187fc8adea872ea0f56c12cd692cb5c5d2004293cc8f7cf7af89c

See more details on using hashes here.

File details

Details for the file napari_process_points_and_surfaces-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_process_points_and_surfaces-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4da44b2765dfcda9508bb9281e303a6e6dd06e616a16dad90788ac2e97e3b6df
MD5 6b25b6aaaaff0ebc027e653bd22ab545
BLAKE2b-256 689b678ea1f5a8df48c9e7723b3fdbb946f21f0830bc0cd8a96ad294f0130099

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