FotoMorsaicos is a Windows application built in Delphi that can generate a photomosaic from a given image. According to the developer, “The software has three subsystems, a photomosaic generator, a final image (jpg) generator, and finally a program to build an image library index. My first approach to the subject of photomosaics was the movie The Truman Show, which had a poster showing the face of the protagonist (Jim Carrey) made with small photos, all of them taken from the film itself. It was clear that this work had been done with some program and I soon discovered that Robert Silvers was the author of this image. How did he do it? For some time I thought about the algorithm behind the photomosaics. I finally figured out what to do and got down to business. The basic idea is that a photomosaic program makes a mosaic filter but instead of using solid colors, it uses photographs whose average color is close to the solid color that should go in each region of the mosaic. So I wrote a program in Delphi that made a basic photomosaic. It used a collection of about 6,000 high definition photographs. (Actually in archive.org the reader can find lots of public domain collections of high resolutions photographs, for using with the software). However, over time I realized that a good photomosaic program should contemplate more features: use different image libraries, be able to tell the system if I want there to be repeated regions or not, that is, if the same photo should be put or you have to make more variety of them. Likewise, the idea of merging the original image in a percentage with the generated mosaic “softened” the final result, making it visually much better. The original development was published in the now defunct Dr Dobbs Journal (https://www.drdobbs.com/under
Submit your own showcase app to the Delphi 26th Birthday Showcase Challenge!
Design. Code. Compile. Deploy.
Start Free Trial Upgrade Today
Free Delphi Community Edition Free C++Builder Community Edition