[vtkusers] imagedata appearing upside down (sometimes..?)

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Mar 22 17:34:30 EST 2004


Howard,

	What does :

//Call Update() before
print imagedata.GetSpacing()

return ?
Could you reproduce the bad behavior using a tests from VTK ? Or could 
you send us a python/c++/tcl code that shows this problem.

Thanks
Mathieu

Howard Katz wrote:
> Hi..
> What do you mean my spacing 'can' be negative...?
> :S
> Thanks again..!
> 
> 
> 
>> From: Mathieu Malaterre <mathieu.malaterre at kitware.com>
>> To: Howard Katz <lost_bits1110 at hotmail.com>
>> CC: vtkusers at vtk.org
>> Subject: Re: [vtkusers] imagedata appearing upside down (sometimes..?)
>> Date: Mon, 22 Mar 2004 13:13:18 -0500
>>
>> Howard Katz wrote:
>>
>>> Hi,
>>> so has anyone run into the problem where their vtkImageData looks 
>>> upside down only sometiems depending on the input values..?  i.e. I 
>>> know I am inputting values 10, 20, 15 (for example) but these appear 
>>> at rows -10, -20, -15  (..and this will happen for the entire image 
>>> data)
>>>
>>> Can anyoen guess what my problem might be?
>>
>>
>> You spacing can be negative, this happens typically in medical image 
>> data such a MINC or DICOM
>>
>> HTH
>> Mathieu
>>
>>
> 
> _________________________________________________________________
> All the action. All the drama. Get NCAA hoops coverage at MSN Sports by 
> ESPN. http://msn.espn.go.com/index.html?partnersite=espn
> 
> 






More information about the vtkusers mailing list