Re: [ITK-users] using MHA file to store additional information about image
Dženan Zukić <[email protected]> Wed, 30 May 2018 16:25:35 -0400
| Newsgroups | gmane.comp.lib.itk.user |
|---|---|
| Message-ID | <CAPf2UMR6SmqnwN_RtQ=gtuFiV0pxufa9oasDQZb5Jpbj_bS2UA@mail.gmail.com> |
--===============1598211521== Content-Type: multipart/alternative; boundary="000000000000d8eb7c056d722762" --000000000000d8eb7c056d722762 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Andrew, you can add content to image's MetaData dictionary. But you should look at how Plus does it (code <https://github.com/PlusToolkit/PlusLib/blob/master/src/PlusCommon/IO/vtkPl= usMetaImageSequenceIO.cxx> , docs <http://perk-software.cs.queensu.ca/plus/doc/nightly/dev/vtkPlusMetaImageSe= quenceIO_8h.html>). You might be able to use it directly. Regards, D=C5=BEenan On Wed, May 30, 2018 at 2:53 PM Andrew Harris <[email protected]> wrote: > Hello, I was wondering if it is possible to store additional information > about an image as part of an MHA file. Specifically, we are capturing > ultrasound using an arm that has encoders attached that report position i= n > space, and I'd like to be able to include that information in the MHA fil= e > rather than keeping a separate record. Thanks in advance for the help. > > -- > > AH > > > Andrew Harris, BSc with Honours (Medical Physics) > > PhD (CAMPEP) & MClSc Candidate > > > -------------------------------------------------------------------------= ---------------------- > > *This email and any attachments thereto may contain private, > confidential, and privileged materials for the sole use of the intended > recipient. Any reviewing, copying, or distribution of this email (or any > attachments thereto) by other than the intended recipient is strictly > prohibited. If you are not the intended recipient, please contact the > sender immediately and permanently destroy this email and any attachments > thereto.* > The ITK community is transitioning from this mailing list to > discourse.itk.org. Please join us there! > ________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > https://itk.org/mailman/listinfo/insight-users > --000000000000d8eb7c056d722762 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,= sans-serif;font-size:small">Hi Andrew,</div><div class=3D"gmail_default" st= yle=3D"font-family:verdana,sans-serif;font-size:small"><br></div><div class= =3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-size:small"= >you can add content to image's MetaData dictionary. But you should loo= k at how Plus does it (<a href=3D"https://github.com/PlusToolkit/PlusLib/bl= ob/master/src/PlusCommon/IO/vtkPlusMetaImageSequenceIO.cxx">code</a>,=C2=A0= <a href=3D"http://perk-software.cs.queensu.ca/plus/doc/nightly/dev/vtkPlusM= etaImageSequenceIO_8h.html">docs</a>). You might be able to use it directly= .</div><div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif= ;font-size:small"><br></div><div class=3D"gmail_default" style=3D"font-fami= ly:verdana,sans-serif;font-size:small">Regards,</div><div class=3D"gmail_de= fault" style=3D"font-family:verdana,sans-serif;font-size:small">D=C5=BEenan= </div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Wed, May 30,= 2018 at 2:53 PM Andrew Harris <<a href=3D"mailto:[email protected]">aharr8@= uwo.ca</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m= argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"l= tr">Hello, I was wondering if it is possible to store additional informatio= n about an image as part of an MHA file.=C2=A0 Specifically, we are capturi= ng ultrasound using an arm that has encoders attached that report position = in space, and I'd like to be able to include that information in the MH= A file rather than keeping a separate record. Thanks in advance for the hel= p.<br clear=3D"all"><div><div class=3D"m_5889569278416892746gmail_signature= " data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"= ><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><p sty= le=3D"margin:0px;line-height:normal;font-family:Arial;color:rgb(35,35,35)">= <span>--</span></p><p style=3D"margin:0px;line-height:normal;font-family:Ar= ial;color:rgb(35,35,35)"><span>AH</span></p><p style=3D"margin:0px;line-hei= ght:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span></s= pan><br></p><p style=3D"margin:0px;line-height:normal;font-family:Arial;col= or:rgb(35,35,35)"><span>Andrew Harris, BSc with=C2=A0Honours=C2=A0(Medical = Physics)</span></p><p style=3D"margin:0px;line-height:normal;font-family:Ar= ial;color:rgb(35,35,35)"><span>PhD (CAMPEP) & MClSc Candidate</span></p= ><p style=3D"margin:0px;line-height:normal;font-family:Arial;color:rgb(35,3= 5,35)"><span>--------------------------------------------------------------= ---------------------------------</span></p><p> </p><p style=3D"margin:0px;line-height:normal;font-family:Arial;color:rgb(3= 5,35,35)"><span><i>This email and any attachments thereto may contain priva= te, confidential,=C2=A0and=C2=A0privileged materials for the sole use of th= e intended recipient. Any=C2=A0reviewing, copying, or distribution of this = email (or any attachments thereto)=C2=A0by other than the intended recipien= t is strictly prohibited. If you are not=C2=A0the intended recipient, pleas= e contact the sender immediately and=C2=A0permanently destroy this email an= d any attachments thereto.</i></span></p></div></div></div></div></div></di= v></div></div></div> </div> The ITK community is transitioning from this mailing list to <a href=3D"htt= p://discourse.itk.org" rel=3D"noreferrer" target=3D"_blank">discourse.itk.o= rg</a>. Please join us there!<br> ________________________________<br> Powered by <a href=3D"http://www.kitware.com" rel=3D"noreferrer" target=3D"= _blank">www.kitware.com</a><br> <br> Visit other Kitware open-source projects at<br> <a href=3D"http://www.kitware.com/opensource/opensource.html" rel=3D"norefe= rrer" target=3D"_blank">http://www.kitware.com/opensource/opensource.html</= a><br> <br> Kitware offers ITK Training Courses, for more information visit:<br> <a href=3D"http://www.kitware.com/products/protraining.php" rel=3D"noreferr= er" target=3D"_blank">http://www.kitware.com/products/protraining.php</a><b= r> <br> Please keep messages on-topic and check the ITK FAQ at:<br> <a href=3D"http://www.itk.org/Wiki/ITK_FAQ" rel=3D"noreferrer" target=3D"_b= lank">http://www.itk.org/Wiki/ITK_FAQ</a><br> <br> Follow this link to subscribe/unsubscribe:<br> <a href=3D"https://itk.org/mailman/listinfo/insight-users" rel=3D"noreferre= r" target=3D"_blank">https://itk.org/mailman/listinfo/insight-users</a><br> </blockquote></div> --000000000000d8eb7c056d722762-- --===============1598211521== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline The ITK community is transitioning from this mailing list to discourse.itk.org. Please join us there! ________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: https://itk.org/mailman/listinfo/insight-users --===============1598211521==--