Skip to content

CODExperiments

Doing it MY way!

  • Home
  • 2010
  • March
  • 22
  • First mosaic generated

First mosaic generated

Posted on March 22, 2010March 22, 2010 By Zoon No Comments on First mosaic generated
Photo Mosaic, Programming

Sorry… I can’t show you the mosaic since it contains 100% private pictures. Maybe I’ll go download a couple of hundred pictures from Flickr and show you! I just don’t have the time right now.

Anyways, I quickly spottet a small “error” with my algorithm. Lets say you have a source image of a clear sky. After you divide the image into a grid, and scan the cells, it’s more than likely that the average color of all the cells will be the same.
This means that the same picture will be selected from you database to draw the sky, which actually looks kind of lame. So I suggest a minor change. Find the top 5 matches for the sky color, and select a random image to draw. But before you do that, you have to check the spread of the top 5 matches. The first image might be spot on, but the next 4 images are not even close. Thats why you have to implement some sort of threshold to eliminate far of values. If the first image is the only “true” match, well… then you only got one image!

Another thing that might be worth looking into: Hough transformation (line and circle transformations) (Wiki-link). First you look for a line match (lines tilting the same way in the images), then you look for a color match! The same should be possible with circles! This will most likely be the last thing Itry to implement.
Comments are more than welcome 🙂

Post navigation

❮ Previous Post: First and easy approach
Next Post: Crash course in HLSL ❯

You may also like

Photo Mosaic
Photo Mosaic
March 21, 2010
Programming
Load data into table using JQuery and AJAX
September 10, 2012
Programming
February 1st, 2012 we go beta!
January 18, 2012
Android
Netflix Global Search – Android App.
July 30, 2014

Leave a Reply

You must be logged in to post a comment.

Downloads

Get it while it's HOT:
NZBcc 1.2.2.0

Downloads
might be ad supported. If so, click in top right corner to continue when the counter reaches 0.

Support NZBcc



Sign up to Dropbox using this link

Archives

  • March 2016
  • September 2014
  • July 2014
  • January 2014
  • August 2013
  • January 2013
  • December 2012
  • November 2012
  • September 2012
  • August 2012
  • June 2012
  • May 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • August 2011
  • July 2011
  • April 2011
  • January 2011
  • December 2010
  • November 2010
  • August 2010
  • July 2010
  • April 2010
  • March 2010
  • January 2009

Tag Cloud

AJAX Android Articles C# Download FMV Giganews HLSL HTML HTML5 Javascript jQuery MPEG Decoding MySQL Netflix NZB NZBcc PHP SQL Usenet Windows 7 XNA

Copyright © 2025 CODExperiments.

Theme: Oceanly News Dark by ScriptsTown