Labeling of finger landmarks in hand xrays.
Project description
Finger landmark labeling for left handed x-ray images
This project uses two algorithms (symbolic and neural) to extract finger landmarks from left hand x-rays. It's intended to be used as an auxiliary tool for forensics research at UNAM.
Getting Started
The latest stable version can be downloaded from the PyPI.
Prerequisites
The code is written in Python 3, and it relies on OpenCV, SciPy and scikit-image:
Dependencies are automatically managed by pip
.
Installing
To download, you can simply create a virtualenv
and install the project with pip
:
pip install rxhands-unam-colab
Command-line execution
Extraction can be performed with either the symbolic algorithm or the neural one.
rxhands [-h] -al {symbolic,neural} [-ch] [-pre] [-of OUTPUT_FOLDER] INPUT_FOLDER
where:
-h
helpINPUT_FOLDER
the path to the folder where the input images are stored.OUTPUT_FOLDER
the path to the folder where the results will be stored.-al
can receive eithersymbolic
orneural
.-pre
means that gray level normalization will be applied to the input images.-ch
if present, the script will try to crop the image to contain only the hand.
Examples
rxhands -al neural -of results/ data/
This command will label landmarks through the neural algorithm.
rxhands -al neural -ch -of results/ data/
This command will label landmarks through the neural algorithm. The images in folder data/
will be cropped on input.
rxhands -al neural -ch -pre -of results/ data/
This command will label landmarks through the neural algorithm. The images in folder data/
will be cropped and preprocessed on input.
rxhands -al symbolic -of results/ data/
This command will label landmarks through the symbolic algorithm.
Note that the symbolic algorithm only approximates landmarks in four fingers (not including the metacarpophalangeal joints).
Authors
- Arturo Curiel - Initial work - website
See also the list of contributors who participated in this project.
License
This project is licensed under the GNU/GPL3 License - see the LICENSE.md file for details
Acknowledgments
The neural model was implemented based on the architecture proposed by:
@inproceedings{Payer2016,
title = {Regressing Heatmaps for Multiple Landmark Localization Using {CNNs}},
author = {Payer, Christian and {\v{S}}tern, Darko and Bischof, Horst and Urschler, Martin},
booktitle = {Medical Image Computing and Computer-Assisted Intervention - {MICCAI} 2016},
doi = {10.1007/978-3-319-46723-8_27},
pages = {230--238},
year = {2016},
}
Using the Digital Hand Atlas as training data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file rxhands_unam_colab-0.24-py3-none-any.whl
.
File metadata
- Download URL: rxhands_unam_colab-0.24-py3-none-any.whl
- Upload date:
- Size: 616.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b25e1e92f0cf9e6bf32db08606050612a902dc24ae7e072fbacff89ddf9efaf5 |
|
MD5 | 730874df230b14c1baa3118e5e083b18 |
|
BLAKE2b-256 | 149fed6800ef645339443e685207e1c3e0f6721c3c74d7842cef5dc28d01ce41 |