• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

WoW Icons made of icons

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,207
As a programmer with some image processing knowledge I would say the images could be produced by the following steps programmatically.
  1. Gather all WoW icons in a way they can be easily found, eg the same folder.
  2. For each WoW icon, find its average colour. This may need gamma correction per sample based on how they are stored.
  3. For each WoW icon and its average colour you insert it in a data structure that allows searching (some sort of tree I would imagine, maybe one for each colour component). This forms an image dictionary.
  4. For each pixel in your desired image query your image dictionary for the approximate matches (some amount of tolerance for variance). Add all results to a list.
  5. Choose a random element from the list (maybe a least used bias to stop repetition) and use that icon to represent the source pixel in the product image. This is repeated until image is finished.

Improvements to the algorithm might include trying to match areas with icons most closely resembling the area. This is an expansion on the method outlined above where instead of using a single sample per icon and pixel in the resulting image, multiple samples are used. This solves variation problems and improves result quality as it uses more unique information to choose which icon is used where (allowing for effectively a higher resolution product image). This adds a lot of complexity though and might require a very complex data structure to be efficient.
 
Status
Not open for further replies.
Top