开发者

Color matching script that works well

开发者 https://www.devze.com 2023-02-08 18:37 出处:网络
Are there any scr开发者_高级运维ipts available for purchase, or free that can be used to match images based on the color chosen that works as good (or close) to the one found here: http://www.ideeinc.

Are there any scr开发者_高级运维ipts available for purchase, or free that can be used to match images based on the color chosen that works as good (or close) to the one found here: http://www.ideeinc.com/products/piximilar/ (not willing to pay millions of dollars)

  • does not have to be multi color searching, one is good enough. (like googles color search). I have tried using the RGB distance formula but it brings up poor results


I don't know of anything ready to use. Off the top of my head I'd suggest to create a coarse 3d histogram of the HSL values of each image (say, 8 bins hor H, 4 for S and L), scale the histogram so that the sum of all cells is 1, then run a suitable pairwise metric (convolution, MSE) on all the histograms. By applying some heuristics and clever indexing you can also avoid the O(N^2) complexity.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号