Skip to content

Conversation

@smitalimaye
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds filtering rules for three additional Philips CT scanner models to the Stanford filter script. The changes enable proper handling of DICOM images from BRILLIANCE 64, VEREOS PET/CT, and GEMINI TF TOF 16 scanners.

Changes:

  • Added filter rule for Philips BRILLIANCE 64 CT scanner with MXVIEW software version 3.6.8
  • Added filter rule for Philips VEREOS PET/CT scanner supporting both standard and large resolution images
  • Added filter rule for Philips GEMINI TF TOF 16 scanner with exclusions for dose info and burned-in annotations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

)

// Philips CT - BRILLIANCE 64
+( Manufacturer.startsWithIgnoreCase("Philips")
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All three new filter rules have trailing whitespace after the opening parenthesis on the manufacturer check line. This is inconsistent with the existing code style in the file and should be removed for consistency.

Copilot uses AI. Check for mistakes.
)

// Philips CT - VEREOS PET/CT AXIAL
+( Manufacturer.startsWithIgnoreCase("Philips")
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All three new filter rules have trailing whitespace after the opening parenthesis on the manufacturer check line. This is inconsistent with the existing code style in the file and should be removed for consistency.

Copilot uses AI. Check for mistakes.
)

// Philips CT - GEMINI TF TOF 16 AXIAL
+( Manufacturer.startsWithIgnoreCase("Philips")
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All three new filter rules have trailing whitespace after the opening parenthesis on the manufacturer check line. This is inconsistent with the existing code style in the file and should be removed for consistency.

Copilot uses AI. Check for mistakes.
* [0018,1018].startsWithIgnoreCase("MXVIEW")
* ([0018,1020].equalsIgnoreCase("3.6.8"))
* (
(Rows.equals("512") * Columns.equals("512"))
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The closing parentheses for the row/column dimension checks have inconsistent indentation (4 spaces) compared to the surrounding code structure. These should be aligned with the opening parenthesis on the previous lines (typically 5 spaces based on the surrounding context).

Suggested change
(Rows.equals("512") * Columns.equals("512"))
(Rows.equals("512") * Columns.equals("512"))

Copilot uses AI. Check for mistakes.
* (
(Rows.equals("512") * Columns.equals("512"))
+ (Rows.equals("2142") * Columns.equals("1332"))
)
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The closing parentheses for the row/column dimension checks have inconsistent indentation (4 spaces) compared to the surrounding code structure. These should be aligned with the opening parenthesis on the previous lines (typically 5 spaces based on the surrounding context).

Suggested change
)
)

Copilot uses AI. Check for mistakes.
* ([0018,1020].equalsIgnoreCase("2.3.0"))
* (
(Rows.equals("512") * Columns.equals("512"))
)
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The closing parentheses for the row/column dimension checks have inconsistent indentation (4 spaces) compared to the surrounding code structure. These should be aligned with the opening parenthesis on the previous lines (typically 5 spaces based on the surrounding context).

Suggested change
)
)

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant