scikit-surgerycalibration

scikit-surgery-calibration provides algorithms designed for the calibration of surgical instruments

https://github.com/scikit-surgery/scikit-surgerycalibration

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    3 of 4 committers (75.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary

Keywords

aruco-markers camera-calibration charuco opencv scikit-surgery

Keywords from Contributors

ucl augmented-reality vtk ndi aruco augmented-reality-applications opencv-python scikit-surgerybard vtk-applications surgery
Last synced: 6 months ago · JSON representation

Repository

scikit-surgery-calibration provides algorithms designed for the calibration of surgical instruments

Basic Info
Statistics
  • Stars: 12
  • Watchers: 2
  • Forks: 2
  • Open Issues: 5
  • Releases: 3
Topics
aruco-markers camera-calibration charuco opencv scikit-surgery
Created almost 6 years ago · Last pushed 8 months ago
Metadata Files
Readme Contributing License Citation

README.rst

scikit-surgerycalibration
===============================

.. image:: https://github.com/SciKit-Surgery/scikit-surgerycalibration /raw/master/weiss_logo.png
   :height: 128px
   :width: 128px
   :target: https://github.com/SciKit-Surgery/scikit-surgerycalibration 
   :alt: Logo

|

.. image:: https://github.com/SciKit-Surgery/scikit-surgerycalibration/workflows/.github/workflows/ci.yml/badge.svg
   :target: https://github.com/SciKit-Surgery/scikit-surgerycalibration/actions
   :alt: GitHub Actions CI statuss

.. image:: https://coveralls.io/repos/github/SciKit-Surgery/scikit-surgerycalibration/badge.svg?branch=master&service=github
    :target: https://coveralls.io/github/SciKit-Surgery/scikit-surgerycalibration?branch=master
    :alt: Test coverage

.. image:: https://readthedocs.org/projects/scikit-surgerycalibration /badge/?version=latest
    :target: http://scikit-surgerycalibration .readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://img.shields.io/badge/Cite-SciKit--Surgery-informational
   :target: https://doi.org/10.1007/s11548-020-02180-5
   :alt: The SciKit-Surgery paper

.. image:: https://img.shields.io/twitter/follow/scikit_surgery?style=social
   :target: https://twitter.com/scikit_surgery?ref_src=twsrc%5Etfw
   :alt: Follow scikit_surgery on twitter


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

scikit-surgerycalibration 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-surgerycalibration is tested on Python 3.7.

scikit-surgerycalibration contains algorithms to perform calibrations useful during surgery, for example pointer calibration, ultrasound calibration, and camera calibration. 

Please explore the project structure, and request or implement your desired functionality.

.. features-start

Features
--------

* `Pivot Calibration `_ for pivot calibration.
* `Calibration `_ of mono or stereo tracked video data, calculating camera intrinsics and handeye transformation.

.. features-end


Cloning
-------

You can clone the repository using the following command:
::

    git clone https://github.com/SciKit-Surgery/scikit-surgerycalibration
    git clone git@github.com:SciKit-Surgery/scikit-surgerycalibration.git # Alternatively, use password-protected SSH key.


Developing
----------

We recommend using `anaconda`_ or `miniconda`_ to create a python 3.7 environment,
then using `tox`_ to install all dependencies inside a dedicated `venv`_. We then use
github `actions`_ to run a matrix of builds for Windows, Linux and Mac and various python versions.

All library dependencies are specified via ``requirements-dev.txt`` which refers to ``requirements.txt``.

So, assuming either `anaconda`_ or `miniconda`_ is installed, and your current working directory is the root directory of this project:
::

    conda create --name scikit-surgery python=3.7
    conda activate scikit-surgery
    pip install tox
    tox

As the `tox`_ command runs, it will install all dependencies in a sub-directory ``.tox/py37`` (Linux/Mac) or ``.tox\py37`` (Windows).
`tox`_ will also run pytest and linting for you.

To run commands inside the same environment as `tox`_, you should:
::

    source .tox/py37/bin/activate

on Linux/Mac, or if you are Windows user:
::

    .tox\py37\Scripts\activate

Then you can run pytest, linting, or directly run python scripts, and
know that the environment was created correctly by `tox`_.


Generating documentation
^^^^^^^^^^^^^^^^^^^^^^^^

The simplest way is again using `tox`_.
::

    tox -e docs

then open ``docs/build/html/index.html`` in your browser.


Running tests
^^^^^^^^^^^^^

Pytest is used for running unit tests:
::

    python -m pytest
    pytest -v -s tests/algorithms/test_triangulate.py #example for individual tests


Linting
^^^^^^^
This code conforms to the PEP8 standard. Pylint can be used to analyse the code:
::

    pylint --rcfile=tests/pylintrc sksurgerycalibration


Installing
----------

You can pip install directly from the repository as follows:
::

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



Contributing
------------

Please see the `contributing guidelines`_.


Useful links
------------

* `Source code repository`_
* `Documentation`_


Licensing and copyright
-----------------------
Copyright 2020 University College London.
scikit-surgerycalibration is released under the BSD-3 license. Please see the `license file`_ for details.


Acknowledgements
----------------
Supported by `Wellcome`_ and `EPSRC`_.


.. _`Wellcome EPSRC Centre for Interventional and Surgical Sciences`: http://www.ucl.ac.uk/weiss
.. _`source code repository`: https://github.com/SciKit-Surgery/scikit-surgerycalibration 
.. _`Documentation`: https://scikit-surgerycalibration.readthedocs.io
.. _`SciKit-Surgery`: https://github.com/SciKit-Surgery/scikit-surgery/wiki/home
.. _`University College London (UCL)`: http://www.ucl.ac.uk/
.. _`Wellcome`: https://wellcome.ac.uk/
.. _`EPSRC`: https://www.epsrc.ac.uk/
.. _`anaconda`: https://www.anaconda.com/
.. _`miniconda`: https://docs.conda.io/en/latest/miniconda.html
.. _`tox`: https://tox.wiki/en/latest/
.. _`venv`: https://docs.python.org/3/library/venv.html
.. _`actions`: https://github.com/SciKit-Surgery/scikit-surgerycalibration/actions
.. _`contributing guidelines`: https://github.com/SciKit-Surgery/scikit-surgerycalibration /blob/master/CONTRIBUTING.rst
.. _`license file`: https://github.com/SciKit-Surgery/scikit-surgerycalibration /blob/master/LICENSE

Owner

  • Name: SciKit-Surgery
  • Login: SciKit-Surgery
  • Kind: organization
  • Email: s.thompson@ucl.ac.uk

Compact Libraries for Surgical Navigation

GitHub Events

Total
  • Issues event: 5
  • Watch event: 3
  • Issue comment event: 4
  • Push event: 4
  • Create event: 2
Last Year
  • Issues event: 5
  • Watch event: 3
  • Issue comment event: 4
  • Push event: 4
  • Create event: 2

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 312
  • Total Committers: 4
  • Avg Commits per committer: 78.0
  • Development Distribution Score (DDS): 0.609
Top Committers
Name Email Commits
Matt Clarkson m****n@u****k 122
Stephen Thompson s****n@u****k 93
Miguel Xochicale m****e@u****k 59
Thomas Dowrick t****k@g****m 38
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 49
  • Total pull requests: 17
  • Average time to close issues: 2 months
  • Average time to close pull requests: 3 days
  • Total issue authors: 6
  • Total pull request authors: 4
  • Average comments per issue: 1.2
  • Average comments per pull request: 0.29
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • thompson318 (23)
  • MattClarkson (17)
  • mxochicale (3)
  • tdowrick (3)
  • mianasbat (2)
  • Lecrapouille (1)
Pull Request Authors
  • thompson318 (8)
  • MattClarkson (4)
  • tdowrick (3)
  • mxochicale (2)
Top Labels
Issue Labels
p1-high (1) p3-low (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 206 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 6
  • Total versions: 28
  • Total maintainers: 2
pypi.org: scikit-surgerycalibration

scikit-surgerycalibration provides algorithms designed for the calibration of surgical instruments

  • Versions: 28
  • Dependent Packages: 1
  • Dependent Repositories: 6
  • Downloads: 206 Last month
Rankings
Dependent packages count: 4.7%
Dependent repos count: 6.0%
Downloads: 11.4%
Average: 13.0%
Stargazers count: 20.3%
Forks count: 22.6%
Maintainers (2)
Last synced: 6 months ago

Dependencies

requirements-dev.txt pypi
  • coverage * development
  • coveralls * development
  • mock * development
  • nbsphinx * development
  • parameterized * development
  • pyfakefs * development
  • pyinstaller * development
  • pylint * development
  • pytest * development
  • pyyaml * development
  • sphinx * development
  • sphinx_rtd_theme * development
  • tox * development
requirements.txt pypi
  • ipykernel *
  • nbsphinx *
  • numpy *
  • opencv-contrib-python-headless *
  • scikit-surgerycore *
  • scikit-surgeryimage >=0.8.5
  • scikit-surgeryopencvcpp *
  • scipy *
setup.py pypi
  • ipykernel *
  • nbsphinx *
  • numpy *
  • opencv-contrib-python-headless *
  • scikit-surgerycore *
  • scikit-surgeryimage >=0.8.5
  • scikit-surgeryopencvcpp *
  • scipy *
.github/workflows/ci.yml actions
  • actions/checkout v2 composite
  • actions/checkout master composite
  • actions/setup-python v1 composite
  • pypa/gh-action-pypi-publish master composite