Skip to main content

Framework for Computer Vision setups in Neuroscience

Project description

PyPI - Version PyPI - Python Version PyPI - License PyPI - Downloads Documentation Status

🚧 Under Development

This project is still in an alpha stage. Expect rapid changes, incomplete features, and possible breaking updates between releases.

  • The API may evolve as we stabilize core functionality.
  • Documentation and examples are incomplete.
  • Feedback and bug reports are especially valuable at this stage.

NeuroVC

Fig1

Toolbox with utility functions for computer vision setups in neuroscience. The core module contains classes for motion magnification and camera io.

Citation

If you use this code in work for publications, please cite in the following way.

1. Camera routines:

Flotho, P., Bhamborae, M., Grun, T., Trenado, C., Thinnes, D., Limbach, D., & Strauss, D. J. (2021). Multimodal Data Acquisition at SARS-CoV-2 Drive Through Screening Centers: Setup Description and Experiences in Saarland, Germany. J Biophotonics.

BibTeX entry

@article{flotea2021b,
    author = {Flotho, P. and Bhamborae, M.J. and Grün, T. and Trenado, C. and Thinnes, D. and Limbach, D. and Strauss, D. J.},
    title = {Multimodal Data Acquisition at SARS-CoV-2 Drive Through Screening Centers: Setup Description and Experiences in Saarland, Germany},
    year = {2021},
  journal = {J Biophotonics},
  pages = {e202000512},
  doi = {https://doi.org/10.1002/jbio.202000512}
}

2. Motion magnification:

Flotho, P., Heiss, C., Steidl, G., & Strauss, D. J. (2023). Lagrangian motion magnification with double sparse optical flow decomposition. Frontiers in Applied Mathematics and Statistics, 9, 1164491.

@article{flotho2023lagrangian,
  title={Lagrangian motion magnification with double sparse optical flow decomposition},
  author={Flotho, Philipp and Heiss, Cosmas and Steidl, Gabriele and Strauss, Daniel J},
  journal={Frontiers in Applied Mathematics and Statistics},
  volume={9},
  pages={1164491},
  year={2023},
  publisher={Frontiers Media SA}
}

and for facial landmark-based decomposition:

Flotho, P., Heiß, C., Steidl, G., & Strauss, D. J. (2022, July). Lagrangian motion magnification with landmark-prior and sparse PCA for facial microexpressions and micromovements. In 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC) (pp. 2215-2218). IEEE.

@inproceedings{flotho2022lagrangian,
  title={Lagrangian motion magnification with landmark-prior and sparse PCA for facial microexpressions and micromovements},
  author={Flotho, Philipp and Hei{\ss}, Cosmas and Steidl, Gabriele and Strauss, Daniel J},
  booktitle={2022 44th Annual International Conference of the IEEE Engineering in Medicine \& Biology Society (EMBC)},
  pages={2215--2218},
  year={2022},
  organization={IEEE}
}

and for using compressive function approaches:

Flotho, P., Bhamborae, M. J., Haab, L., & Strauss, D. J. (2018). Lagrangian motion magnification revisited: Continuous, magnitude driven motion scaling for psychophysiological experiments. In 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC) (pp. 2215-2218). IEEE.

@inproceedings{flotho2018lagrangian,
  title={Lagrangian motion magnification revisited: Continuous, magnitude driven motion scaling for psychophysiological experiments},
  author={Flotho, Philipp and Bhamborae, Mayur J and Haab, Lars and Strauss, Daniel J},
  booktitle={2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)},
  pages={3586--3589},
  year={2018},
  organization={IEEE}
}

3. Thermal landmarks:

Flotho, P., Piening, M., Kukleva, A., & Steidl, G. (2024). T-FAKE: Synthesizing Thermal Images for Facial Landmarking. arXiv preprint arXiv:2408.15127.

@article{flotho2024t,
  title={T-FAKE: Synthesizing Thermal Images for Facial Landmarking},
  author={Flotho, Philipp and Piening, Moritz and Kukleva, Anna and Steidl, Gabriele},
  journal={arXiv preprint arXiv:2408.15127},
  year={2024}
}

Third-Party Code

This distribution bundles selected research code from external projects. Please cite the original authors when using functionality derived from these components.

RAFT optical flow:

Teed, Z., & Deng, J. (2020). RAFT: Recurrent All-Pairs Field Transforms for Optical Flow. In European Conference on Computer Vision (pp. 402–419). Springer.

@inproceedings{teed2020raft,
  title={Raft: Recurrent all-pairs field transforms for optical flow},
  author={Teed, Zachary and Deng, Jia},
  booktitle={European conference on computer vision},
  pages={402--419},
  year={2020},
  organization={Springer}
}

FlowMag motion magnification:

Pan, Z., Geng, D., & Owens, A. (2023). Self-supervised motion magnification by backpropagating through optical flow. Advances in Neural Information Processing Systems, 36, 253–273.

@article{pan2023self,
  title={Self-supervised motion magnification by backpropagating through optical flow},
  author={Pan, Zhaoying and Geng, Daniel and Owens, Andrew},
  journal={Advances in Neural Information Processing Systems},
  volume={36},
  pages={253--273},
  year={2023}
}

Licensing Notice:

This project contains code derived from RAFT, which is licensed under the BSD 3-Clause License. See neurovc/raft/LICENSE for details. The rest of this project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 1.0 license (CC BY-NC-SA 1.0). See LICENSE for details.

When using or redistributing this project, you must comply with both licenses.

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

neurovc-0.1.0a1.tar.gz (451.2 kB view details)

Uploaded Source

Built Distribution

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

neurovc-0.1.0a1-py3-none-any.whl (52.7 kB view details)

Uploaded Python 3

File details

Details for the file neurovc-0.1.0a1.tar.gz.

File metadata

  • Download URL: neurovc-0.1.0a1.tar.gz
  • Upload date:
  • Size: 451.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neurovc-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 d890185a63c5090c875c624a121463b224fb662927cb29fa2862b688792b8584
MD5 38354633007250b6d569ba7abf471a98
BLAKE2b-256 e38760ae333e43aa93d610b2743b461f534d736e14210e57cb6a17489ad61a93

See more details on using hashes here.

Provenance

The following attestation bundles were made for neurovc-0.1.0a1.tar.gz:

Publisher: pypi-release.yml on openscivision/neurovc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file neurovc-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: neurovc-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 52.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neurovc-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 f63a6adfeffbe765458b998dffa756f7375b727085d86b8bd8940f7adfc772a6
MD5 7f8781f90aff32c453b750d7612bfc79
BLAKE2b-256 49bae437fb5fa45c58ca90a38388050067ba02849c1c8a22cae3b1afaa2e5db6

See more details on using hashes here.

Provenance

The following attestation bundles were made for neurovc-0.1.0a1-py3-none-any.whl:

Publisher: pypi-release.yml on openscivision/neurovc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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