GT4 Photomosaic Project

  • Thread starter Thread starter ZZII
  • 68 comments
  • 2,349 views
Messages
559
With GT4 Photo Mode, it's a heck of a lot easier to collect a bunch of images from the game than it used to be (using a TV tuner, for example). The pictures are also wonderfully high-res. Seeing the amazing quantity and quality of pictures on GTP, I thought it would be cool use a project that I had been working on for a different reason to create a GT4 Photomosaic.

For anyone who doesn't know, a photomosaic is an image composed of a grid of many smaller images. When viewed from a distance, the larger image becomes clear. There are plenty of programs available on the web for creating these (none commercial, since it's patented technology...long and funny story that I won't go into). However, I thought it would be an interesting project to write my own piece of software for creating a photomosaic. It worked out much better than I thought it would and I put it to good use rendering this. The actual size is 6400x4800 pixels, so it'd be hard to post, but here is a zoomed-in section.

I could use the same program to render a GT4-themed photomosaic. (Again, there are plenty of other programs out there but it'd be more fun to do it "in-house," I think.) I believe it would come out really nice. One of the keys to getting a good photomosaic seems to be color variety in the small images, and, aside from an underlying asphalt gray tone, I think the variety of car colors in the photos would make it interesting. Since the program takes into account sub-sections of images for "shapes," (look at the bullet in the picture linked above) the contrast between car and road, road and grass/dirt/wall, or track and sky would probably fill spots really nicely too.

The best way to ensure that it comes out good is to get a TON of images to choose from. The one above samples from about 1,000 images, and that is considered a small amount. (Which is why there are some repeats.) Ideally, I'd like to do it with as many as 5,000 images. Of course, that presents a problem since at the moment I have about 75 on my hard drive. That's where you all come in (if you want). I could collect images from anyone who is interested in contributing to the photomosaic. Once I have a folder with enough images in it, the rest is easy...I can render a photomosaic of just about anything. A huge GT (or GTP) logo made of little screen shots would come out very nice, since the shapes are very simple. But with thousands of images, even a complex picture (like another screen shot, for example) should look pretty good as the large image. And once the small images are all collected, I can keep rendering different large images from that collection as many times as needed.

With a small amount of tweaking, I can also get the program to log which pictures are used and make some kind of legend grid showing the usernames of who contributed what pictures. I've got enough web space to host one (or at most a few) of these and maybe there could be some kind of "Official GT4 Photomosaic Contributor" link to the image for people's signatures. They could also make great desktops or (if you have a way of doing it) poster prints.

All this is only possible if you want to do it...I don't have the time to collect thousands of photomode images from my own game. I kind of just wanted to see if there would be interest in something like this. If there is good response, we can figure out the details of how to start organizing the image collection. Sorry for the long post, and thanks for your input! :)
 
ZZII
With GT4 Photo Mode, it's a heck of a lot easier to collect a bunch of images from the game than it used to be (using a TV tuner, for example). The pictures are also wonderfully high-res. Seeing the amazing quantity and quality of pictures on GTP, I thought it would be cool use a project that I had been working on for a different reason to create a GT4 Photomosaic.

For anyone who doesn't know, a photomosaic is an image composed of a grid of many smaller images. When viewed from a distance, the larger image becomes clear. There are plenty of programs available on the web for creating these (none commercial, since it's patented technology...long and funny story that I won't go into). However, I thought it would be an interesting project to write my own piece of software for creating a photomosaic. It worked out much better than I thought it would and I put it to good use rendering this. The actual size is 6400x4800 pixels, so it'd be hard to post, but here is a zoomed-in section.

I could use the same program to render a GT4-themed photomosaic. (Again, there are plenty of other programs out there but it'd be more fun to do it "in-house," I think.) I believe it would come out really nice. One of the keys to getting a good photomosaic seems to be color variety in the small images, and, aside from an underlying asphalt gray tone, I think the variety of car colors in the photos would make it interesting. Since the program takes into account sub-sections of images for "shapes," (look at the bullet in the picture linked above) the contrast between car and road, road and grass/dirt/wall, or track and sky would probably fill spots really nicely too.

The best way to ensure that it comes out good is to get a TON of images to choose from. The one above samples from about 1,000 images, and that is considered a small amount. (Which is why there are some repeats.) Ideally, I'd like to do it with as many as 5,000 images. Of course, that presents a problem since at the moment I have about 75 on my hard drive. That's where you all come in (if you want). I could collect images from anyone who is interested in contributing to the photomosaic. Once I have a folder with enough images in it, the rest is easy...I can render a photomosaic of just about anything. A huge GT (or GTP) logo made of little screen shots would come out very nice, since the shapes are very simple. But with thousands of images, even a complex picture (like another screen shot, for example) should look pretty good as the large image. And once the small images are all collected, I can keep rendering different large images from that collection as many times as needed.

With a small amount of tweaking, I can also get the program to log which pictures are used and make some kind of legend grid showing the usernames of who contributed what pictures. I've got enough web space to host one (or at most a few) of these and maybe there could be some kind of "Official GT4 Photomosaic Contributor" link to the image for people's signatures. They could also make great desktops or (if you have a way of doing it) poster prints.

All this is only possible if you want to do it...I don't have the time to collect thousands of photomode images from my own game. I kind of just wanted to see if there would be interest in something like this. If there is good response, we can figure out the details of how to start organizing the image collection. Sorry for the long post, and thanks for your input! :)

Cool idea - I have a whole slew in my gallery you are free to add to this.
 
kennythebomb
Cool idea - I have a whole slew in my gallery you are free to add to this.

Great! I took a quick look at your gallery and there are some amazing pics in there.

I guess I should also mention to anyone that is interested in contributing that it's more time-consuming to go through your threads grabbing the images one-by-one (imagine right-click-save-as X 5,000). If you could do one of the following, it would make the collection process quicker:

-If you have a large collection of pictures in a folder on your computer, zip/compress that folder and email it to me (scolton at mit dot edu). I only need 320x240 images, so if you have the means to batch-resize them before sending them over, the file size would be smaller.
-If the file is too big for email, you can direct-connect to me on AIM and send them. (s/n: GT247365 ;) )

I realize that might be a pain to work out. So if neither of those are possible, I can go through your threads, but I might not be able to take as many pictures. (Although I'll probably wind up taking as many as I can get!)
 
Feel free to take as many as you want from mine. I'd love to be a part of it. :)
 
I figured you were at MIT or something like it judging from your pics of a robot competition and writing your own automatic mosaic creation program ;) Sounds like something someone from my school (the MIT of the South, as it's known) would do :) As for pictures, feel free to use mine, and if I have time I'll put some of my best into a zip file and email it to you.
 
I have over 200 pics in mine, feel free to take whatever you need.
 
Glad to such good response. It looks like there's definitely enough interest to pull this off, so I am going to start the long process of collecting images from everyone's galleries. Again, if you have the time and would like to make my job a little easier, you can send me a .zip file with all your pictures. Otherwise, just point me in the direction of your gallery and I'll grab as many pics as I can from it.

I'll keep checking this thread for new contributions and updating it with a progress report. Once I get to about 500 pics or so, I should be able to start running some test renders on simple images (a GT logo, for starters). At around 1,000, I can try rendering some more interesting stuff. I'll post the test renders as I go.

Thanks again for your contributions!

JTSnooks
I figured you were at MIT or something like it judging from your pics of a robot competition and writing your own automatic mosaic creation program ;) Sounds like something someone from my school (the MIT of the South, as it's known) would do :) As for pictures, feel free to use mine, and if I have time I'll put some of my best into a zip file and email it to you.

...Yea, I try not to show it but I guess I am a techie at heart. ;) I'm actually a mechanical engineering major - I guess that fits with my GT addiction.

The "long and funny story" that I left out of my original post was about how I found out that the photomosaic (not just the creation program...the whole concept itself) was actually invented and patented by Robert Silvers in 1996? while a graduate student at MIT. He now owns a Cambridge-based company called Runaway Technology that has produced many famous photomosaics.
 
Hey, waddya know, I'm an ME too. When you love cars you don't have much other choice as far as engineering goes, the two go hand in hand.
 
JTSnooks
It seems to be a common theme, huh?
:cheers:

As promised, a progress report:

I've collected about 500 images, which is enough to start test-rendering. I did a GT logo but it was kinda sloppy and I couldn't read the "Gran Turismo 4" underneath it. I'm not sure I have enough resolution of image blocks to get that clear, but I'll try again when I have more pictures. Otherwise, I'll settle for a big GT with nothing under it. Then I realized that a test render of something more complicated might actually come out better since I have such a nice variety of images already. The result was surprisingly good:

http://web.mit.edu/scolton/www/gt4photomosaic/teaser.jpg

(Try making it really small or moving far away.)

and zoomed-in:

teaser_zoom.jpg


...had to go with the ZZII ;)

