Matching method and device of images based on JPEG format
A matching method and image technology, applied in the field of image processing, can solve the problems of low image matching efficiency and large amount of calculation, and achieve the effect of reducing the amount of calculation and improving efficiency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2014-07-16
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of image processing, in particular to an image matching method and device based on JPEG format. Background technique
[0002] Image matching refers to searching for similar key points using an effective matching algorithm based on two or more images at different times, different viewing angles, or different sizes. Image matching technology is used in various fields, such as medical image processing, computer vision, target recognition and tracking, optical and radar tracking, etc.
[0003] In the prior art, the method used for image matching is usually an image matching method based on grayscale values. For images in non-JPEG format, it is necessary to successfully match all the data contained in the target image and the source image to indicate that the two images are successfully matched. . For an image in JPEG format, it is first necessary to convert the image format to obtain a non-JPEG format image co...
Examples
Embodiment 1
[0056] refer to figure 1 , figure 1 It is a flow chart of Embodiment 1 of an image matching method based on JPEG format provided by the present invention. This embodiment may specifically include:
[0057] Step 101. Acquire source data to be matched of a source image in JPEG format, where the source data to be matched is an item located in the first row and first column of the 8th order matrix of the source image.
[0058]In this embodiment, firstly, the image in JPEG format is obtained as the source image, and secondly, the source image is subjected to entropy decoding, that is, the compressed data in the source image is solved, and then the decompressed data is dequantized, that is, the source image is restored The information removed during encoding is used to obtain the 8th-order matrix of the source image, and finally, all items of the 8th-order matrix of the source image located in the first row and first column are obtained, which is the source data to be matched of th...
Embodiment 2
[0074] refer to figure 2 , figure 2 A flow chart of Embodiment 2 of an image matching method based on JPEG format provided by the present invention, this embodiment may specifically include:
[0075] Step 201: Perform entropy decoding and inverse quantization on the acquired source images in JPEG format sequentially to obtain an 8-order matrix of the source images.
[0076] In this embodiment, firstly, the image in JPEG format is obtained as the source image, and secondly, the source image is subjected to entropy decoding, that is, the compressed data in the source image is solved, and then the decompressed data is dequantized, that is, the source image is restored The information removed during encoding finally obtains the source image after partial decoding operations.
[0077] Step 202. Obtain the item in the first row and first column in the 8th order matrix as the source data to be matched.
[0078] In this embodiment, first obtain the source image after partial deco...
Embodiment 3
[0108] refer to image 3 , image 3 It is a device structure diagram of Embodiment 3 of an image matching device based on JPEG format provided by the present invention. This embodiment may specifically include:
[0109] The first acquiring module 301 is configured to acquire the source data to be matched of the source image in JPEG format, and the source data to be matched is an item located in the first row and the first column in the 8th order matrix of the source image.
[0110] refer to Figure 4 , Figure 4 It is a structural diagram of the first acquisition module 301, the first acquisition module 301 includes:
[0111] The first acquisition sub-module 401 is used to sequentially perform entropy decoding and inverse quantization on the acquired source images in JPEG format to obtain an 8-order matrix of the source images;
[0112] The second obtaining sub-module 402 is configured to obtain the item located in the first row and the first column in the 8th order matrix...