[vtkusers] vtkImageViewer's
Mathieu Malaterre
mathieu.malaterre at gmail.com
Sat Nov 28 04:12:51 EST 2009
May I suggest you reread the FAQ:
http://catb.org/~esr/faqs/smart-questions.html#prune
Thanks.
As for your question vtkImageViewer and vtkImageViewer2 from a user
point of view are very different object. vtkImageViewer will display
2D images (glDrawPixels), while vtkImageViewer2 will display texture.
There basically no reason to use vtkImageViewer IMHO, since texture on
any hardware accelerate card will be just as fast (if not faster) as
glDrawPixels.
In GDCM, I chose to use vtkImageViewer2, since vtkImageViewer would
not handle Spacing of my images. However there is a slight issue with
Window Level implementation in vtkImageViewer2, so I had to create
this vtkImageColorViewer. I believe there is post in vtk-dev which
explains why I could not directly 'fix' vtkImageViewer2.
HTH
On Fri, Nov 27, 2009 at 8:05 PM, Lic. José M. Rodriguez Bacallao
<jmrbcu at gmail.com> wrote:
> no one?
>
> On 11/27/09, Lic. José M. Rodriguez Bacallao <jmrbcu at gmail.com> wrote:
>> hi folks, I got a few questions:
>>
>> 1- What is the difference between vtkImageViewer, vtkImageViewer2 and
>> from gdcm, vtkImageColorViewer?
>>
>> 2- If I have N vtkGDCMImageReader's and one ImageViewer (from those
>> above), how do I dynamically swap the actual viewed image in the
>> viewer from one of the readers to another?
>>
>> 3- If I need to show multiples DICOM image series, which is the best
>> way to do it (I am thinking about the resource consumption), several
>> ImageViewer's for each reader or one ImageViewer and dynamically
>> change his input?
>>
>> PS: I am using python, pyqt4 and gdcm.
>>
>> --
>> Lic. José M. Rodriguez Bacallao
>> Centro de Biofisica Medica
>> -----------------------------------------------------------------
>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
>> mismo.
>>
>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>> por profesionales
>> -----------------------------------------------------------------
>>
>
>
> --
> Lic. José M. Rodriguez Bacallao
> Centro de Biofisica Medica
> -----------------------------------------------------------------
> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
>
> Recuerda: El arca de Noe fue construida por aficionados, el titanic
> por profesionales
> -----------------------------------------------------------------
> _______________________________________________
> 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