Re: Locate The Center of WhiteDot from a Image

Fredrik Lundh <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
2011/1/8 Narendra Sisodiya <[email protected]>:

> PS: I have looked at centroid algorithm, It is again going at pixel level
> and that will be slow. My application will become better with faster
> centroid algorithm.

Well, you only have to process the part of the image that contains
your dot.  If it occupies 10% of the image, it'll run 100 times faster
than an algorithm that processes the entire image.

> Also I have another question !
> I am grabbing image from camera using opencv-python. How we can compare
> python PIL with OpenCV ? My guess that PIL will is faster then opencv
> library ?

OpenCV is a machine vision library, so I assume that you'll find a lot
of useful vision algorithms in there.  PIL is more of a general
purpose library; lots of people use it in conjunction with more
specialized libraries.

</F>
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.