point_polygon_test.markdown 619 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Point Polygon Test {#tutorial_point_polygon_test}
==================

Goal
----

In this tutorial you will learn how to:

-   Use the OpenCV function @ref cv::pointPolygonTest

Theory
------

Code
----

This tutorial code's is shown lines below. You can also download it from
18
[here](https://github.com/opencv/opencv/tree/master/samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp)
19
@include samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp
20 21 22 23 24 25 26

Explanation
-----------

Result
------

M
Maksim Shabunin 已提交
27 28 29
Here it is:
![](images/Point_Polygon_Test_Source_Image.png)
![](images/Point_Polygon_Test_Result.jpg)