Skip to content
Proyek

bit628/RapidX-Annotator

Lihat di GitHub

Tentang

Industrial radiographic image annotation and enhancement for NDT, with the companion SWRD weld-defect dataset.

Desain dan media

Cara angka ini diukur

Yang dapat Anda lakukan

  • Radiography workspace - Large-image viewing, zooming, rotation, flipping, and local signal-to-noise inspection
  • Flexible annotation - Rectangle and polygon tools with configurable defect classes
  • Image enhancement - Contrast adjustment, denoising, sharpening, grayscale, pseudo-color, and positive/negative display
  • Research workflow - XML/JSON export, user management, operation logs, and an interface for model-assisted pre-annotation

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
Mengumpulkan riwayat
dalam 15 hari
Mengumpulkan riwayat
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

RapidX Annotator — Industrial Radiographic Image Annotation & Enhancement

A desktop workspace for industrial radiographic image inspection, enhancement, and annotation.
面向工业射线图像查看、增强与缺陷标注的科研桌面工具。

Platform: Windows Source: Python GUI: PyQt5 SoftwareX paper SWRD dataset paper

Research Group Website / 课题组官网  ·  SWRD Dataset / 数据集  ·  Quick Start  ·  Publications  ·  Contributing  ·  Report an Issue


Overview

RapidX Annotator supports a practical human-in-the-loop workflow for non-destructive testing (NDT): open industrial radiographs, improve defect visibility, create or refine annotations, and save structured labels for downstream analysis and model development.

At a glance Details
Platform Windows desktop; several modules depend on pywin32
Image input TIFF/TIF, DICOM/DICONDE, PNG, JPEG, and BMP
Annotation Bounding boxes and polygon regions
Label output Pascal VOC XML and JSON
Companion data SWRD: 3,675 seam-weld radiographs with six defect classes
Project status Research source release; model modules and trained weights are not bundled

[!NOTE] The public source tree includes the batch-prediction interface, but not every referenced model implementation or trained weight. Manual annotation and image-processing code are included; AI-assisted pre-annotation requires a compatible local model setup.

Highlights

Capability What RapidX provides
Radiography workspace Large-image viewing, zooming, rotation, flipping, and local signal-to-noise inspection
Flexible annotation Rectangle and polygon tools with configurable defect classes
Image enhancement Contrast adjustment, denoising, sharpening, grayscale, pseudo-color, and positive/negative display
Research workflow XML/JSON export, user management, operation logs, and an interface for model-assisted pre-annotation

Quick start

RapidX Annotator is currently distributed as a research source snapshot, not as a packaged Windows installer.

[!IMPORTANT] requirements.txt preserves legacy and model-specific dependency pins, including both Qt generations and PaddleX-related packages. It has not yet been normalized into a portable lock file. Use an isolated Windows environment and review the dependency versions for your Python and model stack before installation.

git clone https://github.com/bit628/RapidX-Annotator.git
cd RapidX-Annotator

python -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -r requirements.txt

cd src
python main.py

If the full dependency snapshot conflicts with your environment, install the application dependencies in a dedicated environment and configure PaddleX/model dependencies separately. See Contributing before proposing dependency changes.

Companion SWRD dataset

The SWRD (Seam Weld Radiographic Dataset) is the companion resource for weld-defect research.

3,675 images 2 weld forms 6 defect classes 3 research tasks
Original X-ray images Standard and T-joint seam welds Porosity, inclusion, crack, undercut, lack of fusion, lack of penetration Classification, detection, segmentation

Please review the dataset provider's terms and cite the dataset paper when using the data in research.

Typical workflow

  1. Define or edit defect categories in the class manager.
  2. Open one radiograph or a folder of supported images.
  3. Apply display enhancement to improve the visibility of low-contrast indications.
  4. Draw or refine rectangular and polygon annotations.
  5. Save annotations as XML or JSON.
  6. Optionally configure a compatible model for batch pre-annotation.

Architecture and source layout

View the system architecture and annotation workflow

System architecture

Flowchart of the RapidX Annotator system architecture

Annotation workflow and deep-learning integration

RapidX Annotator annotation workflow and deep-learning integration

View the repository structure
RapidX-Annotator/
├── demo_data/              # Small radiographic-image examples
├── docs/                   # Architecture figures and project artwork
├── requirements.txt        # Research dependency snapshot
└── src/
    ├── main.py             # PyQt application entry point
    ├── classes.txt         # Default defect classes
    ├── classes_en2ch.txt   # English-to-Chinese class mapping
    ├── libs/
    │   ├── enhance.py      # Image-enhancement algorithms
    │   ├── predict.py      # Batch prediction integration
    │   ├── label.py        # Annotation save/load workflow
    │   ├── divideimage.py  # Large-image tiling utilities
    │   ├── lab/            # XML/JSON and image I/O
    │   └── view/           # Annotation graphics and scenes
    └── wins/               # Application windows and generated UI code

Publications and citation

GitHub users can select Cite this repository in the sidebar, powered by CITATION.cff. If RapidX Annotator supports your work, please cite the SoftwareX article:

@article{li2025rapidx,
  title   = {RapidX annotator: A specialized software tool for industrial radiographic image annotation and enhancement},
  author  = {Li, Yan and Qiu, Hao and Wang, Xu and Dong, Na and Yu, Xinghua},
  journal = {SoftwareX},
  volume  = {31},
  pages   = {102328},
  year    = {2025},
  doi     = {10.1016/j.softx.2025.102328}
}

For the companion dataset:

@article{zhao2025swrd,
  title   = {SWRD: A Dataset of Radiographic Image of Seam Weld for Defect Detection},
  author  = {Zhao, Xuefeng and Wu, Juntao and Zhang, Baoxin and Wen, Haoyu and Wang, Xiaopeng and Li, Yan and Yu, Xinghua},
  journal = {Journal of Nondestructive Evaluation},
  volume  = {44},
  number  = {2},
  pages   = {50},
  year    = {2025},
  doi     = {10.1007/s10921-025-01186-w}
}

Community and support

Need Where to go
Report a reproducible bug Open a structured bug report
Suggest an improvement Open a feature request
Contribute code or documentation Read CONTRIBUTING.md
Report a vulnerability privately Follow SECURITY.md
Learn about the research group Visit the official website / 课题组官网

Research group

RapidX Annotator and SWRD are research outputs from the Institute of Arc Cognitive Manufacturing, Chongqing Innovation Center, Beijing Institute of Technology.

License

The repository's LICENSE.txt is currently empty, so reuse terms are not yet stated clearly in this source tree. Please contact the maintainers before redistribution or commercial use. This notice should be replaced when the research group approves an open-source license.

Acknowledgements

RapidX Annotator builds on the Python scientific-computing ecosystem, including PyQt, OpenCV, NumPy, SciPy, pydicom, nibabel, and PaddleX.

Jelajahi proyek terkait

Memuat…