[vtkusers] Overlay Contour on vtkImageViewer2

Karthik Krishnan karthik.krishnan at kitware.com
Tue Feb 24 13:40:05 EST 2009


Perhaps your mask and input images have different locations in physical
space. (origin,/ extent etc).

--
k

On Tue, Feb 24, 2009 at 4:35 AM, S, Navneeth (GE, Research) <
navneeth.s at ge.com> wrote:

> It shows up, but in the wrong place.
> Oddly the contour is at the correct iso-curve on the original image (in
> vtkImageViewer2).
>
> Eg. If I set
> myVtkImageViewer2->SetInput( orig );
>
> contourer->SetInput( mask )
> contourer->SetValue(0, 2);
>
> The iso-contour shows up corresponding to intensity=2 on the image=orig.
> Though, the contourer should generate the same for image=mask !
>
> Thanks !
>
> -----Original Message-----
> From: Mark Gooding [mailto:mark.gooding at gmail.com]
> Sent: Tuesday, February 24, 2009 2:42 PM
> To: S, Navneeth (GE, Research); VTK users group
> Subject: Re: [vtkusers] Overlay Contour on vtkImageViewer2
>
> could you elaborate on the problem - is the contour showing up, but in the
> wrong place? or is it just not showing up at all?
>
> mark
>
> 2009/2/24 S, Navneeth (GE, Research) <navneeth.s at ge.com>:
> > Hello,
> >   I'm  trying to overlay a contour corresponding to a segmentation
> > mask on an image displayed using vtkImageViewer2.
> > However, the iso contour lines do not show up correctly (corresponding
> > to the actual boundary)
> ...
> _______________________________________________
> 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
>



-- 
Karthik Krishnan
R&D Engineer,
Kitware Inc.
Ph: 518 371 3971 x119
Fax: 518 371 3971
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090224/0db357d2/attachment.htm>


More information about the vtkusers mailing list