[go: up one dir, main page]

CN116320405B - Security monitoring video compression storage method - Google Patents

Security monitoring video compression storage method Download PDF

Info

Publication number
CN116320405B
CN116320405B CN202310552380.9A CN202310552380A CN116320405B CN 116320405 B CN116320405 B CN 116320405B CN 202310552380 A CN202310552380 A CN 202310552380A CN 116320405 B CN116320405 B CN 116320405B
Authority
CN
China
Prior art keywords
image
images
same type
sub
similarity
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
CN202310552380.9A
Other languages
Chinese (zh)
Other versions
CN116320405A (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.)
Beijing Fanhai Zijin Technology Co.,Ltd.
Original Assignee
Xi'an Changbang Electronic 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 Xi'an Changbang Electronic Technology Co ltd filed Critical Xi'an Changbang Electronic Technology Co ltd
Priority to CN202310552380.9A priority Critical patent/CN116320405B/en
Publication of CN116320405A publication Critical patent/CN116320405A/en
Application granted granted Critical
Publication of CN116320405B publication Critical patent/CN116320405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application discloses a security monitoring video compression storage method, which comprises the following steps: dividing a monitoring area into a plurality of sub-areas, dividing the image presented by each frame of video monitoring according to the divided sub-areas in the same way, and presenting a plurality of images in each sub-area; and carrying out similarity matching on a plurality of images presented in each sub-area, and classifying images with high similarity. The application only needs to compress the image with the optimal image quality in the same type of image once, can effectively reduce the compression times of the same type of image, and further reduces the whole compression times, thereby greatly reducing the compression time, improving the compression efficiency, and secondly, the application takes the image with the optimal image quality in the same type of image as a reference image for compression and then replaces, can replace all the images in the same type of image with the optimal image quality, and can effectively improve the quality of the compressed video.

Description

