<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS 明朝";}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:Calibri;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">ITK Developers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The following patch provides 100% backwards compatibility and an end-user modifiable interface for setting the intents of the qform & sform.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="http://review.source.kitware.com/#/c/21795/">http://review.source.kitware.com/#/c/21795/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The previous configuration for NIFTI files is OK if we only live in an ITK echo-system. In the ITK echo-system we ignore both the sform & qform the intent codes because we only use the values in the qform.
These two lines have intent codes that are EXACTLY BACKWARDS from the recommendations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/IO/NIFTI/src/itkNiftiImageIO.cxx#L1717">https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/IO/NIFTI/src/itkNiftiImageIO.cxx#L1717</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="https://nifti.nimh.nih.gov/nifti-1/documentation/nifti1fields/nifti1fields_pages/qsform_brief_usage">https://nifti.nimh.nih.gov/nifti-1/documentation/nifti1fields/nifti1fields_pages/qsform_brief_usage</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The qform_code should be set to either NIFTI_XFORM_UNKNOWN or NIFTI_XFORM_SCANNER_ANAT.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The sform code should be set to either NIFTI_XFORM_UNKNOWN, NIFTI_XFORM_ALIGNED_ANAT, NIFTI_XFORM_TALAIRACH or NIFTI_XFORM_MNI_152.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">=================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">This is a long-standing bug that should be fixed with a new patch set:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The sform & qform defaults were EXACTLY BACKWARDS from the recommended uses.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">================= QUESTION ==========<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Please help me determine the balance between backwards compatibility conformance and improved interpretation of these nifi files.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hans<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">========================================================================<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| Hans J. Johnson, Ph.D., Associate Professor |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| Appointments: |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| - Electrical and Computer Engineering (Primary) |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| - Biomedical Engineering |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| - Psychiatry ,NMMM~ |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| - Health Informatics MMMMMMMMMMMMMMN |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| - Iowa Institute for Biomedical Imaging MMMMMMMMMMMMMMMMMMM |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| - Iowa Informatics Institute MMMMMMMMMMM MMMM MMM |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| MMMMMMMMMM I ?MMM MM M |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| hans-johnson@uiowa.edu MMMMMMM ,$M, MMMM |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| (319) 621 7185 (cell) MMMM~ MMMM MMMMMM |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| (319) 384 3538 ECE Phone (Primary) MM 8MMMMMM MM |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| M MMMMMMM, ,M~ M |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| 4316 Seamans Center MMMMMM MM |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">| Iowa City, IA 52242 ,? |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:8.5pt;font-family:Menlo;color:black">========================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">http://emailcharter.org</span><o:p></o:p></p>
</div>
</body>
</html>