Image Mosaics
Yesterday I set my webcam grabbing images from television. I made some modifications to the frame grabber to archive time stamped versions of each image. The net result: a big directory of image files. I got it in my head to try to use these images to make image mosaics. These are images which are made up of small subimages, but when viewed from a distance display another picture. After an hour of programming, I produced
this (highly shrunken) result. The final fullsize image is 6144×8640.
The program itself is pretty simple. I scan the directory and compute the average luminance for each image and store those into a linked list. I then scan the target image, and for each pixel in the target image select the closest image in the sources.
I can think of several enhancements to this basic idea to make higher quality image mosaics (including color), but for a sunday programming experiment, I found this pretty
satisfying.
I suspect the world would be better if that percentage were even greater.
Apparently 15% of all web traffic is cat related. There's no reason for Brainwagon be any different.
Thanks Mal! I'm trying to reclaim the time that I was using doom scrolling and writing pointless political diatribes on…
Brainwagons back! I can't help you with a job, not least because I'm on the other side of our little…
Congrats, glad to hear all is well.