Re: Pixel Manipulations

2005-09-28 Thread Terry Reedy
"PyPK" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [an exact duplicate of the off-topic message posted under the more informative subject line of 'Straight line detection'] Please do no post the same message twice, especially not with two different subject lines. I believe th

Pixel Manipulations

2005-09-28 Thread PyPK
Does anyone know of a simple implementation for detecting straight line .So something like if we have a 2D arary of pixel elements representing a particular Image. How can we identify lines in this Image. for example: ary = [[1,1,1,1,1], [1,1,0,0,0], [1,0,1,0,0], [1,0,0,1,0], [1,0,0,0,1]] So i