CN111225196A - Focusing test method and device - Google Patents

Focusing test method and device Download PDF

Info

Publication number
CN111225196A
CN111225196A CN201811418042.1A CN201811418042A CN111225196A CN 111225196 A CN111225196 A CN 111225196A CN 201811418042 A CN201811418042 A CN 201811418042A CN 111225196 A CN111225196 A CN 111225196A
Authority
CN
China
Prior art keywords
focusing
image
projection
time
projection equipment
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.)
Granted
Application number
CN201811418042.1A
Other languages
Chinese (zh)
Other versions
CN111225196B (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.)
Whaley Technology Co Ltd
Original Assignee
Whaley Technology 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 Whaley Technology Co Ltd filed Critical Whaley Technology Co Ltd
Priority to CN201811418042.1A priority Critical patent/CN111225196B/en
Publication of CN111225196A publication Critical patent/CN111225196A/en
Application granted granted Critical
Publication of CN111225196B publication Critical patent/CN111225196B/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/3191Testing thereof

Abstract

The invention provides a focusing test method and a focusing test device, which are used for carrying out focusing test on projection equipment. The method comprises the following steps: controlling the projection equipment to carry out automatic focusing for multiple times based on a predetermined optimal focus, and recording focusing time consumption when focusing is successful each time; acquiring a shot image corresponding to a projection picture when the projection equipment successfully focuses every time, and obtaining image sharpness information of the projection equipment based on the corresponding shot image; generating a corresponding sharpness fluctuation curve and a corresponding sharpness consuming curve according to the focusing times in the first time period, the focusing consuming time of each time and the image sharpness information; and analyzing the acutance fluctuation curve and the focusing time-consuming curve to obtain the focusing stability of the projection equipment. The method has the advantages of high automation degree, low human resource consumption, high testing efficiency and high testing precision, can quickly and accurately test the focusing data of the projection equipment, provides accurate data basis for the improvement of the projection equipment, and promotes the improvement of products.

Description

