saviopalmieri / ctypes-opencv

Automatically exported from code.google.com/p/ctypes-opencv
0 stars 0 forks source link

Fixes for cvGetHist* #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The attached patch corrects a few cvGetHistValue* function issues:
- Extra parameter on cvGetHistValue_1D
- They all passed a final 0 parameter to cvGetPtr* which, unlike C, won't
work as a pointer.  Removed to let cvGetPtr* defaults take over.
- They should return a float*, so added appropriate cast.

Original issue reported on code.google.com by db3l.em...@gmail.com on 13 Jan 2009 at 10:12

Attachments:

GoogleCodeExporter commented 8 years ago
Patched. Thanks.

Original comment by pmtri80@gmail.com on 14 Jan 2009 at 3:19