Planar imaging uniformity/noise

I used Ben’s light vs radiation code to make a MV/kV flood field test. Its still very much of a hack, but wanted to share if anyone is interested.

It might be better if the ROIs use a mean min/max rather than a global min/max.

Landon (6.61 KB)

Screen Shot 2020-11-12 at 10.10.22 AM.png


Screen Shot 2020-11-12 at 10.06.05 AM.png

I think this one works a little better. (7.1 KB)


I am testing your code but I have this error message

Traceback (most recent call last):
File “C:\Users\Elekta\Desktop\ZZZ_python\”, line 24, in
sid = round(ds.RTImageSID, 1)
File “C:\Users\Elekta\AppData\Local\Programs\Python\Python38\lib\site-packages\pydicom\”, line 836, in getattr
return object.getattribute(self, name)
AttributeError: ‘FileDataset’ object has no attribute ‘RTImageSID’"

I bet the above code is using an earlier version of pylinac, before the Planar Imaging module had the SSD parameter. I would update at the step where it is fed into pylinac.

qc3 = StandardImagingQC3(BIN_FILE.path)
qc3.analyze(low_contrast_threshold=0.01, high_contrast_threshold=0, ssd=1000) # if ssd=100cm, e.g. at iso

I’m sorry, I think I misread. Your dicom file might not have an SID property? One option could be to manually assign an SID, rather than reading from the dicom file.