Apathy Sketchpad

 

Image Alignment Code

May 27th, 2008

/// <summary>
/// Aligns two images. Uses highly-local, non-affine alignment.
/// Also compensates for local brightness and colour changes.
/// </summary>
/// <param name=”Input”>The image to align</param>
/// <param name=”Reference”>The image to align it to</param>
/// <returns>The image aligned to the reference image</return>
public Image Align(Image Input, Image Reference)
{
    return Reference;
}

[?]
You can leave a response, or trackback from your own site. You may star this entry if you think people will enjoy it.

3 Responses to “Image Alignment Code”

  1. Gravatar SupSuper Says:

    Brilliant.

    What language is that though? It looks like C# except for the “function” keyword.


  2. Gravatar Andrew Says:

    Idunno. I use a heady mix of C# and Matlab at work. I think it came out as a pastiche. I think I’ll switch it to pure C# for the sake of consistency.


  3. Gravatar Paul Says:

    Aah, now it’s in C# througout I understand this post entirely. Funny stuff!


Leave a Reply

Recently Starred

Other pages


More Of Me


Recent Comments


Google Talk


Other Things


Internal


Archives



Apathy Sketchpad is proudly powered by WordPress
Entries (RSS) and Comments (RSS).