[SciPy-User] possible bug in OpenCV python module (cv2)

classic Classic list List threaded Threaded
3 messages Options
ha
Reply | Threaded
Open this post in threaded view
|

[SciPy-User] possible bug in OpenCV python module (cv2)

ha

When I run:
img = uint8([[0,255,255,0],[0,255,255,0],[0,255,255,0],[0,255,255,0]])
aaa,bbb = cv2.findContours(img,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)
img

I get the following output:
array([[  0,   0,   0,   0],
        [  0,   2, 130,   0],
        [  0,   2, 130,   0],
        [  0,   0,   0,   0]], dtype=uint8)

This does not seem to me as the expected behavior, as the input image
has changed. Should this be treated as a bug?

What's your experience with cv2 module?
Is this the right place to discuss such problems?




_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: possible bug in OpenCV python module (cv2)

Juan Luis Cano
On 08/21/2013 04:00 PM, ha wrote:

> When I run:
> img = uint8([[0,255,255,0],[0,255,255,0],[0,255,255,0],[0,255,255,0]])
> aaa,bbb = cv2.findContours(img,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)
> img
>
> I get the following output:
> array([[  0,   0,   0,   0],
>          [  0,   2, 130,   0],
>          [  0,   2, 130,   0],
>          [  0,   0,   0,   0]], dtype=uint8)
>
> This does not seem to me as the expected behavior, as the input image
> has changed. Should this be treated as a bug?
>
> What's your experience with cv2 module?
> Is this the right place to discuss such problems?

Probably this is the right place

http://code.opencv.org/projects/opencv/issues
_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: [Image-SIG] possible bug in OpenCV python module (cv2)

Chris Barker - NOAA Federal
In reply to this post by ha
On Wed, Aug 21, 2013 at 7:00 AM, ha <[hidden email]> wrote:
> Is this the right place to discuss such problems?

not really -- this list os for more general image processing tools
with Pyton, mostly the PIL.

There must be an OpenCV list somewhere.

If not, I'd try the scipy list, I expect there are users on there.

-CHB

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[hidden email]
_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user