I deleted and recovered a large number of photos (thanks foremost). However, a large number of images from a browser cache was messing up my photo library.
Who wants to keep 10,000 of these images stored on my harddrive?
I used the number of unique colors to filter them out via MATLAB.
As expected, if I plot this, I get a nice s-curve:
Or, viewing this as a histogram
So I modified the script to move all images with unique color counts less than 4500 unique colors to a folder:
This worked perfectly and saved my whole Saturday.