[prev in list] [next in list] [prev in thread] [next in thread] 

List:       insight-users
Subject:    Re: [Insight-users] Voxel coordinates inside of a filter?
From:       Cory Quammen <cquammen () cs ! unc ! edu>
Date:       2011-11-25 19:23:49
Message-ID: CANmPiKBYNTbGzY3m9BPpxLeFcg2rfqgbQMCZn9kRJgeG-FeMew () mail ! gmail ! com
[Download RAW message or body]

Christina,

The method

void ImageBase::< VImageDimension
>::TransformIndexToPhysicalPoint(const IndexType & index, Point<
TCoordRep, VImageDimension > & point) const

will probably give you what you need. The first argument is the voxel
index, and the second argument is a Point that will store the location
of the voxel. The Image class descends from ImageBase, so this method
is available for Image classes.

Hope that helps,
Cory

On Fri, Nov 25, 2011 at 9:48 AM, Chr. Rossmanith
<cr@neuro.ma.uni-heidelberg.de> wrote:
> Hi,
>
> I've used an unary functor image filter to implement an analysis of time
> series. Now I'd like to know the voxel coordinates of a time series during
> analysis. Is this information available somehow?
>
> Thank you for any hint,
> Christina Rossmanith
> --
> Dept. of Neurology
> UMM Mannheim
>
> _____________________________________
> 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.html
>
> 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
>
>



-- 
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill
_____________________________________
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.html

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic