How australiansynchrotron/bctppl works
This repository is a small-toolkit BCT image-processing pipeline, but its README names no stages or workflow. The graph therefore presents the distinct processing and model components visible in the tree without asserting an unsupported sequence between them. Shared HDF5/TIFF input-output helpers and SSIM support form the internal layer. The sampled excerpts establish some imports and CLI entry points; many scripts and model connections remain unverified.
Main entry points: commonsource.py Image and HDF I/O · patchMe.py Patch and stitch · sinogap_module.py Model 2 networks · ssim.py SSIM metrics
Components 20
Image processing
- Image alignment
align.cpp - Pair shifts
pairShift.py - Patch and stitch
patchMe.py - Ring correction
ring.py
Tracking and analysis
- Ball tracking
trackme.py - Stream analysis
analyzeStream.py - Track analysis
analyzeTrack.py
Gap repair models
- Sinogram gap repair
sinogapme.py - Model 2 loader
models/model2/loadMe.py - Model 2 networks
models/model2/sinogap_module.py - Model 3 loader
models/model3/loadMe.py - Model 3 networks
models/model3/sinogap_module.py - Model 4 loader
models/model4/loadMe.py - Model 4 networks
models/model4/sinogap_module.py - Shift-patch loader
models/shiftpatch/loadMe.py - Generic patch loader
models/shiftpatch_generic/loadMe.py - Generic patch network
models/shiftpatch_generic/shiftpatch_module.py
Shared utilities
- Image and HDF I/O
commonsource.py - SSIM metrics
ssim.py
Other components
- Operator
Connections 15
- Operator → Ball tracking: runs
trackme.py - Operator → Patch and stitch: runs
patchMe.py - Ball tracking → Image and HDF I/O: uses I/O
trackme.py - Pair shifts → Image and HDF I/O: uses I/O
pairShift.py - Patch and stitch → Image and HDF I/O: uses I/O
patchMe.py - Patch and stitch → Generic patch loader: loads model
patchMe.py - Sinogram gap repair → Image and HDF I/O: uses I/O
sinogapme.py - Sinogram gap repair → Model 4 loader: loads model
sinogapme.py - Model 2 loader → Model 2 networks: uses network base
models/model2/loadMe.py - Model 3 loader → Model 2 networks: uses network base
models/model3/loadMe.py - Model 4 loader → Model 2 networks: uses network base
models/model4/loadMe.py - Model 4 networks → SSIM metrics: uses metrics
models/model4/sinogap_module.py - Generic patch network → SSIM metrics: uses metrics
models/shiftpatch_generic/shiftpatch_module.py - Generic patch loader → Generic patch network: uses network
- Image and HDF I/O → SSIM metrics: imports
commonsource.py