Image gradient numerical analysis application system

Through the image gradient numerical analysis application system, the overall gradient data of the image is obtained and the reference frame search range is expanded, which solves the problem of low coding efficiency caused by changes in image content in the existing technology and achieves more efficient inter-frame coding.

CN118764629AInactive Publication Date: 2024-10-11ZHENJIANG ANJIAN IMAGING CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411109077.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider changes in image content during image inter-frame coding, resulting in insufficient search range and affecting coding efficiency and speed.

Method used

Through the image gradient numerical analysis application system, a numerical analysis mechanism is used to obtain the overall gradient data of the image, determine the number of reference frames during inter-frame coding, and select matching reference image blocks within the image blocks to expand the search range to improve coding efficiency. .

Benefits of technology

It improves the speed and efficiency of inter-frame coding, adapts to image blocks with different signal-to-noise ratios, simplifies the inter-frame coding process, and improves the coding effect of image blocks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764629A_ABST
    Figure CN118764629A_ABST
Patent Text Reader

Abstract

The invention relates to an image gradient numerical analysis application system, which comprises a block detection device used for performing uniform segmentation processing on each reference frame before a current image to obtain each image block in each reference frame, selecting an image block matched with the overall gray value of the image block to be subjected to inter-frame coding of the current image in the range of each reference frame before the current image as a reference image block; and the coding processing device is used for carrying out inter-frame coding processing on the image blocks to be subjected to inter-frame coding by adopting the reference image blocks. The image gradient numerical analysis application system is simple and convenient to operate and reliable in logic. The overall gradient data of the current image and the overall gradient data of each image in the reference frames of the current image are obtained by adopting the numerical analysis mechanism, and the number of the reference frames which are searched forwards when inter-frame coding is performed on the current image is determined based on the overall gradient data corresponding to the current image, so that each reference frame before the current image is obtained; therefore, the existing inter-frame coding process is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of numerical analysis, and more specifically, to an image gradient numerical analysis application system. Background Art

[0002] The simplest problem in numerical analysis is to find the value of a function at a certain value. The most intuitive way is to substitute the value into the function to calculate, but sometimes this method is not efficient. For example, for evaluating polynomial functions, a more efficient method is the Qin Jiushao algorithm, which can reduce the number of multiplications and additions. If floating point numbers are used, it is very important to estimate and control round-off errors. Another common problem is to find the solution to a specific equation. First, the equation is distinguished by whether it is linear or not. Many studies in this field are related to solving linear equations. The direct method is to represent the coefficients of the linear equations in a matrix and then solve them by matrix decomposition. Iterative methods include the Jacobi method, Gauss-Seidel iteration method and conjugate gradient method, which are generally used in large linear equations.

[0003] Obviously, in the actual application of numerical analysis, there are a large number of more complex and cumbersome algorithms that need to be combined with specific application fields. For example, people expect to use a numerical analysis-based model to accurately obtain the reference frame required for inter-frame coding of the current image. However, the current image to be inter-frame coded with different image contents requires different search ranges. The inter-frame coding technology in the prior art does not take this factor into consideration, nor does it combine numerical analysis to deal with this problem. Summary of the invention

[0004] In order to solve the technical problems in the prior art, the present invention provides an image gradient numerical analysis application system, which obtains the overall gradient data of the current image and each image in its reference frame by adopting a targeted customized numerical analysis mechanism, determines the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image to obtain the reference frames before the current image, and selects an image block that matches the overall grayscale value of the image block to be inter-frame coded in the current image within the range of the reference frames before the current image as a reference image block for performing inter-frame coding on the image block to be inter-frame coded in the current image, thereby improving the speed and efficiency of inter-frame coding of each image block while allocating a wider reference frame search range to images with prominent content changes.

