[vtkusers] question on vtkImageData orientation support

Xiaofeng Z xf10036 at hotmail.com
Thu Nov 4 22:18:42 EDT 2010


It seems that I can use negative values in pixel spacings to have the image correctly displayed.  Is this a (undocumented) feature, or could it be a time bomb that's ticking.

Xiaofeng

From: xf10036 at hotmail.com
To: vtkusers at vtk.org
Date: Thu, 4 Nov 2010 22:09:23 -0400
Subject: Re: [vtkusers] question on vtkImageData orientation support








Hi, vtkusers,



I have this algorithm that computes dose-volume histogram out of RT 
structureset and RT Dose.  Right now the algorithm works only when RT 
Dose has a 1,0,0 and 0,1,0 orientation.  I need to use the algorithm for
 other RT Dose orientations.  I have too options, either to modify the 
algorithm, or to convert RT Dose orientation to 1,0,0 and 0,1,0.  I 
prefer to former, but only if vtkImageData support multiple 
orientations.



So my question is, can vtkImageData store pixel data in different 
orientation, and if so, how the orientation information is set and get?



Thanks!



Xiaofeng




From: xf10036 at hotmail.com
To: vtkusers at vtk.org
Date: Thu, 4 Nov 2010 21:02:08 -0400
Subject: [vtkusers] question on vtkImageData orientation support








Does vtkImageData:SetExt(int ext[]) support inverse orientation, such that ext[0]<ext[1], ext[2]<ext[3], etc?

Thanks!

 		 	   		  

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers 		 	   		  

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101104/86edd5ab/attachment.htm>


More information about the vtkusers mailing list