Commit Graph

7500 Commits

Author SHA1 Message Date
Davis King
840bb5bc64 Updated to work with new extract_image_4points() interface. 2018-05-24 20:40:23 -04:00
Davis King
91ae3de1c9 Made extract_image_4points() use std::array instead of std::vector and also
made it more robust to funky inputs.
2018-05-24 20:36:46 -04:00
Davis King
e3a9ddb2ea Added python_list_to_array() 2018-05-24 20:36:06 -04:00
Davis King
013dd01779 Added is_convex_quadrilateral(), find_convex_quadrilateral(), and
no_convex_quadrilateral.
2018-05-24 20:35:47 -04:00
Josiah Kane
f82aa1beed Add a default cpack "package" target. (#1330)
* Add a default cpack "package" target.

* Move cpack line to live with the other install and configure directives.
2018-05-24 13:20:17 -04:00
Davis King
d3bd9d61e1 Added extract_image_4points() to the Python API. 2018-05-23 23:06:48 -04:00
Davis King
7eb1d2d4d5 Added angle_between_lines() to the Python API. 2018-05-23 23:06:31 -04:00
Davis King
8785ac1d9a Clarified spec 2018-05-23 23:02:57 -04:00
Davis King
844b355232 Added extract_image_4points() 2018-05-23 22:53:18 -04:00
Davis King
5edab25c58 Added angle_between_lines() 2018-05-23 22:39:24 -04:00
Davis King
ec150f8d88 Fixed warnings and sorta bugs. 2018-05-23 13:09:28 -04:00
Davis King
f2cb001c86 Improved error messages. 2018-05-23 13:00:27 -04:00
Davis King
39a1329831 Added a version of transform_image() that works with projective transforms to
the Python API.
2018-05-22 23:02:42 -04:00
Davis King
a67bdd8d70 Added point_transform_projective, find_projective_transform(), and inv() to
the Python API.
2018-05-22 23:02:11 -04:00
Davis King
a18e72e516 A bit of cmake cleanup 2018-05-22 07:15:27 -04:00
Davis King
ec83abf619 Removed notes about using --yes USE_AVX_INSTRUCTIONS when building python
interface since AVX availability is now detected automatically by cmake.
2018-05-22 07:01:09 -04:00
Davis King
104ffddb4c Make python extension automatically enable AVX instructions if the host machine
supports them.
2018-05-21 21:21:40 -04:00
Davis King
f21ac08063 Added hough_transform, remove_incoherent_edge_pixels(),
normalize_image_gradients(), line, signed_distance_to_line(),
distance_to_line(), reverse(), intersect(), count_points_on_side_of_line(),
count_points_between_lines(), dot(), and normalize() to Python API.
2018-05-21 21:20:18 -04:00
Davis King
ecde075d49 Added an image_window::add_overlay() overload for line object. 2018-05-21 21:16:05 -04:00
Davis King
08e06b120d updated spec 2018-05-21 21:15:45 -04:00
Davis King
6472306f2e Fixed docs 2018-05-21 20:42:35 -04:00
Davis King
67bbd2559b Clarified spec and fixed typo 2018-05-21 20:42:23 -04:00
Davis King
a190a1c242 Added equalize_histogram() and resize_image() to the Python API. 2018-05-20 22:34:49 -04:00
Davis King
1df5227e3e Added hysteresis_threshold() and sobel_edge_detector() bindings in the Python API. 2018-05-20 22:13:00 -04:00
Davis King
5df921a226 Made the python API for image_window accept any image type. 2018-05-20 22:11:41 -04:00
Davis King
a8dc28ad1e Fixed code not compiling in gcc 4.8 2018-05-20 20:45:38 -04:00
Davis King
a3ca78de9c Added convert_rgb_to_grayscale(), pyramid_down, find_bright_keypoints(),
find_bright_lines(), find_dark_lines(), find_dark_keypoints(),
suppress_non_maximum_edges(), and find_peaks() to the Python API.
2018-05-20 19:21:34 -04:00
Davis King
40da8bf72f Added length() for point and dpoint in the Python API. 2018-05-20 19:20:09 -04:00
Davis King
52e7ab68bc Made image_window use numpy_image explicitly so it benefits from numpy_image's
automatic binding.
2018-05-20 18:43:50 -04:00
Davis King
cafd6a0ad5 Added centered_rect() and centered_rects() to Python API. Also
added the *_corner() routines to rectangle and drectangle and made these
objects constructable from instances of each other.
2018-05-20 18:43:15 -04:00
Davis King
c18202842e Made point and dpoint constructable from each other. 2018-05-20 18:41:57 -04:00
Davis King
f917f5e5f7 Made the numpy_image capable of binding to tuples that contain a valid image as
their first element.
2018-05-20 18:41:23 -04:00
Davis King
1619725f22 Improved input validation for numpy_image. 2018-05-20 17:58:21 -04:00
Davis King
e83f350399 Fixed numpy_image and pybind11 crashing python sometimes when certain types of
conversions are attempted.
2018-05-20 17:48:05 -04:00
Davis King
86a9abe09d fixed typo in docs 2018-05-20 15:06:54 -04:00
Davis King
70c6f7b84e Minor cleanup 2018-05-20 10:19:55 -04:00
Davis King
c0097a7826 Added dpoint to the python API. 2018-05-20 10:17:53 -04:00
Davis King
da943c691e Added label_connected_blobs_watershed(), convert_image(),
and convert_image_scaled() to the python API.
2018-05-20 10:09:19 -04:00
Davis King
eca48c3464 clarified spec 2018-05-20 10:07:25 -04:00
Davis King
baaec4a520 Fixed label_connected_blobs_watershed() only working in C++14 and if all
parameters were given.
2018-05-20 09:08:09 -04:00
Davis King
e15fcbd39e Added the following things to the python API: gaussian_blur(), label_connected_blobs(),
randomly_color_image(), jet(), skeleton(), find_line_endpoints(), get_rect(), shrink_rect(),
grow_rect(), and image_gradients.
2018-05-19 23:43:28 -04:00
Davis King
28283a162e Fixed grammar 2018-05-19 22:19:51 -04:00
Davis King
827dd0f811 updated pypi upload instructions. 2018-05-19 20:53:40 -04:00
Davis King
dddfb6504c Record last changeset and set PATCH version to 99 2018-05-19 19:38:39 -04:00
Davis King
bb3dc17526 Added tag v19.12 for changeset 39949a24fa62 2018-05-19 19:36:29 -04:00
Davis King
a1d1be69f2 Created release v19.12 2018-05-19 19:36:28 -04:00
Davis King
b19097ed51 updated docs 2018-05-19 19:25:05 -04:00
Davis King
f5a7faa540 updated faq 2018-05-19 19:15:30 -04:00
Davis King
7ae59ff821 updated docs 2018-05-19 14:46:25 -04:00
Davis King
26701f7342 Fixed typo in docs 2018-05-19 14:38:29 -04:00