Tungstène – the fake photo finder



Eulerian Video Magnification for Revealing Suble Changes in the World

Our goal is to reveal temporal variations in videos that are difficult     or impossible to see with the naked eye and display them in     an indicative manner. Our method, which we call Eulerian Video     Magnification, takes a standard video sequence as input, and applies     spatial decomposition, followed by temporal filtering to the     frames. The resulting signal is then amplified to reveal hidden information.     Using our method, we are able to visualize the flow     of blood as it fills the face and also to amplify and reveal small     motions. Our technique can run in real time to show phenomena   occurring at temporal frequencies selected by the user.

Find out more at http://people.csail.mit.edu/mrub/vidmag/

Select the index of a specific object via LINQ

This will search for the index of an object in a collection depending on a specific criteria.
When the object is not found in the collection, it will return an index with value -1.

string searchValue = "d";
List<string> items = new List<string>() { "a", "b", "c", "d", "e" };

int foundIndex = items.Select((x, i) => new { x, i })
.Where(x => x.x == searchValue)
.Select(x => x.i)

// specific code for LINQPad

The result will be 3, because “d” has index 3 in the collection.