Focusing test method and device
Technical Field
The invention relates to the technical field of projection equipment testing, in particular to a focusing testing method and device.
Background
With the continuous development of scientific technology, the application of projection equipment is more and more extensive, but as the focusing requirement of a client on the projection equipment is higher and higher, a manufacturer needs to more accurately test the focusing condition (for example, the speed and the state stability of automatic focusing, the thermal defocusing degree and the like) of the produced projection equipment in the use process. However, in the existing focusing condition testing method, a tester needs to perform a focusing test on each projection device by observing the projection device with human eyes to obtain the focusing condition of the corresponding projection device during the use process. The focusing test scheme has the advantages of large human resource consumption, low overall test efficiency and incapability of quickly completing the focusing test of the projection equipment, and the whole test process is mainly based on the subjective judgment of testers, so that the test precision is not high, the focusing condition of the projection equipment cannot be accurately tested, the focusing condition cannot be accurately reproduced, and great obstruction is caused to the product improvement process of product developers.
Disclosure of Invention
In order to overcome the above-mentioned deficiencies in the prior art, the present invention provides a focus testing method and apparatus. The focusing test method is high in automation degree, low in human resource consumption, high in test efficiency and high in test precision, can test the focusing data of the projection equipment quickly and accurately, provides an accurate data basis for improvement of the projection equipment, and accordingly promotes product improvement of the projection equipment.
Regarding to a method, an embodiment of the present invention provides a focus test method for performing a focus test on a projection device, where the method includes:
controlling the projection equipment to carry out automatic focusing for a plurality of times based on a predetermined optimal focus, and recording the focusing time consumption each time focusing is successful;
acquiring a shot image corresponding to a projection picture projected by the projection equipment when focusing is successful each time, and acquiring image sharpness information of the projection equipment based on the corresponding shot image when focusing is successful each time;
generating a sharpness fluctuation curve and a focusing time-consuming curve of the projection equipment in a first time period according to the focusing times in the first time period, the focusing time-consuming time when each focusing is successful and image sharpness information;
and analyzing the acutance fluctuation curve and the focusing time-consuming curve to obtain the focusing stability of the projection equipment.
Optionally, in an embodiment of the present invention, the step of generating a sharpness fluctuation curve and a focusing time-consuming curve of the projection apparatus in the first time period according to the number of times of focusing in the first time period and the focusing time-consuming time and the image sharpness information of each successful focusing includes:
drawing an acutance fluctuation curve between the projection time and the image acutance according to the corresponding focusing times of the projection equipment in a first time period, the time interval between two adjacent times of focusing and the image acutance information when the focusing is successful each time;
and drawing a focusing time-consuming curve between the focusing times and the focusing time-consuming time according to the focusing times of the projection equipment in the first time period and the focusing time-consuming time when the focusing is successful each time.
Optionally, in an embodiment of the present invention, before the step of controlling the projection device to perform multiple times of auto-focusing based on a predetermined optimal focus, the method further includes:
controlling a projection device to perform focusing within a focus adjustment range according to a preset focus interval, and acquiring a shot image corresponding to a projection picture projected by the projection device when focusing is completed each time;
and obtaining image sharpness information of the projection equipment based on the corresponding shot image when each focusing is completed, and selecting the focus with the maximum corresponding image sharpness value as the best focus of the projection equipment.
Optionally, in an embodiment of the present invention, the method further includes:
acquiring shot images corresponding to projection pictures projected by the projection equipment at the optimal focus according to a preset time interval, and acquiring image sharpness information of the projection equipment based on the corresponding shot images when the shot images are acquired each time;
generating a projection defocus curve of the projection equipment in a second time period according to the image acquisition times in the second time period and the image sharpness information of each successful image acquisition;
and analyzing the projection defocusing curve to obtain the thermal defocusing condition of the projection equipment.
Optionally, in an embodiment of the present invention, the step of generating a projection defocus curve of the projection apparatus in the second period of time according to the number of image acquisitions in the second period of time and the image sharpness information of each successful image acquisition includes:
and drawing a projection defocus curve between the picture projection time and the image sharpness of the projection equipment according to the image acquisition times of the corresponding acquired shot images in the second time period, the preset time interval and the image sharpness information when the image acquisition is successful each time.
Optionally, in an embodiment of the present invention, the step of obtaining the image sharpness information of the projection apparatus based on the corresponding captured image includes:
carrying out gray level processing on the shot image to obtain a gray level image corresponding to the shot image;
carrying out image filtering on the gray level image to obtain a filtered target gray level image;
and carrying out edge detection on the target gray level image, and carrying out normalization processing on each pixel point in the target gray level image after edge detection to obtain image sharpness information of the projection equipment when the projection equipment projects a projection picture corresponding to the shot image.
As for an apparatus, an embodiment of the present invention provides a focus test apparatus for performing a focus test on a projection device, where the apparatus includes:
the focusing control module is used for controlling the projection equipment to carry out automatic focusing for a plurality of times based on a predetermined optimal focus and recording the focusing time consumption when the focusing is successful each time;
the sharpness acquisition module is used for acquiring a shot image corresponding to a projection picture projected by the projection equipment when focusing is successful each time, and acquiring image sharpness information of the projection equipment based on the corresponding shot image when focusing is successful each time;
a curve drawing module for generating a sharpness fluctuation curve and a focusing time consumption curve of the projection equipment in a first time period according to the focusing times in the first time period and the focusing time consumption and image sharpness information when each focusing is successful
And the analysis and display module is used for analyzing the acutance fluctuation curve and the focusing time-consuming curve to obtain the focusing stability of the projection equipment.
Optionally, in an embodiment of the present invention, the apparatus further includes:
the focusing control module is used for controlling the projection equipment to focus within a focus adjusting range according to a preset focus interval and acquiring a shot image corresponding to a projection picture projected by the projection equipment when the focusing is finished each time;
and the focus determining module is used for obtaining the image sharpness information of the projection equipment based on the corresponding shot image when each focusing is finished, and selecting the focus with the maximum corresponding image sharpness value as the best focus of the projection equipment.
Optionally, in an embodiment of the present invention, the sharpness obtaining module is further configured to obtain, at preset time intervals, a captured image corresponding to a projection picture projected by the projection apparatus at the optimal focus, and obtain image sharpness information of the projection apparatus based on the corresponding captured image each time the captured image is obtained;
the curve drawing module is further used for generating a projection defocus curve of the projection equipment in a second time period according to the image acquisition times in the second time period and the image sharpness information when the image acquisition is successful each time;
the analysis display module is further configured to analyze the projection defocus curve to obtain a thermal defocus state of the projection device.
Optionally, in an embodiment of the present invention, a manner of the sharpness obtaining module and/or the focus determining module obtaining the image sharpness information of the projection apparatus based on the corresponding captured image includes:
carrying out gray level processing on the shot image to obtain a gray level image corresponding to the shot image;
carrying out image filtering on the gray level image to obtain a filtered target gray level image;
and carrying out edge detection on the target gray level image, and carrying out normalization processing on each pixel point in the target gray level image after edge detection to obtain image sharpness information of the projection equipment when the projection equipment projects a projection picture corresponding to the shot image.
Compared with the prior art, the focusing test method and the device provided by the embodiment of the invention have the following beneficial effects: the focusing test method is high in automation degree, low in human resource consumption, high in test efficiency and high in test precision, can test the focusing data of the projection equipment quickly and accurately, provides an accurate data basis for improvement of the projection equipment, and accordingly promotes product improvement of the projection equipment. Firstly, the method controls the projection equipment to carry out automatic focusing for a plurality of times based on the predetermined optimal focus, and records the time consumed by focusing each time when focusing is successful; then, the method acquires a shot image corresponding to a projection picture projected by the projection equipment when focusing is successful each time, and obtains image sharpness information of the projection equipment based on the corresponding shot image when focusing is successful each time; then, the method generates a sharpness fluctuation curve and a focusing time-consuming curve of the projection equipment in a first time period according to the focusing times in the first time period and the focusing time-consuming time and image sharpness information when each focusing is successful; finally, the method analyzes the sharpness fluctuation curve and the focusing time-consuming curve to obtain the focusing stability of the projection equipment, so that the focusing data (including the speed and state stability of automatic focusing, the thermal defocusing degree and the like) of the projection equipment can be tested quickly and accurately, and an accurate data basis is provided for the improvement of the projection equipment, thereby promoting the product improvement of the projection equipment.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments are briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the claims of the present invention, and it is obvious for those skilled in the art that other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is an interaction diagram of a testing device, a projecting device, and a shooting device according to an embodiment of the present invention.
Fig. 2 is a block diagram of the test apparatus in fig. 1 according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a focus testing method according to an embodiment of the invention.
Fig. 4 is a second flowchart of a focus testing method according to an embodiment of the invention.
Fig. 5 is a third schematic flowchart of a focus testing method according to an embodiment of the present invention.
FIG. 6 is a block diagram of the focus testing apparatus shown in FIG. 2 according to an embodiment of the present invention.
Fig. 7 is a second block diagram of the focus testing apparatus shown in fig. 2 according to the embodiment of the present invention.
Icon: 10-a test device; 20-a projection device; 30-a photographing device; 11-a memory; 12-a processor; 13-a communication unit; 14-a display unit; 100-focus test device; 110-a focus control module; 120-sharpness acquisition module; 130-curve drawing module; 140-an analysis presentation module; 150-a focus control module; 160-focus determination module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that the terms "first", "second", "third", and the like are used for distinguishing descriptions only and are not intended to indicate or imply relative importance unless explicitly stated or limited otherwise.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Fig. 1 is an interactive schematic diagram of a testing device 10, a projecting device 20, and a shooting device 30 according to an embodiment of the present invention. In the embodiment of the present invention, the shooting device 30 is configured to shoot the projection picture projected by the projection device 20 to obtain a shot image corresponding to the projection picture; the testing device 10 is in communication connection with the projecting device 20 and the shooting device 30, so as to automatically and accurately test focusing condition data of the projecting device 20 in the using process according to a shot image which is shot by the shooting device 30 and corresponds to a projection picture projected by the projecting device 20, so that human resource consumption is reduced, an accurate data basis is provided for improvement of the projecting device 20, and product improvement of the projecting device 20 is promoted. The shooting device 30 may be a video camera, a still camera, or a camera, and the shooting device 30 may be disposed on the projection device 20 or may be independent of the projection device 20; the testing Device 10 may be, but is not limited to, a Personal Computer (PC), a tablet PC, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), etc.; the testing device 10 may be communicatively connected to the projecting device 20 and the photographing device 30 through a wired network or a wireless network.
Fig. 2 is a block diagram of the test apparatus 10 in fig. 1 according to an embodiment of the present invention. In the embodiment of the present invention, the test apparatus 10 includes a focus test device 100, a memory 11, a processor 12, a communication unit 13, and a display unit 14. The memory 11, the processor 12, the communication unit 13 and the display unit 14 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The focus test apparatus 100 includes at least one software functional module which can be stored in the memory 11 in the form of software or firmware (firmware), and the processor 12 executes various functional applications and data processing by operating the corresponding software functional module of the focus test apparatus 100 stored in the memory 11.
In this embodiment, the Memory 11 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an electrically Erasable Programmable Read-Only Memory (EEPROM), and the like. The memory 11 may be used to store various application programs, and the processor 12 executes the application programs after receiving the execution instruction. Further, the software programs and modules in the memory 11 may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
In this embodiment, the processor 12 may be an integrated circuit chip having signal processing capabilities. The Processor 12 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In this embodiment, the communication unit 13 is configured to establish a communication connection between the test device 10 and another external device through a network, and perform data transmission through the network, for example, the test device 10 may issue a control instruction to the projection device 20 and/or the shooting device 30 through the communication unit 13 to control an operating state of the projection device 20 and/or the shooting device 30.
In this embodiment, the display unit 14 includes a display screen, and the display unit 14 displays an image graph through the display screen to ensure that a product tester can intuitively know the focusing condition corresponding to the projection apparatus 20 tested by the test apparatus 10 through the display unit 14, where the focusing condition data includes focusing steady condition data of the projection apparatus 20 during an auto-focusing process and thermal defocusing condition data of the projection apparatus 20 during a steady projection process.
In this embodiment, the test device 10 performs a fast and accurate test on the focusing condition data of the projection device 20 during the use process through the focusing test apparatus 100 stored in the memory 11, so as to improve the automation degree, reduce the human resource consumption, improve the test efficiency and the test accuracy, provide an accurate data basis for the improvement of the projection device 20, and promote the product improvement of the projection device 20.
It will be appreciated that the configuration shown in FIG. 2 is merely a schematic illustration of one configuration of the test apparatus 10, and that the test apparatus 10 may include more or fewer components than shown in FIG. 2, or have a different configuration than shown in FIG. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
Fig. 3 is a flowchart illustrating a focus testing method according to an embodiment of the invention. In the embodiment of the present invention, the focus test method is applied to the test device 10, and is used for performing a focus test on the projection device 20 to obtain a focus condition of the projection device 20 in a use process. The focusing condition includes a stable focusing condition when the projection apparatus 20 performs multiple auto-zooms during the process of projecting the image, and the specific flow and steps of the focusing test method shown in fig. 3 are described in detail below.
In an embodiment of the present invention, the focus test method includes the following steps:
in step S210, the projection device 20 is controlled to perform a plurality of times of automatic focusing based on the predetermined optimal focus, and the time consumed for the focusing is recorded when each time of focusing is successful.
In this embodiment, the predetermined optimal focus is a focusing position at which the test device 10 tests that the image sharpness value of the projection device 20 is maximum in a corresponding focus adjustment range before the test device 10 performs the focus plateau condition test on the projection device 20, where the focus adjustment range is a distance that the projection device 20 itself can move back and forth in the current direction through a motor, and may represent a degree of focus adjustment of the projection device 20 itself; the image sharpness is an index reflecting the image plane definition and the image edge sharpness, and the higher the value of the image sharpness, the sharper the corresponding image picture.
The test device 10 may send a control instruction to the projection device 20 according to a preset focusing time interval, so as to control the projection device 20 to perform multiple times of auto focusing based on the best focus or an image sharpness value corresponding to the best focus, where the preset focusing time interval may be 2S, or may be 3S, or may be 4.5S; the test device 10 may also send a control instruction to the projection device 20 at different time intervals to control the projection device 20 to perform multiple auto-focusing, where the time intervals between two adjacent auto-focusing may be the same or different.
In this embodiment, the test device 10 will count time after sending a focusing control command to the projection device 20 each time, so as to record the focusing time consumption for each time the projection device 20 successfully completes the automatic focusing.
Step S220, acquiring a shot image corresponding to the projection picture projected by the projection apparatus 20 when focusing is successful each time, and obtaining image sharpness information of the projection apparatus 20 based on the corresponding shot image when focusing is successful each time.
In this embodiment, after sending the focusing control instruction to the projection device 20, the test device 10 monitors the focusing completion condition of the projection device 20, and sends the shooting control instruction to the shooting device 30 when monitoring that the projection device 20 completes focusing, so that the shooting device 30 correspondingly shoots the projection picture projected by the projection device 20 when focusing is successful, thereby obtaining the shot image corresponding to the projection picture. The test device 10 acquires the shot image corresponding to the projection picture projected by the projection device 20 each time focusing is successful from the shooting device 30 through the communication unit 13.
In the present embodiment, the test apparatus 10 will obtain the image sharpness information corresponding to the captured image of the projection apparatus 20 based on the captured image after each time the captured image is captured from the capture apparatus 30. Wherein the step of deriving image sharpness information for the projection device 20 based on the corresponding captured image comprises:
carrying out gray level processing on the shot image to obtain a gray level image corresponding to the shot image;
carrying out image filtering on the gray level image to obtain a filtered target gray level image;
and performing edge detection on the target gray level image, and performing normalization processing on each pixel point in the target gray level image after the edge detection to obtain image sharpness information of the projection equipment 20 when the projection equipment projects a projection picture corresponding to the shot image.
The test equipment 10 performs image filtering by performing gaussian filtering on the grayscale image to obtain a corresponding target grayscale image; the testing device 10 may use any one algorithm among a laplace edge detection operator, a sobel edge detection operator, and a canny edge detection operator to implement edge detection on a target gray-scale image, and perform normalization processing on each pixel point in the target gray-scale image after edge detection in a manner of averaging or calculating a variance of edge detection results, so as to correspondingly obtain an image sharpness value of the projection device 20 when the projection image corresponding to the captured image is correspondingly projected.
Step S230, generating a sharpness fluctuation curve and a focusing time-consuming curve of the projection apparatus 20 in the first time period according to the number of times of focusing in the first time period, and the focusing time-consuming time and the image sharpness information when each focusing is successful.
In this embodiment, the first time period is a time period when the projection device 20 performs screen projection, and in the first time period, the testing device 10 correspondingly tests a focusing stability of the projection device 20 in an auto-focusing process. Wherein the step of generating the sharpness fluctuation curve and the focusing time-consuming curve of the projection apparatus 20 in the first time period according to the focusing times in the first time period and the focusing time-consuming and image sharpness information of each successful focusing by the test apparatus 10 comprises:
drawing a sharpness fluctuation curve between the projection time and the image sharpness according to the corresponding focusing times of the projection equipment 20 in a first time period, the time interval between two adjacent times of focusing and the image sharpness information when each time of focusing is successful;
and drawing a focusing time-consuming curve between the focusing times and the focusing time-consuming time according to the focusing times of the projection equipment 20 in the first time period and the focusing time-consuming time when the focusing is successful each time.
Wherein, the sharpness fluctuation curve is used to represent the image sharpness variation after the completion of zooming caused by multiple auto-zooms in the time period of the projection of the picture by the projection device 20, and the focusing time consumption curve is used to represent the consumption time distribution corresponding to each auto-focusing during the auto-focusing by the projection device 20.
Step S240, analyzing the sharpness fluctuation curve and the focusing time-consuming curve to obtain a focusing stability of the projection apparatus 20.
In this embodiment, the test apparatus 10 may obtain a focusing stability condition indicating whether the picture is clear when the projection apparatus 20 performs automatic zooming during picture projection by performing data analysis by combining the sharpness fluctuation curve and the focusing time-consuming curve.
Fig. 4 is a second flowchart of a focus testing method according to an embodiment of the invention. In this embodiment of the present invention, before the step S210, the focus testing method further includes:
step S250, controlling the projection apparatus 20 to perform focusing within a focus adjustment range according to a preset focus interval, and acquiring a captured image corresponding to a projection screen projected by the projection apparatus 20 each time focusing is completed.
In this embodiment, the test device 10 causes the projection device 20 to adjust the projection focus position of the projection device 20 according to a preset focus interval corresponding to the focusing instruction by issuing the focusing instruction to the projection device 20. After the focusing is completed, the projection device 20 correspondingly sends a notification of completion of focusing to the test device 10, and the test device 10 receives the notification and controls the shooting device 30 to correspondingly shoot a projection picture projected by the projection device 20 each time focusing is completed, so as to obtain a corresponding shot image.
Step S260, obtaining the image sharpness information of the projection apparatus 20 based on the corresponding captured image at each time of completion of focusing, and selecting the focus having the largest value of the corresponding image sharpness as the best focus of the projection apparatus 20.
In the present embodiment, after obtaining the captured image of the projection apparatus 20 at each focusing completion time by the capturing apparatus 30, the testing apparatus 10 obtains the image sharpness information of the projection apparatus 20 based on the captured image, and selects the focus position corresponding to the one focusing with the largest value from the image sharpness information of the projection apparatus 20 at all focusing completions as the best focus of the projection apparatus 20, so as to determine the best focus of the projection apparatus 20 in advance before performing step S210. The execution process of the testing device 10 obtaining the corresponding image sharpness information based on the shot image when the focusing is completed is the same as the step of obtaining the image sharpness information in step S220, which is not repeated herein, and the specific execution process may refer to the above detailed description of step S220.
Fig. 5 is a third schematic flow chart of a focus testing method according to an embodiment of the present invention. In this embodiment of the present invention, the focusing condition further includes a thermal out-of-focus condition of the projection device 20 during the stable projection process, and the focusing test mode further includes:
step S270, acquiring the shot image corresponding to the projection picture projected by the projection device 20 at the optimal focus according to a preset time interval, and obtaining the image sharpness information of the projection device 20 based on the corresponding shot image each time the shot image is acquired.
In this embodiment, the testing device 10 may control the projecting device 20 to perform the picture projection at the optimal focus, and control the shooting device 30 to shoot the projection picture projected by the projecting device 20 according to a preset time interval, so as to obtain a shot image corresponding to the projection picture, where the preset time interval may be 1S, or may be 800mS, or may be 0.5S. The test apparatus 10 will process each captured image to obtain the corresponding image sharpness information of the projection apparatus 20 in a similar manner to the step of obtaining the image sharpness information in step S220, and the detailed implementation process in step S220 can be referred to.
In step S280, a projection defocus curve of the projection apparatus 20 in a second time period is generated according to the number of times of image acquisition in the second time period and the image sharpness information of each successful image acquisition.
In this embodiment, the second time period is a time period when the projection device 20 performs screen projection, and the testing device 10 tests a thermal out-of-focus condition of the projection device 20 during stable projection in the second time period. Wherein the step of the test apparatus 10 generating the projection defocus curve of the projection apparatus 20 in the second period of time based on the number of image acquisitions in the second period of time and the image sharpness information for each successful image acquisition comprises:
and drawing a projection defocus curve between the picture projection time and the image sharpness of the projection equipment 20 according to the image acquisition times of the corresponding acquired shot images in the second time period, the preset time interval and the image sharpness information when the image acquisition is successful each time.
Wherein the projection defocus curve is used to represent an image sharpness change of the picture defocus caused by the temperature change of the projection apparatus 20 in the second period of the picture projection.
Step S290, analyzing the projection defocus curve to obtain a thermal defocus condition of the projection device 20.
In this embodiment, the test apparatus 10 may obtain the time consumed by the projection apparatus 20 for defocusing due to temperature changes during the stable projection process and the sharpness change after defocusing, that is, the thermal defocusing condition, by performing data analysis on the projection defocusing curve.
Fig. 6 is a block diagram of the focus testing apparatus 100 shown in fig. 2 according to an embodiment of the present invention. In an embodiment of the present invention, the focus test device 100 comprises a focus control module 110, a sharpness acquisition module 120, a curve drawing module 130, and an analysis showing module 140.
The focusing control module 110 is configured to control the projection device 20 to perform a plurality of times of automatic focusing based on a predetermined optimal focus, and record a time consumed for the focusing when each focusing is successful.
In this embodiment, the focus control module 110 may execute step S210 in fig. 3, and the specific execution process may refer to the above detailed description of step S210.
The sharpness obtaining module 120 is configured to obtain a captured image corresponding to the projection picture projected by the projection apparatus 20 each time focusing is successful, and obtain image sharpness information of the projection apparatus 20 based on the corresponding captured image each time focusing is successful.
In this embodiment, the way in which the sharpness acquisition module 120 obtains the image sharpness information of the projection apparatus 20 based on the corresponding captured image includes:
carrying out gray level processing on the shot image to obtain a gray level image corresponding to the shot image;
carrying out image filtering on the gray level image to obtain a filtered target gray level image;
and performing edge detection on the target gray level image, and performing normalization processing on each pixel point in the target gray level image after the edge detection to obtain image sharpness information of the projection equipment 20 when the projection equipment projects a projection picture corresponding to the shot image.
The sharpness obtaining module 120 may perform step S220 in fig. 3, and the detailed description of step S220 may be referred to above.
The curve drawing module 130 is configured to generate a sharpness fluctuation curve and a focusing time-consuming curve of the projection apparatus 20 in a first time period according to the number of times of focusing in the first time period and the focusing time-consuming time and image sharpness information of each successful focusing.
In this embodiment, the curve-plotting module 130 may execute step S230 in fig. 3, and the specific execution process may refer to the above detailed description of step S230.
The analysis and presentation module 140 is configured to analyze the sharpness fluctuation curve and the focusing time-consuming curve to obtain a focusing stability of the projection apparatus 20.
In this embodiment, the analysis displaying module 140 may execute step S240 in fig. 3, and the specific execution process may refer to the above detailed description of step S240.
Fig. 7 is a second schematic block diagram of the focus testing apparatus 100 shown in fig. 2 according to an embodiment of the invention. In the embodiment of the present invention, the focus test apparatus 100 may further include a focus control module 150 and a focus determination module 160.
The focusing control module 150 is configured to control the projection device 20 to perform focusing within a focus adjustment range according to a preset focus interval, and acquire a captured image corresponding to a projection picture projected by the projection device 20 each time focusing is completed.
In this embodiment, the focusing control module 150 may execute step S250 in fig. 4, and the specific execution process may refer to the above detailed description of step S250.
The focus determination module 160 is configured to obtain image sharpness information of the projection apparatus 20 based on a corresponding captured image when each focusing is completed, and select a focus with a largest value of corresponding image sharpness as an optimal focus of the projection apparatus 20.
In this embodiment, the manner in which the focus determination module 160 derives the image sharpness information of the projection device 20 based on the corresponding captured image includes:
carrying out gray level processing on the shot image to obtain a gray level image corresponding to the shot image;
carrying out image filtering on the gray level image to obtain a filtered target gray level image;
and performing edge detection on the target gray level image, and performing normalization processing on each pixel point in the target gray level image after the edge detection to obtain image sharpness information of the projection equipment 20 when the projection equipment projects a projection picture corresponding to the shot image.
The focus determination module 160 may perform step S260 in fig. 4, and the specific implementation process may refer to the above detailed description of step S260.
In an embodiment of the present invention, the sharpness obtaining module 120 is further configured to obtain, at preset time intervals, a captured image corresponding to the projection picture projected by the projection apparatus 20 at the optimal focus, and obtain image sharpness information of the projection apparatus 20 based on the corresponding captured image each time the captured image is obtained; the curve drawing module 130 is further configured to generate a projection defocus curve of the projection apparatus 20 in a second time period according to the number of times of image acquisition in the second time period and the image sharpness information of each successful image acquisition; the analysis and display module 140 analyzes the projection defocus curve to obtain the thermal defocus condition of the projection device 20.
The sharpness obtaining module 120, the curve drawing module 130, and the analysis displaying module 140 may further perform step S270, step S280, and step S290 in fig. 5, respectively, and the detailed process may refer to the detailed description of step S270, step S280, and step S290 above.
In summary, in the focusing test method and the focusing test device provided by the embodiments of the present invention, the focusing test method has high automation degree, low human resource consumption, high test efficiency, and high test precision, and can quickly and accurately test the focusing data of the projection device, so as to provide a precise data basis for the improvement of the projection device, thereby promoting the product improvement of the projection device. Firstly, the method controls the projection equipment to carry out automatic focusing for a plurality of times based on the predetermined optimal focus, and records the time consumed by focusing each time when focusing is successful; then, the method acquires a shot image corresponding to a projection picture projected by the projection equipment when focusing is successful each time, and obtains image sharpness information of the projection equipment based on the corresponding shot image when focusing is successful each time; then, the method generates a sharpness fluctuation curve and a focusing time-consuming curve of the projection equipment in a first time period according to the focusing times in the first time period and the focusing time-consuming time and image sharpness information when each focusing is successful, and obtains the focusing stability condition of the projection equipment by analyzing the sharpness fluctuation curve and the focusing time-consuming curve.
And the method acquires the shot image corresponding to the projection picture projected by the projection equipment at the optimal focus according to the preset time interval, and obtains the image sharpness information of the projection equipment based on the corresponding shot image every time the shot image is acquired. Then, according to the number of times of image acquisition in a second time period and the image sharpness information of each successful image acquisition, the method generates a projection defocus curve of the projection equipment in the second time period, and analyzes the projection defocus curve to obtain the thermal defocus condition of the projection equipment.
Therefore, the focusing condition data of the projection equipment can be tested quickly and accurately, and an accurate data basis is provided for the improvement of the projection equipment so as to promote the product improvement of the projection equipment.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A focus test method for performing a focus test on a projection device, the method comprising:
controlling the projection equipment to carry out automatic focusing for a plurality of times based on a predetermined optimal focus, and recording the focusing time consumption each time focusing is successful;
acquiring a shot image corresponding to a projection picture projected by the projection equipment when focusing is successful each time, and acquiring image sharpness information of the projection equipment based on the corresponding shot image when focusing is successful each time;
generating a sharpness fluctuation curve and a focusing time-consuming curve of the projection equipment in a first time period according to the focusing times in the first time period, the focusing time-consuming time when each focusing is successful and image sharpness information;
and analyzing the acutance fluctuation curve and the focusing time-consuming curve to obtain the focusing stability of the projection equipment.
2. The method of claim 1, wherein the step of generating a sharpness fluctuation curve and a focusing time-consuming curve of the projection apparatus in the first time period according to the number of times of focusing in the first time period and the focusing time-consuming time and image sharpness information of each successful focusing comprises:
drawing an acutance fluctuation curve between the projection time and the image acutance according to the corresponding focusing times of the projection equipment in a first time period, the time interval between two adjacent times of focusing and the image acutance information when the focusing is successful each time;
and drawing a focusing time-consuming curve between the focusing times and the focusing time-consuming time according to the focusing times of the projection equipment in the first time period and the focusing time-consuming time when the focusing is successful each time.
3. The method of claim 1, wherein prior to the step of controlling the projection device to perform a plurality of auto-foci based on a predetermined optimal focus, the method further comprises:
controlling a projection device to perform focusing within a focus adjustment range according to a preset focus interval, and acquiring a shot image corresponding to a projection picture projected by the projection device when focusing is completed each time;
and obtaining image sharpness information of the projection equipment based on the corresponding shot image when each focusing is completed, and selecting the focus with the maximum corresponding image sharpness value as the best focus of the projection equipment.
4. The method of claim 3, further comprising:
acquiring shot images corresponding to projection pictures projected by the projection equipment at the optimal focus according to a preset time interval, and acquiring image sharpness information of the projection equipment based on the corresponding shot images when the shot images are acquired each time;
generating a projection defocus curve of the projection equipment in a second time period according to the image acquisition times in the second time period and the image sharpness information of each successful image acquisition;
and analyzing the projection defocusing curve to obtain the thermal defocusing condition of the projection equipment.
5. The method of claim 4, wherein generating the projected defocus curve for the projection device over the second time period based on the number of image acquisitions over the second time period and the image sharpness information for each successful image acquisition comprises:
and drawing a projection defocus curve between the picture projection time and the image sharpness of the projection equipment according to the image acquisition times of the corresponding acquired shot images in the second time period, the preset time interval and the image sharpness information when the image acquisition is successful each time.
6. The method according to any of claims 1-5, wherein the step of deriving image sharpness information for the projection device based on the corresponding captured image comprises:
carrying out gray level processing on the shot image to obtain a gray level image corresponding to the shot image;
carrying out image filtering on the gray level image to obtain a filtered target gray level image;
and carrying out edge detection on the target gray level image, and carrying out normalization processing on each pixel point in the target gray level image after edge detection to obtain image sharpness information of the projection equipment when the projection equipment projects a projection picture corresponding to the shot image.
7. A focus test apparatus for performing a focus test on a projection device, the apparatus comprising:
the focusing control module is used for controlling the projection equipment to carry out automatic focusing for a plurality of times based on a predetermined optimal focus and recording the focusing time consumption when the focusing is successful each time;
the sharpness acquisition module is used for acquiring a shot image corresponding to a projection picture projected by the projection equipment when focusing is successful each time, and acquiring image sharpness information of the projection equipment based on the corresponding shot image when focusing is successful each time;
the curve drawing module is used for generating a sharpness fluctuation curve and a focusing time-consuming curve of the projection equipment in a first time period according to the focusing times in the first time period, the focusing time consumption and the image sharpness information when focusing is successful each time;
and the analysis and display module is used for analyzing the acutance fluctuation curve and the focusing time-consuming curve to obtain the focusing stability of the projection equipment.
8. The apparatus of claim 7, further comprising:
the focusing control module is used for controlling the projection equipment to focus within a focus adjusting range according to a preset focus interval and acquiring a shot image corresponding to a projection picture projected by the projection equipment when the focusing is finished each time;
and the focus determining module is used for obtaining the image sharpness information of the projection equipment based on the corresponding shot image when each focusing is finished, and selecting the focus with the maximum corresponding image sharpness value as the best focus of the projection equipment.
9. The apparatus of claim 8,
the sharpness acquisition module is further configured to acquire a shot image corresponding to a projection picture projected by the projection device at the optimal focus according to a preset time interval, and obtain image sharpness information of the projection device based on the corresponding shot image each time the shot image is acquired;
the curve drawing module is further used for generating a projection defocus curve of the projection equipment in a second time period according to the image acquisition times in the second time period and the image sharpness information when the image acquisition is successful each time;
the analysis display module is further configured to analyze the projection defocus curve to obtain a thermal defocus state of the projection device.
10. The apparatus of claim 8 or 9, wherein the manner in which the sharpness acquisition module and/or the focus determination module derives image sharpness information for the projection device based on the corresponding captured image comprises:
carrying out gray level processing on the shot image to obtain a gray level image corresponding to the shot image;
carrying out image filtering on the gray level image to obtain a filtered target gray level image;
and carrying out edge detection on the target gray level image, and carrying out normalization processing on each pixel point in the target gray level image after edge detection to obtain image sharpness information of the projection equipment when the projection equipment projects a projection picture corresponding to the shot image.
CN201811418042.1A 2018-11-26 2018-11-26 Focusing test method and device Active CN111225196B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811418042.1A CN111225196B (en) 2018-11-26 2018-11-26 Focusing test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811418042.1A CN111225196B (en) 2018-11-26 2018-11-26 Focusing test method and device

