CN117319618B - Projector thermal focus out judging method and system for definition evaluation - Google Patents

Projector thermal focus out judging method and system for definition evaluation Download PDF

Info

Publication number
CN117319618B
CN117319618B CN202311596650.2A CN202311596650A CN117319618B CN 117319618 B CN117319618 B CN 117319618B CN 202311596650 A CN202311596650 A CN 202311596650A CN 117319618 B CN117319618 B CN 117319618B
Authority
CN
China
Prior art keywords
block
projection
picture
projector
running
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311596650.2A
Other languages
Chinese (zh)
Other versions
CN117319618A (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.)
Weiliang Shenzhen Technology Co ltd
Original Assignee
Weiliang Shenzhen 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 Weiliang Shenzhen Technology Co ltd filed Critical Weiliang Shenzhen Technology Co ltd
Priority to CN202311596650.2A priority Critical patent/CN117319618B/en
Publication of CN117319618A publication Critical patent/CN117319618A/en
Application granted granted Critical
Publication of CN117319618B publication Critical patent/CN117319618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a projector thermal focus out judging method and a system for definition evaluation, which relate to the field of projection equipment and comprise the following steps: a coke running model is established, and a coke running threshold value is obtained according to the coke running model; judging whether the internal temperature of the projector is larger than a running Jiao Jue value or not; judging whether the continuous two frames of projection pictures have picture switching conditions or not; obtaining at least one first block on a first projection picture and obtaining at least one second block on a second projection picture; selecting a feature object in the first block, and identifying the edge of the feature object; calculating average pixels of the sample block; calculating average pixels of the projection block; and respectively establishing frequency spectrum function images of the first projection picture and the second projection picture, and calculating the deviation degree of the frequency spectrum function images. By arranging the temperature judging module, the image dividing module, the picture judging module and the image analyzing module, the whole image can be prevented from being identified, so that the calculated amount is reduced, and the judging efficiency is improved.

Description

