[Insight-users] [Community] Split an output from a filter into sub regions
Luca Pamparana
luca.pamparana at gmail.com
Sat Oct 26 20:28:07 EDT 2013
Thank you Matt! I tried ExtractImageFilter and RegionofInterestImageFilter
and both of them do what I need but there seems to be one issue. My DICOM
images are a coronal acquisition with the ImageOrientationPatient as {1 0 0
0 0 -1}. However, when I read the image and run either of these filters and
write DICOM back, it sets the IOP to {1 0 0 0 1 0} i.e. to an axial
orientation.
Is this a known thing with ITK or something special needs to be done?
Thanks for your help.
Luca
On Sat, Oct 26, 2013 at 8:36 PM, Matt McCormick
<matt.mccormick at kitware.com>wrote:
> Hi Luca,
>
> A RegionOfInterestImageFilter [1] could do the job.
>
> Hope this helps,
> Matt
>
> [1]
> http://www.itk.org/Doxygen/html/classitk_1_1RegionOfInterestImageFilter.html
>
> On Sat, Oct 26, 2013 at 3:33 PM, Luca Pamparana
> <luca.pamparana at gmail.com> wrote:
> > Hello all,
> >
> > I am using the itk ImageSeriesWriter to write the output from a itk
> > TileImageFilter to the disk. The usage is like:
> >
> > seriesWriter->SetInput(tileFilter->GetOutput());
> >
> >
> > The TileImageFilter returns an output which is of dimensions 512 x 512 x
> > 480. What I would like to do is split it into 4 512x512x120 regions as I
> > want to write each region to a different directory. Can someone tell me
> how
> > I can do that?
> >
> > Thanks a lot for your help,
> > Luca
> >
> > _____________________________________
> > 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:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> > _______________________________________________
> > Community mailing list
> > Community at itk.org
> > http://public.kitware.com/cgi-bin/mailman/listinfo/community
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20131027/73d7b8f2/attachment.htm>
More information about the Insight-users
mailing list