Security monitoring video compression storage method
Technical Field
The application relates to the technical field of security monitoring video compression storage, in particular to a security monitoring video compression storage method.
Background
The security monitoring system is an electronic system or a network which monitors a fortification area by utilizing a video detection technology and displays and records field images in real time; because the image data volume that security monitoring system involved is huge, a large amount of image data storage in storage equipment, will occupy more storage equipment capacity with tended to occupy, consequently need to compress the storage after storing to a large amount of image data, consequently security monitoring system involves the compression storage of a large amount of images.
The prior art has the following defects: in the prior art, when video is compressed, most of images of all frames in the video are compressed, when a monitoring area is in a static picture for a long time, the image similarity of all frames is very high (almost identical), if all the areas with very high similarity in all the frames are compressed one by one, a great deal of time is spent, the efficiency of video compression is greatly reduced, and secondly, when the image similarity of many frames is very high, if the images of many frames are respectively compressed, the observation of the video picture is affected when the picture with poor image quality exists in the video picture.
The above information disclosed in the background section is only for enhancement of understanding of the background of the disclosure and therefore it may include information that does not form the prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
The application aims to provide a security monitoring video compression storage method, the monitoring area is divided into a plurality of sub-areas, the images presented by each frame of video monitoring are divided according to the divided sub-areas in the same way, each sub-area presents a plurality of images, then the images presented in each sub-area are subjected to similarity matching, the images with high similarity are classified, image parameters in the same type of images are obtained, a data analysis model is established according to the image parameters, image quality screening evaluation coefficients are generated, the image quality screening evaluation coefficients obtained by the same type of images are sequentially ordered, the images with the optimal image quality in the same type of images are screened out, the images with the optimal image quality in the same type of images are used as reference images for compression, the compressed images with the optimal image quality in the same type of images are completely replaced, only the images with the optimal image quality in the same type of images are required to be compressed once, the compression times of the images with the same type of images are reduced, the compression times of the whole image with the same type of images are reduced, the compression time is greatly reduced, the compression efficiency is improved, the image quality in the same type of images with the optimal image quality as the reference images can be replaced, and the quality of the images with the optimal image quality in the same type of images can be compressed.
In order to achieve the above object, the present application provides the following technical solutions: a security monitoring video compression storage method comprises the following steps:
dividing a monitoring area into a plurality of sub-areas, dividing the image presented by each frame of video monitoring according to the divided sub-areas in the same way, and presenting a plurality of images in each sub-area;
performing similarity matching on a plurality of images presented in each sub-area, and classifying images with high similarity;
acquiring image parameters in the same type of image, establishing a data analysis model according to the image parameters, and generating an image quality screening evaluation coefficient;
and screening out the images with the optimal image quality in the same type of images, compressing the images with the optimal image quality in the same type of images serving as reference images, and completely replacing other images in the same type of images after compressing the images.
Preferably, the monitoring area is divided into a plurality of sub-areas, the number of the sub-areas is set to be N, N is a positive integer greater than or equal to 2, the images displayed by each frame of the video monitoring are divided according to the divided sub-areas in the same way, and if the number of frames in the video is m, and m is a positive integer, m images are displayed in each sub-area.
Preferably, the similarity of a plurality of images is evaluated based on a feature vector method, which comprises the following steps:
s1: feature extraction
For each image, firstly extracting key points and feature vectors thereof by using a feature extraction algorithm;
s2: feature matching
Matching each image with all other images by calculating the distance or similarity between the feature vectors;
s3: feature aggregation
Aggregating the matching results of each image to form a feature vector related to all the images;
s4: similarity calculation
Obtaining a similarity matrix between all images by calculating the distance or similarity between the feature vectors;
s5: similarity ordering
And sequencing each image according to the similarity of the images with other images to obtain a plurality of images with the highest similarity.
Preferably, the image parameters include a noise duty ratio, an image contrast, a color accuracy and a color distortion value in the image, and after acquisition, the noise duty ratio, the image contrast, the image blur and the color distortion value are respectively calibrated to ZSZi, DBDi, MHZi, SZZi.
Preferably, the noise ratio, that is, the area of noise in the image, occupies the area of the image, and the expression is calculated as:in the formula, yx represents the area of the noise region, x represents the number of noise regions, and x=1, 2, 3, … …, n is a positive integer.
Preferably, the image contrast refers to the degree of difference between the brightest pixel and the darkest pixel in the image, and the image contrast can be calculated by the following formula:the method comprises the steps of carrying out a first treatment on the surface of the Wherein->Luminance value representing brightest pixel in image, and>the brightness value representing the darkest pixel in the image, and the contrast range is between 0 and 1.
Preferably, the image ambiguity is an index for describing the sharpness of an image, and is commonly used for evaluating the quality of the image, and the image ambiguity is measured by a gradient method, wherein the measuring steps are as follows:
A. carrying out graying treatment on the image;
B. calculating a gradient value of each pixel point in the image, and calculating by using a filter such as a Sobel operator or a Prewitt operator;
C. and (3) averaging the gradient values of all the pixel points to obtain an average gradient value of the image, namely the image ambiguity.
Preferably, the color distortion is measured using DeltaE values calculated in the following manner:wherein L1, a1, b1 are the L, a, b values of the actual color, respectively, L2, a2, b2 are the L, a, b values in the image, respectively; the color distortion value is directly obtained through the DeltaE value.
Preferably, after obtaining the noise duty ratio ZSZi, the image contrast DBDi, the image blur degree MHZi and the color distortion value SZZi, a data analysis model is established, and an image quality screening evaluation coefficient PGXi is generated according to the following formula:
in (1) the->、/>、/>、/>Preset proportionality coefficients of noise ratio, image contrast, image blur degree and color distortion value respectively +.>、/>、/>、/>Are all greater than 0.
Preferably, after the image quality screening evaluation coefficients obtained from the same type of image are obtained, the image quality screening evaluation coefficients obtained from the same type of image are sorted in order from large to small or from small to large, the image corresponding to the maximum value of the image quality screening evaluation coefficients is screened out, the image corresponding to the maximum value of the image quality screening evaluation coefficients is the image with the optimal image quality, the image corresponding to the maximum value of the image quality screening evaluation coefficients is compressed as the compression reference image, and then the compressed image is replaced by other images of the same type.
In the technical scheme, the application has the technical effects and advantages that:
according to the application, the monitoring area is divided into a plurality of sub-areas, the image presented by each frame of video monitoring is divided according to the divided sub-areas in the same way, so that each sub-area presents a plurality of images, then the images presented in each sub-area are subjected to similarity matching, the images with high similarity are classified, the image parameters in the images with the same type are obtained, a data analysis model is established according to the image parameters, an image quality screening evaluation coefficient is generated, the image quality screening evaluation coefficients obtained by the images with the same type are sequentially ordered, the image with the optimal image quality in the image with the same type is screened, the compressed image with the optimal image quality in the image type is used as a reference image to be compressed, the compressed image with the maximum value of the image quality screening evaluation coefficient is used as a compression reference image to be completely replaced, and then the compressed image with the optimal image with the same type is completely replaced, and only the image with the optimal image quality in the image with the same type is compressed, so that the number of times of compression of the images with the same type is effectively reduced, the time of compression of the image with the same type is greatly reduced, the time of compression of the image with the optimal image quality is greatly reduced, and the quality of the image with the optimal quality is compressed image with the reference image quality of the same type is compressed.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to these drawings for those skilled in the art.
Fig. 1 is a flow chart of a method for compressing and storing security monitoring video.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
The application provides a security monitoring video compression storage method as shown in fig. 1, which comprises the following steps:
dividing a monitoring area into a plurality of sub-areas, dividing the image presented by each frame of video monitoring according to the divided sub-areas in the same way, and presenting a plurality of images in each sub-area;
when the video monitoring system is in practical use, the monitoring area is divided into a plurality of sub-areas, the number of the sub-areas is set to be N, N is a positive integer greater than or equal to 2, the images displayed by each frame of video monitoring are divided according to the divided sub-areas in the same way, and if the number of frames in the video is m, and m is a positive integer, m images are displayed in each sub-area;
performing similarity matching on a plurality of images presented in each sub-area, and classifying images with high similarity;
the similarity of a plurality of images is evaluated based on a feature vector method, and the method comprises the following steps:
s1: feature extraction
For each image, extracting key points and feature vectors thereof by using a feature extraction algorithm (such as SIFT, SURF or ORB, etc.);
s2: feature matching
Matching each image with all other images by calculating the distance or similarity between the feature vectors;
s3: feature aggregation
Aggregating the matching results of each image to form a feature vector related to all the images;
s4: similarity calculation
Obtaining a similarity matrix between all images by calculating the distance or similarity between the feature vectors;
s5: similarity ordering
Sequencing each image according to the similarity of the images with other images to obtain a plurality of images with highest similarity;
classifying the images according to the similarity based on a feature vector method, and further processing the same type of images with high similarity;
it should be noted that, the plurality of images with the highest similarity are one type of images, and the pictures of the images in the same type of images are identical;
acquiring image parameters in the same type of image, establishing a data analysis model according to the image parameters, and generating an image quality screening evaluation coefficient;
the image parameters comprise a noise duty ratio, an image contrast, color accuracy and a color distortion value in the image, and after acquisition, the noise duty ratio, the image contrast, the image ambiguity and the color distortion value are respectively calibrated to be ZSZi, DBDi, MHZi, SZZi;
the noise ratio, that is, the area of noise in the image, occupies the area of the image, and the expression is calculated as follows:wherein Yx represents the area of the noise region, x represents the number of noise regions, x=1, 2, 3, … …, n being a positive integer; during image acquisition and processing, due to interference and influence of various factors, some unrealistic pixels or pixel values appear in the image, and the unrealistic pixels or pixel values are called noise, and the noise can be classified into various types such as Gaussian noise, spiced salt noise, speckle noise and the like, wherein the Gaussian noise is the most effectiveA common noise type is generated due to the influence of electronic noise or other environmental factors of the image acquisition equipment, salt-and-pepper noise is generated due to signal loss or errors in the image transmission or storage process, speckle noise is caused by damage or failure of certain pixels of the image acquisition equipment, and noise has great influence on image processing and analysis;
the image contrast refers to the degree of difference between the brightest pixel and the darkest pixel in the image, the image with high contrast means that the difference between the brightest and darkest parts is large, the color and detail of the image are more vivid, on the contrary, the image with low contrast means that the difference between the brightest and darkest parts is smaller, and the color and detail of the image become blurred or unclear;
the image contrast can be calculated by the following formula:the method comprises the steps of carrying out a first treatment on the surface of the Wherein->Luminance value representing brightest pixel in image, and>the brightness value of the darkest pixel in the image is represented, the value range of the contrast is between 0 and 1, the larger the value is, the higher the contrast is, and the more vivid the color and detail of the image are;
the image blur degree is an index for describing the image definition, and is commonly used for evaluating the image quality, the smaller the image blur degree is, the clearer the detail information in the image is, the better the image quality is, and the image blur degree is commonly measured by adopting a gradient method, wherein the measuring steps are as follows:
A. carrying out graying treatment on the image;
B. calculating a gradient value of each pixel point in the image, and calculating by using a filter such as a Sobel operator or a Prewitt operator;
C. averaging the gradient values of all the pixel points to obtain an average gradient value of the image, namely the image ambiguity;
color distortion refers to the fact that the color in an image is different from that of an actual object or a strange color stripe appears, and the color distortion is calculated by using a DeltaE value, which represents the difference degree between the actual color and the color in the image, and the common DeltaE calculating method is as follows:wherein L1, a1, b1 are the L, a, b values of the actual color, respectively, L2, a2, b2 are the L, a, b values in the image, respectively;
the values of L, a, b are three parameters in the CIELab-color space, which is a standardized color space proposed by the international commission on illumination (CIE) in 1976 for describing the color characteristics of objects;
l represents brightness (Luminance), the value range is from 0 to 100, the range from black to white is represented, a and b represent the range of colors, the a-axis represents the red-green axis, the value range is from-128 to 127, the negative value represents green, the positive value represents red, the b-axis represents the blue-yellow axis, the value range is also from-128 to 127, the negative value represents blue, and the positive value represents yellow; therefore, the brightness, red-green tone and blue-yellow tone of one color can be accurately described through the values of L, a and b;
the color distortion value SZZi is directly obtained through the DeltaE value, and the color distortion value is used for indicating the degree of difference between the actual color and the color in the image, so that the larger the distortion value is, the larger the difference between the color in the image and the actual color is, namely the worse the color reduction capability of the image is, and the worse the image quality is;
after obtaining a noise duty ratio ZSZi, an image contrast DBDi, an image ambiguity MHZi and a color distortion value SZZi, establishing a data analysis model to generate an image quality screening evaluation coefficient PGxi according to the following formula:
in (1) the->、/>、/>、/>Preset proportionality coefficients of noise ratio, image contrast, image blur degree and color distortion value respectively +.>、/>、/>、/>Are all greater than 0;
as can be seen from the formula, when the noise ratio in the image is higher, the image contrast is lower, the image blurring degree is higher, the color distortion value is higher, namely, the expression value of the image quality screening evaluation coefficient is lower, the image quality of the image is poorer, and when the noise ratio in the image is lower, the image contrast is higher, the image blurring degree is lower, the color distortion value is lower, namely, the expression value of the image quality screening evaluation coefficient is higher, the image quality of the image is better;
screening out the images with the optimal image quality in the same type of images, compressing the images with the optimal image quality in the same type of images as reference images, and completely replacing other images in the same type of images after compressing the images;
after the image quality screening evaluation coefficients obtained from the same type of images are obtained, the image quality screening evaluation coefficients obtained from the same type of images are ranked in order from large to small or from small to large, the image corresponding to the maximum value of the image quality screening evaluation coefficients is selected, the image is the image with the optimal image quality in the same type of images, the image corresponding to the maximum value of the image quality screening evaluation coefficients is compressed as a compression reference image, and then the compressed image is replaced by other images with the same type of images, so that the number of times of compression of the image with the optimal image quality in the same type of images is effectively reduced by only carrying out primary compression on the image with the optimal image quality in the same type of images, the overall compression number is further reduced, the compression time is greatly reduced, the compression efficiency is improved, and secondly, all the images with the optimal image quality in the same type of images are replaced by the image with the optimal image quality after compression by taking the image with the optimal image quality in the same type of images as the reference image, and the quality of the compressed image can be effectively improved.
According to the application, the monitoring area is divided into a plurality of sub-areas, the image presented by each frame of video monitoring is divided according to the divided sub-areas in the same way, so that each sub-area presents a plurality of images, then the images presented in each sub-area are subjected to similarity matching, the images with high similarity are classified, the image parameters in the images with the same type are obtained, a data analysis model is established according to the image parameters, an image quality screening evaluation coefficient is generated, the image quality screening evaluation coefficients obtained by the images with the same type are sequentially ordered, the image with the optimal image quality in the images with the same type is screened, the compressed images with the optimal image quality in the images with the same type are used as reference images, all the other images with the same type are replaced, the image with the maximum value of the image quality screening evaluation coefficient is used as the compression reference image, and all the compressed images with the same type are replaced, and therefore, the number of times of compression of the images with the same type in the same type can be effectively reduced, the time of compression of the images with the optimal image quality in the same type is greatly reduced, the time of the image with the optimal image quality is greatly improved, and then the compressed images with the optimal quality in the same type are compressed reference images.
The above formulas are all formulas with dimensions removed and numerical values calculated, the formulas are formulas with a large amount of data collected for software simulation to obtain the latest real situation, and preset parameters in the formulas are set by those skilled in the art according to the actual situation.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more sets of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. In addition, the character "/" herein generally indicates that the associated object is an "or" relationship, but may also indicate an "and/or" relationship, and may be understood by referring to the context.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed method may be implemented in other manners. For example, the embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (3)

