[Insight-users] How can I tile an image?

Kevin H. Hobbs hobbsk at ohiou.edu
Mon Oct 27 19:58:36 EDT 2008


On Monday 27 October 2008 09:27:23 am ts wrote:
> Hello,
>
> I'm quite new in the itk-world. What I'm trying to do currently, is
> to divide an image into some tiles with the same size and store them
> into  separately images/regions and files. Basically, I want to
> separate the image like the StreamingImageFilter used with the
> ImageRegionMultipleDimensionSplitter, so that the output looks like
>
> -------------------------
> /     1      /       2     /
> -------------------------
> /     3      /       4     /
> -------------------------
>

I basically did this in the attached file. You'll have to through out most of 
the stuff that was just for what I was doing, and put in the splitter you 
want. ( The splitter I used does not make pieces of the same size. (Does any 
splitter?))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StreamedMultiScaleVesselness.cxx
Type: text/x-c++src
Size: 7030 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081027/fc8e9ebe/attachment-0001.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081027/fc8e9ebe/attachment-0001.pgp>


More information about the Insight-users mailing list