naggie / crates

2013: Crates, a media database with immutability, federation and filesystem mapping, playlists for DJing
MIT License
5 stars 2 forks source link

Try Median perimeter based colour detection for album letterboxing #27

Open naggie opened 8 years ago

naggie commented 8 years ago

Whilst a k-grouping algorithm is used to get the dominant colour, which works OK, often the dominant colour isn't the background colour so that the scaled art is obviously letterboxed. Some art has a solid background. In this case, median perimeter detection will work better.