Skip to main content

BCAnalyzer: Segmentation of patchy areas in biomedical images based on local edge density estimation

PyPI - Downloads PyPI - Python Version PyPI - Wheel PyPI PyPI - License

DOI:10.1016/j.bspc.2022.104189 Citation Badge

Installation

Download executable from release page

We provide a builded windows executable file for every release. You can find the latest whl or exe file on the release page. Also, you can find all versions of windows execution files in the archive.

Installation from binaries

pip install -U bio-cntrs-analyzer

Build exe from source

From venv:

pip install cx_Freeze
python setup.py build

User manual

For starting appliation evualate in command line (terminal) the next command:

bcanalyzer

UserManualFigure

Software user interface outline: (A) list of images submitted for the analysis; (B) segmentation algorithm options, including (C) color channel import options; (D) selected image with on-the-fly visualization of the segmentation results; (E) segmentation algorithm controls for the online adjustment of its sensitivity and resolution; (F) file export menu.

The typical algorithm of user interaction with the software is as follows:

  • Selected images are imported by their drag-and-drop onto the program window. The image list appears in A.
  • Global algorithm options can be adjusted in B and color channels for the analysis selected in C.
  • The image selected in the list A is displayed in the panel D with immediate visualization of the segmentation results (using default parameters during the first run).
  • Next the algorithm parameters (sensitivity and resolution) can be adjusted manually in E, given that the automated threshold option is disabled, although one can also apply the automated threshold selection for the first approach and then disable it in order to proceed with manual fine tuning. Segmentation results are visualized on-the-fly for direct user control. Of note, global options and color channel selection can be readjusted at this stage as well. Following necessary adjustments, the chosen algorithm parameters can be applied either to the entire imported image set, or solely to the currently analyzed image, with corresponding controls available in E.
  • Once the algorithm parameters are adjusted either for a single or for a few representative image(s), further processing and export can be performed as a fully automated procedure for the entire image set using file export options in F. Export options include visualizations of segmentation results, either as binary masks or as marked-up images similar to those appearing on the screen during the analysis, or both of them, as well as a *.csv table with summary statistics.

Dataset

Link to downloading dataset:

https://drive.digiratory.ru/d/s/mrbRyk4HyFbOIEANc6DhQGxhCFNgq3xI/Jqbcbsq_eE5Cf8-bnJaM3dXL6RI1v7d7-d74AOY4RLgk

If something goes wrong, please, write to amsinitca[at]etu.ru

Troubleshooting

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

Problem

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)

Solution

sudo apt-get install libxcb-xinerama0

Citation

If you find this project useful, please cite:

@article{SINITCA2023104189,
    title = {Segmentation of patchy areas in biomedical images based on local edge density estimation},
    journal = {Biomedical Signal Processing and Control},
    volume = {79},
    pages = {104189},
    year = {2023},
    issn = {1746-8094},
    doi = {https://doi.org/10.1016/j.bspc.2022.104189},
    url = {https://www.sciencedirect.com/science/article/pii/S1746809422006437},
    author = {Aleksandr M. Sinitca and Airat R. Kayumov and Pavel V. Zelenikhin and Andrey G. Porfiriev and Dmitrii I. Kaplun and Mikhail I. Bogachev},
}

Metadata

Release files for bio-cntrs-analyzer 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bio-cntrs-analyzer 0.2.1
File Size Uploaded
bio_cntrs_analyzer-0.2.1.tar.gz 150.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bio-cntrs-analyzer 0.2.1
File Interpreter ABI Platform
bio_cntrs_analyzer-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 303.4 kB

Release files / bio_cntrs_analyzer-0.2.1.tar.gz

Download URL bio_cntrs_analyzer-0.2.1.tar.gz
Size 150.9 kB
Tags Source
SHA-256 checksum
How to use checksums
23418f777af4c7507ef8a3ec9f1d48d55bb063dec878a93357f08cf3e5c99bd7
BLAKE2b-256 checksum
How to use checksums
6ee929a7a8878fd0daa64575c5297ad6a77b948fa3705649f997a54733fbc1c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Linux/5.4.109+

Release files / bio_cntrs_analyzer-0.2.1-py3-none-any.whl

Download URL bio_cntrs_analyzer-0.2.1-py3-none-any.whl
Size 152.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8be3ab438fd445a8738325dda832d672a5b0f602549011561aa11852dfc22a53
BLAKE2b-256 checksum
How to use checksums
c451e8f23de7869be9020f68db96aa0e5a063a5900b12b7a76565ecd534f8a87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Linux/5.4.109+

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.11

2 release files

0.1.7

2 release files

0.1.1

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page