|
|
That's almost exactly how it works. You create a directory of images, then
run a macro to produce a color table. The color table contains a list of
the average color for each image in the directory. The list gets loaded
into an array for faster access and then the main image is subdivided into
squares. Each squares color is then matched to the closest average in the
list and that image is mapped onto a cube.
The macros allow you to specify the subdivision levels, so you can break the
image into as many pieces as you want... the higher you go, the more
"realistic" it will be. The only time consuming part is creating the
initial image database... I only used 143 images for the one I posted, and I
read that most photomosaics use over 1000 images. Parsing the average
colors for 1000+ images would take a while, depending on how accurate you
want to be (but you only have to do that once, after that the text file is
used instead).
I'm going to put a zip file up on my site with doc's and examples, but in
the meantime I will post the code here if you wanna mess around with it.
--
Douglas C. Eichenberg
dou### [at] nlsnet
http://www.getinfo.net/douge
Post a reply to this message
|
|