[Insight-users] [vtkusers] Reduce the number of control points in vtkContourWidget
Karthik Krishnan
karthik.krishnan at kitware.com
Tue Mar 15 06:38:29 EDT 2011
Pass it through a vtkDecimatePolylineFilter. It should reduce the number of
points. You can initialize the contour with those control points then.
On Tue, Mar 15, 2011 at 8:09 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Dear Users,
>
>
>
> I applied vtkContourFilter to generate 2D contour lines over a series of
> mask images. Then I used vtkContourWidget to initialize the contour lines so
> that I can edit these contour lines by dragging control points located in
> these lines. However, the initialized contour lines include so many points
> that it is very hard to edit the contours. My question is how to reduce the
> number of contour points dramatically?
>
>
>
> Thanks,
>
> Yang
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110315/5ceb9351/attachment.htm>
More information about the Insight-users
mailing list