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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start 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