[vtkusers] vtkImageMapper

Jothy jothybasu at gmail.com
Fri Sep 23 11:47:02 EDT 2011


Will this make a difference?

renderer->AddActor2D(imageActor);

Jothy



On Fri, Sep 23, 2011 at 4:35 PM, David Doria <daviddoria at gmail.com> wrote:

> Getting closer! The image is now displayed, but it is very very small,
> and in the bottom left corner of the renderer:
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Visualization/ImageMapper
>
> Any further suggestions?
>
> Thanks,
>
> David
>
>
>
> On Fri, Sep 23, 2011 at 10:51 AM, Jothy <jothybasu at gmail.com> wrote:
> > I think, if you have unsignedChar then try
> >
> >  SetColorWindow(255)
> >  SetColorLevel (127.5)
> >
> > Jothy
> >
> >
> > On Fri, Sep 23, 2011 at 3:25 PM, David Doria <daviddoria at gmail.com>
> wrote:
> >>
> >> Hi Jothy,
> >>
> >> What would I set those two values to to display the image normally?
> >>
> >> Thanks,
> >>
> >> David
> >>
> >>
> >>
> >> On Fri, Sep 23, 2011 at 10:09 AM, Jothy <jothybasu at gmail.com> wrote:
> >> > I think that can be manipulated by setColorWindow() and
> setColorlevel()
> >> > in
> >> > imageMapper.
> >> >
> >> > Jothy
> >> >
> >> > On Fri, Sep 23, 2011 at 2:30 PM, David Doria <daviddoria at gmail.com>
> >> > wrote:
> >> >>
> >> >> Though this class is probably deprecated by the new
> >> >> vtkImageSliceMapper, we should probably have some record of how it is
> >> >> intended to be used. I gave it a shot:
> >> >>
> >> >>
> >> >>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Visualization/ImageMapper
> >> >>
> >> >> but all I get is a blank window. Anyone know what is going wrong
> here?
> >> >>
> >> >> Thanks,
> >> >>
> >> >> David
> >> >> _______________________________________________
> >> >> 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
> >> >
> >> >
> >> >
> >> > --
> >> > Jothybasu K Selvaraj
> >> > PhD Student
> >> > University of Liverpool
> >> > Liverpool,UK
> >> >
> >> >
> >
> >
> >
> > --
> > Jothybasu K Selvaraj
> > PhD Student
> > University of Liverpool
> > Liverpool,UK
> >
> >
>



-- 
Jothybasu K Selvaraj
PhD Student
University of Liverpool
Liverpool,UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110923/4e2bb64c/attachment.htm>


More information about the vtkusers mailing list