Skip to content

Commit

Permalink
DICOM: ignore image positioning tags if nested within Philips private…
Browse files Browse the repository at this point in the history
… sequence

As discussed in #2977
  • Loading branch information
jdtournier committed Nov 26, 2024
1 parent 58c1e6b commit f148613
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/file/dicom/image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ namespace MR {
}
return;
case 0x0020U:
for (const auto& p : item.parents)
if (p.group == 0x2005)
return; // ignore if nested within Philips private sequence

switch (item.element) {
case 0x000EU:
ignore_series_num = item.is_in_series_ref_sequence();
Expand Down

0 comments on commit f148613

Please sign in to comment.