Publications (2)

Publication Number Publication Date
CN111225196A true CN111225196A (en) 2020-06-02
CN111225196B CN111225196B (en) 2022-09-27

Family

ID=70827648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811418042.1A Active CN111225196B (en) 2018-11-26 2018-11-26 Focusing test method and device

Country Status (1)

Country Link
CN (1) CN111225196B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901585A (en) * 2020-07-23 2020-11-06 上海龙旗科技股份有限公司 Method and device for detecting focusing time of camera and computer readable storage medium
CN113301323A (en) * 2020-07-14 2021-08-24 阿里巴巴集团控股有限公司 Automatic focusing test system and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB863334A (en) * 1957-10-25 1961-03-22 Leitz Ernst Gmbh Improvements in or relating to optical projectors
EP0241087A2 (en) * 1986-04-11 1987-10-14 Koninklijke Philips Electronics N.V. Projection television system
JPH05203931A (en) * 1991-09-27 1993-08-13 Matsushita Electric Ind Co Ltd Liquid crystal panel and production thereof and liquid crystal display device
US20100110368A1 (en) * 2008-11-02 2010-05-06 David Chaum System and apparatus for eyeglass appliance platform
WO2013024705A1 (en) * 2011-08-18 2013-02-21 Ricoh Company, Ltd. Projector and control method thereof
CN103885277A (en) * 2012-12-20 2014-06-25 新昌县羽林街道昱泉机械厂 Autofocus projector
CN104570568A (en) * 2014-12-19 2015-04-29 神画科技(深圳)有限公司 Automatic focusing method for projector
CN107229176A (en) * 2017-05-26 2017-10-03 神画科技(深圳)有限公司 A kind of heat system and method out of focus compensated automatically
CN107544199A (en) * 2016-06-27 2018-01-05 中兴通讯股份有限公司 A kind of projector light machine testing method and projecting apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB863334A (en) * 1957-10-25 1961-03-22 Leitz Ernst Gmbh Improvements in or relating to optical projectors
EP0241087A2 (en) * 1986-04-11 1987-10-14 Koninklijke Philips Electronics N.V. Projection television system
JPH05203931A (en) * 1991-09-27 1993-08-13 Matsushita Electric Ind Co Ltd Liquid crystal panel and production thereof and liquid crystal display device
US20100110368A1 (en) * 2008-11-02 2010-05-06 David Chaum System and apparatus for eyeglass appliance platform
WO2013024705A1 (en) * 2011-08-18 2013-02-21 Ricoh Company, Ltd. Projector and control method thereof
CN103885277A (en) * 2012-12-20 2014-06-25 新昌县羽林街道昱泉机械厂 Autofocus projector
CN104570568A (en) * 2014-12-19 2015-04-29 神画科技(深圳)有限公司 Automatic focusing method for projector
CN107544199A (en) * 2016-06-27 2018-01-05 中兴通讯股份有限公司 A kind of projector light machine testing method and projecting apparatus
CN107229176A (en) * 2017-05-26 2017-10-03 神画科技(深圳)有限公司 A kind of heat system and method out of focus compensated automatically

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301323A (en) * 2020-07-14 2021-08-24 阿里巴巴集团控股有限公司 Automatic focusing test system and method
CN111901585A (en) * 2020-07-23 2020-11-06 上海龙旗科技股份有限公司 Method and device for detecting focusing time of camera and computer readable storage medium