That's with 500 images, a lot of repeats, and NO color adjustment. With a couple thousand images, these renders should look really nice. More to come...

P.S. If you don't see your pics in there, don't worry, I've only gotten to a few of the galleries so far.
 
dood i got a ****load of photos u can use .. like 300+ easy.. just not all uploaded[56k limited]
 
You can use my pictures too.

I have "some" folders on a webspace, 38 folders to be exact. I believe there are several hundreds of pictures in there.

Click here
 
Wow that looks great, I can't wait to see the finished product!
 
Progress Report #2:

I have reached the important 1,000 picture mark (954, actually). That means that at this point I can pretty much render anything and it will look pretty good. There will still be repeats, especially in solid color regions...that's something I need to tweak in the program itself when I have more images. Right now it allows repeats within roughly 5 spaces of each other, but I can adjust that as needed.

What I usually do is run 10 or so test renders and take the one that looks best. I got to #4 and it was clearly the winner...I think it is the best thing my little program has ever rendered to be honest. And with many more pictures to go, I can't wait to see how much better it can get. So here it is, teaser #2 (again, no color adjustment - with results this good, I don't think we'll need it):

teaser2.jpg

big picture from: kennythebomb

and a zoom (can you guess where this is on the big picture?):

teaser2_zoom.jpg


