发明名称 |
METHOD AND APPARATUS FOR ADSORBING STRAIGHT LINE/LINE SEGMENT, METHOD AND APPARATUS FOR CONSTRUCTING POLYGON |
摘要 |
The present invention discloses a method for adsorbing a straight line/line segment in an image, including: presetting a straight line/line segment, dragging the straight line/line segment by selecting a first part of the line segment, and when a second part of the straight line/line segment is dragged to the vicinity of a line segment in an image, setting the preset line segment to be superposed with the line segment, the vicinity referring to that a minimum distance between the second part of the straight line/line segment and the line segment meets a preset rule. In the present invention, by means of the foregoing technical solution, a user can be conveniently assisted, according to a line segment that exists in an image, to define a polygon frame, so that subsequent image processing can be conveniently performed. |
申请公布号 |
US2016203381(A1) |
申请公布日期 |
2016.07.14 |
申请号 |
US201414912369 |
申请日期 |
2014.08.07 |
申请人 |
INTSIG INFORMATION CO., LTD |
发明人 |
LONG Teng;WANG Yue;ZHEN Lixin |
分类号 |
G06K9/32;G06T11/60;G06T7/60;G06T7/20 |
主分类号 |
G06K9/32 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for adsorbing a straight line/line segment in an image, comprising: displaying, by a device comprising a processor, a preset straight line/line segment;
dragging, by the device, the straight line/line segment when a first part of the straight line/line segment is selected and moved, and when a second part of the straight line/line segment is in the vicinity of a detected line segment in an image, setting the preset straight line/line segment to be superposed with the detected line segment, wherein the vicinity refers to that a minimum distance between the second part of the straight line/line segment and the detected line segment meets a preset rule. |
地址 |
Shanghai CN |