free software tool to analyse portal images from linear accelerator regarding Winston-Lutz-Test (analyzing unlimited number of images):

1. script reads DICOM-RT file of Winston-Lutz data (sphere+mlc gradient information from linear accelerator)
2. x- and y-shift shift is calculated relative to beam direction
3. results saved (see screenshots): green-passed (<0.75mm); yellow(0.75...1mm); red (not passed: >1mm)

you need python with following packages:
import numpy as np
import pylab as plt
from scipy import interpolate
import dicom as dcm
import sys,os

in case of problems, please send a mail to hannes.rennau@uni-rostock.de (Department of Radiation Therapy, University of Rostock). i made the code run for several people who asked for it already.

With some minor updates in the code, the code should also work on .png or .jpg images if the image grid spacing (e.g. [mm]) is available

Project Samples

Project Activity

See All Activity >

Follow wltest.py

wltest.py Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of wltest.py!

Additional Project Details

Registered

2015-06-02