Projector thermal focus out judging method and system for definition evaluation
Technical Field
The invention relates to the field of projection equipment, in particular to a projector thermal focus out judging method and system for definition evaluation.
Background
Projection devices have wide application in the fields of video presentations, slide presentations, virtual reality, and the like. In the above application, the image formation of the projector on the projection surface often generates a blurring phenomenon, which affects the user experience, and the reason for the blurring phenomenon is mainly that the projector light source belongs to a high-power device, the heat generation amount is high, and the optical characteristics of the imaging system can be changed due to the influence of expansion caused by heat and contraction caused by cold of the imaging element including the projector lens, so that the light source cannot be converged on the projection surface, and the blurring phenomenon is caused.
The existing focus running judgment is to judge whether the whole definition of a projection picture shot back by a projector camera is changed or not, so as to judge whether the thermal focus running occurs or not, the calculated amount is large, and the judgment system is always in an operation state when the temperature of the projector is not high and the focus running does not occur.
Disclosure of Invention
In order to solve the technical problems, the technical scheme provides a projector thermal focus running judging method and system for evaluating definition, and solves the problems that in the prior art, the existing focus running judgment is usually carried out by judging whether the definition of the whole projection picture shot back by a projector camera is changed or not, whether thermal focus running occurs or not is large in calculated amount, and when the temperature of the projector is low and the focus running cannot occur, the judging system is always in an operation state.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a projector hot defocus determination method for sharpness evaluation, comprising:
a coke running model is established, and a coke running threshold value is obtained according to the coke running model;
collecting the internal temperature of the projector, judging whether the internal temperature of the projector is larger than a Jiao Jue value, if so, collecting images, and if not, not performing any operation;
acquiring continuous two-frame projection pictures from the acquired images, judging whether the continuous two-frame projection pictures are subjected to picture switching, if not, carrying out image analysis on the continuous two-frame projection pictures, if so, acquiring the continuous two-frame projection pictures again in time sequence, and continuously judging whether the continuous two-frame projection pictures are subjected to picture switching;
during image analysis, two continuous frames of projection pictures are named as a first projection picture and a second projection picture in time sequence, and the first projection picture and the second projection picture are divided in the same way;
at least one first block is obtained in the first projection picture, at least one second block is obtained in the second projection picture, and the shape and the size of the first block are consistent with those of the second block;
establishing a screen coordinate system by taking the top point of the lower left corner of the projection screen as an original point, taking the transverse edge of the lower left corner of the projection screen as a transverse axis and taking the longitudinal edge of the lower left corner of the projection screen as a longitudinal axis;
using the center coordinates of the first block as the coordinates of the first block and using the center coordinates of the second block as the coordinates of the second block;
selecting a characteristic object in the first block, identifying the edge of the characteristic object, vertically dividing the edge of the characteristic object through the center of the characteristic object, and taking the left edge part of the edge of the characteristic object after being divided as a sample curve;
generating a sample block for the sample curve, and calculating average pixels of the sample block;
acquiring a second block with the same coordinates as the first block, obtaining a projection block of the sample block in the second block, and calculating average pixels of the projection block;
respectively establishing spectrum function images of a first projection picture and a second projection picture, and calculating the deviation degree of the spectrum function images;
the method for calculating the deviation degree of the spectrum function image comprises the following steps of:
taking average pixels of the sample block in the first block as the spectrum value g of the first block, and combining the coordinates (e, f) of the first block with the spectrum value g of the first block to form three-dimensional coordinates (e, f, g);
in a three-dimensional coordinate system, according to the three-dimensional coordinates, spectrum values of all the first blocks are made to obtain a first spectrum function image, and the three-dimensional coordinate system is composed of an x axis, a y axis and a z axis;
fitting a curved surface formed by the first spectrum function image to obtain a first fitting function z=d (x, y);
taking the average pixel of the projection block in the second block as the spectrum value j of the second block, and combining the coordinate (k, l) of the first block with the spectrum value j of the second block to form a three-dimensional coordinate (k, l, j);
in the three-dimensional coordinate system, according to the three-dimensional coordinates, spectrum values of all second blocks are made, and a second spectrum function image is obtained;
fitting the curved surface formed by the second spectrum function image to obtain a second fitting function z=E (x, y);
calculating the deviation degree of the frequency spectrum function image by using a deviation formula;
the deviation formula is as follows:
the integral area is an area covered by coordinates of the first block, F is the deviation degree of the spectrum function image, E (x, y) is a second fitting function, and D (x, y) is a first fitting function;
if the deviation exceeds the preset value, judging that the coke running occurs, and if not, judging that the coke running does not occur.
Preferably, the step of building the running focus model comprises the following steps:
acquiring historical data of a projector, wherein the historical data comprises the internal temperature of the projector corresponding to the focus running of a projection picture;
and summarizing the internal temperature of the projector corresponding to the projection picture when the projection picture runs out of focus, and obtaining a running focus model.
Preferably, the step of obtaining the running coke threshold according to the running coke model includes the following steps:
sequencing the internal temperatures of the projectors corresponding to the projection pictures in the focus running model when the focus is run, and obtaining the internal temperature of the minimum focus running projector;
subtracting a preset temperature from the internal temperature of the minimum focus-out projector to obtain a focus-out threshold.
Preferably, the determining whether the two continuous frames of projection pictures have picture switching includes the following steps:
the two frames of projection pictures are divided into a first picture and a second picture;
selecting at least one identification point in the first picture, wherein the identification points are uniformly distributed on the surface of the first picture;
selecting at least one identification point with the same coordinates from the second picture according to the coordinates of the identification points;
acquiring a pixel value of an identification point and a pixel value of an identification point;
calculating the difference between the first picture and the second picture by using a difference formula;
if the difference between the first picture and the second picture is larger than the preset difference, the picture is switched;
if not, the situation of picture switching does not exist;
the difference formula is as follows:
wherein A is the difference between the first picture and the second picture,for identifying the pixel value of a dot, +.>For the pixel value of the identification point, n is the number of identification points.
Preferably, the identifying the edge of the feature object includes the steps of:
selecting a base point in the characteristic object, and transmitting at least one gradient ray by taking the base point as a starting point;
calculating pixel gradients along the gradient rays using a gradient formula;
selecting the maximum pixel gradient on the gradient ray in the first block, and taking any one of two adjacent points corresponding to the maximum pixel gradient as an edge point;
sequentially connecting edge points generated by all gradient rays to obtain the edge of the characteristic object;
the gradient formula is as follows:
wherein B is a pixel gradient, and c and d are pixel values of two adjacent points on the gradient ray.
Preferably, the generating a sample block for the sample curve, calculating the average pixel of the sample block includes the steps of:
the method comprises the steps of translating a sample curve leftwards by a range swept by a preset distance, translating the sample curve rightwards by a range swept by the preset distance, and combining to obtain a sample block;
selecting at least one sampling point in a sample block, wherein the sampling points are uniformly distributed in the sample block;
counting the number of sampling points and pixel values;
and calculating the average pixel of at least one sampling point to obtain the average pixel of the sample block.
Preferably, the projection block of the sample block obtained in the second block is specifically as follows:
establishing a first coordinate system by taking the top point of the lower left corner of the first block as an origin, the transverse edge of the lower left corner of the first block as a transverse axis and the longitudinal edge of the lower left corner of the first block as a longitudinal axis;
establishing a second coordinate system by taking the top point of the lower left corner of a second block with the same coordinates as the first block as an origin, taking the transverse edge of the lower left corner of the second block as a transverse axis and taking the longitudinal edge of the lower left corner of the second block as a longitudinal axis;
fitting in a first coordinate system to obtain a boundary fitting function of the sample block;
and (3) making a boundary fitting function in a second coordinate system, and taking an image of the boundary fitting function as a projection block.
Preferably, the calculating the average pixel of the projection area includes the steps of:
selecting at least one projection point in the projection block, wherein the projection points are uniformly distributed in the projection block;
counting the number of projection points and pixel values;
and calculating the average pixel of at least one projection point to obtain the average pixel of the projection block.
The projector heat focus out judging system for the definition evaluation is used for realizing the projector heat focus out judging method for the definition evaluation, and comprises the following steps:
the model building module is used for building a coke running model and obtaining a coke running threshold value according to the coke running model;
the temperature judging module is used for collecting the internal temperature of the projector and judging whether the internal temperature of the projector is larger than a running Jiao Jue value or not;
the picture judging module judges whether the condition of picture switching exists in two continuous frames of projection pictures or not;
the image segmentation module is used for segmenting the first projection picture and the second projection picture in the same mode;
the system comprises a coordinate establishing module, a first coordinate system and a second coordinate system, wherein the coordinate establishing module establishes a screen coordinate system, a first coordinate system and a second coordinate system;
the image analysis module is used for identifying the edge of the characteristic object, generating a sample block for the sample curve, calculating average pixels of the sample block, calculating average pixels of the projection block and calculating the deviation degree of the spectrum function image.
Compared with the prior art, the invention has the beneficial effects that:
through setting up temperature judgement module, image segmentation module, picture judgement module and image analysis module, can close judgement system when projector temperature is not high, avoid producing unnecessary computational cost, and when judging the coke breeze, can intercept the characteristic part in two continuous frames picture and judge, can avoid discerning whole picture, and then reduce the calculated amount, promote the efficiency of judgement, and when judging, can distinguish the condition that the picture was switched, can avoid the picture to switch to lead to judging the condition that the mistake appears.
Drawings
FIG. 1 is a schematic flow chart of a projector thermal defocus determination method for sharpness evaluation according to the present invention;
FIG. 2 is a schematic diagram of a process for building a coke running model according to the present invention;
FIG. 3 is a flow chart of a process for obtaining a coke running threshold according to a coke running model of the present invention;
FIG. 4 is a flow chart of the present invention for judging whether there is a frame switch between two consecutive frames of projection frames;
FIG. 5 is a schematic diagram of an edge flow of an object with identification features according to the present invention;
FIG. 6 is a schematic diagram of a process for generating a sample block for a sample curve, calculating an average pixel of the sample block according to the present invention;
FIG. 7 is a schematic block flow diagram of a projection of a sample block obtained in a second block according to the present invention;
FIG. 8 is a schematic diagram of an average pixel flow of a projection block calculation according to the present invention;
fig. 9 is a schematic flowchart of a spectrum function image calculating process for respectively creating a first projection image and a second projection image according to the present invention.
Detailed Description
The following description is presented to enable one of ordinary skill in the art to make and use the invention. The preferred embodiments in the following description are by way of example only and other obvious variations will occur to those skilled in the art.
Referring to fig. 1, a projector thermal defocus determination method for sharpness evaluation includes:
a coke running model is established, and a coke running threshold value is obtained according to the coke running model;
collecting the internal temperature of the projector, judging whether the internal temperature of the projector is larger than a Jiao Jue value, if so, collecting images, and if not, not performing any operation;
acquiring continuous two-frame projection pictures from the acquired images, judging whether the continuous two-frame projection pictures are subjected to picture switching, if not, carrying out image analysis on the continuous two-frame projection pictures, if so, acquiring the continuous two-frame projection pictures again in time sequence, and continuously judging whether the continuous two-frame projection pictures are subjected to picture switching;
during image analysis, two continuous frames of projection pictures are named as a first projection picture and a second projection picture in time sequence, and the first projection picture and the second projection picture are divided in the same way;
at least one first block is obtained in the first projection picture, at least one second block is obtained in the second projection picture, and the shape and the size of the first block are consistent with those of the second block;
establishing a screen coordinate system by taking the top point of the lower left corner of the projection screen as an original point, taking the transverse edge of the lower left corner of the projection screen as a transverse axis and taking the longitudinal edge of the lower left corner of the projection screen as a longitudinal axis;
using the center coordinates of the first block as the coordinates of the first block and using the center coordinates of the second block as the coordinates of the second block;
selecting a characteristic object in the first block, identifying the edge of the characteristic object, vertically dividing the edge of the characteristic object through the center of the characteristic object, and taking the left edge part of the edge of the characteristic object after being divided as a sample curve;
generating a sample block for the sample curve, and calculating average pixels of the sample block;
acquiring a second block with the same coordinates as the first block, obtaining a projection block of the sample block in the second block, and calculating average pixels of the projection block;
and respectively establishing spectrum function images of the first projection picture and the second projection picture, calculating the deviation degree of the spectrum function images, judging that the coke running occurs if the deviation degree exceeds a preset value, and judging that the coke running does not occur if the deviation degree exceeds the preset value.
The main idea of the scheme is as follows: when the temperature of the projector is low, the projector is not subjected to hot coke running, so that a judging system is closed, image acquisition is not performed, when the projector is larger than a Jiao Jue value, the judging system is started to perform judgment, when the judgment is performed, the situation of picture switching can occur, if the judgment is not performed, the situation of coke running can be caused by misjudgment of the system because the difference between two switched frames of pictures is too large, and therefore, the situation of picture switching is avoided, and under the condition of continuous picture playing, two continuous frames of pictures are obtained to perform judgment;
the picture switching refers to switching a picture shot by one camera to a picture shot by the other camera during shooting;
when judging, because the running focus is the integral action, the analysis of all pixel points of the whole picture is not needed, only some characteristic objects in the picture are needed to be analyzed, when the continuous picture is not switched, the difference of the characteristic objects in the pictures of two continuous frames is very small, as long as the total deviation of the characteristic objects does not exceed a preset value, the running focus does not appear, but exceeds the preset value, the running focus appears, and in order to avoid the statistics of single characteristic objects, the image is divided, the joint judgment is carried out by using a plurality of characteristic objects, and the stability of a judgment system is enhanced.
Referring to fig. 2, the construction of the running focus model includes the steps of:
acquiring historical data of a projector, wherein the historical data comprises the internal temperature of the projector corresponding to the focus running of a projection picture;
and summarizing the internal temperature of the projector corresponding to the projection picture when the projection picture runs out of focus, and obtaining a running focus model.
Referring to fig. 3, according to the running coke model, obtaining the running coke threshold includes the following steps:
sequencing the internal temperatures of the projectors corresponding to the projection pictures in the focus running model when the focus is run, and obtaining the internal temperature of the minimum focus running projector;
subtracting a preset temperature from the internal temperature of the minimum focus-shifting projector to obtain a focus-shifting threshold;
the coke running threshold is lower than the inner temperature of the minimum coke running projector, and is spaced from the inner temperature of the minimum coke running projector by a preset temperature, so that the projector is ensured not to have coke running when the inner temperature of the projector does not reach the coke running threshold.
Referring to fig. 4, determining whether there is a screen switch between two consecutive frames of projection screens includes the steps of:
the two frames of projection pictures are divided into a first picture and a second picture;
selecting at least one identification point in the first picture, wherein the identification points are uniformly distributed on the surface of the first picture;
selecting at least one identification point with the same coordinates from the second picture according to the coordinates of the identification points;
acquiring a pixel value of an identification point and a pixel value of an identification point;
calculating the difference between the first picture and the second picture by using a difference formula;
if the difference between the first picture and the second picture is larger than the preset difference, the picture is switched;
if not, the situation of picture switching does not exist;
the difference formula is as follows:
wherein A is the difference between the first picture and the second picture,for identifying the pixel value of a dot, +.>N is the number of the identification points for the pixel value of the identification point;
because, when the pictures are not switched, the two frames are continuous, the total difference of the two frames is necessarily within a certain range, and if the pictures are switched, the difference of the two frames is large, and the calculated value is always larger than the preset difference.
Referring to fig. 5, identifying edges of a feature object includes the steps of:
selecting a base point in the characteristic object, and transmitting at least one gradient ray by taking the base point as a starting point;
calculating pixel gradients along the gradient rays using a gradient formula;
selecting the maximum pixel gradient on the gradient ray in the first block, and taking any one of two adjacent points corresponding to the maximum pixel gradient as an edge point;
sequentially connecting edge points generated by all gradient rays to obtain the edge of the characteristic object;
the gradient formula is as follows:
wherein B is a pixel gradient, c and d are pixel values of two adjacent points on the gradient ray;
the object change is usually continuously changed, so that the gradient change does not break, but at the edges the chromatic aberration breaks, so that the gradient also breaks, and after passing the edges into another object, the gradient continues to continuously change, so that at the edges the gradient takes a maximum value.
Referring to fig. 6, for a sample block generated from a sample curve, calculating average pixels of the sample block includes the steps of:
the method comprises the steps of translating a sample curve leftwards by a range swept by a preset distance, translating the sample curve rightwards by a range swept by the preset distance, and combining to obtain a sample block;
selecting at least one sampling point in a sample block, wherein the sampling points are uniformly distributed in the sample block;
counting the number of sampling points and pixel values;
calculating average pixels of at least one sampling point to obtain average pixels of a sample block;
the sample curve moves a small distance in the corresponding second block due to the change of the picture, so that the sample block cannot be directly calculated, and the corresponding projection block of the sample block is mainly used for covering the position of the sample curve in the second block, so that the sample block and the projection block both contain the sample curve, and the average pixels of the sample block and the projection block can be calculated for comparison.
Referring to fig. 7, the projection block of the sample block obtained in the second block is specifically as follows:
establishing a first coordinate system by taking the top point of the lower left corner of the first block as an origin, the transverse edge of the lower left corner of the first block as a transverse axis and the longitudinal edge of the lower left corner of the first block as a longitudinal axis;
establishing a second coordinate system by taking the top point of the lower left corner of a second block with the same coordinates as the first block as an origin, taking the transverse edge of the lower left corner of the second block as a transverse axis and taking the longitudinal edge of the lower left corner of the second block as a longitudinal axis;
fitting in a first coordinate system to obtain a boundary fitting function of the sample block;
and (3) making a boundary fitting function in a second coordinate system, and taking an image of the boundary fitting function as a projection block.
Referring to fig. 8, calculating the average pixel of the projection area includes the steps of:
selecting at least one projection point in the projection block, wherein the projection points are uniformly distributed in the projection block;
counting the number of projection points and pixel values;
and calculating the average pixel of at least one projection point to obtain the average pixel of the projection block.
Referring to fig. 9, a spectrum function image of a first projection screen and a spectrum function image of a second projection screen are respectively created, and calculating the degree of deviation of the spectrum function image includes the steps of:
taking average pixels of the sample block in the first block as the spectrum value g of the first block, and combining the coordinates (e, f) of the first block with the spectrum value g of the first block to form three-dimensional coordinates (e, f, g);
in a three-dimensional coordinate system, according to the three-dimensional coordinates, spectrum values of all the first blocks are made to obtain a first spectrum function image, and the three-dimensional coordinate system is composed of an x axis, a y axis and a z axis;
fitting a curved surface formed by the first spectrum function image to obtain a first fitting function z=d (x, y);
taking the average pixel of the projection block in the second block as the spectrum value j of the second block, and combining the coordinate (k, l) of the first block with the spectrum value j of the second block to form a three-dimensional coordinate (k, l, j);
in the three-dimensional coordinate system, according to the three-dimensional coordinates, spectrum values of all second blocks are made, and a second spectrum function image is obtained;
the first spectrum function image and the second spectrum function image are respectively combined with the spectrum values of the first block and the spectrum values of all the second blocks, so that errors of single spectrum values are avoided, and global judgment is influenced;
fitting the curved surface formed by the second spectrum function image to obtain a second fitting function z=E (x, y);
calculating the deviation degree of the frequency spectrum function image by using a deviation formula;
the deviation formula is as follows:
the integral area is an area covered by coordinates of the first block, F is a deviation degree of the spectrum function image, E (x, y) is a second fitting function, and D (x, y) is a first fitting function.
The projector heat focus out judging system for the definition evaluation is used for realizing the projector heat focus out judging method for the definition evaluation, and comprises the following steps:
the model building module is used for building a coke running model and obtaining a coke running threshold value according to the coke running model;
the temperature judging module is used for collecting the internal temperature of the projector and judging whether the internal temperature of the projector is larger than a running Jiao Jue value or not;
the picture judging module judges whether the condition of picture switching exists in two continuous frames of projection pictures or not;
the image segmentation module is used for segmenting the first projection picture and the second projection picture in the same mode;
the system comprises a coordinate establishing module, a first coordinate system and a second coordinate system, wherein the coordinate establishing module establishes a screen coordinate system, a first coordinate system and a second coordinate system;
the image analysis module is used for identifying the edge of the characteristic object, generating a sample block for the sample curve, calculating average pixels of the sample block, calculating average pixels of the projection block and calculating the deviation degree of the spectrum function image.
The working process of the projector thermal focus running judging system for the definition evaluation is as follows:
step one: the model building module builds a coke running model, and obtains a coke running threshold value according to the coke running model;
step two: the temperature judging module collects the internal temperature of the projector, judges whether the internal temperature of the projector is larger than a Jiao Jue value, if so, performs image acquisition, and if not, does not perform any operation;
step three: the picture judging module acquires continuous two-frame projection pictures from the acquired images, judges whether the continuous two-frame projection pictures have picture switching conditions, if not, performs image analysis on the continuous two-frame projection pictures, and if so, re-acquires the continuous two-frame projection pictures in time sequence, and continuously judges whether the continuous two-frame projection pictures have picture switching conditions;
step four: during image analysis, the image segmentation module names two continuous frames of projection pictures as a first projection picture and a second projection picture in time sequence, segments the first projection picture and the second projection picture in the same mode, obtains at least one first block on the first projection picture, obtains at least one second block on the second projection picture, and the shapes and the sizes of the first block and the second block are consistent;
step five: the coordinate building module builds a screen coordinate system by taking the top point of the lower left corner of the projection screen as an original point, the transverse edge of the lower left corner of the projection screen as a transverse axis and the longitudinal edge of the lower left corner of the projection screen as a longitudinal axis;
step seven: the coordinate establishing module uses the central coordinate of the first block as the coordinate of the first block and uses the central coordinate of the second block as the coordinate of the second block;
step eight: the image analysis module selects a characteristic object in the first block, identifies the edge of the characteristic object, vertically segments the edge of the characteristic object through the center of the characteristic object, and takes the left edge part of the characteristic object after the edge segmentation as a sample curve;
step nine: the image analysis module generates a sample block for the sample curve, and calculates average pixels of the sample block;
step ten: the image analysis module acquires a second block with the same coordinates as the first block, a projection block of the sample block is obtained in the second block, and average pixels of the projection block are calculated;
step eleven: the image analysis module respectively establishes frequency spectrum function images of the first projection picture and the second projection picture, calculates the deviation degree of the frequency spectrum function images, judges that the coke running occurs if the deviation degree exceeds a preset value, and judges that the coke running does not occur if the deviation degree exceeds the preset value.
Still further, the present disclosure provides a storage medium having a computer readable program stored thereon, the computer readable program when invoked performing the above-described projector hot running focus determination method for sharpness evaluation.
It is understood that the storage medium may be a magnetic medium, e.g., floppy disk, hard disk, magnetic tape; optical media such as DVD; or a semiconductor medium such as a solid state disk SolidStateDisk, SSD, etc.
In summary, the invention has the advantages that: through setting up temperature judgement module, image segmentation module, picture judgement module and image analysis module, can close judgement system when projector temperature is not high, avoid producing unnecessary computational cost, and when judging the coke breeze, can intercept the characteristic part in two continuous frames picture and judge, can avoid discerning whole picture, and then reduce the calculated amount, promote the efficiency of judgement, and when judging, can distinguish the condition that the picture was switched, can avoid the picture to switch to lead to judging the condition that the mistake appears.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and that the above embodiments and descriptions are merely illustrative of the principles of the present invention, and various changes and modifications may be made therein without departing from the spirit and scope of the invention, which is defined by the appended claims. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (9)

1. A projector hot-run focus judgment method for sharpness evaluation, characterized by comprising:
a coke running model is established, and a coke running threshold value is obtained according to the coke running model;
collecting the internal temperature of the projector, judging whether the internal temperature of the projector is larger than a Jiao Jue value, if so, collecting images, and if not, not performing any operation;
acquiring continuous two-frame projection pictures from the acquired images, judging whether the continuous two-frame projection pictures are subjected to picture switching, if not, carrying out image analysis on the continuous two-frame projection pictures, if so, acquiring the continuous two-frame projection pictures again in time sequence, and continuously judging whether the continuous two-frame projection pictures are subjected to picture switching;
during image analysis, two continuous frames of projection pictures are named as a first projection picture and a second projection picture in time sequence, and the first projection picture and the second projection picture are divided in the same way;
at least one first block is obtained in the first projection picture, at least one second block is obtained in the second projection picture, and the shape and the size of the first block are consistent with those of the second block;
establishing a screen coordinate system by taking the top point of the lower left corner of the projection screen as an original point, taking the transverse edge of the lower left corner of the projection screen as a transverse axis and taking the longitudinal edge of the lower left corner of the projection screen as a longitudinal axis;
using the center coordinates of the first block as the coordinates of the first block and using the center coordinates of the second block as the coordinates of the second block;
selecting a characteristic object in the first block, identifying the edge of the characteristic object, vertically dividing the edge of the characteristic object through the center of the characteristic object, and taking the left edge part of the edge of the characteristic object after being divided as a sample curve;
generating a sample block for the sample curve, and calculating average pixels of the sample block;
acquiring a second block with the same coordinates as the first block, obtaining a projection block of the sample block in the second block, and calculating average pixels of the projection block;
respectively establishing spectrum function images of a first projection picture and a second projection picture, and calculating the deviation degree of the spectrum function images;
the method for calculating the deviation degree of the spectrum function image comprises the following steps of:
taking average pixels of the sample block in the first block as the spectrum value g of the first block, and combining the coordinates (e, f) of the first block with the spectrum value g of the first block to form three-dimensional coordinates (e, f, g);
in a three-dimensional coordinate system, according to the three-dimensional coordinates, spectrum values of all the first blocks are made to obtain a first spectrum function image, and the three-dimensional coordinate system is composed of an x axis, a y axis and a z axis;
fitting a curved surface formed by the first spectrum function image to obtain a first fitting function z=d (x, y);
taking the average pixel of the projection block in the second block as the spectrum value j of the second block, and combining the coordinate (k, l) of the first block with the spectrum value j of the second block to form a three-dimensional coordinate (k, l, j);
in the three-dimensional coordinate system, according to the three-dimensional coordinates, spectrum values of all second blocks are made, and a second spectrum function image is obtained;
fitting the curved surface formed by the second spectrum function image to obtain a second fitting function z=E (x, y);
calculating the deviation degree of the frequency spectrum function image by using a deviation formula;
the deviation formula is as follows:
the integral area is an area covered by coordinates of the first block, F is the deviation degree of the spectrum function image, E (x, y) is a second fitting function, and D (x, y) is a first fitting function;
if the deviation exceeds the preset value, judging that the coke running occurs, and if not, judging that the coke running does not occur.
2. The method for determining thermal focus run out of a projector for sharpness evaluation according to claim 1, wherein the step of creating the focus run out model comprises the steps of:
acquiring historical data of a projector, wherein the historical data comprises the internal temperature of the projector corresponding to the focus running of a projection picture;
and summarizing the internal temperature of the projector corresponding to the projection picture when the projection picture runs out of focus, and obtaining a running focus model.
3. The method for determining a thermal focus run out of a projector for sharpness evaluation according to claim 2, wherein the step of obtaining the focus run out threshold according to the focus run out model comprises the steps of:
sequencing the internal temperatures of the projectors corresponding to the projection pictures in the focus running model when the focus is run, and obtaining the internal temperature of the minimum focus running projector;
subtracting a preset temperature from the internal temperature of the minimum focus-out projector to obtain a focus-out threshold.
4. A projector hot-run determination method for sharpness evaluation according to claim 3, wherein the determination of whether or not there is a picture switching of two consecutive frames of projection pictures comprises the steps of:
the two frames of projection pictures are divided into a first picture and a second picture;
selecting at least one identification point in the first picture, wherein the identification points are uniformly distributed on the surface of the first picture;
selecting at least one identification point with the same coordinates from the second picture according to the coordinates of the identification points;
acquiring a pixel value of an identification point and a pixel value of an identification point;
calculating the difference between the first picture and the second picture by using a difference formula;
if the difference between the first picture and the second picture is larger than the preset difference, the picture is switched;
if not, the situation of picture switching does not exist;
the difference formula is as follows:
wherein A is the difference between the first picture and the second picture,for identifying the pixel value of a dot, +.>For the pixel value of the identification point, n is the number of identification points.
5. The projector hot defocus determination method as set forth in claim 4, wherein the step of identifying the edges of the feature object comprises the steps of:
selecting a base point in the characteristic object, and transmitting at least one gradient ray by taking the base point as a starting point;
calculating pixel gradients along the gradient rays using a gradient formula;
selecting the maximum pixel gradient on the gradient ray in the first block, and taking any one of two adjacent points corresponding to the maximum pixel gradient as an edge point;
sequentially connecting edge points generated by all gradient rays to obtain the edge of the characteristic object;
the gradient formula is as follows:
wherein B is a pixel gradient, and c and d are pixel values of two adjacent points on the gradient ray.
6. The projector hot focus judgment method for sharpness evaluation according to claim 5, wherein said generating a sample block for the sample curve, calculating average pixels of the sample block, comprises the steps of:
the method comprises the steps of translating a sample curve leftwards by a range swept by a preset distance, translating the sample curve rightwards by a range swept by the preset distance, and combining to obtain a sample block;
selecting at least one sampling point in a sample block, wherein the sampling points are uniformly distributed in the sample block;
counting the number of sampling points and pixel values;
and calculating the average pixel of at least one sampling point to obtain the average pixel of the sample block.
7. The method for determining the thermal focus of a projector according to claim 6, wherein the projection block of the sample block obtained in the second block is specifically as follows:
establishing a first coordinate system by taking the top point of the lower left corner of the first block as an origin, the transverse edge of the lower left corner of the first block as a transverse axis and the longitudinal edge of the lower left corner of the first block as a longitudinal axis;
establishing a second coordinate system by taking the top point of the lower left corner of a second block with the same coordinates as the first block as an origin, taking the transverse edge of the lower left corner of the second block as a transverse axis and taking the longitudinal edge of the lower left corner of the second block as a longitudinal axis;
fitting in a first coordinate system to obtain a boundary fitting function of the sample block;
and (3) making a boundary fitting function in a second coordinate system, and taking an image of the boundary fitting function as a projection block.
8. The projector hot defocus determination method as set forth in claim 7, wherein the calculating the average pixel of the projection block comprises the steps of:
selecting at least one projection point in the projection block, wherein the projection points are uniformly distributed in the projection block;
counting the number of projection points and pixel values;
and calculating the average pixel of at least one projection point to obtain the average pixel of the projection block.
9. A projector thermal defocus determination system for sharpness evaluation for implementing the projector thermal defocus determination method for sharpness evaluation according to any one of claims 1 to 8, comprising:
the model building module is used for building a coke running model and obtaining a coke running threshold value according to the coke running model;
the temperature judging module is used for collecting the internal temperature of the projector and judging whether the internal temperature of the projector is larger than a running Jiao Jue value or not;
the picture judging module judges whether the condition of picture switching exists in two continuous frames of projection pictures or not;
the image segmentation module is used for segmenting the first projection picture and the second projection picture in the same mode;
the system comprises a coordinate establishing module, a first coordinate system and a second coordinate system, wherein the coordinate establishing module establishes a screen coordinate system, a first coordinate system and a second coordinate system;
the image analysis module is used for identifying the edge of the characteristic object, generating a sample block for the sample curve, calculating average pixels of the sample block, calculating average pixels of the projection block and calculating the deviation degree of the spectrum function image.
CN202311596650.2A 2023-11-28 2023-11-28 Projector thermal focus out judging method and system for definition evaluation Active CN117319618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311596650.2A CN117319618B (en) 2023-11-28 2023-11-28 Projector thermal focus out judging method and system for definition evaluation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311596650.2A CN117319618B (en) 2023-11-28 2023-11-28 Projector thermal focus out judging method and system for definition evaluation

Publications (2)

Publication Number Publication Date
CN117319618A CN117319618A (en) 2023-12-29
CN117319618B true CN117319618B (en) 2024-03-19

Family

ID=89297616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311596650.2A Active CN117319618B (en) 2023-11-28 2023-11-28 Projector thermal focus out judging method and system for definition evaluation

Country Status (1)

Country Link
CN (1) CN117319618B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016165143A1 (en) * 2015-04-17 2016-10-20 神画科技(深圳)有限公司 Thermal out-of-focus automatic compensation projector
CN108513115A (en) * 2018-03-14 2018-09-07 深圳市点睛创视技术有限公司 A kind of dynamic focusing window selection method and apparatus in optical projection system
WO2019230109A1 (en) * 2018-05-28 2019-12-05 ソニー株式会社 Image processing apparatus and image processing method
CN110769216A (en) * 2018-08-28 2020-02-07 成都极米科技股份有限公司 Projector hot focus-running judging method and projector
CN114286064A (en) * 2020-09-17 2022-04-05 深圳光峰科技股份有限公司 Real-time focusing method, device, system and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7482423B2 (en) * 2020-01-30 2024-05-14 パナソニックIpマネジメント株式会社 Projection display device and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016165143A1 (en) * 2015-04-17 2016-10-20 神画科技(深圳)有限公司 Thermal out-of-focus automatic compensation projector
CN108513115A (en) * 2018-03-14 2018-09-07 深圳市点睛创视技术有限公司 A kind of dynamic focusing window selection method and apparatus in optical projection system
WO2019230109A1 (en) * 2018-05-28 2019-12-05 ソニー株式会社 Image processing apparatus and image processing method
CN110769216A (en) * 2018-08-28 2020-02-07 成都极米科技股份有限公司 Projector hot focus-running judging method and projector
CN114286064A (en) * 2020-09-17 2022-04-05 深圳光峰科技股份有限公司 Real-time focusing method, device, system and computer readable storage medium

Also Published As

Publication number Publication date
CN117319618A (en) 2023-12-29

Similar Documents

Publication Publication Date Title
KR101643607B1 (en) Method and apparatus for generating of image data
RU2607774C2 (en) Control method in image capture system, control apparatus and computer-readable storage medium
US10803609B2 (en) Image distance calculator and computer-readable, non-transitory storage medium storing image distance calculation program
JP5478047B2 (en) Video data compression pre-processing method, video data compression method and video data compression system using the same
CN102025959B (en) The System and method for of high definition video is produced from low definition video
JP2018091667A (en) Information processing device, method for controlling information processing device, and program
CN111612725B (en) Image fusion method based on contrast enhancement of visible light image
EP2983131A1 (en) Method and device for camera calibration
JP2009093644A (en) Computer-implemented method for tacking 3d position of object moving in scene
US11838674B2 (en) Image processing system, image processing method and storage medium
CN107403414B (en) A kind of image area selecting method and system being conducive to fuzzy kernel estimates
CN109934873B (en) Method, device and equipment for acquiring marked image
CN109035170A (en) Adaptive wide-angle image correction method and device based on single grid chart subsection compression
CN101710426B (en) Method for tracking depth image
CN117319618B (en) Projector thermal focus out judging method and system for definition evaluation
WO2020196520A1 (en) Method, system and computer readable media for object detection coverage estimation
JP7312026B2 (en) Image processing device, image processing method and program
CN116721288A (en) Helmet detection method and system based on YOLOv5
CN114677393B (en) Depth image processing method, depth image processing device, image pickup apparatus, conference system, and medium
CN112991419B (en) Parallax data generation method, parallax data generation device, computer equipment and storage medium
KR101371826B1 (en) Zoom motion estimation apparatus and method
TW202226158A (en) Apparatus and method for processing a depth map
CN109328373B (en) Image processing method, related device and storage medium thereof
CN109961413B (en) Image defogging iterative algorithm for optimized estimation of atmospheric light direction
JP7341712B2 (en) Image processing device, image processing method, imaging device, and program

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