CN103995622B - Method for removing boundary interference of photoelectric interactive projection module and judging whether locating succeeds or not - Google Patents
Method for removing boundary interference of photoelectric interactive projection module and judging whether locating succeeds or not Download PDFInfo
- Publication number
- CN103995622B CN103995622B CN201410177083.1A CN201410177083A CN103995622B CN 103995622 B CN103995622 B CN 103995622B CN 201410177083 A CN201410177083 A CN 201410177083A CN 103995622 B CN103995622 B CN 103995622B
- Authority
- CN
- China
- Prior art keywords
- points
- point
- verified
- automatically positioned
- angle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Abstract
The invention provides a method for removing boundary interference of a photoelectric interactive projection module and judging whether locating succeeds or not. The method comprises the steps that 1, after the photoelectric interactive projection module is automatically located, obtained coordinate points are sorted according to X, and then are sorted according to Y, and an automatically-located dot matrix sequence is obtained after two times of sorting; 2, if the number of the points of the obtained dot matrix sequence exceeds the number of automatically located points, the points are sorted according to X and then are sorted according to Y, and the excess points are removed; 3, after the excess points are removed, the remaining points are verified, whether an interference point is captured or not is judged, peripheral points are screened out through a Convex hull algorithm, every three points in the peripheral points are selected one by one, an include angle is formed with the middle point of every three points as a central point, whether the included angles are larger than an obtuse angle is judged, and if the included angles are larger than the obtuse angle, the three angles are almost on the same straight line, another three points are selected to be verified, and all the points of a convex hull are verified. According to the method, whether automatic locating data are accurate or not can be verified to solve the problem that a white board module still cannot be used after being located.
Description
Technical field
Gone the present invention relates to a kind of optical image interaction technical field, more particularly to a kind of photoelectricity interaction module
Except border interference and determine whether position successful methods.
Background technology
With developing rapidly for computer, many photoelectricity class products are generated, also got over using the blank module of photovoltaic principals
Come more, for aspect user, without manualling locate calibration coordinate position, so that derived the method being automatically positioned, and with
The related product of light is often influenceed by external visible ray, makes positioning inaccurate or mistake causes to experience or functionally
Defect, or cannot simply use.Present patent application provides a kind of mode and keeps away verifying whether the data being automatically positioned are correct
Blank module cannot be still used after exempting from positioning.Photoelectricity interaction module generally comprises camera lens, optical filter and camera, should
Camera lens is used to be directed at perspective plane and obtains picture, and optical filter is used for the infrared light through specific wavelength, filters the red of other wavelength
Outer light, camera is used to gather image data.
The content of the invention
The technical problem to be solved in the present invention, is to provide a kind of removal of photoelectricity interaction module border interference and judgement
Whether successful methods are positioned, the anchor point after being automatically positioned to photoelectricity interaction module to getting judges whether correctly
, the method verified.
What the present invention was realized in:A kind of photoelectricity interaction module removes border interference and determines whether to position successfully
Method, comprises the following steps:
Step 1, photoelectricity interaction module is automatically positioned after the completion of, the coordinate points for obtaining according to X sort, further according to Y
Sequence, the dot matrix sequence after being automatically positioned after two minor sorts;
If the points of step 2, the dot matrix sequence for obtaining sort beyond the points being automatically positioned according to X, then after Y sequences,
Remove the points beyond the point number being automatically positioned;
Step 3, remove the point for exceeding after, remaining point is verified, judges whether it is to capture noise spot, is used
Convex hull algorithm of convex hull filter out the point of convex closure, every 3 points in the point of convex closure is taken one by one, with every 3 points
Whether the angle of formation is put centered on point more than one 160 degree, is that then this 3 points substantially point-blank, take other 3
Point is verified that the point of convex closure is all verified, and the points of the dot matrix sequence are the points of the positioning after camera lens is calibrated automatically,
Otherwise re-start untill being automatically positioned until success or more than the number of times for setting;
Wherein, having the point of convex closure to number in order has the point of 0,1,2,3,4,5 ... .., then centered on 1 point, numbering is 0,
1,2 point forms angle, judges that angle meets checking more than 160 ° and requires here, then centered on 2, numbering is 1,2,3
The angle that is formed of point judged that by that analogy, three points at the is formationed turning of the Dian Zhong corners of convex closure are skipped this and judged;
The angle that i.e. 3,4,5 point is formed skips this judgement.
The invention has the advantages that:After the completion of be automatically positioned for photoelectricity interaction module by the present invention, the coordinate for obtaining
Point sorts according to X, further according to Y sequences, the dot matrix sequence after being automatically positioned;And the points of border interference are removed, then will
Remaining point is verified judge whether it is to capture noise spot, of the invention to be able to verify that whether the data being automatically positioned are correct, come
The problem of blank module cannot be still used after avoiding positioning.
Brief description of the drawings
Fig. 1 is schematic flow sheet of the invention.
Fig. 2 is 25 points in one embodiment of the invention of the structural representation for being automatically positioned use Convex hull algorithm of convex hull
Figure.
Fig. 3 is the partial schematic diagram of Fig. 2 of the present invention.
White square point arrangement set in the picture when Fig. 4 is the point authentication failed of convex closure in the present invention.
Fig. 5 is white square point arrangement set in the picture when the point of convex closure in the present invention is proved to be successful.
Specific embodiment
Refer to shown in Fig. 1 to Fig. 5, the present invention is for a kind of photoelectricity interaction module removal border interference and determines whether
Positioning successful methods, comprise the following steps:
Step 1, photoelectricity interaction module is automatically positioned after the completion of, the coordinate points for obtaining according to X sort, further according to Y
Sequence, the dot matrix sequence after being automatically positioned after two minor sorts;
If the points of step 2, the dot matrix sequence for obtaining sort beyond the points being automatically positioned according to X, then after Y sequences,
Remove the points (being probably because the reflective thing of bottom causes) beyond the point number being automatically positioned;
Step 3, see that image has a certain degree of metamorphopsic distortion due to camera lens, such as ultrashort zoom lens deform more strict
Evil, it is therefore desirable to verify that after removing the point for exceeding, remaining point is verified to obtaining point, judge whether it is capture
Noise spot, using Convex hull algorithm of convex hull filter out the point of convex closure, takes every 3 points in the point of convex closure one by one,
Whether the angle of formation is put centered on the midpoint of every 3 points more than an obtuse angle, wherein, the obtuse angle is 160 degree.Be, then this 3
Individual point substantially point-blank, takes 3 other points and is verified that the point of convex closure is all verified, the dot matrix sequence
Points be camera lens automatically calibration after anchor point, otherwise re-start be automatically positioned until success or more than the number of times for setting as
Only.
Additionally need specification is:If as shown in Fig. 2 being automatically positioned it can be seen in fig. 2 that carrying out at 25 points, can beat
Go out the grid of the row of 5 row 5, therefore a little the representing in figure that be automatically positioned for wanting to get also should be the anchor point that 5 row 5 is arranged,
Therefore first the point for obtaining first is arranged from small to large according to X, is arranged from small to large according still further to Y, if having carried out 25 point locations, taken
Preceding 25 points after sequence, beyond 25 points, are taken as noise spot.Preliminary noise reduction is carried out with this.Further according to following institute
The convex closure checking told, further verifies whether 25 anchor points for leaving are correct, therefore this method is done to the screen left and right sides
Disturbing cannot a little be removed, and can only be verified by convex closure and judge that its location data malfunctions, and positioning be re-started, so as to be gone
Except border interference;The interference of moment, such as wind curtain are likely to be due to noise spot, judge that many positioning several times of error can
Effectively to exclude this kind of situation.
An instantiation is named to be described further step 3 of the invention:
As shown in Figures 2 to 5, because camera lens sees that image has a certain degree of metamorphopsic distortion, such as ultrashort zoom lens deformation
Obtain more severe, it is therefore desirable to verify that after removing the point for exceeding, remaining point is verified, judgement is to obtaining point
No is to capture noise spot, carries out filtering out peripheral point using Convex hull algorithm of convex hull, as shown in Fig. 2 25 points automatic
Positioning, 5 rows 5 are arranged, and carry out 2 convex closures, and then whether every 3 points are more than certain number of degrees (as greatly with the angle that central point is formed
In 160 °) so it is considered as this 3 points substantially point-blank, after the point of 2 convex closures is all verified, just think this
Group data are the anchor points after camera lens is calibrated automatically, otherwise re-start and are automatically positioned until success or the number of times more than setting
Untill.Two lines circle and arrow represent the direction of motion of algorithm of convex hull in Fig. 2, and peripheral coil is determining for being obtained after first round convex closure
Site location, interior contour circle is the locating point position after the second wheel.Arrow is direction, and central point is starting point.
As shown in figure 3, centered on 1 point, numbering is that 0,1,2 point forms angle, judges that angle is more than 160 ° here
Meet what checking was required, then centered on 2, numbering is that the angle of 1,2,3 point formation is judged, by that analogy, corner 3,
4,5 skip this judgement.
The foregoing is only presently preferred embodiments of the present invention, all impartial changes done according to scope of the present invention patent with
Modification, should all belong to covering scope of the invention.
Claims (1)
1. a kind of photoelectricity interaction module removes border interference and determines whether to position successful methods, it is characterised in that:Including
Following steps:
Step 1, photoelectricity interaction module is automatically positioned after the completion of, the coordinate points for obtaining according to X sort, further according to Y sequence,
Dot matrix sequence after being automatically positioned after two minor sorts;
If the points of step 2, the dot matrix sequence for obtaining sort beyond the points being automatically positioned according to X, then after Y sequences, remove
Beyond the points of the point number being automatically positioned;
Step 3, remove the point for exceeding after, remaining point is verified, judges whether it is to capture noise spot, uses Convex
Hull algorithm of convex hull filter out the point of convex closure, and every 3 points in the point of convex closure are taken one by one, judges with the midpoint of every 3 points
Centered on whether put the angle of formation more than 160 degree, be that then this 3 points substantially point-blank, take other 3 and click through
Row checking, the point of convex closure is all verified, and the points of the dot matrix sequence are the points of the positioning after camera lens is calibrated automatically, otherwise
Re-start untill being automatically positioned until success or more than the number of times for setting;
Wherein, the point of convex closure numbers in order 0,1,2,3,4,5 ..., first centered on the point that numbering is 1, judges numbering
Point for 0,1,2 forms angle, judges that angle meets more than 160 ° checking and requires here, then is that 2 point is to number
The heart, is that the angle of 1,2,3 point formation judges to numbering, by that analogy, the formation turning of the Dian Zhong corners of convex closure
Three points skip this judgement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410177083.1A CN103995622B (en) | 2014-04-29 | 2014-04-29 | Method for removing boundary interference of photoelectric interactive projection module and judging whether locating succeeds or not |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410177083.1A CN103995622B (en) | 2014-04-29 | 2014-04-29 | Method for removing boundary interference of photoelectric interactive projection module and judging whether locating succeeds or not |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103995622A CN103995622A (en) | 2014-08-20 |
CN103995622B true CN103995622B (en) | 2017-05-24 |
Family
ID=51309808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410177083.1A Expired - Fee Related CN103995622B (en) | 2014-04-29 | 2014-04-29 | Method for removing boundary interference of photoelectric interactive projection module and judging whether locating succeeds or not |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103995622B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105808020B (en) * | 2016-03-04 | 2018-08-07 | 锐达互动科技股份有限公司 | The method that photoelectricity interaction module excludes light interference outside view field |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102103435A (en) * | 2009-12-18 | 2011-06-22 | 深圳市巨龙科教高技术股份有限公司 | Interactive electronic whiteboard device and positioning method thereof |
CN202167002U (en) * | 2011-06-16 | 2012-03-14 | 上海易视计算机科技有限公司 | Multipoint touch optical electronic whiteboard with auto-correction function |
CN102495697A (en) * | 2011-12-06 | 2012-06-13 | 无锡海森诺科技有限公司 | Automatic calibration method and system based on camera type touch control device |
-
2014
- 2014-04-29 CN CN201410177083.1A patent/CN103995622B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102103435A (en) * | 2009-12-18 | 2011-06-22 | 深圳市巨龙科教高技术股份有限公司 | Interactive electronic whiteboard device and positioning method thereof |
CN202167002U (en) * | 2011-06-16 | 2012-03-14 | 上海易视计算机科技有限公司 | Multipoint touch optical electronic whiteboard with auto-correction function |
CN102495697A (en) * | 2011-12-06 | 2012-06-13 | 无锡海森诺科技有限公司 | Automatic calibration method and system based on camera type touch control device |
Non-Patent Citations (2)
Title |
---|
《基于凸包的棋盘格角点自动识别与定位方法》;熊会元 等;《中山大学学报(自然科学版)》;CNKI中国期刊全文数据库;20090115;第48卷(第1期);第1-5页 * |
《基于凸包算法的二维条码定位》;蔡文婷 等;《浙江工业大学学报》;CNKI中国期刊全文数据库;20081215;第36卷(第6期);第669-672页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103995622A (en) | 2014-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109781733A (en) | Flaw detection apparatus, defect detecting method and computer readable storage medium | |
US9454824B2 (en) | Pattern processing device, pattern processing method, and pattern processing program | |
US10733705B2 (en) | Information processing device, learning processing method, learning device, and object recognition device | |
CN103546678B (en) | For the apparatus and method for the pattern distortion for correcting rearmounted video camera | |
JP2007285754A (en) | Flaw detection method and flaw detector | |
JP4243454B2 (en) | Brightness correction method, selective defect detection method, and recording medium on which these are recorded | |
KR20220016245A (en) | Apparatus and method for generating a defect image | |
JP6197340B2 (en) | Image processing apparatus, image processing method, and program | |
CN103995622B (en) | Method for removing boundary interference of photoelectric interactive projection module and judging whether locating succeeds or not | |
JP2009140268A (en) | Program, apparatus and method for automatically processing subsequent processing | |
CN107808109A (en) | A kind of image in 2 D code recognition methods and mobile terminal | |
CN105229665A (en) | To the enhancing analysis of the snakelike belt wear assessment based on image | |
JP2006133196A (en) | Detection method of pixel uneveness defection, detection device for pixel uneveness defection, detection program for pixel uneveness defection, and recording medium with the program stored | |
US10354164B2 (en) | Method for detecting glint | |
KR101893823B1 (en) | Board inspection apparatus and method of compensating board distortion using the same | |
CN103955317B (en) | Automatic positioning method for photoelectricity interaction projective module group | |
WO2013111834A1 (en) | Method for specifying sealed cell of honeycomb filter, manufacturing method, sealed cell-specifying device, manufacturing device, program and recording medium therefor | |
CN103955318B (en) | Double pens are identified by photoelectricity interaction module and double pen near time differentiating method | |
JP2010015463A (en) | Method for detecting eye position | |
CN108764110B (en) | Recursive false detection verification method, system and equipment based on HOG characteristic pedestrian detector | |
JP4367474B2 (en) | Defect inspection equipment | |
CA2997335C (en) | Automatically generating image datasets for use in image recognition and detection | |
WO2014084056A1 (en) | Testing device, testing method, testing program, and recording medium | |
JP2006145228A (en) | Unevenness defect detecting method and unevenness defect detector | |
JP5778685B2 (en) | System and method for alignment and inspection of ball grid array devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder |
Address after: 350000 6, No. 1 Innovation Park, No. 3 east science and technology road, Minhou street, Minhou, Fuzhou. Patentee after: Returnstar Interactive Technology Group Co., Ltd. Address before: 350000 8 tower building, Orange Garden Industrial Park, 618 Jinshan Road, Jianxin Town, Cangshan District, Fuzhou, Fujian. Patentee before: Returnstar Interactive Technology Group Co., Ltd. |
|
CP02 | Change in the address of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170524 Termination date: 20210429 |
|
CF01 | Termination of patent right due to non-payment of annual fee |