On Sat, Jan 8, 2011 at 10:14 AM, Venkatraman S <venka...@gmail.com> wrote:

> On Sat, Jan 8, 2011 at 9:23 AM, Narendra Sisodiya <
> naren...@narendrasisodiya.com> wrote:
>
> > http://mail.python.org/pipermail/image-sig/2011-January/006639.html
> >
> >
> So i tried my code snippet and it worked.


I am sorry but your code snippet was less efficient then what i posted
initially. moreover, I was having black and white image.
However the problem got solved by point method as described in this thread.
http://mail.python.org/pipermail/image-sig/2011-January/006641.html



> The above thread asks you to
> convert to greyscale and then do a pixel check.
> For a sufficiently big picture(given most of the pictures today are >2-5MB,
> this is expensive operation.
> My code snippet, essentially iterates through the pixels in one go and
> based
> on the threshhold of each of the RGB values, suitably converts it to B or
> W.
>
>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to