40分 | |
找了一遍,没发现相同的问题,都是给定多边形区域的,找点是否属于这个区域的,我的问题是事先不知道多边形区域,已知点后构建这个多边形区域。 |
|
为什么就是找不到资料呢
|
|
FloodFill
The FloodFill function fills an area of the display surface with the current brush. The area is assumed to be bounded as specified by the crFill parameter. Note The FloodFill function is included only for compatibility with 16-bit versions of Windows. For Win32-based applications, use the ExtFloodFill function with FLOODFILLBORDER specified. BOOL FloodFill( If the function fails, the return value is zero. Windows NT: To get extended error information, callGetLastError. Remarks The fill could not be completed. |
|
帮顶
虽然我不懂。。。 |
|
赵4老师老师可能我没有说清楚问题,我需要具体输出多边形的顶点坐标值,而轮廓提取之后只是图像数据,怎样才能精确的由图像数据转成顶点值呢? |
|
OpenCV的轮廓提取的结果就是顶点坐标。
|