return Py_BuildValue("d", ((double) sum) / area);
}
+/* Hough transform
+ *
+ * Takes dimentions of the image, the image, TODO size of what?, initial angle and TODO dt is what?.
+ * Computes Hough transform of the image. TODO size etc.
+ *
+ */
static PyObject* py_hough(PyObject* self, PyObject* args)
{
const unsigned char *image;
return result;
}
+
static PyObject* py_edge(PyObject* self, PyObject* args)
{
const unsigned char *image;