Matching similar images in OpenCV

前端 未结 3 1411
野性不改
野性不改 2021-01-15 23:23

I have two sets of images, {H} and {L}. {H} consists of 512x512 images. {L} consists of all of the images in {H}, but scaled down to 32x32-128x128 and with compression artif

3条回答
  •  我在风中等你
    2021-01-15 23:46

    Another, although maybe much slower approach is to do Clustering by Compression (Arxviv.org, PDF) and maybe use the JPEG coefficients as the model data to be compared instead of the uncompressed image data compressed by some other method of compression. Also see articles related to the first paper from Google Scholar.

    Clustering by compression basically means compressing a file X using the (statistical) model from file Y and compare to the size to just compressing X with it’s own model’s data.

    Here is some background about the idea of using different statistical models for compression. JPEG compression uses Huffman coding or Arithmetic coding to compress the DC coefficient tables.

    Yet another option, which may be much faster if the smaller images are not just downsampled and/or cropped versions, is to use the SIFT or SURF algorithms as suggested by Wajih.

提交回复
热议问题