CPC G06V 10/431 (2022.01) [G06T 7/0002 (2013.01); G06T 7/77 (2017.01); G06V 10/56 (2022.01); G06V 20/17 (2022.01); G06T 2207/10028 (2013.01); G06T 2207/10032 (2013.01); G06T 2207/20076 (2013.01)] | 10 Claims |
1. A computer-implemented method for measuring a similarity of images/image blocks, comprising the following steps:
S1: acquiring two three-dimensional airspace images, which are respectively marked as V and W;
S2: decomposing the three-dimensional airspace images V and W by using a three-dimensional tight frame to obtain a plurality of sub-bands, wherein the sub-bands comprise a plurality of high-frequency sub-bands and low-frequency sub-bands;
S3: calculating a Laplacian probability corresponding to each of the plurality of high-frequency sub-bands; using the Laplacian probability to weight each of the plurality of high-frequency sub-bands;
S4: marking two image blocks to be measured for similarity as X and Y, respectively taking out data blocks corresponding to the image blocks X and Y from each channel of the low-frequency and high-frequency sub-bands of three-dimensional airspace images V and W, and calculating statistics of the data blocks;
S5: calculating the similarities of image blocks X and Y in each channel of each sub-band according to the statistics of the data blocks;
S6: calculating an average value of the similarities of image blocks X and Y in each channel of each sub-band.
|