Commit f24b0816 authored by Davis King's avatar Davis King

Made .size of hough_transform a property rather than a function.

parent 212c19c0
...@@ -189,7 +189,7 @@ ensures \n\ ...@@ -189,7 +189,7 @@ ensures \n\
py::class_<hough_transform>(m, "hough_transform", class_docs) py::class_<hough_transform>(m, "hough_transform", class_docs)
.def(py::init<unsigned long>(), doc_constr, py::arg("size_")) .def(py::init<unsigned long>(), doc_constr, py::arg("size_"))
.def("size", &hough_transform::size, .def_property_readonly("size", &hough_transform::size,
"returns the size of the Hough transforms generated by this object. In particular, this object creates Hough transform images that are size() by size() pixels in size.") "returns the size of the Hough transforms generated by this object. In particular, this object creates Hough transform images that are size() by size() pixels in size.")
.def("get_line", &ht_get_line, py::arg("p"), .def("get_line", &ht_get_line, py::arg("p"),
"requires \n\ "requires \n\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment