[Insight-users] Direction cosines

Neil Panjwani paniwani at gmail.com
Wed May 4 19:13:34 EDT 2011


I want to find image indices in the direction of the gradient (which should
point to higher values in the image).

For example,

new_index[0] = index[0] + 0.5*gradient[0];
new_index[1] = index[1] + 0.5*gradient[1];
...


On Wed, May 4, 2011 at 6:53 PM, Neil Panjwani <paniwani at gmail.com> wrote:

> Do the direction cosines of an image define the way the image iterator will
> move through the image?
>
> I use ITK to write out Nifti files and view them using Fiji. Will Fiji
> allow me to properly view oriented images?
>
> I want to ensure that despite what my direction cosines are, the gradient
> vector will always point to higher values in my image.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110504/96ef7f3b/attachment.htm>


More information about the Insight-users mailing list