Also Published As

Publication number Publication date
CN111225196B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
CN103197491B (en) The method of fast automatic focusing and image collecting device
US8600186B2 (en) Well focused catadioptric image acquisition
KR101489048B1 (en) Imaging apparatus, image processing method, and recording medium for recording program thereon
US11245832B2 (en) Video recording method and electronic device
US10430962B2 (en) Three-dimensional shape measuring apparatus, three-dimensional shape measuring method, and storage medium that calculate a three-dimensional shape of an object by capturing images of the object from a plurality of directions
CN111225196B (en) Focusing test method and device
CN104270579A (en) Terminal application interface pixel adjusting method and terminal
CN110784624B (en) Demisting control method and device
CN104333694A (en) Method for preventing store visiting photo from being counterfeited
CN110677580B (en) Shooting method, shooting device, storage medium and terminal
CN103297695B (en) A kind of method of automatic camera and terminal
CN103297799A (en) Testing an optical characteristic of a camera component
CN103988107A (en) Imaging device, method for controlling same, and program
CN109901716B (en) Sight point prediction model establishing method and device and sight point prediction method
CN113362270A (en) Method and device for monitoring abnormal display of display screen picture
CN111654618A (en) Camera focusing sensitivity control method and device
CN105427315B (en) Digital instrument image position testing method and device
CN111917986A (en) Image processing method, medium thereof, and electronic device
JP2003050990A (en) Image processor and program making computer function as the image processor
CN111064864A (en) Method and device for setting distortion correction parameters and endoscope system
JP2018007082A (en) Image reproduction device, control method therefor, and program
CN115242979A (en) Focusing method and system applied to blood shooting, intelligent equipment and storage medium
CN110581977A (en) video image output method and device and three-eye camera
CN111277750B (en) Shooting control method and device, electronic equipment and computer storage medium
US11743573B2 (en) Imaging apparatus for adjusting photographing conditions according to photographed images and method for controlling imaging apparatus

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