[0005] According to the present invention, an image gradient numerical analysis application system is provided, the system comprising: A numerical analysis device, used for uniformly dividing the current image to obtain a plurality of image blocks, detecting a plurality of pixel value gradients corresponding to the plurality of image blocks, and performing mean calculation on the remaining pixel value gradients after removing the maximum value and the minimum value of the plurality of pixel value gradients to obtain the overall gradient data corresponding to the current image; A range recognition device, connected to the numerical analysis device, for determining the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image to obtain respective reference frames before the current image; A block detection device, connected to the range recognition device, is used to perform uniform segmentation processing on each reference frame before the current image to obtain each image block in each reference frame, and select an image block that matches the overall grayscale value of the image block to be inter-frame encoded of the current image within the range of each reference frame before the current image as a reference image block; A coding processing device, connected to the block detection device, for performing inter-frame coding processing on the image blocks to be inter-frame coded of the current image using the reference image blocks; The method of uniformly dividing the current image to obtain a plurality of image blocks, detecting a plurality of pixel value gradients respectively corresponding to the plurality of image blocks, and calculating the mean of the remaining pixel value gradients after removing the maximum value and the minimum value of the plurality of pixel value gradients to obtain the overall gradient data corresponding to the current image includes: the lower the signal-to-noise ratio of the current image, the larger the size of each image block in the plurality of image blocks obtained by uniformly dividing the current image; Wherein, determining the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image comprises: the determined number of reference frames to be searched forward when performing inter-frame coding on the current image is positively correlated with the overall gradient data corresponding to the current image; Among them, uniform segmentation processing is performed on each reference frame before the current image to obtain each image block in each reference frame, and image blocks that match the overall grayscale value of the image blocks to be inter-frame encoded in the current image are selected as reference image blocks within the range of each reference frame before the current image, including: for two image blocks, when the difference in their overall grayscale values ​​is less than or equal to a set grayscale difference threshold, it is judged that the overall grayscale values ​​of the two image blocks match.

[0006] Therefore, the present invention has at least the following four beneficial technical effects: Technical effect 1: A numerical analysis mechanism is used to evenly divide a current image to be inter-frame encoded to obtain a plurality of image blocks, and a plurality of pixel value gradients corresponding to the plurality of image blocks are detected. After removing the maximum value and the minimum value of the plurality of pixel value gradients, the remaining pixel value gradients are averaged to obtain the overall gradient data corresponding to the current image. Technical effect 2: determining the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image to obtain the reference frames before the current image, wherein the determined number of reference frames to be searched forward when performing inter-frame coding on the current image is positively correlated with the overall gradient data corresponding to the current image, thereby allocating a wider reference frame search range to images with prominent content changes; Technical effect three: performing uniform segmentation processing on each reference frame before the current image to obtain each image block in each reference frame, selecting an image block that matches the overall grayscale value of the image block to be inter-frame encoded of the current image within the range of each reference frame before the current image as a reference image block, and performing inter-frame encoding on the image block to be inter-frame encoded of the current image, thereby improving the speed and efficiency of inter-frame encoding of each image block; Technical effect four: the lower the signal-to-noise ratio of the current image, the larger the size of each image block in the multiple image blocks obtained by uniformly dividing the current image, and at the same time, uniform segmentation processing is performed on each reference frame to obtain that the size of each image block in each reference frame is the same as the size of the image block in the current image, thereby taking into account the encoding effect of the inter-frame encoded images with different signal-to-noise ratios.

[0007] The image gradient numerical analysis application system of the present invention is simple in operation and reliable in logic. Since the overall gradient data of the current image and each image in its reference frame are obtained by adopting a numerical analysis mechanism, the number of reference frames to be searched forward when performing inter-frame coding on the current image is determined based on the overall gradient data corresponding to the current image to obtain each reference frame before the current image, thereby simplifying the existing inter-frame coding process. BRIEF DESCRIPTION OF THE DRAWINGS Those skilled in the art may better understand the numerous advantages of the present invention by referring to the accompanying drawings, in which: Figure 1 It is a schematic diagram of the internal structure of the image gradient numerical analysis application system according to the first embodiment of the present invention.

[0009] Figure 2 It is a schematic diagram of the internal structure of the image gradient numerical analysis application system according to the second embodiment of the present invention.

[0010] Figure 3It is a schematic diagram of the internal structure of the image gradient numerical analysis application system according to the third embodiment of the present invention. DETAILED DESCRIPTION

[0011] The implementation scheme of the image gradient numerical analysis application system of the present invention will be described in detail below with reference to the accompanying drawings.

