[vtkusers] BUG IN vtkImageReslice

David Gobbi david.gobbi at gmail.com
Thu Jan 14 11:33:18 EST 2010


Hi Gerald,

Multi-component reslicing is part of the regression tests:

VTK/Imaging/Testing/Tcl/ResliceColorWrap.tcl

Remember that you have to call Update() on reslice or on its output
before you can call
reslice->GetOutput()->GetNumberOfScalarComponents().  The information
is not updated until either Update() or UpdateInformation() is called.

   David


On Thu, Jan 14, 2010 at 8:39 AM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
> I am guessing the end of the pipeline is a vtkImageViewer2 ...
>
> On Thu, Jan 14, 2010 at 4:28 PM, David Gobbi <david.gobbi at gmail.com> wrote:
>> Hi Gerald,
>>
>> Can you send a short program that demonstrates this bug?  I use
>> vtkImageReslice on multi-component data all the time, and I have never
>> seen anything like this.
>>
>>  David
>>
>>
>> On Thu, Jan 14, 2010 at 5:55 AM, Lodron, Gerald
>> <Gerald.Lodron at joanneum.at> wrote:
>>>
>>> Hello
>>>
>>> I use a vtkImageReslice to slice a vtkImageData with 3 scalar components. The result/output only has one sinlge component instead of three.
>>>
>>> Best regards
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Mathieu
>



More information about the vtkusers mailing list