[ITK] [ITK-users] TileImageFilter SideBySide

Dan Mercik mercikd at thomas.edu
Mon Aug 18 10:05:49 EDT 2014


Good Morning,



                        The demonstration you showed me works great, however if I wanted to do 20 images that would take  some time. So, I tried doing a for loop which didn't work exactly how I wanted it to work. I would like the program to take any amount of images and output them side by side , any ideas? The attachment shows the for loop I used similar to TileImageFilter CreateVolume example however when I use it for some odd reason only one image is being display side by side multiple times.



Daniel Mercik

Computer Science Major

Service Desk Technician

Thomas College

________________________________
From: Michka Popoff <michkapopoff at gmail.com>
Sent: Wednesday, August 13, 2014 2:32 AM
To: Dan Mercik
Cc: ITK Mailing List; community at itk.org
Subject: Re: [ITK-users] TileImageFilter SideBySide

Hi


Moving this mail to the new community mailing list


For your problem, you should use the setLayout method [1]


For 4 images, that would be:



itk::FixedArray< unsigned int, 2 > layout;

layout[0] = 4;
layout[1] = 0;


Michka


[1] http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/TileImageFilter_SideBySide

On 13 ao?t 2014, at 01:06, Dan Mercik <mercikd at thomas.edu<mailto:mercikd at thomas.edu>> wrote:

Good Afternoon,



                   I want to know if it's possible to have more than two image be side by side vertically? If so what would I have to change in the algorithm, would I have to make a loop for the amount of input images? Any help would be greatly appreciative.



Daniel Mercik

Computer Science Major

Service Desk Technician

Thomas College
_____________________________________
Powered by www.kitware.com<http://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://public.kitware.com/mailman/listinfo/insight-users

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TileImageFilter_SideBySide.cxx
URL: <http://public.kitware.com/pipermail/community/attachments/20140818/d458eeb4/attachment-0002.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tilesidebyside.JPG
Type: image/jpeg
Size: 59821 bytes
Desc: Tilesidebyside.JPG
URL: <http://public.kitware.com/pipermail/community/attachments/20140818/d458eeb4/attachment-0002.jpe>
-------------- next part --------------
_____________________________________
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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list