3 ms·
I'm intrigued by the EditDistance idea. Right away I started trying to think of how I could implement it. It seems like in order for this to work, the edit dist
by coderdude 16y ago
I'm intrigued by the EditDistance idea. Right away I started trying to think of how I could implement it. It seems like in order for this to work, the edit distance would have to be based on something more averaged than a single pixel color due to the various types of image compression (jpeg being particularly troublesome for this task, I would imagine). Perhaps the image can be split up into four-pixel blocks whose constituent parts can all be averaged together to form a new color which can then be used as part of the matching.
I must admit however that I have doubts that an edit distance for images would yield interesting results unless the pixels were split into a grid, or maybe something like a quad-tree. Then the edit distance could be applied to each portion of the grid to see how many adjacent sections of the grid are also found to be adjacent in other images.
- jacquesm 16y agoI figure that you need to do some filtering first. I'd love to go and spend a few months on building a prototype of 'spindisp', if I had the time right now I'd do it.
- coderdude 16y agoI don't doubt that you've tinkered with this idea in your head as well, and where I went with it is the immediately obvious first place to start. ;) RE: wishing you had more time -- I feel you on that one. It's taking a lot of personal restraint to keep myself from deviating towards each interesting project that springs up in my head. I never thought that time would end up being such a valuable asset.
- stcredzero 16y agoI'd be interested to see the results of applying this to the output of /b/.