[Insight-users] Region of interest image filter

David Doria daviddoria at gmail.com
Fri May 18 11:52:54 EDT 2012


On Fri, May 18, 2012 at 11:51 AM, Pietro Nardelli
<pie.nardelli at gmail.com> wrote:
> I was using this code:
>
> typedef float InputPixelType;
> typedef float OutputPixelType;
>
> typedef itk::Image< InputPixelType, 3 > InputImageType;
> typedef itk::Image< OutputPixelType, 3 > OutputImageType;
> ...
> OutputImageType::IndexType start;
> start[0]=...
> start[1]=...
> start[2]=...
> OutputImageType::SizeType size;
> size[0]=...
> size[1]=...
> size[2]=...
>
> Is it correct? I also point out that I'm trying to use it in Slicer.
>
> Thank you,
>
> Pietro

Looks fine to me. Did it not work? Sorry, I don't know anything about Slicer.

David


More information about the Insight-users mailing list