05.11.2011., subota


Making Photo Mosaic - 2d To 3d Photo Converter.

Making Photo Mosaic

making photo mosaic

    photo mosaic
  • a number of overlapping photographs glued together to provide continuous coverage of a large area. Aerial photographic mosaics are used in the production of modern topographic maps.

  • In the field of photographic imaging, a photographic mosaic (also known under the term Photomosaic, a portmanteau of photo and mosaic, trademarked by ) is a picture (usually a photograph) that has been divided into (usually equal sized) rectangular sections, each of which is replaced with

  • An arrangement of photos that are cropped.

  • Essential qualities or ingredients needed for something

  • (usually plural) the components needed for making or doing something; "the recipe listed all the makings for a chocolate cake"

  • Money made; earnings or profit

  • devising: the act that results in something coming to be; "the devising of plans"; "the fashioning of pots and pans"; "the making of measurements"; "it was already in the making"

  • The process of making or producing something

  • qualification: an attribute that must be met or complied with and that fits a person for something; "her qualifications for the job are excellent"; "one of the qualifications for admission is an academic degree"; "she has the makings of fine musician"

Evolution of a Homemade Photo Mosaic

Evolution of a Homemade Photo Mosaic

This is a picture of a random canal in Venice, rebuilt as a collection of 100 x 150 pictures of Venice and Florence.

The main step (i.e. to get from the photo to the first mosaic) is actually fairly simple: shrink the library of pictures you want to use and break the image you want to mosaic into pieces that are the same size as the shrunken pictures. Then, compare each one of these pieces, pixel-by-pixel, to each of the shrunken images and find the best match. Replace that piece with the shrunken image, lather, rinse, repeat, and voila: you've got the second image above.

You'll see a major problem, though: it tends to use the exact same picture dozens and dozens of times. To stop this, tell the computer to not use a picture within x spaces of itself, where x is an arbitrary number that works (5 is what I used here). It only took me 5 extra lines of code, but the logic took me 20 minutes to work out. This makes the third image.

You can stop here, but you'll notice the mosaic looks a little blocky, since it mostly reuses the same 5x5 squares over and over again. To fix this, I just had the computer add a random value to x above, and it smoothed out quite nicely.

That, in a nutshell, is how photo mosaics are made. There are a few more elegant ways to do it , but this is probably the simplest. Most professional programs also fade in the original photo a bit, to help define shapes and colors a bit better, but since this mosaic used so many photos, it wasn't really necessary. If you want to use larger pictures in your grid, fading the original in would probably be a good idea.

Programmed using Processing.

My Photos 08.12.2008

My Photos 08.12.2008

Amazing present I got from the great people in the office (thank you so much), a 29x19" portrait composed of about 3,000 of my photographs! (nope I didnt count them) How cool a mosaic image is that!

It is so amazing to see that each pixel that makes up this image is a photo in itself. Best gift ever, thank you guys.

making photo mosaic

Similar posts:

uninstall windows photo gallery vista

birthday stock photo

information on digital photo frames

photo magazine contest

mohanlal photo gallery

photo booth kansas city

bollywood nangi photo

photo editor office

- 22:37 - Komentari (0) - Isprintaj - #

<< Arhiva >>

  studeni, 2011  
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        

Studeni 2011 (17)


Linkovi koristi kolačiće za pružanje boljeg korisničkog iskustva. Postavke kolačića mogu se kontrolirati i konfigurirati u vašem web pregledniku. Više o kolačićima možete pročitati ovdje. Nastavkom pregleda web stranice slažete se s korištenjem kolačića. Za nastavak pregleda i korištenja web stranice kliknite na gumb "Slažem se".Slažem se