jrkerns / pylinac

An image analysis library for medical physics
https://pylinac.readthedocs.io/en/latest/
MIT License
157 stars 99 forks source link

CatPhan 604 #278

Closed AliWoWolx closed 4 years ago

AliWoWolx commented 4 years ago

Hello, I've been trying to use your very nice program with the 604 model of CatPhan. I notice that if there are any slices in the CT dataset without the phantom in the error message "Unable to locate Catphan" is triggered on the np.max(edges) condition. The code runs if the "empty" slices are removed and if the 504 module (and indeed the 503 and 600) is run on the same dataset, the error message is not triggered (though, of course, the results, aren't what one would hope for!). Do you know why this is? Thank you.

jrkerns commented 4 years ago

Hmm, I'm not sure. If you upload your images I'll take a look.

AliWoWolx commented 4 years ago

Dear James, That would be most kind, thank you. I have submitted two data files. They are of the 604 phantom, to the best of my knowledge. The one labelled 183 has some CT slices that miss the phantom at either end and the one labelled Edited183 I manually removed the “blank” images. My experience has been that the software will process the edited version but throws the first of the Unable to Locate Catphan error messages. I haven’t been able to understand why this happens, particularly as when I tell the software that it’s the 504 (or 503 or 600) phantom, it will run with both datasets. I am something of a python novice but am working with a more experienced researcher from UCL and an MSc student. I am hoping that we will be able to automate our analysis of CBCT QA acquisitions and am tremendously grateful to you for this impressive piece of work. Kind regards, Alison Alison Warry PhD MIPEM Principal Physicist (Proton), UCLH

Radiotherapy Physics (PBT), 2nd Floor Central, 250 Euston Road, London, NW1 2PG Tel: 020 3447 2225 alisonwarry@nhs.netmailto:alisonwarry@nhs.net We are committed to delivering top-quality patient care, excellent education and world class research safety kindness teamwork improving UCLH websitehttp://www.uclh.nhs.uk/ | Mediahttp://www.uclh.nhs.uk/aboutus/Media | Become a memberhttp://www.uclh.nhs.uk/aboutus/FT/Pages/Becomeamember.aspx | Support our charitieshttp://www.uclh.nhs.uk/aboutus/Campaignsandcharities | Contact UCLHhttp://www.uclh.nhs.uk/aboutus/Pages/ContactUs.aspx Find us on Facebookhttp://www.facebook.com/UCLHNHS | Follow us on Twitterhttp://twitter.com/uclh | Subscribe on YouTubehttp://www.youtube.com/uclhvideo

From: James Kerns [mailto:notifications@github.com] Sent: 30 April 2020 04:44 To: jrkerns/pylinac Cc: WARRY, Alison (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION TRUST); Author Subject: Re: [jrkerns/pylinac] CatPhan 604 (#278)

Hmm, I'm not sure. If you upload your imageshttps://www.dropbox.com/request/YKRu4AmuPsXu55uQq761 I'll take a look.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jrkerns/pylinac/issues/278#issuecomment-621594989, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMAUUG27PEY6RJKYEFGK5D3RPDXZZANCNFSM4MNOK7IQ.


This message may contain confidential information. If you are not the intended recipient please inform the sender that you have received the message in error before deleting it. Please do not disclose, copy or distribute information in this e-mail or take any action in relation to its contents. To do so is strictly prohibited and may be unlawful. Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.

For more information and to find out how you can switch, https://portal.nhs.net/help/joiningnhsmail

jrkerns commented 4 years ago

Alison, As you mentioned, your datasets are not complete. The analysis is erroring out because the uniformity slice is not seen by pylinac. I'm not sure how you acquired these images but pylinac does not yet support partial analysis (i.e. skipping modules) but will in a future version. I suggest you take a full scan of the phantom.

AliWoWolx commented 4 years ago

Dear James,

Thank you so much for looking at this for me – I had totally missed that the whole phantom was not in the image – sorry for wasting your time.

With best wishes, Alison

From: James Kerns [mailto:notifications@github.com] Sent: 12 May 2020 20:32 To: jrkerns/pylinac Cc: WARRY, Alison (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION TRUST); Author Subject: Re: [jrkerns/pylinac] CatPhan 604 (#278)

Alison, As you mentioned, your datasets are not complete. The analysis is erroring out because the uniformity slice is not seen by pylinac. I'm not sure how you acquired these images but pylinac does not yet support partial analysis (i.e. skipping modules) but will in a future version. I suggest you take a full scan of the phantom.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jrkerns/pylinac/issues/278#issuecomment-627547473, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMAUUG2D7FVZMQHANQQ2YCDRRGP3DANCNFSM4MNOK7IQ.


This message may contain confidential information. If you are not the intended recipient please inform the sender that you have received the message in error before deleting it. Please do not disclose, copy or distribute information in this e-mail or take any action in relation to its contents. To do so is strictly prohibited and may be unlawful. Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.

For more information and to find out how you can switch, https://portal.nhs.net/help/joiningnhsmail

jrkerns commented 4 years ago

Not a problem. Good luck!