[vtkusers] Scalar value minima in PolyData

Dominik Szczerba domi at vision.ee.ethz.ch
Wed Nov 21 18:56:32 EST 2007


I mean, to threshold it, and get candidate minima.
-- Dominik

On Thursday 22 November 2007 00.39:17 Dominik Szczerba wrote:
> What about computing the gradient first?
> -- Dominik
>
> On Wednesday 21 November 2007 22.06:41 David.Pont at ensisjv.com wrote:
> > "Kevin H. Hobbs" <hobbsk at ohiou.edu> wrote on 22/11/2007 02:40:31:
> > > Is there a better way to find all of the positions of the scalar value
> > > minima in a PolyData than to :
> > >    loop over all of the points
> > >       loop over all of the cells the point is in
> > >          loop over all of the other points in the cell
> > >             compare the values of the other points to the first points
> >
> > value
> >
> > >       save the points location if it is value is less than all of
> > > its neighbor's values.
> >
> > vtkThresholdPoints can be used to extract all points with a scalar value
> > <= a specified threshold, but if you are after local minima then you are
> > on the right track.
> >    DP
> >
> > > _______________________________________________
> > > This is the private VTK discussion list.
> > > Please keep messages on-topic. Check the FAQ at: http://www.vtk.
> > > org/Wiki/VTK_FAQ
> > > Follow this link to subscribe/unsubscribe:
> > > http://www.vtk.org/mailman/listinfo/vtkusers



-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list