1. The security monitoring video compression storage method is characterized by comprising the following steps of:
dividing a monitoring area into a plurality of sub-areas, dividing the image presented by each frame of video monitoring according to the divided sub-areas in the same way, and presenting a plurality of images in each sub-area;
dividing a monitoring area into a plurality of sub-areas, wherein the number of the sub-areas is set to be N, N is a positive integer greater than or equal to 2, dividing images displayed by each frame of video monitoring according to the divided sub-areas in the same way, and if the number of frames in the video is m, and m is a positive integer, displaying m images in each sub-area;
performing similarity matching on a plurality of images presented in each sub-area, and classifying images with high similarity;
acquiring image parameters in the same type of image, establishing a data analysis model according to the image parameters, and generating an image quality screening evaluation coefficient;
the image parameters comprise a noise duty ratio, an image contrast, color accuracy and a color distortion value in the image, and after acquisition, the noise duty ratio, the image contrast, the image ambiguity and the color distortion value are respectively calibrated to be ZSZi, DBDi, MHZi, SZZi;
the noise ratio, that is, the area of noise in the image, occupies the area of the image, and the expression is calculated as follows:wherein Yx represents the area of the noise region, x represents the number of noise regions, x=1, 2, 3, … …, n being a positive integer;
image contrast refers to the degree of difference between the brightest pixel and darkest pixel in an image, which can be calculated by the following formula:the method comprises the steps of carrying out a first treatment on the surface of the Wherein->The luminance value representing the brightest pixel in the image,the brightness value of the darkest pixel in the image is represented, and the value range of the contrast is between 0 and 1;
the image ambiguity is an index for describing the image definition, is commonly used for evaluating the image quality, adopts a gradient method to measure the image ambiguity, and comprises the following measuring steps:
A. carrying out graying treatment on the image;
B. calculating a gradient value of each pixel point in the image, and calculating by using a Sobel operator or a Prewitt operator filter;
C. averaging the gradient values of all the pixel points to obtain an average gradient value of the image, namely the image ambiguity;
color distortion is measured using DeltaE values calculated in the following manner:wherein L1, a1, b1 are the L, a, b values of the actual color, respectively, L2, a2, b2 are the L, a, b values in the image, respectively; directly obtaining a color distortion value through a DeltaE value;
after obtaining a noise duty ratio ZSZi, an image contrast DBDi, an image ambiguity MHZi and a color distortion value SZZi, establishing a data analysis model to generate an image quality screening evaluation coefficient PGxi according to the following formula:
in (1) the->、/>、/>、/>Preset proportionality coefficients of noise ratio, image contrast, image blur degree and color distortion value respectively +.>、/>、/>、/>Are all greater than 0;
and screening out the images with the optimal image quality in the same type of images, compressing the images with the optimal image quality in the same type of images serving as reference images, and completely replacing other images in the same type of images after compressing the images.
2. The security monitoring video compression storage method according to claim 1, wherein the similarity of a plurality of images is evaluated based on a feature vector method, and the method comprises the following steps:
s1: feature extraction
For each image, firstly extracting key points and feature vectors thereof by using a feature extraction algorithm;
s2: feature matching
Matching each image with all other images by calculating the distance or similarity between the feature vectors;
s3: feature aggregation
Aggregating the matching results of each image to form a feature vector related to all the images;
s4: similarity calculation
Obtaining a similarity matrix between all images by calculating the distance or similarity between the feature vectors;
s5: similarity ordering
And sequencing each image according to the similarity of the images with other images to obtain a plurality of images with the highest similarity.
3. The video compression storage method according to claim 2, wherein after the image quality screening evaluation coefficients obtained from the same type of image are obtained, the image quality screening evaluation coefficients obtained from the same type of image are sorted in order from large to small or from small to large, the image corresponding to the maximum value of the image quality screening evaluation coefficients is screened, the image corresponding to the maximum value of the image quality screening evaluation coefficients is the image with the optimal image quality, the image corresponding to the maximum value of the image quality screening evaluation coefficients is compressed as the compression reference image, and then the compressed image is replaced by other images of the same type.
CN202310552380.9A 2023-05-17 2023-05-17 Security monitoring video compression storage method Active CN116320405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310552380.9A CN116320405B (en) 2023-05-17 2023-05-17 Security monitoring video compression storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310552380.9A CN116320405B (en) 2023-05-17 2023-05-17 Security monitoring video compression storage method

