This preview shows page 1. Sign up to view the full content.
Unformatted text preview: the reflections of light in the eyes. By doing so, it is possible to check for consistency in light sources and orientation, which is used to validate the photo’s authenticity #2 % Pseudocode % For each pixel p in the image, assign distance D to closest object % pixel q % Given Pixels: p,q % Given Pixel Coordinates: (p1,p2), (q1,q2) % Calculate cityblock distance: D(p,q)=(abs(p1-q1)+abs(p2-q2) % D = Distance Transform %Implement bw = zeros(200,200); bw(50,50) = 1; bw(50,150) = 1; bw(150,100) = 1; D = bwdist(bw, 'cityblock' ); #3...
View Full Document
This note was uploaded on 11/01/2011 for the course ANTHRO 5 taught by Professor Gaulin during the Spring '11 term at San Diego.
- Spring '11