[0012] Figure 1 1 is a schematic diagram of the internal structure of an image gradient numerical analysis application system according to a first embodiment of the present invention, the system comprising: A numerical analysis device, used for uniformly dividing the current image to obtain a plurality of image blocks, detecting a plurality of pixel value gradients corresponding to the plurality of image blocks, and performing mean calculation on the remaining pixel value gradients after removing the maximum value and the minimum value of the plurality of pixel value gradients to obtain the overall gradient data corresponding to the current image; Specifically, a GAL chip may be selected to implement the numerical analysis device, which is used to evenly divide the current image to obtain a plurality of image blocks, detect a plurality of pixel value gradients corresponding to the plurality of image blocks, and perform mean calculation on the remaining pixel value gradients after removing the maximum value and the minimum value of the plurality of pixel value gradients to obtain the overall gradient data corresponding to the current image; A range recognition device, connected to the numerical analysis device, for determining the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image to obtain respective reference frames before the current image; A block detection device, connected to the range recognition device, is used to perform uniform segmentation processing on each reference frame before the current image to obtain each image block in each reference frame, and select an image block that matches the overall grayscale value of the image block to be inter-frame encoded of the current image within the range of each reference frame before the current image as a reference image block; A coding processing device, connected to the block detection device, for performing inter-frame coding processing on the image blocks to be inter-frame coded of the current image using the reference image blocks; The method of uniformly dividing the current image to obtain a plurality of image blocks, detecting a plurality of pixel value gradients respectively corresponding to the plurality of image blocks, and calculating the mean of the remaining pixel value gradients after removing the maximum value and the minimum value of the plurality of pixel value gradients to obtain the overall gradient data corresponding to the current image includes: the lower the signal-to-noise ratio of the current image, the larger the size of each image block in the plurality of image blocks obtained by uniformly dividing the current image; Wherein, determining the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image comprises: the determined number of reference frames to be searched forward when performing inter-frame coding on the current image is positively correlated with the overall gradient data corresponding to the current image; The uniform segmentation process is performed on each reference frame before the current image to obtain each image block in each reference frame, and the image block matching the overall grayscale value of the image block to be inter-frame encoded of the current image is selected as the reference image block within the range of each reference frame before the current image, including: for two image blocks, when the difference between the overall grayscale values ​​of the two image blocks is less than or equal to a set grayscale difference threshold, determining that the overall grayscale values ​​of the two image blocks match; Wherein, for two image blocks, when the difference between the overall grayscale values ​​of the two image blocks is less than or equal to the set grayscale difference threshold, judging whether the overall grayscale values ​​of the two image blocks match includes: for each image block, performing a mean operation on the grayscale values ​​of the image block to obtain the overall grayscale value corresponding to the image block; The lower the signal-to-noise ratio of the current image, the larger the size of each image block in the plurality of image blocks obtained by uniformly dividing the current image comprises: using a numerical conversion formula to represent a numerical correspondence between the signal-to-noise ratio of the current image and the size of each image block in the plurality of image blocks; And wherein, determining the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image to obtain the reference frames before the current image includes: the reference frames before the current image obtained are the reference frames that are immediately adjacent to the current image and located before the current image and are the same number as the determined number.

[0013] Figure 2 It is a schematic diagram of the internal structure of the image gradient numerical analysis application system according to the second embodiment of the present invention.

[0014] and Figure 1 different, Figure 2 The image gradient numerical analysis application system in the embodiment may also include the following components: A wireless router device is wirelessly connected to the numerical analysis device, the range identification device, the block detection device and the coding processing device respectively, and is used to provide the numerical analysis device, the range identification device, the block detection device and the coding processing device with the wireless routing services they need respectively; The wireless router device is wirelessly connected to the numerical analysis device, the range identification device, the block detection device and the coding processing device respectively, and is used to provide the numerical analysis device, the range identification device, the block detection device and the coding processing device with the wireless routing services they need respectively, including: the wireless router device connects the numerical analysis device, the range identification device, the block detection device and the coding processing device to the nearest WIFI network respectively; The wireless router component connects the numerical analysis component, the range identification component, the block detection component and the coding processing component to the nearest WIFI network respectively, including: the wireless router component provides different IP addresses for the numerical analysis component, the range identification component, the block detection component and the coding processing component respectively, so as to respectively connect the numerical analysis component, the range identification component, the block detection component and the coding processing component to the nearest WIFI network by using the different IP addresses; The wireless router device connects the numerical analysis device, the range identification device, the block detection device and the coding processing device to the nearest WIFI network respectively, including: the wireless router device detects and compares the signal strength of each WIFI network near the numerical analysis device, the range identification device, the block detection device and the coding processing device; And wherein, the wireless router device detects and compares the signal strength of each WIFI network near the numerical analysis device, the range identification device, the block detection device and the coding processing device, including: the wireless router device uses the WIFI network with the highest signal strength among the various WIFI networks near the numerical analysis device, the range identification device, the block detection device and the coding processing device as the WIFI network closest to the numerical analysis device, the range identification device, the block detection device and the coding processing device.