Publications (2)

Publication Number Publication Date
CN116320405A CN116320405A (en) 2023-06-23
CN116320405B true CN116320405B (en) 2023-10-27

Family

ID=86796333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310552380.9A Active CN116320405B (en) 2023-05-17 2023-05-17 Security monitoring video compression storage method

Country Status (1)

Country Link
CN (1) CN116320405B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117710535A (en) * 2023-12-17 2024-03-15 武汉博润通文化科技股份有限公司 Three-dimensional animation scene image data management method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625319B1 (en) * 1999-03-30 2003-09-23 Koninklijke Philips Electronics N.V. Image compression using content-based image similarity
CN101064849A (en) * 2006-04-29 2007-10-31 鲁海宁 Dynamic image coding method, apparatus and computer readable record medium
CN102547293A (en) * 2012-02-16 2012-07-04 西南交通大学 Method for coding session video by combining time domain dependence of face region and global rate distortion optimization
CN105163122A (en) * 2015-08-27 2015-12-16 西安空间无线电技术研究所 Image compression and decompression method based on similarity of image blocks
CN105631906A (en) * 2015-12-23 2016-06-01 百度在线网络技术(北京)有限公司 Texture compression method and device of three-dimensional map image
CN107071333A (en) * 2017-05-19 2017-08-18 深圳天珑无线科技有限公司 Method of video image processing and video image processing device
WO2018233480A1 (en) * 2017-06-20 2018-12-27 Oppo广东移动通信有限公司 Photograph recommendation method and related product
CN110798709A (en) * 2019-11-01 2020-02-14 腾讯科技(深圳)有限公司 Video processing method and device, storage medium and electronic device
CN113507611A (en) * 2021-09-09 2021-10-15 深圳思谋信息科技有限公司 Image storage method and device, computer equipment and storage medium
CN115965889A (en) * 2022-11-24 2023-04-14 中国人民解放军61932部队 A video quality assessment data processing method, device and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8773490B2 (en) * 2010-05-28 2014-07-08 Avaya Inc. Systems, methods, and media for identifying and selecting data images in a video stream
US11462033B2 (en) * 2020-09-30 2022-10-04 Wipro Limited Method and system for performing classification of real-time input sample using compressed classification model

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625319B1 (en) * 1999-03-30 2003-09-23 Koninklijke Philips Electronics N.V. Image compression using content-based image similarity
CN101064849A (en) * 2006-04-29 2007-10-31 鲁海宁 Dynamic image coding method, apparatus and computer readable record medium
CN102547293A (en) * 2012-02-16 2012-07-04 西南交通大学 Method for coding session video by combining time domain dependence of face region and global rate distortion optimization
CN105163122A (en) * 2015-08-27 2015-12-16 西安空间无线电技术研究所 Image compression and decompression method based on similarity of image blocks
CN105631906A (en) * 2015-12-23 2016-06-01 百度在线网络技术(北京)有限公司 Texture compression method and device of three-dimensional map image
CN107071333A (en) * 2017-05-19 2017-08-18 深圳天珑无线科技有限公司 Method of video image processing and video image processing device
WO2018233480A1 (en) * 2017-06-20 2018-12-27 Oppo广东移动通信有限公司 Photograph recommendation method and related product
CN110798709A (en) * 2019-11-01 2020-02-14 腾讯科技(深圳)有限公司 Video processing method and device, storage medium and electronic device
CN113507611A (en) * 2021-09-09 2021-10-15 深圳思谋信息科技有限公司 Image storage method and device, computer equipment and storage medium
CN115965889A (en) * 2022-11-24 2023-04-14 中国人民解放军61932部队 A video quality assessment data processing method, device and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A Full-Reference Quality Assessment Metric for Fine-Grained Compressed Images;Zicheng Zhang;《2021 International Conference on Visual Communications and Image Processing (VCIP)》;全文 *
归类精度导引的在线图像集自适应压缩方法;吴乐明;刘浩;;中国科技论文(第11期);全文 *

