CN108282645B - Method and device for projection touch calibration and trapezoidal correction and intelligent projector - Google Patents

Method and device for projection touch calibration and trapezoidal correction and intelligent projector Download PDF

Info

Publication number
CN108282645B
CN108282645B CN201810068561.3A CN201810068561A CN108282645B CN 108282645 B CN108282645 B CN 108282645B CN 201810068561 A CN201810068561 A CN 201810068561A CN 108282645 B CN108282645 B CN 108282645B
Authority
CN
China
Prior art keywords
control points
touch
control
point
type
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.)
Active
Application number
CN201810068561.3A
Other languages
Chinese (zh)
Other versions
CN108282645A (en
Inventor
王毅
荆东华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rongcheng goer Technology Co.,Ltd.
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201810068561.3A priority Critical patent/CN108282645B/en
Publication of CN108282645A publication Critical patent/CN108282645A/en
Application granted granted Critical
Publication of CN108282645B publication Critical patent/CN108282645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3185Geometric adjustment, e.g. keystone or convergence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3141Constructional details thereof
    • H04N9/3173Constructional details thereof wherein the projection device is specially adapted for enhanced portability
    • H04N9/3176Constructional details thereof wherein the projection device is specially adapted for enhanced portability wherein the projection device is incorporated in a camera
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Abstract

The invention discloses a method and a device for projection touch calibration and trapezoidal correction and an intelligent projector, wherein the method comprises the following steps: projecting four control points on a target projection surface by using a projection device; acquiring coordinate information of the four control points by using a camera module, and dividing the four control points into a first type of control points and a second type of control points according to the coordinate information of the four control points; judging the touched control point by using the camera module, starting a trapezoidal correction algorithm to perform trapezoidal correction when the first type of control point is touched, and then starting a touch correction algorithm to perform touch correction; when the second type of control points are touched, starting a touch calibration algorithm to perform touch calibration, and keeping the optical projection ratio and the optical offset of the second type of control points unchanged during touch calibration; after the four control points are all touched, touch calibration and trapezoidal calibration of the target projection surface are finished, trapezoidal calibration and touch calibration are achieved simultaneously, the calibration flow is simplified, time is saved, and user experience is improved.

Description

Method and device for projection touch calibration and trapezoidal correction and intelligent projector
Technical Field
The invention relates to the field of intelligent projectors, in particular to a method and a device for projection touch calibration and trapezoidal correction and an intelligent projector.
Background
In the daily use of the projector, the position of the projector is as far as possible perpendicular to the projection screen to ensure the projection effect, and if the position of the projector and the projection screen are not perpendicular to each other, the picture can generate a trapezoid. The optical trapezoidal correction and the digital trapezoidal correction are two methods, the optical trapezoidal correction refers to the purpose of adjusting the trapezoid by adjusting the physical position of a lens, the other digital trapezoidal correction realizes the trapezoidal correction by a software method, and almost all projector manufacturers adopt the digital trapezoidal correction technology at present. In addition, a screen projected by the projector can be touched, and the screen needs to be touched and calibrated in the using process due to inevitable certain errors and the like of the touch screen, such as rotation and translation.
The intelligent projectors on the market at present realize touch calibration firstly, and then realize the trapezoidal correction of the projectors, so that the problems of insensitive touch calibration and touch calibration again can be caused due to the change of optical projection ratio and optical offset after the trapezoidal correction.
Disclosure of Invention
The invention provides a method and a device for projection touch calibration and trapezoidal correction and an intelligent projector, which aim to solve or partially solve the problems.
According to an aspect of the present invention, there is provided a method of projected touch calibration and keystone correction, the method comprising:
projecting four control points on a target projection surface by using a projection device;
acquiring coordinate information of the four control points by using a camera module, and dividing the four control points into a first type of control points and a second type of control points according to the coordinate information of the four control points;
judging the touched control point by using a camera module, starting a trapezoidal correction algorithm to perform trapezoidal correction when the first type of control point is touched, and further starting a touch correction algorithm to perform touch correction when the first type of control point is corrected to be a rectangle; when the second type of control points are touched, starting a touch calibration algorithm to perform touch calibration, and keeping the optical projection ratio and the optical offset of the second type of control points unchanged during touch calibration;
and when the four control points are all touched, finishing the touch calibration and the trapezoidal correction of the target projection surface.
Optionally, the dividing the four control points into a first type of control point and a second type of control point according to the coordinate information of the four control points includes:
and calculating the relative distance between every two adjacent control points according to the coordinate information of the four control points, calculating the angle formed by each control point and the two adjacent control points according to the relative distance between each control point and the two adjacent control points in front and back of each control point, dividing the control point into a first type of control point if the control point is an obtuse angle, and dividing the control point into a second type of control point if the control point is an acute angle.
Optionally, the determining, by the camera module, the touched control point includes:
acquiring touch point coordinate information of a touch point by using a camera module;
calculating the minimum distance between the touch point and the four control points according to the coordinate information of the touch point and the coordinate information of the four control points,
if the minimum distance is smaller than the distance threshold, starting timing, and judging that the control point corresponding to the minimum distance is touched when the timing time reaches the time threshold;
and if the minimum distance is not less than the distance threshold or the timing time does not reach the time threshold, prompting the user to move the touch point and judging again by using the camera module.
Optionally, a rectangular coordinate system is established on the target projection surface, and the coordinate information of the four control points acquired by the camera module and the coordinate information of the touch point acquired by the camera module are coordinate information on the rectangular coordinate system.
Optionally, the method further comprises: and after the four control points are all touched, detecting the image edge characteristics of the target projection surface, displaying the detection result on the target projection surface, popping up a dialog box to prompt a user to continue or finish, and determining whether to finish the touch calibration and the trapezoidal correction of the target projection surface according to the selection of the user.
According to another aspect of the present invention, there is provided an apparatus for projected touch calibration and keystone correction, the apparatus comprising:
a projection unit configured to project four control points on a target projection plane using a projection device;
the control point distinguishing unit is configured to acquire coordinate information of the four control points by using a camera module, and distinguish the four control points into a first type of control points and a second type of control points according to the coordinate information of the four control points;
a touch point determination unit configured to determine a touched control point using the camera module;
the touch calibration and trapezoidal correction unit is configured to start a trapezoidal correction algorithm to perform trapezoidal correction when a first type of control point is touched, and further start the touch calibration algorithm to perform touch calibration when the first type of control point is corrected to be rectangular; when the second type of control points are touched, starting a touch calibration algorithm to perform touch calibration, and keeping the optical projection ratio and the optical offset of the second type of control points unchanged during touch calibration;
and the ending unit is configured to end the touch calibration and the trapezoidal correction of the target projection surface after all the four control points are touched.
Optionally, the control point distinguishing unit is specifically configured to: and calculating the relative distance between every two adjacent control points according to the coordinate information of the four control points, calculating the angle formed by each control point and the two adjacent control points according to the relative distance between each control point and the two adjacent control points in front and back of each control point, dividing the control point into a first type of control point if the control point is an obtuse angle, and dividing the control point into a second type of control point if the control point is an acute angle.
Optionally, the touch point determination unit is specifically configured to:
acquiring touch point coordinate information of a touch point by using a camera module, calculating the minimum distance between the touch point and the four control points according to the touch point coordinate information and the coordinate information of the four control points, starting timing if the minimum distance is smaller than a distance threshold, and judging that the control point corresponding to the minimum distance is touched when timing time reaches a time threshold; if the minimum distance is not smaller than a distance threshold or the timing time does not reach a time threshold, prompting a user to move a touch point and judging again by using the camera module;
and establishing a rectangular coordinate system on the target projection surface, wherein the coordinate information of the four control points acquired by the camera module and the coordinate information of the touch point acquired by the camera module are the coordinate information on the rectangular coordinate system.
Optionally, the apparatus further comprises: and the detection display unit is configured to detect the image edge characteristics of the target projection surface after the four control points are all touched, display the detection result on the target projection surface, pop up a dialog box to prompt a user to continue or end, and determine whether to end the touch calibration and the trapezoidal correction of the target projection surface according to the selection of the user.
According to a further aspect of the present invention, there is provided an intelligent projector comprising a projection device, a camera module, a memory and a processor, wherein the memory stores a keystone correction algorithm, a touch calibration algorithm and a control algorithm, and the control algorithm when executed by the processor is capable of implementing the method steps of projection touch calibration and keystone correction described above.
The embodiment of the invention has the beneficial effects that: projecting four control points on a target projection surface by using a projection device; acquiring coordinate information of the four control points by using a camera module, and dividing the four control points into a first type of control points and a second type of control points according to the coordinate information of the four control points; judging the touched control point by using a camera module, starting a trapezoidal correction algorithm to perform trapezoidal correction when the first type of control point is touched, and further starting a touch correction algorithm to perform touch correction when the first type of control point is corrected to be a rectangle; when the second type of control points are touched, starting a touch calibration algorithm to perform touch calibration, and keeping the optical projection ratio and the optical offset of the second type of control points unchanged during touch calibration; and finishing the touch calibration and the trapezoidal correction of the target projection surface after all the four control points are touched. The method provides control points which are both touch calibration and trapezoidal calibration, touch calibration is completed while trapezoidal calibration is achieved under the condition that the optical projection ratio is kept and the optical offset is not changed, touch calibration is not required to be performed again after trapezoidal calibration is performed, the calibration flow is simplified, time is saved, and user experience is improved.
Drawings
FIG. 1 is a flowchart of a method for projected touch calibration and keystone correction according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of coordinate system setup;
FIG. 3 is a schematic view of keystone distortion of a projection plane;
FIG. 4 is a diagram of an apparatus for projected touch calibration and keystone correction according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an intelligent projector according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Fig. 1 is a flowchart of a method for calibrating a projected touch and performing keystone correction according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S11: projecting four control points on a target projection surface by using a projection device;
step S12: acquiring coordinate information of the four control points by using a camera module, and dividing the four control points into a first type of control points and a second type of control points according to the coordinate information of the four control points; the method specifically comprises the steps of calculating the relative distance between two adjacent control points according to coordinate information of four control points, calculating the angle formed by each control point and two adjacent control points in front and back according to the relative distance between each control point and the two adjacent control points in front and back, dividing the control point into a first type of control point if the control point is an obtuse angle, and dividing the control point into a second type of control point if the control point is an acute angle.
Step S13: judging the touched control point by using a camera module, starting a trapezoidal correction algorithm to perform trapezoidal correction when the first type of control point is touched, and further starting a touch correction algorithm to perform touch correction when the first type of control point is corrected to be a rectangle; when the second type of control points are touched, starting a touch calibration algorithm to perform touch calibration, and keeping the optical projection ratio and the optical offset of the second type of control points unchanged during touch calibration;
step S14: and finishing the touch calibration and the trapezoidal correction of the target projection surface after all the four control points are touched.
In step S13, the specific steps of determining the touched control point by using the camera module are: acquiring touch point coordinate information of a touch point by using a camera module; calculating the minimum distance between the touch point and the four control points according to the coordinate information of the touch point and the coordinate information of the four control points, starting timing if the minimum distance is smaller than a distance threshold, and judging that the control point corresponding to the minimum distance is touched when timing time reaches a time threshold; if the minimum distance is not smaller than the distance threshold or the timing time does not reach the time threshold, prompting the user to move the touch point and judging again by using the camera module.
And establishing a rectangular coordinate system on the target projection surface, wherein the coordinate information of the four control points acquired by the camera module and the coordinate information of the touch point acquired by the camera module are the coordinate information on the rectangular coordinate system.
The method further comprises the following steps: and when the four control points are all touched, detecting the image edge characteristics of the target projection surface, displaying the detection result on the target projection surface, popping up a dialog box to prompt a user to continue or finish, and determining whether to finish the touch calibration and the trapezoidal correction of the target projection surface according to the selection of the user.
The projection device is exemplified by a projector, and the target projection surface is a desktop. Firstly, projecting a projector to a desktop to form a projection surface on the desktop, and then projecting four control points on the projection surface by the projector; the projector is provided with a camera module, the camera module is used to acquire four control points, and a rectangular coordinate system is established with one of the control points as an origin of coordinates, so as to acquire coordinate information of the four control points, as shown in fig. 2, fig. 2 is a schematic diagram of establishment of the rectangular coordinate system, where 201, 202, 203, and 204 are the four control points, and 203 is the origin of coordinates. And calculating the relative distance between two adjacent control points in sequence, calculating the angle formed by each control point and the two adjacent control points according to the relative distance between each control point and the two adjacent control points, dividing the control point into a first type of control point if the control point is an obtuse angle, and dividing the control point into a second type of control point if the control point is an acute angle. Fig. 3 is a schematic diagram of the projection plane keystone distortion, as shown in the left diagram of fig. 3, where the first control points 201 and 202 located in the obtuse angle region are in the upper half of the keystone and the second control points 203 and 204 located in the acute angle region are in the lower half of the keystone, and the upper keystone distortion occurs, as shown in the right diagram of fig. 3, where the first control points 301 and 302 located in the obtuse angle region are in the lower half of the keystone and the second control points located in the acute angle regions 303 and 304 are in the upper half of the keystone, and the lower keystone distortion occurs. Firstly, sequentially touching first control points 201 and 202 or 301 and 302, starting a trapezoidal correction algorithm to perform trapezoidal correction, and starting a touch calibration algorithm to perform touch calibration on the first control points 201 and 202 or 301 and 302 after the first control points 201 and 202 or 301 and 302 are corrected to be rectangular; then, the second control points 203 and 204 or 303 and 304 are touched in sequence, a touch calibration algorithm is started to perform touch calibration, and the optical projection ratio and the optical offset of the second control points 203 and 204 are kept unchanged during touch calibration.
When the control point is touched, the camera module is utilized to obtain coordinate information of the touch point in a rectangular coordinate system and record the coordinate information as the coordinate information of the touch point, the minimum distance between the touch point and the four control points is calculated according to the obtained coordinate information of the touch point and the coordinate information of the four control points, if the minimum distance is smaller than a preset distance threshold value, timing is started at the moment, and when the timing time reaches a preset time threshold value, the control point corresponding to the minimum distance is judged to be effectively touched; if the minimum distance is not smaller than the preset distance threshold, the control point is not touched, or the timing time does not reach the preset time threshold, the time for touching the control point is too short, at the moment, a prompt meeting is displayed on the projection surface to prompt the user to re-correct or calibrate, and when the user re-touches the control point, the camera module is used for re-judging. When the four control points are effectively touched, detecting the image edge characteristics of the projection surface, when the image edge characteristics of the projection surface meet the rectangular characteristics, indicating that the trapezoidal correction and the touch correction are completed simultaneously, and popping up a dialog box on the projection surface to prompt a user that the trapezoidal correction and the touch correction are completed; and when the image edge characteristics of the projection plane do not meet the rectangular characteristics, indicating that deviation occurs between the trapezoidal correction and the touch correction, popping up a dialog box on the projection plane to prompt a user to perform the trapezoidal correction and the trapezoidal correction again, and then determining whether to finish the touch correction and the trapezoidal correction of the projection plane according to the selection of the user.
Fig. 4 is a diagram of an apparatus for calibrating a projected touch and performing keystone correction according to an embodiment of the present invention, as shown in fig. 4, the apparatus 40 includes:
a projection unit 401 configured to project four control points on a target projection plane using a projection device;
a control point distinguishing unit 402 configured to acquire coordinate information of the four control points by using the camera module, and distinguish the four control points into a first type of control point and a second type of control point according to the coordinate information of the four control points; is specifically configured to: and calculating the relative distance between every two adjacent control points according to the coordinate information of the four control points, calculating the angle formed by each control point and the two adjacent control points according to the relative distance between each control point and the two adjacent control points in front and back of each control point, dividing the control point into a first type of control point if the control point is an obtuse angle, and dividing the control point into a second type of control point if the control point is an acute angle.
A touch point determination unit 403 configured to determine a touched control point using the camera module; is specifically configured to: acquiring touch point coordinate information of a touch point by using a camera module, calculating the minimum distance between the touch point and the four control points according to the touch point coordinate information and the coordinate information of the four control points, starting timing if the minimum distance is smaller than a distance threshold, and judging that the control point corresponding to the minimum distance is touched when timing time reaches a time threshold; if the minimum distance is not smaller than the distance threshold or the timing time does not reach the time threshold, prompting the user to move the touch point and judging again by using the camera module; the rectangular coordinate system is established on the target projection surface, and the coordinate information of the four control points acquired by the camera module and the coordinate information of the touch points acquired by the camera module are the coordinate information on the rectangular coordinate system.
A touch calibration and ladder correction unit 404 configured to start a ladder correction algorithm for ladder correction when a first type of control point is touched, and further start a touch calibration algorithm for touch calibration when the first type of control point is corrected to be rectangular; when the second type of control points are touched, starting a touch calibration algorithm to perform touch calibration, and keeping the optical projection ratio and the optical offset of the second type of control points unchanged during touch calibration;
and an ending unit 405 configured to end the touch calibration and the keystone correction of the target projection surface when all the four control points are touched.
The device also includes: and the detection display unit is configured to detect the image edge characteristics of the target projection surface after the four control points are all touched, display the detection result on the target projection surface, pop up a dialog box to prompt the user to continue or end, and determine whether to end the touch calibration and the trapezoidal correction of the target projection surface according to the selection of the user.
Fig. 5 is a schematic diagram of an intelligent projector according to an embodiment of the present invention, and as shown in fig. 5, the intelligent projector 50 includes a projection device 501, a camera module 502, a memory 503 and a processor 504, where the processor 504, the projection device 501 and the camera module 502 form a closed-loop control, the memory 503 stores a keystone correction algorithm, a touch calibration algorithm and a control algorithm, where the control algorithm is executed by the processor 504 to implement the steps of the method for projection touch calibration and keystone correction, which are described in detail in the embodiment shown in fig. 1, and are not repeated herein.
In various embodiments, the storage 503 may be a memory or a non-volatile storage. Wherein the non-volatile memory may be: a storage drive (e.g., hard disk drive), a solid state drive, any type of storage disk (e.g., compact disk, DVD, etc.), or similar storage medium, or a combination thereof. The memory may be: RAM (random Access Memory), volatile Memory, nonvolatile Memory, and flash Memory. Further, the non-volatile memory and memory serve as machine-readable storage media on which computer programs executed by processor 504 may be stored.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In summary, the projection device is used to project four control points on the target projection surface; acquiring coordinate information of the four control points by using a camera module, and dividing the four control points into a first type of control points and a second type of control points according to the coordinate information of the four control points; judging the touched control point by using a camera module, starting a trapezoidal correction algorithm to perform trapezoidal correction when the first type of control point is touched, and further starting a touch correction algorithm to perform touch correction when the first type of control point is corrected to be a rectangle; when the second type of control points are touched, starting a touch calibration algorithm to perform touch calibration, and keeping the optical projection ratio and the optical offset of the second type of control points unchanged during touch calibration; and when the four control points are all touched, detecting the image edge characteristics of the target projection surface, displaying the detection result on the target projection surface, and determining whether to finish the touch calibration and the trapezoidal correction of the target projection surface according to a user instruction. The method provides control points which are both touch calibration and trapezoidal calibration, touch calibration is completed while trapezoidal calibration is achieved under the condition that the optical projection ratio is kept and the optical offset is not changed, touch calibration is not required to be performed again after trapezoidal calibration is performed, the calibration flow is simplified, time is saved, and user experience is improved.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. A method of projected touch calibration and keystone correction, the method comprising:
projecting four control points on a target projection surface by using a projection device;
acquiring coordinate information of the four control points by using a camera module, and dividing the four control points into a first type of control points and a second type of control points according to the coordinate information of the four control points; calculating the relative distance between two adjacent control points according to the coordinate information of the four control points, calculating the angle formed by each control point and the two adjacent control points according to the relative distance between each control point and the two adjacent control points in front and back of each control point, if the angle is an obtuse angle, distinguishing the control point as a first type of control point, and if the angle is an acute angle, distinguishing the control point as a second type of control point;
judging the touched control point by using a camera module, starting a trapezoidal correction algorithm to perform trapezoidal correction when the first type of control point is touched, and further starting a touch correction algorithm to perform touch correction when the first type of control point is corrected to be a rectangle; when the second type of control points are touched, starting a touch calibration algorithm to perform touch calibration, and keeping the optical projection ratio and the optical offset of the second type of control points unchanged during touch calibration; the correction sequence is as follows: firstly touching the first type of control point and then touching the second type of control point;
and when the four control points are all touched, finishing the touch calibration and the trapezoidal correction of the target projection surface.
2. The method of claim 1, wherein the determining the touched control point using the camera module comprises:
acquiring touch point coordinate information of a touch point by using a camera module;
calculating the minimum distance between the touch point and the four control points according to the coordinate information of the touch point and the coordinate information of the four control points,
if the minimum distance is smaller than the distance threshold, starting timing, and judging that the control point corresponding to the minimum distance is touched when the timing time reaches the time threshold;
and if the minimum distance is not less than the distance threshold or the timing time does not reach the time threshold, prompting the user to move the touch point and judging again by using the camera module.
3. The method of claim 2, wherein a rectangular coordinate system is established on the target projection surface, and the coordinate information of the four control points acquired by the camera module and the coordinate information of the touch point acquired by the camera module are coordinate information on the rectangular coordinate system.
4. The method of claim 1, wherein the method further comprises: and after the four control points are all touched, detecting the image edge characteristics of the target projection surface, displaying the detection result on the target projection surface, popping up a dialog box to prompt a user to continue or finish, and determining whether to finish the touch calibration and the trapezoidal correction of the target projection surface according to the selection of the user.
5. An apparatus for projected touch calibration and keystone correction, the apparatus comprising:
a projection unit configured to project four control points on a target projection plane using a projection device;
the control point distinguishing unit is configured to acquire coordinate information of the four control points by using a camera module, and distinguish the four control points into a first type of control points and a second type of control points according to the coordinate information of the four control points; calculating the relative distance between two adjacent control points according to the coordinate information of the four control points, calculating the angle formed by each control point and the two adjacent control points according to the relative distance between each control point and the two adjacent control points in front and back of each control point, if the angle is an obtuse angle, distinguishing the control point as a first type of control point, and if the angle is an acute angle, distinguishing the control point as a second type of control point;
a touch point determination unit configured to determine a touched control point using the camera module;
the touch calibration and trapezoidal correction unit is configured to start a trapezoidal correction algorithm to perform trapezoidal correction when a first type of control point is touched, and further start the touch calibration algorithm to perform touch calibration when the first type of control point is corrected to be rectangular; when the second type of control points are touched, starting a touch calibration algorithm to perform touch calibration, and keeping the optical projection ratio and the optical offset of the second type of control points unchanged during touch calibration; the correction sequence is as follows: firstly touching the first type of control point and then touching the second type of control point;
and the ending unit is configured to end the touch calibration and the trapezoidal correction of the target projection surface after all the four control points are touched.
6. The apparatus of claim 5, wherein the touch point determination unit is specifically configured to:
acquiring touch point coordinate information of a touch point by using a camera module, calculating the minimum distance between the touch point and the four control points according to the touch point coordinate information and the coordinate information of the four control points, starting timing if the minimum distance is smaller than a distance threshold, and judging that the control point corresponding to the minimum distance is touched when timing time reaches a time threshold; if the minimum distance is not smaller than a distance threshold or the timing time does not reach a time threshold, prompting a user to move a touch point and judging again by using the camera module;
and establishing a rectangular coordinate system on the target projection surface, wherein the coordinate information of the four control points acquired by the camera module and the coordinate information of the touch point acquired by the camera module are the coordinate information on the rectangular coordinate system.
7. The apparatus of claim 5, wherein the apparatus further comprises:
and the detection display unit is configured to detect the image edge characteristics of the target projection surface after the four control points are all touched, display the detection result on the target projection surface, pop up a dialog box to prompt a user to continue or end, and determine whether to end the touch calibration and the trapezoidal correction of the target projection surface according to the selection of the user.
8. An intelligent projector comprising a projection device, a camera module, a memory and a processor, wherein the memory stores a keystone correction algorithm, a touch calibration algorithm and a control algorithm, and wherein the control algorithm when executed by the processor is capable of performing the method steps of projection touch calibration and keystone correction as claimed in any one of claims 1 to 4.
CN201810068561.3A 2018-01-24 2018-01-24 Method and device for projection touch calibration and trapezoidal correction and intelligent projector Active CN108282645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810068561.3A CN108282645B (en) 2018-01-24 2018-01-24 Method and device for projection touch calibration and trapezoidal correction and intelligent projector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810068561.3A CN108282645B (en) 2018-01-24 2018-01-24 Method and device for projection touch calibration and trapezoidal correction and intelligent projector

Publications (2)

Publication Number Publication Date
CN108282645A CN108282645A (en) 2018-07-13
CN108282645B true CN108282645B (en) 2020-08-14

Family

ID=62804808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810068561.3A Active CN108282645B (en) 2018-01-24 2018-01-24 Method and device for projection touch calibration and trapezoidal correction and intelligent projector

Country Status (1)

Country Link
CN (1) CN108282645B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625151B (en) * 2020-06-02 2023-07-21 吕嘉昳 Method and system for accurately identifying contact point position in deformation projection based on touch method
CN112911270B (en) * 2021-01-14 2021-12-17 华中科技大学 Image correction method for 100% offset three-dimensional sliced projection imaging system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142760A (en) * 2013-05-07 2014-11-12 索尼公司 Interactive projection equipment and positioning method for interactive pen thereof
CN105979234A (en) * 2016-06-13 2016-09-28 Tcl集团股份有限公司 Projection image correction method and projection device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9667932B2 (en) * 2011-02-03 2017-05-30 Videa, Llc Automatic correction of keystone distortion and other unwanted artifacts in projected images
US20160091987A1 (en) * 2014-09-26 2016-03-31 Panasonic Intellectual Property Management Co., Ltd. Projector
JP2017146927A (en) * 2016-02-19 2017-08-24 ソニーモバイルコミュニケーションズ株式会社 Control device, control method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142760A (en) * 2013-05-07 2014-11-12 索尼公司 Interactive projection equipment and positioning method for interactive pen thereof
CN105979234A (en) * 2016-06-13 2016-09-28 Tcl集团股份有限公司 Projection image correction method and projection device

Also Published As

Publication number Publication date
CN108282645A (en) 2018-07-13

Similar Documents

Publication Publication Date Title
US11838697B2 (en) Ultra-short-throw picture and screen alignment method and apparatus, and storage medium
CN110456602B (en) Projection pattern correction device, method and system of projection system
US10134118B2 (en) Information processing apparatus and method of obtaining information about a projection surface on which a target is projected
US9357190B2 (en) Projection device and automatic projection calibration method thereof
US8398246B2 (en) Real-time projection management
US20220262287A1 (en) Ultra-short-throw Picture and Screen alignment Method and Apparatus, Ultra-short-throw Projection Device, and Medium
US8545026B2 (en) Projector and method for correcting trapezoid distortion of projected images using the projector
CN108282645B (en) Method and device for projection touch calibration and trapezoidal correction and intelligent projector
JP2019509569A (en) Perspective correction for curved display screens
JP2013190616A5 (en)
WO2017054334A1 (en) Projection method, device, terminal, and computer storage medium
WO2021120422A1 (en) Keystone correction method and apparatus, electronic device and readable storage medium
US20220321848A1 (en) Projection Focusing Method, Projection Focusing Apparatus, Projector, And Readable Storage Medium
EP2590018A2 (en) Projector device, distortion correction method, and distortion correction program
US20150022697A1 (en) Projector Auto-Focus Correction with the Aid of a Camera
JP2012008522A (en) Control device and projection type image display device
CN107547880A (en) A kind of auto-correction method of projection imaging, device and laser television
JP2011176629A (en) Controller and projection type video display device
CN107105210A (en) Projection correction's method and device
US20120146949A1 (en) Method for positioning compensation of a touch object on a touch surface of a screen and optical touch module thereof
TWI568268B (en) Adjusting a projection area of a projector
TW201617719A (en) Projecting method and projecting system
US8902215B2 (en) Method and mobile terminal for adjusting focus of a projected image
US9581439B1 (en) Image capture device with a calibration function and calibration method of an image capture device
CN111182282A (en) Method and device for detecting projection focusing area and projector

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210722

Address after: 264300 No. 699, Jiangjun South Road, Rongcheng City, Weihai City, Shandong Province

Patentee after: Rongcheng goer Technology Co.,Ltd.

Address before: 266104 Room 308, North Investment Street Service Center, Laoshan District, Qingdao, Shandong.

Patentee before: GOERTEK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right