Unformatted text preview:

Linear Subspaces - GeometryNo Invariants, so Capture VariationWhen is this accurate?Principal Components Analysis (PCA)Derivation on whiteboardSVDLinear CombinationsWe Can Remove Translation (1)Remove Translation (2)First Step: Remove Translation (3)Rank TheoremLower-Dimensional SubspaceRepresentation is CompleteSlide 16SummaryLinear Subspaces - GeometryNo Invariants, so Capture Variation•Each image = a pt. in a high-dimensional space.–Image: Each pixel a dimension.–Point set: Each coordinate of each pt. A dimension.•Simplest rep. of variation is linear.–Basis (eigen) images: x1…xk–Each image, x = a1x1 + … + akxk•Useful if k << n.When is this accurate?•Approximately right when:–Variation approximately linear. Always true for small variation.–Some variations big, some small, can discard small.•Exactly right sometimes.–Point features with scaled-orthographic projection.–Convex, Lambertian objects and distant lights.Principal Components Analysis (PCA)•All-purpose linear approximation.•Given images (as vectors)•Finds low-dimensional linear subspace that best approximates them.–Eg., minimizes distance from images to subspace.Derivation on whiteboard•This is all taken from Duda, Hart and Stork Pattern Classification pp. 114-117. Excerpt in library.SVD•Scatter matrix can be big, so computation non-trivial.•Stack data into matrix X, each row an image. SVD gives X = UDVT–D is diagonal with non-increasing values.–U and V have orthonormal rows. •VT(:,1:k) gives first k principal components.•matlabLinear Combinations111.....................2121213,22,21,23,12,11,1223,222,221,2223,122,121,1113,212,211,2113,112,111,1212122221222211121111211nnnmymmmmxmmmyxyxmnmmmnmmnnnnzzzyyyxxxtssstssstssstssstssstsssvvvuuuvvvuuuvvvuuuI S PImmediately apparent that u and v coordinates lie in a 4D linear subspaceWe Can Remove Translation (1)•This is trivial, because we can pick a simple origin.–World origin is arbitrary.–Example: We can assume first point is at origin.•Rotation then doesn’t effect that point.•All its motion is translation.–Better to pick center of mass as origin.•Average of all points.•This also averages all noise.Remove Translation (2)0001 :WLOGniiziyixnuunkiki1nvvnkiki1mmnmmmmmmnmmmmnnnnvvvvvvuuuuuuvvvvvvuuuuuuvvvvvvuuuuuuI...............~212122222221222222211111211111112111Notice this is just the first step of PCA.First Step: Remove Translation (3)nnnmmmmmmmnmmmnmmnnnnzzzyyyxxxssssssssssssssssssvvvuuuvvvuuuvvvuuu2121213,22,21,23,12,11,123,222,221,223,122,121,113,212,211,213,112,111,1212122221222211121111211......~...~~~~~.........~~~~~~~~~~...~~Rank Theoremnnnmmmmmmmnmmmnmmnnnnzzzyyyxxxssssssssssssssssssvvvuuuvvvuuuvvvuuu2121213,22,21,23,12,11,123,222,221,223,122,121,113,212,211,213,112,111,1212122221222211121111211......~...~~~~~.........~~~~~~~~~~...~~I~I~I~has rank 3.This means there are 3 vectors such that every row of is a linear combination of these vectors. These vectors are the rows of P.SPSo, given any object, u and v coordinates of any image of it lie in a 3-dimensional linear subspace.Lower-Dimensional Subspace•(affine invariant coordinates of point 4 relative to first three.•Represent image: (…nn)–This representation is complete.–The  or  coordinates of all images of an object occupy a 1D linear subspace.Representation is Complete1),,(),,(0),,(),,(where1000003,22,21,23,12,11,13,22,21,23,12,11,13,22,21,23,12,11,12,21,22,11,13,22,21,23,12,11,1-rrrrrrrrrrrrPrrrrrrtaataaPtssstsssyxyx• 3D-2D affine transformation is projection in some direction + 2D-2D affine transformation. • 2D-2D affine maps first three image points anywhere. So they’re irrelevant to a complete representation.• Once we use only affine coordinates, 2D-2D affine transformation no longer matters.1D SubspaceSummary•Projection can be linearized.•So images produced under projection can be linear and low-dimensional.•Are these results relevant to surfaces of real 3D objects projected to 2D?–Maybe to features; probably not to intensity images.•Why would images of a class of objects be


View Full Document

UMD CMSC 828 - Linear Subspaces - Geometry

Download Linear Subspaces - Geometry
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Linear Subspaces - Geometry and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Linear Subspaces - Geometry 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?