WO2017190400A1 - 投影仪处理方法、装置及终端 - Google Patents

投影仪处理方法、装置及终端 Download PDF

Info

Publication number
WO2017190400A1
WO2017190400A1 PCT/CN2016/085061 CN2016085061W WO2017190400A1 WO 2017190400 A1 WO2017190400 A1 WO 2017190400A1 CN 2016085061 W CN2016085061 W CN 2016085061W WO 2017190400 A1 WO2017190400 A1 WO 2017190400A1
Authority
WO
WIPO (PCT)
Prior art keywords
projector
projection
motor
distance
determining
Prior art date
Application number
PCT/CN2016/085061
Other languages
English (en)
French (fr)
Inventor
范钊
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017190400A1 publication Critical patent/WO2017190400A1/zh

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/3141Constructional details thereof
    • H04N9/317Convergence or focusing systems
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B21/00Projectors or projection-type viewers; Accessories therefor
    • G03B21/14Details
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B21/00Projectors or projection-type viewers; Accessories therefor
    • G03B21/14Details
    • G03B21/53Means for automatic focusing, e.g. to compensate thermal effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • 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]

Definitions

  • the present invention relates to the field of communications, and in particular to a projector processing method, apparatus, and terminal.
  • the appearance of the projector has brought great convenience to the daily life of the user. At work and in life, users can use the projector as they wish. However, in the process of using the projector, in order to achieve a clear position, it is necessary to repeatedly adjust the projector lens, which is a complicated and repeated process, which reduces the user experience.
  • One method is to manually adjust the focus, that is, the user manually adjusts the projector lens to confirm whether it is clear by the naked eye.
  • this method requires manual operation every time the projector is used. Rotating the lens is cumbersome to operate, and during the manual focusing process, the user may have the illusion that the focus cannot be adjusted to the clearest position; the other method is that the projector automatically adjusts the focus, that is, adding an auxiliary camera to the projector. The camera confirms the sharpness and then pushes the projector motor to achieve focus adjustment.
  • this method adds new hardware to the projector, which increases the hardware cost, increases the power consumption of the projector and makes the manufacturing process difficult, and reduces the product. The degree of beauty.
  • the embodiment of the invention provides a projector processing method, device and terminal, so as to at least solve the problem that the projector motor is adjusted in the related art, and the hardware cost is required.
  • a projector processing method including: determining a projection parameter that is the clearest of a projection image of a corresponding projector; and according to the projection parameter, and a correspondence relationship between the projection parameter and a position of the projector motor, Determining a projector motor position corresponding to the projection parameter; transmitting the determined projector motor position to a motor of the projector for instructing the motor to move to the determined projector motor position.
  • the projection parameter comprises at least one of: a sharpness of a projected image of the projector, and an object distance for identifying a distance of the projector lens to a plane of a projection area of the projector.
  • determining the projection parameter that is the clearest corresponding to the projected image of the projector comprises: receiving one or more location information of a projector motor movement Receiving one or more projected images corresponding to the one or more positional information of the projector motor movement; determining one or more sharpness corresponding to the one or more projected images; from the one or more The one or more sharpness corresponding to the projected image determines the highest definition as the projection parameter.
  • the method before receiving the one or more position information of the projector motor movement, the method further includes: after the projector performs projection to reach a steady state, according to the projector reaching a steady state corresponding to the received The projected image is used to focus on the projected image of the projector.
  • determining the projection parameter that is the clearest corresponding to the projection image of the projector comprises: measuring a predetermined terminal to a region of the projector a first distance, and a second distance from the predetermined terminal to the projector lens; determining an object distance of the projector lens to a plane of a projection area of the projector as the projection parameter, wherein the object distance is a difference between the first distance and the second distance.
  • the predetermined terminal is one of the following: a single camera terminal, a dual camera terminal, and a laser focusing terminal.
  • a projector processing apparatus comprising: a first determining module for determining a projection parameter of a projection image corresponding to a projector; a second determining module, configured to a projection parameter, and a correspondence between the projection parameter and the position of the projector motor, determining a position of the projector motor corresponding to the projection parameter; and a sending module, configured to send the determined position of the projector motor to the motor of the projector, Used to instruct the motor to move to the determined position of the projector motor.
  • the first determining module includes: a first receiving unit, configured to receive one or more location information of a projector motor movement if the projection parameter is sharpness; and a second receiving unit, Receiving one or more projection images corresponding to the one or more positional information of the projector motor movement; the first determining unit is configured to determine one or more definitions corresponding to the one or more projection images And a second determining unit, configured to determine, from the one or more definitions corresponding to the one or more projected images, a highest definition as the projection parameter.
  • the method further includes: a recording unit, configured to perform focusing on the received projection image according to the projector reaching a steady state after the projection of the projector reaches a steady state, for acquiring a projection image of the projector.
  • a recording unit configured to perform focusing on the received projection image according to the projector reaching a steady state after the projection of the projector reaches a steady state, for acquiring a projection image of the projector.
  • the first determining module includes: a measuring unit, configured to: when the projection parameter is the object distance, measure a first distance from a predetermined terminal to an area where the projector is projected, and Determining a second distance from the terminal to the projector lens; a third determining unit, configured to determine an object distance of the projector lens to a plane of the projection area of the projector as the projection parameter, wherein the object distance is a difference between the first distance and the second distance.
  • a terminal is also provided.
  • the terminal includes the projector processing apparatus in the above embodiment.
  • a storage medium is also provided.
  • the storage medium is configured to store program code for performing the following steps: determining a projection parameter that is the clearest projection image of the corresponding projector; determining the projection according to the projection parameter and a correspondence between the projection parameter and the position of the projector motor A projector motor position corresponding to the parameter; transmitting the determined projector motor position to a motor of the projector for instructing the motor to move to the determined projector motor position.
  • the storage medium is further configured to store program code for performing the step of: at least one of: a sharpness of a projected image of the projector for identifying the projector lens to The object distance of the distance of the projector projection area plane.
  • the storage medium is further configured to store program code for performing the step of:
  • determining the projection parameter that is the clearest corresponding to the projected image of the projector comprises: receiving one or more positional information of movement of the projector motor; receiving the movement of the projector motor Determining one or more projected images corresponding to the one or more positional information; determining one or more sharpness corresponding to the one or more projected images; clearing one or more corresponding to the one or more projected images The degree of resolution is determined to be the projection parameter.
  • the storage medium is further configured to store program code for performing the steps of: before receiving the one or more location information of the projector motor movement, further comprising: projecting at the projector After the steady state, the projector is in a stable state according to the received projection image for focusing, and is used to acquire a projection image of the projector.
  • the storage medium is further configured to store program code for performing the step of: determining, in the case where the projection parameter is the object distance, the clearest corresponding to the projected image of the projector
  • the projection parameter includes: measuring a first distance from the predetermined terminal to the projected area of the projector, and a second distance from the predetermined terminal to the projector lens; determining the projector lens to the projection area of the projector
  • the object distance is the projection parameter, wherein the object distance is a difference between the first distance and the second distance.
  • the storage medium is further configured to store program code for performing the following steps: the predetermined terminal is one of: a single camera terminal, a dual camera terminal, and a laser focus terminal.
  • the projector motor position corresponding to the projection parameter is determined according to the projection parameter and the correspondence relationship between the projection parameter and the position of the projector motor;
  • the projector motor position is sent to a motor of the projector for instructing the motor to move to the determined position of the projector motor, and thus, by determining the projector motor position that is the clearest corresponding to the projected image, then It is sent to the projector, and the projector realizes focusing according to the position of the motor.
  • FIG. 1 is a block diagram showing the hardware structure of a mobile terminal of a projector processing method according to an embodiment of the present invention
  • FIG. 2 is a first positional relationship diagram of a terminal, a projector, and a projection area of a projector according to an embodiment of the present invention
  • FIG. 3 is a second positional relationship diagram of a terminal, a projector, and a projection area of a projector according to an embodiment of the present invention
  • FIG. 4 is a flow chart of a projector processing method according to an embodiment of the present invention.
  • FIG. 5 is a flow chart of a single camera terminal based projector processing method in accordance with a preferred embodiment of the present invention.
  • FIG. 6 is a schematic diagram of interaction between a mobile phone and a projector according to an alternative embodiment of the present invention.
  • FIG. 7 is a schematic diagram of interaction between a mobile phone and a resolution calculation module according to an alternative embodiment of the present invention.
  • FIG. 8 is a flow chart of a method for processing a projector based on a terminal dual camera according to a preferred embodiment of the present invention
  • FIG. 9 is a block diagram showing the structure of a projector processing apparatus according to an embodiment of the present invention.
  • FIG. 10 is a block diagram 1 of a preferred structure of a first determining module 92 in a projector processing apparatus according to an alternative embodiment of the present invention
  • FIG. 11 is a block diagram 2 of a preferred structure of a first determining module 92 in a projector processing apparatus according to an alternative embodiment of the present invention
  • FIG. 12 is a block diagram 3 of a preferred structure of a first determining module 92 in a projector processing apparatus according to an alternative embodiment of the present invention
  • FIG. 13 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
  • FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the projector processing method in the embodiment of the present invention, and the processor 102 executes each by executing a software program and a module stored in the memory 104.
  • a functional application and data processing, that is, the above method is implemented.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be coupled to computer terminal mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the computer terminal mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • the terminal shown in the foregoing embodiment may include two parts, one is a hardware module, and the other is a software system.
  • the hardware module that is, with a wireless transmission module, a terminal with a single camera (for example, can be a mobile phone) or a dual camera terminal (mobile phone) or a terminal with a laser focus (mobile phone) (not limited to these types of mobile phones), etc.
  • Software system including auxiliary projector focus program, wireless transmission system, table for recording distance information and sharpness information, image sharpness representation calculation module, sorting module, etc.
  • FIG. 2 is a first positional relationship diagram of a region in which a terminal, a projector, and a projector are projected, according to an embodiment of the present invention.
  • 3 is a second diagram showing the positional relationship of a projection area of a terminal, a projector, and a projector according to an embodiment of the present invention.
  • the projector is placed in the desired position, aligned with the projected area, the projector is turned on, and the motor is placed in a macro position or infinity position.
  • Light up the terminal screen click the desktop auxiliary projector focus button, and the terminal establishes a wireless connection with the projector.
  • the terminal camera is turned on and aligned with the area where the projector is projected.
  • FIG. 2 and FIG. 3 is merely illustrative, and does not limit the positional relationship of the above-mentioned terminal, projector, and projection area of the projector.
  • the terminal can be placed between the projector and the area where the projector is projected.
  • step 402-406 is a flow chart of a projector processing method according to an embodiment of the present invention. As shown in FIG. 4, the method mainly includes the following steps (steps 402-406):
  • Step S402 determining a projection parameter that is the clearest of the projection image of the corresponding projector; optionally, the projection parameter may include at least one of the following: a definition of the projection image of the projector, used to identify the projector lens to the projection area of the projector The object distance of the plane distance.
  • Step S404 determining a projector motor position corresponding to the projection parameter according to the projection parameter and the correspondence between the projection parameter and the position of the projector motor;
  • Step S406 Send the determined projector motor position to the motor of the projector for instructing the motor to move to the determined projector motor position.
  • determining the projection parameter that is the clearest of the projected image of the corresponding projector may include the following steps:
  • Step S4022a receiving one or more position information of the projector motor movement; optionally, one or more position information of the projector motor movement may be stored in a data structure table, and the next clearest projection parameter is determined for subsequent determination. The position of the projector motor is ready.
  • Step S4024a receiving one or more projected images corresponding to one or more position information of the projector motor movement
  • Step S4026a determining one or more definitions corresponding to one or more projected images
  • the one or more sharpnesses may be a sharpness representation value of the projected image information calculated according to the projected image, and the sharpness representation value may be stored in a data structure table, wherein the data structure table is stored A data structure table of one or more positional information of the projector motor movement.
  • Step S4028a determining the highest definition as the projection parameter from one or more definitions corresponding to the one or more projection images.
  • the device receiving the projector image can be focused before receiving one or more positional information of the projector motor movement.
  • the method further includes: Step S4020: After the projector reaches a steady state, the projector reaches a steady state and performs focusing according to the received projection image for acquiring a projection image of the projector.
  • the projection of the projector to a steady state refers to a state in which the projector is fully activated.
  • the macro position corresponding to the projector motor or the corresponding infinity position after the focus is successful is recorded, and the macro position or the infinity position is the starting position of the position corresponding to one or more position information.
  • the focus is determined to determine the motor of the mobile phone corresponding to the clearest image on the terminal display screen, and the position of the current motor of the terminal is locked. It is guaranteed that during the movement of the projector motor, the terminal displays the received image under the premise that the display is in focus, which improves the accuracy of the projector focusing.
  • determining the projection parameter that is the clearest of the projected image of the corresponding projector may include the following steps:
  • Step S4022b measuring a first distance from the predetermined terminal to the projected area of the projector, and a second distance from the predetermined terminal to the projector lens, wherein the predetermined terminal may be one of the following: a single camera terminal, a dual camera terminal, and a laser Focus terminal
  • Step S4024b determining an object distance of the projector lens to the plane of the projection area of the projector as a projection parameter, wherein the object distance is a difference between the first distance and the second distance.
  • the object distance As the projection parameter, not only the type of projection parameters is enriched, but also the position of the projector motor by the object distance. Since it is not necessary to acquire the projection image multiple times, the position of the projector motor can be determined by the acquisition of the object distance. This makes it possible to quickly position the projector motor.
  • the highest resolution may be determined as a projection parameter by sorting the data structure table according to the size of the sharpness representation value, so that the projector motor with the highest resolution of the projected image is determined by the projection parameter. position.
  • the projector motor position corresponding to the projection parameter may be determined by: step S4042: searching for the object distance in the depth of field position information comparison table according to the determined object distance
  • the motor position information wherein the depth of field position information comparison table is a data structure table acquired in advance and stored in the projector, and the stored content is a correspondence relationship between the object distance and the projector motor position information, and the projector motor position is a projector At the position of the object distance, the projected image of the projector is the clearest corresponding motor position.
  • the position of the projector motor corresponding to the projection image is obtained, so that the projector can realize autofocus according to the motor position.
  • the image when acquiring the image of the projector, the image may be acquired by a single camera terminal, may be acquired by a dual camera terminal, or may be acquired by a laser focusing terminal, but is not limited thereto.
  • a preferred embodiment of the processing method of the projector is described in connection with a camera of a terminal (for example, a mobile phone) as a single camera scene and a dual camera scene.
  • FIG. 5 is a flowchart of a single camera terminal based projector processing method according to a preferred embodiment of the present invention. As shown in FIG. 5, a single camera mobile phone is taken as an example.
  • Step S502 Turn on the mobile phone, click the auxiliary projector to focus the program, and establish a wireless connection between the mobile phone and the projector, and send related data to each other.
  • FIG. 6 is a schematic diagram of interaction between a mobile phone and a projector according to an alternative embodiment of the present invention. As shown in FIG. 6, the mobile phone and the projector communicate by using a wireless connection.
  • Step S504 The mobile phone camera is turned on, and the projector performs projection (in the macro position or the infinity position after being turned on), and after the steady state is reached, the mobile phone performs auto focus.
  • Step S506 After the mobile phone successfully focuses, the current motor position of the mobile phone is locked.
  • Step S508 input the position of the corresponding projector motor (macro position or infinity position) and the sharpness representation value of the image after the mobile phone autofocus succeeds.
  • Step S5010 The projector moves the motor from the macro position (infinity position) to the infinity position (macro position).
  • Step S5012 the mobile phone camera collects the projection image and the motor position information in the projection area of the projector after each movement of the projector motor, and inputs the acquired projection image into the image sharpness calculation module to calculate the collected projection image.
  • Sharpness Representation Value FIG. 7 is a schematic diagram of interaction between a mobile phone and a sharpness calculation module in accordance with an alternative embodiment of the present invention. Among them, the captured image is collected from unclear to clear, then from clear to unclear.
  • Step S5014 The clarity representation value and the corresponding projector motor position information are correspondingly filled into the table 1 definition representation value and the projector motor position information comparison table.
  • Step S5016 The already formed sharpness representation value and the projector motor position information comparison table are input to the sorting module for sorting.
  • Step S5018 Obtain a projector motor position corresponding to the maximum sharpness representation value according to the sorted sharpness representation value and the projector motor position information comparison table.
  • Step S5020 transmitting the projector motor position information corresponding to the maximum resolution value obtained by the above to the projector. Specifically, as shown in Table 1 above, if it is assumed that the sharpness value is 15000 at x, the mobile phone will This x position information is sent to the projector via the established wireless connection.
  • Step S5022 The projector sends an instruction, the motor moves to the corresponding position, and the projector pushes the motor to the x position to complete the focusing process.
  • Step S5024 Focusing is completed.
  • FIG. 8 is a flowchart of a method for processing a projector based on a dual camera of a terminal according to a preferred embodiment of the present invention. As shown in FIG. 8, a dual camera phone is taken as an example.
  • S802 Place the phone in a fixed position on the projector design, then the distance between the projector lens and the phone is known, which can support the subsequent calculation of the distance from the projector lens to the projected area of the projector.
  • S804 Turn on the mobile phone, click the auxiliary projector focus function, complete the establishment of the wireless connection between the mobile phone and the projector, and provide a channel for ensuring that the subsequent mobile phone sends instructions to the projector.
  • S806 Turn on the mobile phone camera to perform dual camera data acquisition, calculate the distance from the mobile phone to the area where the projector is projected or the mobile phone with laser, and use the laser beam to obtain the distance from the mobile phone to the projection area of the projector (hereinafter referred to as the projection plane). .
  • S808 Calculate the distance from the mobile phone to the plane calculated by S804 minus the fixed distance of the projector lens to the mobile phone in the S802, and obtain the distance from the projector lens to the projection plane, that is, the object distance.
  • S8010 Searching the depth of field position information comparison table according to S806, as shown in Table 2, obtaining the position of the corresponding projector motor position when the projector image is the clearest.
  • S8012 The mobile phone compares the current position of the projector motor with the position of the motor found by S808 to obtain the number of displacements that the motor needs to move.
  • S8014 The mobile phone sends the number of displacements that the motor needs to move to the projector, and the projector controls the motor to move.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • a projector processing device and a terminal are provided, which are used to implement the above embodiments and preferred embodiments, and are not described again.
  • the terms “module” and “unit” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 9 is a structural block diagram of a projector processing apparatus according to an embodiment of the present invention. As shown in FIG. 9, the apparatus includes:
  • a first determining module 92 configured to determine a projection parameter that is the clearest of the projected image of the corresponding projector
  • the second determining module 94 is connected to the first determining module 92, and configured to determine a projector motor position corresponding to the projection parameter according to the projection parameter and the correspondence between the projection parameter and the position of the projector motor;
  • the transmitting module 96 is coupled to the second determining module 94 for transmitting the determined projector motor position to the motor of the projector for instructing the motor to move to the determined projector motor position.
  • FIG. 10 is a block diagram of a preferred structure of a first determining module 92 in a projector processing apparatus according to an alternative embodiment of the present invention.
  • the first determining module 92 includes: a first receiving unit 102, and a second receiving The unit 104, the first determining unit 106 and the second determining unit 108 are respectively described below.
  • the first receiving unit 102 is configured to receive one or more location information of the projector motor movement if the projection parameter is sharpness;
  • the second receiving unit 104 is connected to the first receiving unit 102 for receiving one or more projected images corresponding to one or more position information of the projector motor movement;
  • the first determining unit 106 is connected to the second receiving unit 104, and configured to determine one or more definitions corresponding to the one or more projected images;
  • the second determining unit 108 is connected to the first determining unit 106 for determining the highest resolution as the projection parameter from one or more definitions corresponding to the one or more projected images.
  • FIG. 11 is a block diagram of a preferred structure of the first determining module 92 in the projector processing apparatus according to an alternative embodiment of the present invention.
  • the first determining module 92 includes all the structures shown in FIG. Also included is a recording unit 112, which will be described below.
  • the recording unit 112 is connected to the first receiving unit 102 for focusing on the received projection image according to the projector reaching a steady state after the projection of the projector reaches a steady state, and the terminal display screen is displayed after the focus is successfully recorded.
  • the motor of the predetermined terminal corresponding to the clear image locks the position of the current motor of the predetermined terminal.
  • the projection of the projector to a steady state refers to a state in which the projector is fully activated.
  • FIG. 12 is a block diagram 3 of a preferred structure of the first determining module 92 in the projector processing apparatus according to an alternative embodiment of the present invention.
  • the first determining module 92 includes: a measuring unit 122 and a third determining unit 124. , respectively, explained below.
  • the measuring unit 122 is configured to: when the projection parameter is the object distance, measure a first distance from the predetermined terminal to the projected area of the projector, and a second distance from the predetermined terminal to the projector lens;
  • the third determining unit 124 is connected to the measuring unit 122 for determining the object distance of the projector lens to the plane of the projection area of the projector as a projection parameter, wherein the object distance is a difference between the first distance and the second distance.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • FIG. 13 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • the terminal 130 includes the projector processing device 132 in the above embodiment.
  • the terminal calculates the distance information of the projector lens to the projection area of the projector and the sharpness information of the projected image of the projector according to the information sent by the received projector, and sends the above information to the projector to push the projector motor information,
  • the projector is focused to achieve the projector's auto focus function.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the projection parameter comprises at least one of: a sharpness of a projected image of the projector, and an object distance for identifying a distance of the projector lens to a plane of the projection area of the projector.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the projection parameters determining the clearest projection image of the corresponding projector include:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the method further includes:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the projection parameters determining the clearest projection image of the corresponding projector include:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the predetermined terminal is one of the following: a single camera terminal, a dual camera terminal, and a laser focusing terminal.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs, according to the stored program code in the storage medium, determining a projection parameter that is the clearest of the projection image of the corresponding projector; and corresponding to the projection parameter and the position of the projection motor and the position of the projector motor according to the projection parameter; Relationship, determining a projector motor position corresponding to the projection parameter; transmitting the determined projector motor position to the projector's motor for indicating that the motor is moved to the determined projector motor position.
  • the processor executes according to the stored program code in the storage medium:
  • the projection parameter includes at least one of the following: a sharpness of the projected image of the projector, used to identify the projector lens to the projector projection The object distance of the distance of the area plane.
  • the processor executes according to the stored program code in the storage medium: in the case that the projection parameter is the definition, determining the projection parameter that is the clearest of the projection image of the corresponding projector comprises: receiving the projector One or more positional information corresponding to the movement of the motor; one or more projection images corresponding to one or more positional information of the movement of the projector motor; determining one or more sharpness corresponding to the one or more projected images; from one or The one or more sharpness corresponding to the plurality of projected images determines the highest definition as the projection parameter.
  • the processor executes according to the stored program code in the storage medium: before receiving the one or more position information of the projector motor movement, further comprising: after the projector performs the projection to reach a steady state According to the projector reaching a steady state, the received projection image is used for focusing, and is used for acquiring the projection image of the projector.
  • the processor performs, according to the stored program code in the storage medium, in the case that the projection parameter is the object distance, determining the projection parameter that is the clearest of the projection image of the corresponding projector includes: measuring the predetermined terminal a first distance to the area where the projector is projected, and a second distance from the predetermined terminal to the projector lens; determining an object distance from the projector lens to the plane of the projection area of the projector as a projection parameter, wherein the object distance is the first distance and the first distance The difference between the two distances.
  • the processor executes according to the stored program code in the storage medium:
  • the predetermined terminal is one of: a single camera terminal, a dual camera terminal, and a laser focusing terminal.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the projector processing method, device and terminal of the present application can determine the position of the projector motor corresponding to the projection image and then send it to the projector, and the projector realizes focusing according to the motor position, thereby solving the related art projection
  • the problem of increasing the hardware cost is achieved, and the effect of adjusting the focus of the projector is achieved on the basis of not adding hardware in the projector.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Projection Apparatus (AREA)
  • Automatic Focus Adjustment (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

一种投影仪处理方法、装置及终端,其中,该方法包括确定对应投影仪的投影图像最清晰的投影参数(S402);根据投影参数,以及投影参数与投影仪马达位置的对应关系,确定投影参数对应的投影仪马达位置(S404);将确定的投影仪马达位置发送给投影仪的马达,用于指示马达移动到确定的投影仪马达位置(S406)。通过上述方法、装置及终端,解决了在投影仪中增加新的硬件实现调焦,增加硬件成本的问题,进而达到了在投影仪中不增加硬件的基础上,实现投影仪的自动调焦的效果。

Description

投影仪处理方法、装置及终端
本申请要求于2016年5月3日提交中国专利局、申请号为201610288504.7的中国专利申请的优先权,以上全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,具体而言,涉及一种投影仪处理方法、装置及终端。
背景技术
投影仪的出现,给用户日常生活带来了很大的方便。在工作、生活中,用户可以随心所欲的使用投影仪。但是,在使用投影仪的过程中,为了达到清晰位置,需要反复的调整投影仪镜头,这是一种复杂而重复的过程,降低了用户体验度。
目前,常用到的方法有两种,一种方法是用户手动实现调焦,即用户手动调整投影仪镜头,通过肉眼来确认是否清晰,但是,该方法在每次使用投影仪时,均需要手动旋转镜头,操作繁琐,而且在手动调焦过程中,用户会有总不能调焦到最清晰位置的错觉;另一种方法是投影仪自动调焦,即在投影仪中增加一个辅助摄像头,通过摄像头来确认清晰度,再来推动投影仪马达实现调焦,但是,该方法在投影仪中增加了新的硬件,这样会增加硬件成本,并且增加投影仪的功耗和制作工艺难度,减少了产品的美观程度。
针对上述的问题,目前并没未提出相关的解决方案。
发明内容
本发明实施例提供了一种投影仪处理方法、装置及终端,以至少解决相关技术中实现投影仪马达调焦,需要增加硬件成本的问题。
根据本发明的一个实施例,提供了一种投影仪处理方法,包括:确定对应投影仪的投影图像最清晰的投影参数;根据所述投影参数,以及投影参数与投影仪马达位置的对应关系,确定所述投影参数对应的投影仪马达位置;将确定的所述投影仪马达位置发送给所述投影仪的马达,用于指示所述马达移动到确定的所述投影仪马达位置。
可选地,所述投影参数包括以下至少之一:所述投影仪的投影图像的清晰度,用于标识所述投影仪镜头到所述投影仪投影区域平面的距离的物距。
可选地,在所述投影参数为所述清晰度的情况下,确定对应所述投影仪的所述投影图像最清晰的所述投影参数包括:接收投影仪马达移动的一个或多个位置信息;接收所述投影仪马达移动的所述一个或多个位置信息对应的一个或多个投影图像;确定所述一个或多个投影图像对应的一个或多个清晰度;从所述一个或多个投影图像对应的一个或多个清晰度确定最高清晰度为所述投影参数。
可选地,在接收所述投影仪马达移动的所述一个或多个位置信息之前,还包括:在所述投影仪进行投影达到稳定状态后,根据所述投影仪达到稳定状态对应接收到的投影图像进行对焦,用于获取投影仪的投影图像。
可选地,在所述投影参数为所述物距的情况下,确定对应所述投影仪的所述投影图像最清晰的所述投影参数包括,测量预定终端到所述投影仪所投区域的第一距离,以及所述预定终端到所述投影仪镜头的第二距离;确定所述投影仪镜头到所述投影仪投影区域平面的物距为所述投影参数,其中,所述物距为所述第一距离与所述第二距离的差值。
可选地,所述预定终端为以下之一:单摄像头终端、双摄像头终端,和激光对焦终端。
根据本发明的另一个实施例,提供了一种投影仪处理装置,包括:第一确定模块,用于确定对应投影仪的投影图像最清晰的投影参数;第二确定模块,用于根据所述投影参数,以及投影参数与投影仪马达位置的对应关系,确定所述投影参数对应的投影仪马达位置;发送模块,用于将确定的所述投影仪马达位置发送给所述投影仪的马达,用于指示所述马达移动到确定的所述投影仪马达位置。
可选地,所述第一确定模块包括:第一接收单元,用于在所述投影参数为清晰度的情况下,接收投影仪马达移动的一个或多个位置信息;第二接收单元,用于接收所述投影仪马达移动的所述一个或多个位置信息对应的一个或多个投影图像;第一确定单元,用于确定所述一个或多个投影图像对应的一个或多个清晰度;第二确定单元,用于从所述一个或多个投影图像对应的一个或多个清晰度确定最高清晰度为所述投影参数。
可选地,还包括:记录单元,用于在所述投影仪进行投影达到稳定状态后,根据所述投影仪达到稳定状态对应接收到的投影图像进行对焦,用于获取投影仪的投影图像。
可选地,所述第一确定模块包括,测量单元,用于在所述投影参数为所述物距的情况下,测量预定终端到所述投影仪所投区域的第一距离,以及所述预定终端到所述投影仪镜头的第二距离;第三确定单元,用于确定所述投影仪镜头到所述投影仪投影区域平面的物距为所述投影参数,其中,所述物距为所述第一距离与所述第二距离的差值。
根据本发明的又一个实施例,还提供了一种终端。该终端包括上述实施例中的投影仪处理装置。
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:确定对应投影仪的投影图像最清晰的投影参数;根据所述投影参数,以及投影参数与投影仪马达位置的对应关系,确定所述投影参数对应的投影仪马达位置;将确定的所述投影仪马达位置发送给所述投影仪的马达,用于指示所述马达移动到确定的所述投影仪马达位置。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:所述投影参数包括以下至少之一:所述投影仪的投影图像的清晰度,用于标识所述投影仪镜头到所述投影仪投影区域平面的距离的物距。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在所述投影参数为 所述清晰度的情况下,确定对应所述投影仪的所述投影图像最清晰的所述投影参数包括:接收投影仪马达移动的一个或多个位置信息;接收所述投影仪马达移动的所述一个或多个位置信息对应的一个或多个投影图像;确定所述一个或多个投影图像对应的一个或多个清晰度;从所述一个或多个投影图像对应的一个或多个清晰度确定最高清晰度为所述投影参数。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在接收所述投影仪马达移动的所述一个或多个位置信息之前,还包括:在所述投影仪进行投影达到稳定状态后,根据所述投影仪达到稳定状态对应接收到的投影图像进行对焦,用于获取投影仪的投影图像。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在所述投影参数为所述物距的情况下,确定对应所述投影仪的所述投影图像最清晰的所述投影参数包括:测量预定终端到所述投影仪所投区域的第一距离,以及所述预定终端到所述投影仪镜头的第二距离;确定所述投影仪镜头到所述投影仪投影区域平面的物距为所述投影参数,其中,所述物距为所述第一距离与所述第二距离的差值。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码所述预定终端为以下之一:单摄像头终端、双摄像头终端,和激光对焦终端。
通过本发明,由于确定对应投影仪的投影图像最清晰的投影参数;根据所述投影参数,以及投影参数与投影仪马达位置的对应关系,确定所述投影参数对应的投影仪马达位置;将确定的所述投影仪马达位置发送给所述投影仪的马达,用于指示所述马达移动到确定的所述投影仪马达位置,因此,通过确定投影图像最清晰对应的投影仪马达位置,然后将其发送给该投影仪,该投影仪根据该马达位置实现对焦,通过上述方法可以解决相关技术投影仪调焦技术中,增加硬件成本的问题,达到在投影仪中不增加硬件的基础上,实现投影仪调焦的效果。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种投影仪处理方法的移动终端的硬件结构框图;
图2是根据本发明实施例的终端、投影仪和投影仪所投区域的位置关系图一;
图3是根据本发明实施例的终端、投影仪和投影仪所投区域的位置关系图二;
图4是根据本发明实施例的投影仪处理方法的流程图;
图5是根据本发明优选实施例的基于单摄像头终端的投影仪处理方法的流程图;
图6是根据本发明可选实施例的手机与投影仪交互示意图;
图7是根据本发明可选实施例的手机与清晰度计算模块交互示意图;
图8是根据本发明优选实施例的基于终端双摄像头的投影仪处理方法的流程图;
图9是根据本发明实施例的投影仪处理装置的结构框图;
图10是根据本发明可选实施例的投影仪处理装置中第一确定模块92的优选结构框图一;
图11是根据本发明可选实施例的投影仪处理装置中第一确定模块92的优选结构框图二;
图12是根据本发明可选实施例的投影仪处理装置中第一确定模块92的优选结构框图三;
图13是根据本发明实施例的终端的结构框图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行,以运行在移动终端上为例。图1是根据本发明实施例的一种投影仪处理方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可用于存储应用软件的软件程序以及模块,如本发明实施例中的投影仪处理方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。
需要说明的是,上述实施例所示的终端可以包含两部分,一是硬件模块,二是软件系统。其中,硬件模块:即带无线传输模块、带单摄像头的终端(例如,可以是手机)或者双摄像头的终端(手机)或者带激光对焦的终端(手机)(不局限于这些种类的手机)等。软件系统:包括辅助投影仪对焦程序、无线传输系统、记录距离信息和清晰度信息的表格、图像清晰度表征计算模块、排序模块等。
图2是根据本发明实施例的终端、投影仪和投影仪所投区域的位置关系图一。图3是根据本发明实施例的终端、投影仪和投影仪所投区域的位置关系图二。如图2和3所示,将投影仪放置在所需位置,对准所投区域,打开投影仪,将马达放置在微距位置或者无穷远位置。点亮终端屏幕,点击桌面辅助投影仪对焦按钮,终端与投影仪建立无线连接。终端摄像头打开,对准投影仪所投区域。
另外,本领域普通技术人员可以理解,图2和图3所示的位置关系仅为示意,其并不对上述终端、投影仪和投影仪所投区域的位置关系造成限定。例如,终端可以放置在投影仪和投影仪所投区域之间。
图4是根据本发明实施例的投影仪处理方法的流程图,如图4所示,该方法主要包括以下步骤(步骤402-步骤406):
步骤S402:确定对应投影仪的投影图像最清晰的投影参数;可选地,该投影参数可以包括以下至少之一:投影仪的投影图像的清晰度,用于标识投影仪镜头到投影仪投影区域平面的距离的物距。
步骤S404:根据投影参数,以及投影参数与投影仪马达位置的对应关系,确定投影参数对应的投影仪马达位置;
步骤S406:将确定的投影仪马达位置发送给投影仪的马达,用于指示马达移动到确定的投影仪马达位置。
通过上述步骤,可以解决相关技术投影仪调焦技术中,在投影仪中增加新的硬件实现调焦,增加硬件成本、投影仪的功耗和制作工艺难度的问题,达到在投影仪中不增加硬件的基础上,实现投影仪的调焦的效果。
在确定对应投影仪的投影图像最清晰的投影参数时,依据具体参数不同,可以采用不同的方式,下面对所采用的不同方式分别说明。
例如,在投影参数为清晰度的情况下,确定对应投影仪的投影图像最清晰的投影参数可以包括以下步骤:
步骤S4022a:接收投影仪马达移动的一个或多个位置信息;可选地,上述投影仪马达移动的一个或多个位置信息可以存储在数据结构表中,为后续确定最清晰的投影参数确对应的投影仪马达位置做准备。
步骤S4024a:接收投影仪马达移动的一个或多个位置信息对应的一个或多个投影图像;
步骤S4026a:确定一个或多个投影图像对应的一个或多个清晰度;
可选地,上述一个或多个清晰度可以是根据投影图像计算得到的投影图像信息的清晰度表征值,并且该清晰度表征值可以存储在数据结构表中,其中,该数据结构表即存储了投影仪马达移动的一个或多个位置信息的数据结构表。
步骤S4028a:从一个或多个投影图像对应的一个或多个清晰度确定最高清晰度为投影参数。
通过上述依据清晰度参数来确定投影仪的投影图像最清晰的投影参数,可以更直观地体现投影仪需要移动的位置。
为使得从投影仪获取到的投影图像更为准确,清晰,可以在接收投影仪马达移动的一个或多个位置信息之前,对接收投影仪图像的设备进行调焦。例如,在步骤S4022a之前,还包括:步骤S4020:在投影仪进行投影达到稳定状态后,根据投影仪达到稳定状态对应接收到的投影图像进行对焦,用于获取投影仪的投影图像。其中,投影仪进行投影达到稳定状态指的是投影仪完全启动的状态。同时,记录对焦成功后投影仪马达对应的微距位置或者对应的无穷远位置,该微距位置或者无穷远位置为一个或多个位置信息对应的位置的起始位置。
通过上述步骤,在投影仪马达开始移动前,根据投影仪达到稳定状态对应接收到的投影图像进行对焦确定出终端显示屏显示最清晰图像对应的手机的马达,并锁定终端当前马达的位置,可以保证在投影仪马达移动过程中,终端均在显示屏对焦最好的前提下,显示接收到的图像,提高了投影仪调焦的精度。
又例如,在投影参数为物距的情况下,确定对应投影仪的投影图像最清晰的投影参数可以包括以下步骤:
步骤S4022b:测量预定终端到投影仪所投区域的第一距离,以及预定终端到投影仪镜头的第二距离,其中,该预定终端可以为以下之一:单摄像头终端、双摄像头终端,和激光对焦终端;
步骤S4024b:确定投影仪镜头到投影仪投影区域平面的物距为投影参数,其中,物距为第一距离与第二距离的差值。
通过采用物距作为投影参数,不仅丰富了投影参数的种类,而且通过物距来投影仪马达位置,由于不需要多次获取投影图像,可能通过一次物距的获取就能够确定投影仪马达位置,因而能够实现快速定位投影仪马达位置。
可选地,根据投影参数,以及投影参数与投影仪马达位置的对应关系,确定投影参数对应的投影仪马达位置时,也可以依据投影参数的不同采用不同的处理:
例如,在投影参数为清晰度的情况下,可以通过对数据结构表按清晰度表征值大小进行排序确定最高清晰度为投影参数,以便通过该投影参数确定投影图像清晰度最高对应的投影仪马达位置。
又例如,在投影参数为物距的情况下,可以通过以下方式来确定投影参数对应的投影仪马达位置:步骤S4042:根据确定的物距,在景深位置信息对照表中查找与该物距对应 的马达位置信息,其中,景深位置信息对照表是预先获取并存储在投影仪中的数据结构表,存储的内容是物距和投影仪马达位置信息的对应关系,该投影仪马达位置为投影仪在该物距的位置上,投影仪的投影图像最清晰所对应的马达位置。
通过上述步骤,获取了投影图像最清晰时所对应的投影仪马达位置,使得投影仪可以根据该马达位置实现自动对焦。
需要说明的是,获取上述投影仪图像时,可以通过多种方式,例如,可以通过单摄像头终端来获取、可以通过双摄像头终端来获取,还可以通过激光对焦终端来获取,但不限于此。
下面分别结合终端(例如手机)的摄像头为单摄像头场景,以及双摄像头场景说明投影仪的处理方法的优选实施例。
图5是根据本发明优选实施例的基于单摄像头终端的投影仪处理方法的流程图,如图5所示,以单摄像头手机为例。
步骤S502:打开手机,点击辅助投影仪对焦程序,手机和投影仪建立无线连接,可以互相发送相关数据。图6是根据本发明可选实施例的手机与投影仪交互示意图,如图6所示,手机与投影仪采用无线连接进行通信。
步骤S504:手机摄像头开启,投影仪进行投影(开启后在微距位置或者无穷远位置),待达到稳定状态后,手机进行自动对焦。
步骤S506:手机对焦成功后,锁定手机的当前马达位置。
步骤S508:输入对应的投影仪马达所在位置(微距位置或无穷远位置)和手机自动对焦成功后的图像的清晰度表征值。
步骤S5010:投影仪从微距位置(无穷远位置)移动马达到无穷远位置(微距位置)。
步骤S5012:手机摄像头采集投影仪马达每步移动后的在投影仪所投区域中的投影图像及马达位置信息,并将采集到的投影图像输入图像清晰度计算模块,计算采集到的投影图像的清晰度表征值,图7是根据本发明可选实施例的手机与清晰度计算模块交互示意图。其中,采集到投影图像由不清晰到清晰、再由清晰到不清晰。
步骤S5014:将清晰度表征值和对应的投影仪马达位置信息对应填入表1清晰度表征值和投影仪马达位置信息对照表中。
表1清晰度表征值和投影仪马达位置信息对照表
投影仪马达位置信息 清晰度表征值
0 100
4 150
8 200
x 15000
y 180
步骤S5016:将已经形成的清晰度表征值和投影仪马达位置信息对照表输入到排序模块进行排序。
步骤S5018:根据排序后的清晰度表征值和投影仪马达位置信息对照表得到清晰度表征值最大对应的投影仪马达位置。
步骤S5020:将上述得到清晰度表征值最大对应的投影仪马达位置信息,发送给投影仪,具体的,如上述表1所示,如果假设在x处得到清晰度值为15000时最大,手机将此x位置信息,通过建立的无线连接下发给投影仪。
步骤S5022:投影仪发送指令,马达移动到相应位置,投影仪推动马达到x位置,完成对焦过程。
步骤S5024:调焦完成。
图8是根据本发明优选实施例的基于终端双摄像头的投影仪处理方法的流程图,如图8所示,以双摄像头手机为例。
S802:将手机放置在投影仪设计的固定位置,那么投影仪镜头和手机之间的距离是已知的,可以为之后计算投影仪镜头到投影仪所投区域的距离提供支持。
S804:打开手机,点击辅助投影仪对焦功能,完成手机与投影仪的无线连接的建立,为确保后续手机向投影仪下发指令提供通道。
S806:打开手机摄像头,进行双摄像头数据采集,可以计算出手机到投影仪所投区域的距离或者带有激光的手机,使用激光束获取手机到投影仪所投区域(以下简称投影平面)的距离。
S808:通过S804计算所得手机到平面的距离减去S802中投影仪镜头到手机的固定距离,可以得到投影仪镜头到投影平面的距离,即物距。
S8010:根据S806查找景深位置信息对照表,如表2所示,得到投影仪图像最清晰时对应的投影仪马达位置所在的位置。
S8012:手机将投影仪马达目前所在位置和S808查找出的马达位置做差值,得到马达需要移动的位移数。
表2景深位置信息对照表
投影仪马达位置信息 物距信息(cm)
0 10
4 11
8 12
x 120
y 300
S8014:手机向投影仪发送马达所需要移动的位移数,投影仪控制马达移动。
S8016:调焦完成。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。
实施例2
在本实施例中还提供了一种投影仪处理装置及终端,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”和“单元”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图9是根据本发明实施例的投影仪处理装置的结构框图,如图9所示,该装置包括:
第一确定模块92,用于确定对应投影仪的投影图像最清晰的投影参数;
第二确定模块94,连接至上述第一确定模块92,用于根据投影参数,以及投影参数与投影仪马达位置的对应关系,确定投影参数对应的投影仪马达位置;
发送模块96,连接至上述第二确定模块94,用于将确定的投影仪马达位置发送给投影仪的马达,用于指示马达移动到确定的投影仪马达位置。
图10是根据本发明可选实施例的投影仪处理装置中第一确定模块92的优选结构框图一,如图10所示,该第一确定模块92包括:第一接收单元102,第二接收单元104,第一确定单元106和第二确定单元108,下面分别说明。
第一接收单元102,用于在投影参数为清晰度的情况下,接收投影仪马达移动的一个或多个位置信息;
第二接收单元104,连接至上述第一接收单元102,用于接收投影仪马达移动的一个或多个位置信息对应的一个或多个投影图像;
第一确定单元106,连接至上述第二接收单元104,用于确定一个或多个投影图像对应的一个或多个清晰度;
第二确定单元108,连接至上述第一确定单元106,用于从一个或多个投影图像对应的一个或多个清晰度确定最高清晰度为投影参数。
图11是根据本发明可选实施例的投影仪处理装置中第一确定模块92的优选结构框图二,如图11所示,该第一确定模块92除包括图10所示的所有结构外,还包括:记录单元112,下面对该记录单元112进行说明。
记录单元112,连接至上述第一接收单元102,用于在投影仪进行投影达到稳定状态后,根据投影仪达到稳定状态对应接收到的投影图像进行对焦,并记录对焦成功后终端显示屏显示最清晰图像对应的预定终端的马达,锁定预定终端当前马达的位置。其中,投影仪进行投影达到稳定状态指的是投影仪完全启动的状态。
图12是根据本发明可选实施例的投影仪处理装置中第一确定模块92的优选结构框图三,如图12所示,该第一确定模块92包括:测量单元122和第三确定单元124,下面分别说明。
测量单元122,用于在投影参数为物距的情况下,测量预定终端到投影仪所投区域的第一距离,以及预定终端到投影仪镜头的第二距离;
第三确定单元124,连接至上述测量单元122,用于确定投影仪镜头到投影仪投影区域平面的物距为投影参数,其中,物距为第一距离与第二距离的差值。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
在本实施例中还提供了一种终端,图13是根据本发明实施例的终端的结构框图,如图13所示,该终端130包括上述实施例中的投影仪处理装置132。终端根据接收到的投影仪发送的信息计算投影仪镜头到投影仪投影区域平面的距离信息和投影仪的投影图像的清晰度信息,并将上述信息向投影仪下发推动投影仪马达信息,对投影仪进行调焦,以达到投影仪自动对焦功能。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,确定对应投影仪的投影图像最清晰的投影参数;
S2,根据投影参数,以及投影参数与投影仪马达位置的对应关系,确定投影参数对应的投影仪马达位置;
S3,将确定的投影仪马达位置发送给投影仪的马达,用于指示马达移动到确定的投影仪马达位置。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
S1,投影参数包括以下至少之一:投影仪的投影图像的清晰度,用于标识投影仪镜头到投影仪投影区域平面的距离的物距。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
在投影参数为清晰度的情况下,确定对应投影仪的投影图像最清晰的投影参数包括:
S1,接收投影仪马达移动的一个或多个位置信息;
S2,接收投影仪马达移动的一个或多个位置信息对应的一个或多个投影图像;
S3,确定一个或多个投影图像对应的一个或多个清晰度;
S4,从一个或多个投影图像对应的一个或多个清晰度确定最高清晰度为投影参数。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
在接收投影仪马达移动的一个或多个位置信息之前,还包括:
S1,在投影仪进行投影达到稳定状态后,根据投影仪达到稳定状态对应接收到的投影图像进行对焦,用于获取投影仪的投影图像。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
在投影参数为物距的情况下,确定对应投影仪的投影图像最清晰的投影参数包括:
S1,测量预定终端到投影仪所投区域的第一距离,以及预定终端到投影仪镜头的第二距离;
S2,确定投影仪镜头到投影仪投影区域平面的物距为投影参数,其中,物距为第一距离与第二距离的差值。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
S1,预定终端为以下之一:单摄像头终端、双摄像头终端,和激光对焦终端。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:确定对应投影仪的投影图像最清晰的投影参数;根据投影参数,以及投影参数与投影仪马达位置的对应关系,确定投影参数对应的投影仪马达位置;将确定的投影仪马达位置发送给投影仪的马达,用于指示马达移动到确定的投影仪马达位置。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:投影参数包括以下至少之一:投影仪的投影图像的清晰度,用于标识投影仪镜头到投影仪投影区域平面的距离的物距。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在投影参数为清晰度的情况下,确定对应投影仪的投影图像最清晰的投影参数包括:接收投影仪马达移动的一个或多个位置信息;接收投影仪马达移动的一个或多个位置信息对应的一个或多个投影图像;确定一个或多个投影图像对应的一个或多个清晰度;从一个或多个投影图像对应的一个或多个清晰度确定最高清晰度为投影参数。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在接收投影仪马达移动的一个或多个位置信息之前,还包括:在投影仪进行投影达到稳定状态后,根据投影仪达到稳定状态对应接收到的投影图像进行对焦,用于获取投影仪的投影图像。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在投影参数为物距的情况下,确定对应投影仪的投影图像最清晰的投影参数包括,测量预定终端到投影仪所投区域的第一距离,以及预定终端到投影仪镜头的第二距离;确定投影仪镜头到投影仪投影区域平面的物距为投影参数,其中,物距为第一距离与第二距离的差值。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:预定终端为以下之一:单摄像头终端、双摄像头终端,和激光对焦终端。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本申请投影仪处理方法、装置及终端,通过确定投影图像最清晰对应的投影仪马达位置,然后将其发送给该投影仪,该投影仪根据该马达位置实现对焦,由此可以解决相关技术投影仪调焦技术中,增加硬件成本的问题,达到在投影仪中不增加硬件的基础上,实现投影仪调焦的效果。

Claims (11)

  1. 一种投影仪处理方法,其中,包括:
    确定对应投影仪的投影图像最清晰的投影参数;
    根据所述投影参数,以及投影参数与投影仪马达位置的对应关系,确定所述投影参数对应的投影仪马达位置;
    将确定的所述投影仪马达位置发送给所述投影仪的马达,用于指示所述马达移动到确定的所述投影仪马达位置。
  2. 根据权利要求1所述的方法,其中,所述投影参数包括以下至少之一:所述投影仪的投影图像的清晰度,用于标识投影仪镜头到所述投影仪投影区域平面的距离的物距。
  3. 根据权利要求2所述的方法,其中,在所述投影参数为所述清晰度的情况下,确定对应所述投影仪的所述投影图像最清晰的所述投影参数包括:
    接收投影仪马达移动的一个或多个位置信息;
    接收所述投影仪马达移动的所述一个或多个位置信息对应的一个或多个投影图像;
    确定所述一个或多个投影图像对应的一个或多个清晰度;
    从所述一个或多个投影图像对应的一个或多个清晰度确定最高清晰度为所述投影参数。
  4. 根据权利要求3所述的方法,其中,在接收所述投影仪马达移动的所述一个或多个位置信息之前,还包括:
    在所述投影仪进行投影达到稳定状态后,根据所述投影仪达到稳定状态对应接收到的投影图像进行对焦,用于获取投影仪的投影图像。
  5. 根据权利要求2所述的方法,其中,在所述投影参数为所述物距的情况下,确定对应所述投影仪的所述投影图像最清晰的所述投影参数包括:
    测量预定终端到所述投影仪所投区域的第一距离,以及所述预定终端到所述投影仪镜头的第二距离;
    确定所述投影仪镜头到所述投影仪投影区域平面的物距为所述投影参数,其中,所述物距为所述第一距离与所述第二距离的差值。
  6. 根据权利要求5所述的方法,其中,所述预定终端为以下之一:单摄像头终端、双摄像头终端,和激光对焦终端。
  7. 一种投影仪处理装置,其中,包括:
    第一确定模块,设置为确定对应投影仪的投影图像最清晰的投影参数;
    第二确定模块,设置为根据所述投影参数,以及投影参数与投影仪马达位置的对应关系,确定所述投影参数对应的投影仪马达位置;
    发送模块,设置为将确定的所述投影仪马达位置发送给所述投影仪的马达,用于指示 所述马达移动到确定的所述投影仪马达位置。
  8. 根据权利要求7所述的装置,其中,所述第一确定模块包括:
    第一接收单元,设置为在所述投影参数为清晰度的情况下,接收投影仪马达移动的一个或多个位置信息;
    第二接收单元,设置为接收所述投影仪马达移动的所述一个或多个位置信息对应的一个或多个投影图像;
    第一确定单元,设置为确定所述一个或多个投影图像对应的一个或多个清晰度;
    第二确定单元,设置为从所述一个或多个投影图像对应的一个或多个清晰度确定最高清晰度为所述投影参数。
  9. 根据权利要求8所述的装置,其中,所述第一确定模块包括还包括:
    记录单元,设置为在所述投影仪进行投影达到稳定状态后,根据所述投影仪达到稳定状态对应接收到的投影图像进行对焦,获取投影仪的投影图像。
  10. 根据权利要求7所述的装置,其中,所述第一确定模块包括:
    测量单元,设置为在所述投影参数为物距的情况下,测量预定终端到所述投影仪所投区域的第一距离,以及所述预定终端到所述投影仪镜头的第二距离;
    第三确定单元,设置为确定所述投影仪镜头到所述投影仪投影区域平面的物距为所述投影参数,其中,所述物距为所述第一距离与所述第二距离的差值。
  11. 一种终端,其中,包括权利要求7至10中任一项所述的装置。
PCT/CN2016/085061 2016-05-03 2016-06-07 投影仪处理方法、装置及终端 WO2017190400A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610288504.7A CN107343184A (zh) 2016-05-03 2016-05-03 投影仪处理方法、装置及终端
CN201610288504.7 2016-05-03

Publications (1)

Publication Number Publication Date
WO2017190400A1 true WO2017190400A1 (zh) 2017-11-09

Family

ID=60202516

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085061 WO2017190400A1 (zh) 2016-05-03 2016-06-07 投影仪处理方法、装置及终端

Country Status (2)

Country Link
CN (1) CN107343184A (zh)
WO (1) WO2017190400A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709430A (zh) * 2021-07-23 2021-11-26 深圳市金研微科技有限公司 一种投影机自动无感对焦的方法和装置
CN114415459A (zh) * 2022-01-21 2022-04-29 广州瑞格尔电子有限公司 一种投影仪侧投影调整方法和调整装置

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911612B (zh) * 2017-12-22 2020-02-07 神思电子技术股份有限公司 一种摄像机自动聚焦方法和装置
CN108924522A (zh) * 2018-06-22 2018-11-30 四川长虹电器股份有限公司 一种超短焦投影设备的自动对焦装置及其使用方法
CN109040722A (zh) * 2018-07-23 2018-12-18 四川长虹电器股份有限公司 手机实现超短焦投影机自动对焦的系统及其实现方法
CN109151326A (zh) * 2018-10-26 2019-01-04 深圳鳍源科技有限公司 一种运动相机对焦方法、装置、运动相机及存储介质
CN109581800B (zh) * 2018-12-04 2021-09-21 广景视睿科技(深圳)有限公司 一种自动对焦方法、装置和投影仪
CN110177264A (zh) * 2019-06-03 2019-08-27 歌尔股份有限公司 清晰度检测方法及检测装置
CN110418123A (zh) * 2019-08-01 2019-11-05 成都极米科技股份有限公司 基于辅助工具的对焦方法、辅助工具及投影系统
CN110996085A (zh) * 2019-12-26 2020-04-10 成都极米科技股份有限公司 一种投影仪调焦方法、投影仪调焦装置和投影仪
CN111010556B (zh) * 2019-12-27 2022-02-11 成都极米科技股份有限公司 投影双向热失焦补偿的方法、装置及可读存储介质
CN111182282B (zh) * 2019-12-30 2022-03-29 成都极米科技股份有限公司 检测投影对焦区域的方法、装置和投影仪
CN113934098A (zh) * 2020-07-13 2022-01-14 深圳光峰科技股份有限公司 投影设备、投影设备的自动对焦方法以及装置
CN111787297B (zh) * 2020-08-03 2022-04-29 成都极米科技股份有限公司 空行程校准方法、自动对焦方法、装置及存储介质
CN112437283B (zh) * 2020-11-09 2022-06-10 广景视睿科技(深圳)有限公司 一种调整投影抖动的方法和系统
CN112925158A (zh) * 2021-01-25 2021-06-08 四川长虹电器股份有限公司 一种投影设备调焦方法、计算机设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1737631A (zh) * 2004-08-20 2006-02-22 中强光电股份有限公司 光学调整装置
JP2006084991A (ja) * 2004-09-17 2006-03-30 Canon Inc 投射装置
US20110181736A1 (en) * 2010-01-27 2011-07-28 Elmo Company, Limited Presentation device
CN102466958A (zh) * 2010-11-10 2012-05-23 旭丽电子(广州)有限公司 具有摄影成像功能的运算装置及其投影自动对焦方法
CN104570568A (zh) * 2014-12-19 2015-04-29 神画科技(深圳)有限公司 投影仪自动调焦方法
CN104570569A (zh) * 2015-01-27 2015-04-29 神画科技(深圳)有限公司 基于传感器的投影仪自动调焦方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330928C (zh) * 2005-12-29 2007-08-08 清华紫光股份有限公司 一种采用双波长结构光测量物体轮廓的方法
US9121692B2 (en) * 2013-03-13 2015-09-01 Trimble Navigation Limited Method and apparatus for projection of BIM information
CN103677274B (zh) * 2013-12-24 2016-08-24 广东威创视讯科技股份有限公司 一种基于主动视觉的互动投影方法及系统
CN104536249B (zh) * 2015-01-16 2016-08-24 努比亚技术有限公司 调节投影仪焦距的方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1737631A (zh) * 2004-08-20 2006-02-22 中强光电股份有限公司 光学调整装置
JP2006084991A (ja) * 2004-09-17 2006-03-30 Canon Inc 投射装置
US20110181736A1 (en) * 2010-01-27 2011-07-28 Elmo Company, Limited Presentation device
CN102466958A (zh) * 2010-11-10 2012-05-23 旭丽电子(广州)有限公司 具有摄影成像功能的运算装置及其投影自动对焦方法
CN104570568A (zh) * 2014-12-19 2015-04-29 神画科技(深圳)有限公司 投影仪自动调焦方法
CN104570569A (zh) * 2015-01-27 2015-04-29 神画科技(深圳)有限公司 基于传感器的投影仪自动调焦方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709430A (zh) * 2021-07-23 2021-11-26 深圳市金研微科技有限公司 一种投影机自动无感对焦的方法和装置
CN114415459A (zh) * 2022-01-21 2022-04-29 广州瑞格尔电子有限公司 一种投影仪侧投影调整方法和调整装置
CN114415459B (zh) * 2022-01-21 2024-05-14 广州瑞格尔电子有限公司 一种投影仪侧投影调整方法和调整装置

Also Published As

Publication number Publication date
CN107343184A (zh) 2017-11-10

Similar Documents

Publication Publication Date Title
WO2017190400A1 (zh) 投影仪处理方法、装置及终端
US11190743B2 (en) Content presentation method, content presentation mode push method, and intelligent terminal
CN106572303B (zh) 一种图片处理方法及终端
WO2017185562A1 (zh) 投影对焦的方法及装置
KR101767203B1 (ko) 스마트 기기의 음성 제어 방법, 장치, 제어 기기, 스마트 기기, 프로그램 및 컴퓨터가 판독가능한 기록매체
KR101678483B1 (ko) 자동 핀트 맞춤 방법, 장치, 프로그램 및 기록매체
JP6081440B2 (ja) スマートグラスに基づくプロンプティングのための方法及び装置
US20160295625A1 (en) Method and apparatus for network access
CN109495686B (zh) 拍摄方法及设备
CN105554064B (zh) 设置头像的方法及装置
CN104735348B (zh) 双摄像头拍照方法和系统
US11457437B2 (en) Method and apparatus for configuring information, base station and user equipment
US20190151992A1 (en) Laser marking system with through-the-lens autofocus
EP3171293A1 (en) Method and device for controlling intelligent equipment
EP3316582A1 (en) Multimedia information processing method and system, standardized server and live broadcast terminal
CN104333702A (zh) 一种自动对焦的方法、装置及终端
US20160323499A1 (en) Method and apparatus for forming images and electronic equipment
KR20160079762A (ko) 라우터 설정 인터페이스 표시 방법, 장치, 프로그램 및 기록매체
CN102272673A (zh) 用于为本人自动拍摄照片的方法、装置和计算机程序产品
US9392190B2 (en) Method and device for acquiring image
CN103118231A (zh) 一种图像数据处理方法及相关设备
WO2017088662A1 (zh) 对焦方法和装置
CN110868632B (zh) 视频处理方法、装置、存储介质及电子设备
US11792518B2 (en) Method and apparatus for processing image
US8774556B2 (en) Perspective correction using a reflection

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16900922

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900922

Country of ref document: EP

Kind code of ref document: A1