[Insight-users] Converting MRML nodes to itk Image
John Drozd
john.drozd at gmail.com
Tue Sep 29 14:14:28 EDT 2009
Hi Bill,
Thank you very much for pointing out that MRML is Slicer specific. After
reading your email, I poised my question to the slicer-users mailing list
and Nicole on that mailing list pointed me to some existing Slicer code that
I could look at:
"If you look at the source code in the ModelMaker module, it reads in a mrml
scene file:
http://viewvc.slicer.org/viewcvs.cgi/trunk/Applications/CLI/ModelMaker.cxx?view=markup
Then you can call GetNodeByID or GetNodesByName on the mrml scene variable
to get the vtkMRMLScalarVolumeNode and then you can call GetImageData on
that to get the vtkImageData for manipulation."
john
On Tue, Sep 29, 2009 at 12:57 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> There are no itk functions to load a mrml file. mrml is Slicer3 specific.
>
> On Tue, Sep 29, 2009 at 12:36 PM, John Drozd <john.drozd at gmail.com> wrote:
> > Hello,
> >
> > I am trying to read a MRML brain atlas (SPL_PNL_Brain_Atlas2008:
> > "brain_atlas_2008.mrml" ) using ITK, so I can use an itk deformable
> > registration with a DICOM brain subject.
> >
> > I welcome any suggestions if any one knows of any ITK functions which
> will
> > help in loading the MRML brain atlas into a data structure so I can
> > manipulate and deform it.
> >
> > Thanks,
> > john
> >
> > --
> > John Drozd
> > Postdoctoral Fellow
> > Imaging Research Laboratories
> > Robarts Research Institute
> > Room 1256
> > 100 Perth Drive
> > London, ON
> > N6A 5K8
> > (519) 661-2111 ext. 25306
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
>
--
John Drozd
Postdoctoral Fellow
Imaging Research Laboratories
Robarts Research Institute
Room 1256
100 Perth Drive
London, ON
N6A 5K8
(519) 661-2111 ext. 25306
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090929/ccecac89/attachment.htm>
More information about the Insight-users
mailing list