Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUV is not calculated when TimezoneOffsetFromUTC is negative #635

Open
pwespi opened this issue Feb 20, 2025 · 3 comments
Open

SUV is not calculated when TimezoneOffsetFromUTC is negative #635

pwespi opened this issue Feb 20, 2025 · 3 comments

Comments

@pwespi
Copy link

pwespi commented Feb 20, 2025

Describe the bug. What happened?

Steps to reproduce the problem with negative TimezoneOffsetFromUTC

  1. Open a PET DICOM file with negative TimezoneOffsetFromUTC
  2. Draw ellipse from the measurement tools
  3. Observe that only mean BQML value is displayed, not SUV

Image

Expected behavior with positive TimezoneOffsetFromUTC

  1. Open a PET DICOM file with positive TimezoneOffsetFromUTC
  2. Draw ellipse from the measurement tools
  3. Observe that both mean BQML value and mean SUV are displayed

Image

Feel free to get in touch if you need test files.

What version of Weasis are you running?

4.5.1

On which system the problem occurs?

macOS

Relevant log output

Additional contextual elements

No response

@nroduit
Copy link
Owner

nroduit commented Feb 20, 2025

Thanks for reporting this issue. Could you share an image sample to reproduce the issue because TimezoneOffsetFromUTC is not directly involved in the calculation?

@pwespi
Copy link
Author

pwespi commented Feb 20, 2025

Thank you for the quick reply. Here are two images which differ only in the TimezoneOffsetFromUTC.

DICOM_SUV.zip

@nroduit
Copy link
Owner

nroduit commented Feb 22, 2025

This issue has been fixed. There was a case where the timezone was not taken into account when combining date and time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants