CN114666506A - Screening method and device for continuously shot images and electronic equipment - Google Patents

Screening method and device for continuously shot images and electronic equipment Download PDF

Info

Publication number
CN114666506A
CN114666506A CN202210319687.XA CN202210319687A CN114666506A CN 114666506 A CN114666506 A CN 114666506A CN 202210319687 A CN202210319687 A CN 202210319687A CN 114666506 A CN114666506 A CN 114666506A
Authority
CN
China
Prior art keywords
image
clear
degree
variance
images
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
CN202210319687.XA
Other languages
Chinese (zh)
Other versions
CN114666506B (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.)
Guangzhou Fangzhou Information Technology Co ltd
Original Assignee
Guangzhou Fangzhou Information 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 Guangzhou Fangzhou Information Technology Co ltd filed Critical Guangzhou Fangzhou Information Technology Co ltd
Priority to CN202210319687.XA priority Critical patent/CN114666506B/en
Publication of CN114666506A publication Critical patent/CN114666506A/en
Application granted granted Critical
Publication of CN114666506B publication Critical patent/CN114666506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio

Landscapes

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

Abstract

The embodiment of the application relates to a screening method and device for continuously shot images and electronic equipment, wherein the method comprises the following steps: acquiring images obtained by continuous shooting, and judging whether the images are clear or not; if the image is clear, acquiring the clear change degree and the movement degree between the image and the clear image of the previous frame; and if the movement degree and/or the change degree of the definition of the image compared with the definition image of the previous frame exceed a set threshold value, outputting the image. According to the embodiment of the invention, the clear change degree and the moving degree of the two adjacent frames of images in the continuous shooting process are compared, so that clear and unrepeated shot pictures are automatically output, tedious and tedious manual labor is avoided, and the working efficiency and the precision are improved.

Description

Screening method and device for continuously shot images and electronic equipment
Technical Field
The embodiment of the application relates to the field of image processing, in particular to a screening method and device for continuously shot images and electronic equipment.
Background
In working scenes such as bank office and logistics transportation, shooting and scanning of images or bills are often involved, in the application scenes, shooting equipment often continuously shoots a shot subject, and finally an image which meets the definition requirement and is not repeated is required to be acquired.
Generally, for a plurality of images shot continuously, pictures are often screened in a mode of naked eye identification, which not only consumes manpower, but also makes no accurate judgment on the definition of the pictures by naked eyes, so that the screening is time-consuming and the accuracy cannot be ensured.
Disclosure of Invention
The embodiment of the application provides a screening method and device for continuously shot images and electronic equipment, clear and unrepeated shot images can be automatically output, tedious and tedious manual labor is avoided, and working efficiency and accuracy are improved.
In a first aspect, an embodiment of the present application provides a method for screening continuously captured images, where the method includes:
acquiring images obtained by continuous shooting, and judging whether the images are clear or not;
if the image is clear, acquiring the clear change degree and the movement degree between the image and the clear image of the previous frame;
and if the movement degree and/or the change degree of the definition of the image compared with the definition image of the previous frame exceed a set threshold value, outputting the image.
Further, if the movement degree and the change degree of the definition of the image compared with the previous clear image do not exceed the set threshold value, the image and the previous clear image are determined to be a repeated image and are not processed.
Further, judging whether the image is clear comprises:
performing Laplace filtering processing on the image to obtain a Laplace image;
calculating the variance of the Laplace image;
and if the variance is larger than a set threshold value, judging that the image is clear.
Further, acquiring the moving degree between the image and the clear image of the previous frame comprises:
converting the image into a grey scale map;
carrying out binarization processing on the gray level image to obtain a binarized image;
acquiring the absolute value of the difference value between each pixel point at the same position between the binarized image and the binarized image of the previous clear image;
and acquiring the moving degree between the image and the clear image of the previous frame according to the average value of the absolute values of the difference values.
Further, acquiring the degree of change in sharpness between the image and the sharp image of the previous frame, including:
performing Laplace filtering processing on the image to obtain a Laplace image, and calculating the variance of the Laplace image to obtain a first variance;
performing Laplace filtering processing on the previous clear image to obtain a Laplace image, and calculating the variance of the Laplace image to obtain a second variance;
obtaining a difference between the first variance and the second variance;
and acquiring the clear change degree according to the ratio of the difference value to the second variance.
Further, if the current image is the first image obtained by continuous shooting, before acquiring the moving degree between the image and the previous frame of clear image, the method further comprises:
acquiring the width and the height of the binary image;
generating a new image with the same width and height as the binarized image, and presetting a pixel value of the new image;
the new image is determined to be the previous frame sharp image.
Further, if the current image is the first image obtained by continuous shooting, before obtaining the degree of change in sharpness between the image and the sharp image of the previous frame, the method further includes:
the value of the second variance is preset.
In a second aspect, an embodiment of the present application provides a screening apparatus for continuously shooting images, the apparatus including:
the image acquisition module is used for acquiring images obtained by continuous shooting and judging whether the images are clear or not;
the image definition change and movement degree acquisition module is used for acquiring the definition change degree and the movement degree between the image and the previous clear image when the image is clear;
and the image output module is used for outputting the image when the movement degree and/or the definition change degree of the image compared with the previous clear image exceeds a set threshold value.
In a third aspect, an embodiment of the present application provides an electronic device, including:
at least one memory and at least one processor;
the memory for storing one or more programs;
when the one or more programs are executed by the at least one processor, the at least one processor may implement the steps of a method for screening continuously captured images according to the first aspect of the embodiments of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the method for screening continuously captured images according to the first aspect of the embodiment of the present application.
In the embodiment of the application, through carrying out Laplace filtering processing to adjacent two frames of images in front and back in the continuous shooting process, judge whether clear and clear change degree, carry out grey scale processing and binarization processing to two frames of images, judge the degree of movement of pixel around two frames of images, confirm the last frame of image that will satisfy preset clear change degree and degree of movement as the clearest image output in the current continuous shooting process, through calculating the degree of movement, ensure not to output repeated image, the loaded down with trivial details tedious manual labor has been avoided, and work efficiency and precision are improved.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Drawings
Fig. 1 is a schematic view of an application scenario of a screening method for continuously captured images provided in an exemplary embodiment;
FIG. 2 is a flow chart of a screening method of continuously captured images provided in an exemplary embodiment;
FIG. 3 is a flow chart of a method for image sharpness determination provided in an exemplary embodiment;
FIG. 4 is a flow chart of a method of obtaining a degree of change in sharpness of an image provided in an exemplary embodiment;
FIG. 5 is a flow chart of a method of obtaining a degree of movement between sharp images provided in an exemplary embodiment;
FIG. 6 is a flow chart of a particular method of screening consecutively captured images provided in an exemplary embodiment;
fig. 7 is a schematic diagram of an image-a acquired in a specific screening method of continuously shot images provided in an exemplary embodiment;
fig. 8 is a schematic view of an image-B acquired in a specific screening method of continuously shot images provided in an exemplary embodiment;
fig. 9 is a schematic view of an image-C acquired in a specific screening method of continuously shot images provided in an exemplary embodiment;
FIG. 10 is a schematic illustration of log records during continuous capture that provide a particular method of screening continuously captured images in an exemplary embodiment;
FIG. 11 is a block diagram of a screening apparatus for continuously capturing images provided in an exemplary embodiment;
fig. 12 is a schematic structural diagram of an electronic device provided in an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the embodiments in the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims. In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
For the technical problems in the background art, an embodiment of the present application provides a screening method for continuously captured images, and a specific application scenario of the screening method is shown in fig. 1, where a capturing device 100 is in signal connection with an image processing device 200, the capturing device is configured to continuously capture images and send the continuously captured images to the image processing device 200, the image processing device 200 is configured to automatically screen the continuously captured images, duplicate images are removed by an image screening algorithm according to the embodiment of the present application, and clear and unrepeated images are selected and output. The image capturing apparatus 100 may be a camera, a high-speed camera, or the like, the image processing apparatus 200 may be a computer, a server, or other computing device, and the objects of the images captured by the image capturing apparatus 100 may be the same object or different objects.
As shown in fig. 2, in an embodiment, a screening method of continuously shot images of the present application is performed by the image processing apparatus 200 in fig. 1, and includes the following steps:
s201: and acquiring images obtained by continuous shooting, and judging whether the images are clear or not.
The images obtained by continuous shooting can be obtained from the shooting device 100 in real time, that is, the shooting device presets shooting interval time, then maintains the working state of continuous shooting, and sends the images shot in real time to the image processing device 200. In a specific embodiment, the photographing interval time may be set to 2ms or 100 ms. In another example, a plurality of images captured by the image capturing device over a period of time may be transmitted to the image processing device 200 by on-line transmission or mobile medium transmission, and the images may be sequentially read by the image processing device 200 according to the image capturing time.
Sharpness is the sharpness of edge variations in image detail. At the edges of the image detail, the sharper (faster) and sharper (greater contrast) the change in optical density or brightness with position, the sharper and more distinguishable the edges of the detail.
Generally, the more high frequency components in an image, the greater the difference between an abrupt pixel and a neighboring pixel, and the sharper the image. Based on the principle, whether the image is clear or not can be judged by subtracting two gray values of the neighborhood on the right side of each pixel level and multiplying the two gray values, accumulating the two gray values one by one, and calculating the square of the gray difference of the two adjacent pixels. In other examples, the image sharpness may be evaluated by variance, entropy, and other spatial parameters.
Specifically, as shown in fig. 3, the embodiment of the present application determines whether the image is clear or not by the following method:
s2011: performing Laplace filtering processing on the image to obtain a Laplace image;
s2012: calculating the variance of the Laplace image;
s2013: and if the variance is larger than a set threshold value, judging that the image is clear.
S202: if the image is clear, acquiring the clear change degree and the movement degree between the image and the clear image of the previous frame;
and judging the definition of the previous clear image frame through the steps. It may be an image taken at a previous time, or an image taken at a next previous time if the image taken at the previous time is not clear enough, and so on.
The definition change degree indicates the definition change between the image and the previous frame image, that is, the definition change degree can be obtained by comparing the definition degree of the image with the definition degree of the previous frame image, and then the definition change degree depends on which definition calculation mode is adopted in the embodiment of the application.
In an alternative example, as shown in fig. 4, the obtaining of the degree of sharpness change between the image and the sharp image of the previous frame specifically includes the following steps:
s2021: performing laplacian filtering processing on the image to obtain a laplacian image, and calculating the variance of the laplacian image to obtain a first variance;
s2022: performing Laplace filtering processing on the previous clear image to obtain a Laplace image, and calculating the variance of the Laplace image to obtain a second variance;
s2023: obtaining a difference between the first variance and the second variance;
s2024: and acquiring the clear change degree according to the ratio of the difference value to the second variance.
In another embodiment, if the current image is the first image obtained by continuous shooting, before acquiring the degree of change in sharpness between the current image and the sharp image of the previous frame, the method further includes:
the value of the second variance is preset.
Preferably, the value of the second variance is preset to 0 or 1.
In an alternative example, as shown in fig. 5, the obtaining of the moving degree between the image and the previous clear image specifically includes the following steps:
s2025: converting the image into a grey scale map;
s2026: carrying out binarization processing on the gray level image to obtain a binarized image;
s2027: acquiring the absolute value of the difference value between each pixel point at the same position between the binarized image and the binarized image of the previous clear image;
s2028: and acquiring the moving degree between the image and the clear image of the previous frame according to the average value of the absolute values of the difference values.
In another embodiment, if the current image is the first image obtained by continuous shooting, before acquiring the moving degree between the image and the clear image of the previous frame, the method further comprises:
acquiring the width and the height of the binary image;
generating a new image with the same width and height as the binary image, and presetting the pixel value of the new image; preferably, the pixel value may be preset to zero.
The new image is determined to be the previous frame sharp image.
S203: and if the movement degree and/or the change degree of the definition of the image compared with the definition image of the previous frame exceed a set threshold value, outputting the image.
The moving degree and/or the definition change degree of each frame of image acquired in the continuous shooting process are/is calculated, and the image with the value exceeding the set threshold value is output, so that the output image is always the shooting image with the highest definition and no repetition in the current shooting process.
In another embodiment, if the movement degree and the change degree of the definition between the image and the previous clear image do not exceed the set threshold, the image and the previous clear image are determined as a repeated image and are not processed.
As shown in fig. 6, in a specific example, a method for screening continuously shot images of the present application includes the following steps:
s301: acquiring image images obtained by continuous shooting of a high-speed shooting instrument, performing Laplace filtering processing on the image images, calculating the Laplace variance var of the image images, and confirming that the image images with the variance var > 13 are clear images.
S302: the image and the previous _ image captured in the previous frame are converted into a gray scale image, and binarization processing is performed to obtain binary images binary and previous _ binary.
S303: by passing
degree=mean(|previous_binary-binary|)
And
clear_varance=(var-previous_var)/previous_var
to calculate the degree of movement degree and the degree of sharpness change clear _ variance of the image.
S304: and outputting the image with the movement degree of more than 5 and the clear change degree clear _ variance of more than 0.06.
In one other example, the calculated image movement degree may be further calculated by:
degree=d×sum(|previous_binary-binary|)
where d is a predetermined coefficient, which in this embodiment is predetermined to be 0.0000007.
In a specific example, the continuous shooting device is a high-speed camera, the image processing apparatus is a computer, the preset shooting interval time is 2ms or 100ms, the preset laplace variance is 13, the preset image movement degree is 5, and the preset clear change degree clear _ variance is 0.06.
And (3) starting the high-speed camera to keep a continuous shooting state, and shooting to obtain an image-A shown in figure 7. And the computer receives the image-A sent by the high-speed shooting instrument, enters a calculation analysis process, performs Laplace filtering processing on the image, and calculates to obtain that the variance var-A of the image-A is 3.9. Because the variance is smaller than the preset variance 13, the image-A is an unclear image, the calculation analysis process is ended, and the computer does not output the image.
In the continuous shooting state, an image-B shown in fig. 8, which is a frame image subsequent to the image-a, is acquired. And the computer receives the image-B sent by the high-speed shooting instrument, enters a calculation analysis process, performs Laplace filtering processing on the image, and calculates to obtain that the variance var-B of the image-B is 21.2. And (4) because the variance is greater than the preset variance 13, the image-B is a clear image, and the next computational analysis process is carried out.
And the computer converts the image-B into a gray-scale image gray-B, and then the gray-scale image gray-B is subjected to binarization processing through an OTSU algorithm to obtain a binary image binary-B. Calculating the image-B relative to the image-A by using a default (default _ binding-binding |), calculating the degree of movement of the image-B, and determining that the image-B is not moved if the degree value is 1.8 and is less than a preset value of 5; and calculating the clearness change degree clearness _ variance-B according to the clearness _ variance ═ (var-previous _ variance)/previous _ variance, obtaining a clearness _ variance-B value of 4.43 which is greater than a preset value of 0.06, and confirming that the image-B is an unmoved and clearer image relative to the image-A. And the computer outputs the image-B to the display, and the display displays the shooting result of the high-speed shooting instrument on the image-B.
In the continuous shooting state, an image-C as shown in fig. 9, which is a frame image subsequent to the image-B, is acquired. The flow of the above-described calculation analysis of the image-B was repeated, and the Degree of movement Degreee-C of the image-C with respect to the image-B was calculated to be 22.8 and the Degree of clear change clear _ variance-C was calculated to be 4.95. And (4) because the movement degree and the definition change degree are both higher than the preset values, if the image-C is confirmed to be a more clear image relative to the movement of the image-B, the computer outputs the image-C to the display at the moment, and the shooting result of the high-speed shooting instrument on the image-C is displayed on the display.
In the present embodiment, if the subject is not changed but the subject is moved within the imaging range, it is considered that the images before and after the movement are non-overlapping images.
When the device applying the screening method for continuously shot images works, the running log is as shown in fig. 10, where the image definition is the laplacian variance var in this embodiment, the image variation degree is the image movement degree in this embodiment, and at the same time, the state of each picture in the continuous shooting process is prompted, and the "saved picture" is the output display of the picture.
In the embodiment of the application, through carrying out Laplace filtering processing to adjacent two frames of images in front and back in the continuous shooting process, judge whether clear and clear change degree, carry out grey scale processing and binarization processing to two frames of images, judge the degree of movement of pixel around two frames of images, confirm the last frame of image that will satisfy preset clear change degree and degree of movement as the clearest image output in the current continuous shooting process, through calculating the degree of movement, ensure not to output repeated image, the loaded down with trivial details tedious manual labor has been avoided, and work efficiency and precision are improved.
Fig. 11 is a screening apparatus for continuously captured images according to an embodiment of the present application, and as shown in fig. 11, the screening apparatus 400 for continuously captured images includes:
an image obtaining module 401, configured to obtain images obtained by continuous shooting, and determine whether the images are clear;
an image sharpness change and movement degree obtaining module 402, configured to obtain, when the image is sharp, a sharpness change degree and a movement degree between the image and a previous clear image;
and an image output module 403, configured to output the image when a degree of movement and/or a degree of change in sharpness between the image and a sharp image of a previous frame exceeds a set threshold.
In an exemplary embodiment, the image sharpness change and movement degree obtaining module 402 is further configured to:
and when the moving degree and the definition change degree of the image compared with the previous clear image do not exceed the set threshold, the image and the previous clear image are determined as repeated images and are not processed.
In an exemplary embodiment, the image sharpness variation and movement degree obtaining module 402 further includes:
a laplacian image obtaining unit, configured to perform laplacian filtering on the image to obtain a laplacian image;
a variance calculating unit for calculating a variance of the laplacian image;
and the definition judging unit is used for judging the definition of the image when the variance is larger than a set threshold value.
In an exemplary embodiment, the image sharpness variation and movement degree obtaining module 402 further includes:
a grayscale map converting unit for converting the image into a grayscale map;
a binarization image obtaining unit, configured to perform binarization processing on the grayscale image to obtain a binarization image;
a pixel point difference value obtaining unit for obtaining the absolute value of the difference value between each pixel point at the same position between the binary image and the binary image of the previous clear image;
and the movement degree acquisition unit is used for acquiring the movement degree between the image and the clear image of the previous frame according to the average value of the absolute values of the difference values.
In an exemplary embodiment, the image sharpness variation and movement degree obtaining module 402 further includes:
a first variance obtaining unit, configured to perform laplacian filtering on the image to obtain a laplacian image, and calculate a variance of the laplacian image to obtain a first variance;
the second variance acquiring unit is used for performing Laplace filtering processing on the previous clear image to obtain a Laplace image, and calculating the variance of the Laplace image to obtain a second variance;
a variance difference acquisition unit for acquiring a difference between the first variance and the second variance;
and the clear change degree acquisition unit is used for acquiring the clear change degree according to the ratio of the difference value to the second variance.
In an exemplary embodiment, before acquiring the moving degree between the current image and the previous clear image when the current image is the first image obtained by continuous shooting, the image sharpness change and moving degree acquiring module 402 further includes:
a width and height acquisition unit for acquiring a width and a height of the binarized image;
a new image generating unit for generating a new image having the same width and height as the binarized image and presetting a pixel value of the new image;
and the clear image determining unit is used for determining the new image as a clear image of the previous frame.
In an exemplary embodiment, before acquiring the degree of change in sharpness between the current image and the previous clear image when the current image is the first image obtained by continuous shooting, the image sharpness change and movement degree acquiring module 402 further includes:
and the second variance presetting unit is used for presetting the value of the second variance.
As shown in fig. 11, fig. 11 is a block diagram of an electronic device according to an exemplary embodiment of the present application.
The electronic device includes a processor 910 and a memory 920. The number of the processors 910 in the main control chip may be one or more, and one processor 910 is taken as an example in fig. 11. The number of the memories 920 in the main control chip may be one or more, and one memory 920 is taken as an example in fig. 11.
The memory 920 is used as a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as a program of the screening method for continuously captured images according to any embodiment of the present application, and program instructions/modules corresponding to the screening method for continuously captured images according to any embodiment of the present application. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 920 may further include memory located remotely from the processor 910, which may be connected to devices over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 910 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 920, so as to implement a screening method for continuously captured images as described in any of the above embodiments.
The present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements a method for screening continuously captured images according to any one of the above embodiments.
The present invention may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, having program code embodied therein. Computer readable storage media, which include both non-transitory and non-transitory, removable and non-removable media, may implement any method or technology for storage of information. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium may be used to store information that may be accessed by a computing device.
It is to be understood that the embodiments of the present application are not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the embodiments of the present application is limited only by the following claims.
The above-mentioned embodiments only express a few embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for those skilled in the art, without departing from the concept of the embodiments of the present application, several variations and modifications can be made, which all fall within the scope of the embodiments of the present application.

Claims (10)

1. A method of screening continuously captured images, the method comprising:
acquiring images obtained by continuous shooting, and judging whether the images are clear or not;
if the image is clear, acquiring the clear change degree and the movement degree between the image and the clear image of the previous frame;
and if the movement degree and/or the change degree of the definition of the image compared with the definition image of the previous frame exceed a set threshold value, outputting the image.
2. The method for screening continuously shot images according to claim 1, wherein:
and if the movement degree and the definition change degree of the image compared with the previous clear image do not exceed the set threshold, determining that the image and the previous clear image are repeated images and not processing.
3. The method as claimed in claim 1, wherein the step of determining whether the image is clear comprises:
performing Laplace filtering processing on the image to obtain a Laplace image;
calculating the variance of the Laplace image;
and if the variance is larger than a set threshold value, judging that the image is clear.
4. The method as claimed in claim 1, wherein the step of obtaining the degree of movement between the image and the previous clear image comprises:
converting the image into a grey scale map;
carrying out binarization processing on the gray scale image to obtain a binarization image;
acquiring the absolute value of the difference value between each pixel point at the same position between the binarized image and the binarized image of the previous clear image;
and acquiring the moving degree between the image and the clear image of the previous frame according to the average value of the absolute values of the difference values.
5. The method for screening continuously shot images according to claim 1, wherein obtaining the degree of sharpness change between the image and a sharp image of a previous frame comprises:
performing Laplace filtering processing on the image to obtain a Laplace image, and calculating the variance of the Laplace image to obtain a first variance;
performing Laplace filtering processing on the previous clear image to obtain a Laplace image, and calculating the variance of the Laplace image to obtain a second variance;
obtaining a difference between the first variance and the second variance;
and acquiring the clear change degree according to the ratio of the difference value to the second variance.
6. The method as claimed in claim 4, wherein if the current image is the first image obtained by continuous shooting, before obtaining the moving degree between the current image and the previous clear image, the method further comprises:
acquiring the width and the height of the binary image;
generating a new image with the same width and height as the binary image, and presetting the pixel value of the new image;
the new image is determined to be the previous frame sharp image.
7. The method as claimed in claim 5, wherein if the current image is the first image obtained by continuous shooting, before obtaining the degree of change in sharpness between the current image and the sharp image of the previous frame, further comprising:
the value of the second variance is preset.
8. A screening apparatus for continuously taking images, the apparatus comprising:
the image acquisition module is used for acquiring images obtained by continuous shooting and judging whether the images are clear or not;
the image definition change and movement degree acquisition module is used for acquiring the definition change degree and the movement degree between the image and the previous clear image when the image is clear;
and the image output module is used for outputting the image when the movement degree and/or the definition change degree of the image compared with the clear image of the previous frame exceed a set threshold value.
9. An electronic device, comprising:
at least one memory and at least one processor;
the memory for storing one or more programs;
when executed by the at least one processor, the one or more programs cause the at least one processor to carry out the steps of the method of screening of consecutively captured images as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of screening of consecutively captured images according to any one of claims 1 to 7.
CN202210319687.XA 2022-03-29 2022-03-29 Screening method and device for continuously shot images and electronic equipment Active CN114666506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210319687.XA CN114666506B (en) 2022-03-29 2022-03-29 Screening method and device for continuously shot images and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210319687.XA CN114666506B (en) 2022-03-29 2022-03-29 Screening method and device for continuously shot images and electronic equipment

Publications (2)

Publication Number Publication Date
CN114666506A true CN114666506A (en) 2022-06-24
CN114666506B CN114666506B (en) 2023-01-06

Family

ID=82032693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210319687.XA Active CN114666506B (en) 2022-03-29 2022-03-29 Screening method and device for continuously shot images and electronic equipment

Country Status (1)

Country Link
CN (1) CN114666506B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device
CN104767933A (en) * 2015-03-13 2015-07-08 北京畅游天下网络技术有限公司 Portable digital equipment with photographing function and method for screening photos
WO2016008242A1 (en) * 2014-07-18 2016-01-21 小米科技有限责任公司 Photographing method and apparatus
CN105654463A (en) * 2015-11-06 2016-06-08 乐视移动智能信息技术(北京)有限公司 Image processing method applied to continuous shooting process and apparatus thereof
CN106327426A (en) * 2016-08-19 2017-01-11 携程计算机技术(上海)有限公司 Image replication removing method and image replication removing system
CN110109878A (en) * 2018-01-10 2019-08-09 广东欧珀移动通信有限公司 Photograph album management method, device, storage medium and electronic equipment
CN111598794A (en) * 2020-04-24 2020-08-28 山东易华录信息技术有限公司 Image imaging method and device for removing underwater overlapping condition

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016008242A1 (en) * 2014-07-18 2016-01-21 小米科技有限责任公司 Photographing method and apparatus
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device
CN104767933A (en) * 2015-03-13 2015-07-08 北京畅游天下网络技术有限公司 Portable digital equipment with photographing function and method for screening photos
CN105654463A (en) * 2015-11-06 2016-06-08 乐视移动智能信息技术(北京)有限公司 Image processing method applied to continuous shooting process and apparatus thereof
CN106327426A (en) * 2016-08-19 2017-01-11 携程计算机技术(上海)有限公司 Image replication removing method and image replication removing system
CN110109878A (en) * 2018-01-10 2019-08-09 广东欧珀移动通信有限公司 Photograph album management method, device, storage medium and electronic equipment
CN111598794A (en) * 2020-04-24 2020-08-28 山东易华录信息技术有限公司 Image imaging method and device for removing underwater overlapping condition

Also Published As

Publication number Publication date
CN114666506B (en) 2023-01-06

Similar Documents

Publication Publication Date Title
US8754963B2 (en) Processing images having different focus
Bahrami et al. A fast approach for no-reference image sharpness assessment based on maximum local variation
CN108337505B (en) Information acquisition method and device
KR960706644A (en) METHOD AND APPARATUS FOR BACKGROUND DETERMINATION AND SUBTRACTION FOR A MONOCULAR VISION SYSTEM
JP2011521521A (en) Optimal video selection
CN110288560B (en) Image blur detection method and device
CN113052754B (en) Method and device for blurring picture background
CN114078127B (en) Object defect detection and counting method, device, equipment and storage medium
CN114666506B (en) Screening method and device for continuously shot images and electronic equipment
Bahrami et al. Efficient image sharpness assessment based on content aware total variation
CN113792600A (en) Video frame extraction method and system based on deep learning
CN115294035B (en) Bright spot positioning method, bright spot positioning device, electronic equipment and storage medium
CN111179245A (en) Image quality detection method, device, electronic equipment and storage medium
CN116228712A (en) Multi-scale slope disaster monitoring method, system and device
CN114359183A (en) Image quality evaluation method and device, and lens occlusion determination method
CN112365398B (en) Super-resolution network training method, digital zooming method, device and electronic equipment
CN110136237B (en) Image processing method, device, storage medium and electronic equipment
CN111860326B (en) Building site article movement detection method, device, equipment and storage medium
KR20150141259A (en) Filtering Method based on Image Sensor Noise-Model and Image System using the same
CN114049317A (en) CCD equipment automatic inspection system and method based on artificial intelligence
Rosli et al. Some technique for an Image of defect in inspection process based on image processing
CN112529845A (en) Image quality value determination method, image quality value determination device, storage medium, and electronic device
CN111353991A (en) Target detection method and device, electronic equipment and storage medium
CN107295254B (en) Photo processing method and photographing terminal
CN117852312B (en) Simulation model verification method, system, electronic device and computer program product

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
CP02 Change in the address of a patent holder

Address after: Room 206-208, Building 4, No. 2 Tiantai 1st Road, Huangpu District, Guangzhou City, Guangdong Province, 510700

Patentee after: Guangzhou Fangzhou Information Technology Co.,Ltd.

Address before: 510700 room 1005, No. 118, banhe Road, Huangpu District, Guangzhou, Guangdong

Patentee before: Guangzhou Fangzhou Information Technology Co.,Ltd.

CP02 Change in the address of a patent holder