[0015] Figure 3 It is a schematic diagram of the internal structure of the image gradient numerical analysis application system according to the third embodiment of the present invention.

[0016] and Figure 1 different, Figure 3 The image gradient numerical analysis application system in the embodiment may also include the following components: An ultra-high-definition camera device is arranged near the numerical analysis device, the range identification device, the block detection device and the coding processing device, and is used to collect ultra-high-definition images of the working scenes of the numerical analysis device, the range identification device, the block detection device and the coding processing device; Wherein, the ultra-high-definition camera device is arranged near the numerical analysis device, the range identification device, the block detection device and the coding processing device, and is used to collect ultra-high-definition images of the working scenes of the numerical analysis device, the range identification device, the block detection device and the coding processing device, including: the ultra-high-definition camera device has a built-in photoelectric sensor unit and an ultra-high-definition lens, which is used to collect ultra-high-definition images of the working scenes of the numerical analysis device, the range identification device, the block detection device and the coding processing device; And wherein, the ultra-high-definition camera equipment has a built-in photoelectric sensor unit and an ultra-high-definition lens, which is used to capture ultra-high-definition images of the working scenes of the numerical analysis device, the range recognition device, the block detection device and the encoding processing device, including: the photoelectric sensor unit is a CMOS sensor unit or a CCD sensor unit.

[0017] In addition, in the image gradient numerical analysis application system, performing uniform segmentation processing on each reference frame before the current image to obtain each image block in each reference frame, and selecting an image block matching the overall grayscale value of the image block to be inter-frame encoded of the current image within the range of each reference frame before the current image as the reference image block further comprises: the size of the image block in each reference frame is equal to the size of the image block in the current image; Among them, performing uniform segmentation processing on each reference frame before the current image to obtain each image block within each reference frame, selecting an image block that matches the overall grayscale value of the image block to be inter-frame encoded in the current image within the range of each reference frame before the current image as a reference image block also includes: each image block is a square pixel array of a set size.

[0018] Although the examples of the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various other modifications may be made without departing from the true scope of the present invention, and equivalents may be substituted. In addition, many modifications may be made to adapt a particular situation to the teachings of the present invention without departing from the inventive concept described herein. Therefore, the present invention is not limited to the disclosed particular embodiments, but the present invention includes all embodiments falling within the scope of the appended claims.

Claims

1. An image gradient numerical analysis application system, characterized in that: The system comprises: A numerical analysis device, used for uniformly dividing the current image to obtain a plurality of image blocks, detecting a plurality of pixel value gradients corresponding to the plurality of image blocks, and performing mean calculation on the remaining pixel value gradients after removing the maximum value and the minimum value of the plurality of pixel value gradients to obtain the overall gradient data corresponding to the current image; A range recognition device, connected to the numerical analysis device, for determining the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image to obtain respective reference frames before the current image; A block detection device, connected to the range recognition device, is used to perform uniform segmentation processing on each reference frame before the current image to obtain each image block in each reference frame, and select an image block that matches the overall grayscale value of the image block to be inter-frame encoded of the current image within the range of each reference frame before the current image as a reference image block; A coding processing device, connected to the block detection device, for performing inter-frame coding processing on the image blocks to be inter-frame coded of the current image using the reference image blocks; The method of uniformly dividing the current image to obtain a plurality of image blocks, detecting a plurality of pixel value gradients respectively corresponding to the plurality of image blocks, and calculating the mean of the remaining pixel value gradients after removing the maximum value and the minimum value of the plurality of pixel value gradients to obtain the overall gradient data corresponding to the current image includes: the lower the signal-to-noise ratio of the current image, the larger the size of each image block in the plurality of image blocks obtained by uniformly dividing the current image; Wherein, determining the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image comprises: the determined number of reference frames to be searched forward when performing inter-frame coding on the current image is positively correlated with the overall gradient data corresponding to the current image; Among them, uniform segmentation processing is performed on each reference frame before the current image to obtain each image block in each reference frame, and image blocks that match the overall grayscale value of the image blocks to be inter-frame encoded in the current image are selected as reference image blocks within the range of each reference frame before the current image, including: for two image blocks, when the difference in their overall grayscale values ​​is less than or equal to a set grayscale difference threshold, it is judged that the overall grayscale values ​​of the two image blocks match.