I am backed up with the collection, but I am trying to take as many pictures as possible from everyone who posted. I'm going roughly in order of response and have only gotten through 5 or 6 full galleries, so if you don't see your pics yet, don't panic.

I also have to start figuring out how I am going to implement a "credit key" so that everyone who sees the final renders can know exactly who took what pictures. That has to be done in the code since there's no way I can look at 1600 images and figure out whose they are.

Thanks again for your support everyone! More updates coming soon, although probably not tomorrow since I am going on the tallest, fastest roller coaster on earth. :nervous: :dopey:
 
Click Here for my new imageshack thing, i have a lot more to load onto that blog, check tonight when i can upload a zip.
 
JTSnooks
I found it! It's from the number on the door :D

Bingo. :)

It's a good example of why you need so many pictures. The number on the door is about 5 pictures wide and 5 pictures tall. (Coincidentally, 25 pictures total to make the number 25.) But try printing the number 25 with just 5x5 resolution...not possible. The program actually sub-samples each of the small images into 12 blocks, 4 across and 3 down. So the 25 is really made with 20x15 grid of image sections rather than whole images. This allows for larger "small" pictures, so you get the detail without losing the resolution. But the catch is you need more images so that you can potentially find a close match for the section you need.
 
It's pretty dang sweet when you look at how it chose the pictures to get show the numbers. Picked them with the colors in the right spot on each picture and stuff. Very cool :)
 
Back