[vtkusers] Re: GetImageOrientationPatient bug??

Goodwin Lawlor goodwin.lawlor at ucd.ie
Mon Mar 19 16:45:33 EDT 2007


Noecker, Angela M. wrote:
> Hello fellow vtkusers,
> 
> Am I crazy?  I'm using the released binary of VTK with Tcl/Tk. While 
> using vtkDicomImageReader I cannot seem to figure out how to get 
> information about the orientation of the image data.   I've got datasets 
> that get read in with left and right flipped which is extremely 
> disconcerting.
> 
> I believe GetImageOrientationPatient should solve my problem but when I 
> add this line of code:
> 
> set ipp [readerdicom1 GetImageOrientationPatient]
> 
> I get this error:
>  
> Object named: readerdicom1, could not find requested method: 
> GetImageOrientationPatient
> or the method was called with incorrect arguments.
>  
> I assume this is a bug.  Could someone, anyone offer me some guidance?

Hi Angela,

Its not a bug- you've got VTK version 5.0.1 and Mathieu added this 
method to the API after that release. 5.0.2 and (the-soon-to-be-released 
5.0.3) should have this method.

hth

Goodwin

ps I'll upload a new version of VTKit when 5.0.3 is cut.




More information about the vtkusers mailing list