2. The image gradient numerical analysis application system according to claim 1, characterized in that: For two image blocks, when the difference between the overall grayscale values ​​of the two image blocks is less than or equal to a set grayscale difference threshold, determining whether the overall grayscale values ​​of the two image blocks match includes: for each image block, performing a mean operation on the grayscale values ​​of the image block to obtain the overall grayscale value corresponding to the image block; The lower the signal-to-noise ratio of the current image, the larger the size of each image block in the plurality of image blocks obtained by uniformly dividing the current image comprises: using a numerical conversion formula to represent a numerical correspondence between the signal-to-noise ratio of the current image and the size of each image block in the plurality of image blocks; Among them, determining the number of reference frames to be searched forward when performing inter-frame coding on the current image based on the overall gradient data corresponding to the current image to obtain the reference frames before the current image includes: the reference frames before the current image obtained are the reference frames that are immediately adjacent to the current image and located before the current image and are the same number as the determined number.

3. The image gradient numerical analysis application system according to claim 2, characterized in that: The system further comprises: A wireless router device is wirelessly connected to the numerical analysis device, the range identification device, the block detection device and the coding processing device respectively, and is used to provide the numerical analysis device, the range identification device, the block detection device and the coding processing device with the wireless routing services they need respectively; Among them, the wireless router device is wirelessly connected to the numerical analysis device, the range identification device, the block detection device and the coding processing device respectively, and is used to provide the numerical analysis device, the range identification device, the block detection device and the coding processing device with the wireless routing services they need respectively, including: the wireless router device connects the numerical analysis device, the range identification device, the block detection device and the coding processing device to the nearest WIFI network respectively.

4. The image gradient numerical analysis application system according to claim 3, characterized in that: The wireless router device connects the numerical analysis device, the range identification device, the block detection device and the coding processing device to the nearest WIFI network respectively, including: the wireless router device provides different IP addresses for the numerical analysis device, the range identification device, the block detection device and the coding processing device respectively, so as to use the different IP addresses to connect the numerical analysis device, the range identification device, the block detection device and the coding processing device to the nearest WIFI network respectively.

5. The image gradient numerical analysis application system according to claim 4, characterized in that: The wireless router device connects the numerical analysis device, the range identification device, the block detection device and the coding processing device to the nearest WIFI network respectively, including: the wireless router device detects and compares the signal strength of each WIFI network near the numerical analysis device, the range identification device, the block detection device and the coding processing device.

6. The image gradient numerical analysis application system according to claim 5, characterized in that: The wireless router device detects and compares the signal strength of each WIFI network near the numerical analysis device, the range identification device, the block detection device and the coding processing device, including: the wireless router device uses the WIFI network with the highest signal strength among the WIFI networks near the numerical analysis device, the range identification device, the block detection device and the coding processing device as the WIFI network closest to the numerical analysis device, the range identification device, the block detection device and the coding processing device.

7. The image gradient numerical analysis application system according to claim 2, characterized in that: The system further comprises: The ultra-high-definition camera equipment is arranged near the numerical analysis device, the range identification device, the block detection device and the encoding processing device, and is used for collecting ultra-high-definition images of the working scenes of the numerical analysis device, the range identification device, the block detection device and the encoding processing device.

8. The image gradient numerical analysis application system according to claim 7, characterized in that: An ultra-high-definition camera device is arranged near the numerical analysis device, the range identification device, the block detection device and the coding processing device, and is used for collecting ultra-high-definition images of the working scenes of the numerical analysis device, the range identification device, the block detection device and the coding processing device. The ultra-high-definition camera device includes: the ultra-high-definition camera device has a built-in photoelectric sensor unit and an ultra-high-definition lens, and is used for collecting ultra-high-definition images of the working scenes of the numerical analysis device, the range identification device, the block detection device and the coding processing device.

9. The image gradient numerical analysis application system according to claim 8, characterized in that: The ultra-high-definition camera device has a built-in photoelectric sensor unit and an ultra-high-definition lens, which is used to capture ultra-high-definition images of the working scenes of the numerical analysis device, the range recognition device, the block detection device and the encoding processing device, including: the photoelectric sensor unit is a CMOS sensor unit or a CCD sensor unit.

Citation Information

Cited By

  • Data processing computer algorithm operating system

    CN119603451A