Skip to main content

scikit-surgeryutils - Tests/demos utilities, based around opencv-contrib-python-headless and PySide6

Project description

Logo

GitHub Actions CI statuss Test coverage Documentation Status https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg Follow scikit_surgery on twitter

Author(s): Miguel Xochicale, Thomas Dowrick, Stephen Thompson and Matt Clarkson; Contributor(s): Mian Ahmad.

scikit-surgeryutils containing small demo apps and utilities.

scikit-surgeryutils is part of the SciKit-Surgery software project, developed at the Wellcome EPSRC Centre for Interventional and Surgical Sciences, part of University College London (UCL).

scikit-surgeryvtk is tested on Python 3.8. and may support other Python versions.

Features

  • Common overlay apps - Examples of common uses of scikit-surgeryvtk’s VTKOverlayWindow. Includes overlaying on a video feed, duplicating a feed.

Command line applications

Open a terminal, load your virtual environment and run the application as python sk*.py.

  • sksurgeryvideolag.py - shows a millisecond timer and video image to crudely measure measure lag.

  • sksurgerycharucotest.py - extracts charuco points and annotates video image with each id detected.

  • sksurgeryrendermodelslikecamera.py - renders a VTK model, over background image, using OpenCV camera intrinsics.

  • sksurgerymakecalibrationdots.py - Create a calibraiton dot pattern.

  • sksurgeryreslice.py - DICOM reslice widget demo.

  • sksurgerytextoverlay.py - VTK text overlay demo.

  • sksurgerytransformpolydata.py - Read a surface mesh (.vtk,.vtp,.stl,.ply file), transform by 4x4 matrix and write as .vtk.

Installing

You can pip install directly from the repository as follows:

pip install git+https://github.com/SciKit-Surgery/scikit-surgeryutils

Developing

Cloning

You can clone the repository using the following command:

git clone https://github.com/SciKit-Surgery/scikit-surgeryutils

Running the tests

You can run the unit tests by installing and running tox:

pip install tox
tox
tox -e docs
tox -e lint

Encountering Problems?

Please get in touch or raise an issue.

Contributing

Please see the contributing guidelines.

Acknowledgements

Supported by Wellcome and EPSRC.

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

scikit-surgeryutils-2.0.0.tar.gz (36.3 kB view details)

Uploaded Source

Built Distribution

scikit_surgeryutils-2.0.0-py2.py3-none-any.whl (35.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file scikit-surgeryutils-2.0.0.tar.gz.

File metadata

  • Download URL: scikit-surgeryutils-2.0.0.tar.gz
  • Upload date:
  • Size: 36.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for scikit-surgeryutils-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d5157cf8cbd392cdd514210087de8522768c085f019ca0db42556d250e243eb4
MD5 98e6d16925b2da15d7bee96784b9cc22
BLAKE2b-256 d345b727084c89ffc5165216cd315bffd47b05307114f2a2e3643a5b5d9acffa

See more details on using hashes here.

File details

Details for the file scikit_surgeryutils-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for scikit_surgeryutils-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 27d56b31b06d86d449b964c95105a97ea47a8830133e9ba7205d39055a15dc6b
MD5 aa240b679748dfa7bc6a28e0cb4fa4d3
BLAKE2b-256 232136ceb19ed0a7ed33c37282e598c6d4c7a71df75f936fbed91b6110c2d356

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