Friday, February 11, 2011

Texture Synthesis - Step 2

Next step in the process:

  1. Start by a randomly generated target image.
  2. Refine by computing "texture energy" and optimizing at each loop. Stop when no changes occur. 
Will need to look take a closer look at Levoy code. 

Wednesday, February 2, 2011

Checkpoint #1 - Find Nearest Pixel

Given a selected pixel, outputs a pixel that is most similar to it.
It takes into consideration all neighboring pixels within a given radius.
Nearest pixel determined by finding the smallest L2 norm distance, using the average of RGB values of all pixels in the given radius.

Here's a sample screenshot. The red square is the selected pixel (it's at the nose).