Also Published As

Publication number Publication date
CN116320405A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN109118470B (en) Image quality evaluation method and device, terminal and server
US9595087B2 (en) Image processing method for detail enhancement and noise reduction
McKay et al. Image acquisition forensics: Forensic analysis to identify imaging source
CN111429371B (en) Image processing method and device and terminal equipment
Jakhetiya et al. A prediction backed model for quality assessment of screen content and 3-D synthesized images
CN108109145A (en) Picture quality detection method, device, storage medium and electronic device
CN116320405B (en) Security monitoring video compression storage method
US7715592B1 (en) Analysis of video signal quality
CN111415304A (en) Underwater vision enhancement method and device based on cascaded deep network
Shin et al. Color filter array pattern identification using variance of color difference image
CN111031241A (en) Image processing method and device, terminal and computer readable storage medium
Ancuti et al. Laplacian-guided image decolorization
CN105959512B (en) 3D noise reduction implementation method and device
Bong et al. An efficient and training-free blind image blur assessment in the spatial domain
Liu et al. A perceptually relevant approach to ringing region detection
CN118279183B (en) Unmanned aerial vehicle remote sensing mapping image enhancement method and system
CN118134788B (en) Image fusion method, device, storage medium and terminal
CN110136085B (en) Image noise reduction method and device
CN106920237A (en) Based on empirical mode decomposition without with reference to full-colour image quality evaluating method
CN111598794A (en) Image imaging method and device for removing underwater overlapping condition
Pedersen et al. A total variation based color image quality metric with perceptual contrast filtering
US20140270567A1 (en) Selective perceptual masking via scale separation in the spatial and temporal domains using intrinsic images for use in data compression
Fry et al. Noise Power Spectrum Scene-Dependency in Simulated Image Capture Systems
CN117197129B (en) Blackening degree detection method and device and computer equipment
WO2014163893A1 (en) Selective perceptual masking via scale separation in the spatial and temporal domains using intrinsic images for use in data compression

Legal Events

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

Effective date of registration: 20240511

Address after: 231100, Building B1, Century Jinyuan Shopping Center, Mengcheng North Road, Shuangfeng Development Zone, Changfeng County, Hefei City, Anhui Province

Patentee after: Anhui Shengzi Technology Co.,Ltd.

Country or region after: China

Address before: Floor 23, Block B, Zhengxin Building, No. 5, Gaoxin 1st Road, Lianhu District, Xi'an City, Shaanxi Province, 710000

Patentee before: Xi'an Changbang Electronic Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240918

Address after: Room 203, 2nd Floor, Building B, No. 5 Chaoqian Road, Changping District Science and Technology Park, Beijing, 100000

Patentee after: Beijing Fanhai Zijin Technology Co.,Ltd.

Country or region after: China

Address before: 231100, Building B1, Century Jinyuan Shopping Center, Mengcheng North Road, Shuangfeng Development Zone, Changfeng County, Hefei City, Anhui Province

Patentee before: Anhui Shengzi Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right