[ITK-users] Tiling Side by Side Question

Michka Popoff michkapopoff at gmail.com
Thu Aug 21 03:37:31 EDT 2014


Yes, layout[2] is for the third direction, when you do a stack.
Do not set layout[2], as you set your FixedArray to be 2 dimensional. (else you should do itk::FixedArray< unsigned int, 3 >  layout;

So for vertical tiling it is:
layout[0] = 0;
layout[1] = i + 1;

Michka

On 21 août 2014, at 09:30, Dr. Roman Grothausmann <grothausmann.roman at mh-hannover.de> wrote:

> Hm, haven't used that filter before but I'd think that you need to change layout[2] to layout[1].
> 
> On 20/08/14 17:48, Dan Mercik wrote:
>> Hey,
>> 
>> 
>> 
>> In my program I'm using a If Else statement to decide which direction I want
>> my images to tile. So far, the If statement works if I want my images to tile
>> horizontally, but It not working vertically. In my code if I input 1 my
>> images would tile horizontally, anything input other than 1 should display my
>> images vertically. Do anyone happen to see the problem in my if Else
>> statement?
>> 
>> 
>> 
>> 
>> 
>> Daniel Mercik
>> 
>> Computer Science Major
>> 
>> Service Desk Technician
>> 
>> Thomas College
>> 
>> 
>> 
>> _____________________________________ 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
>> 
> 
> -- 
> Dr. Roman Grothausmann
> 
> Tomographie und Digitale Bildverarbeitung
> Tomography and Digital Image Analysis
> 
> Institut für Funktionelle und Angewandte Anatomie, OE 4120
> Medizinische Hochschule Hannover
> Carl-Neuberg-Str. 1
> D-30625 Hannover
> 
> Tel. +49 511 532-9574
> _____________________________________
> 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 Insight-users mailing list