Announcements Class mailing list: send to Hyoungjune Yi: Homework at the end of class. Text is on reserve in the.

Slides:



Advertisements
Similar presentations
3D Geometry for Computer Graphics
Advertisements

CS 691 Computational Photography Instructor: Gianfranco Doretto Image Warping.
Matrix Laboratory Created in late 1970’s Intended for used in courses in matrix theory, linear algebra and numerical analysis Currently has grown into.
Two-view geometry.
Geometry (Many slides adapted from Octavia Camps and Amitabh Varshney)
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
Computer Graphics Recitation 5.
Linear Algebra and SVD (Some slides adapted from Octavia Camps)
3D Geometry for Computer Graphics
Announcements Problem Set 2, handed out today, due next Tuesday. Late Homework should be turned into my office with date and time written on it. Mail problem.
Computer Graphics CSC 630 Lecture 2- Linear Algebra.
Linear Algebra Review. 6/26/2015Octavia I. Camps2 Why do we need Linear Algebra? We will associate coordinates to –3D points in the scene –2D points in.
CSci 6971: Image Registration Lecture 2: Vectors and Matrices January 16, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart, RPI.
Lecture 7 Sept 19, 11 Goals: two-dimensional arrays (continued) matrix operations circuit analysis using Matlab image processing – simple examples Chapter.
Computer Graphics (Fall 2008) COMS 4160, Lecture 3: Transformations 1
Lecture 6 Sept 15, 09 Goals: two-dimensional arrays matrix operations circuit analysis using Matlab image processing – simple examples.
Matlab Tutorial Continued Files, functions and images.
Representation CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Computer Graphics (Fall 2004) COMS 4160, Lecture 3: Transformations 1
CS6825: Linear Algebra Overview 2 Why do we need Linear Algebra? We will associate coordinates to We will associate coordinates to 3D points in the scene3D.
3D Graphics Goal: To produce 2D images of a mathematically described 3D environment Issues: –Describing the environment: Modeling (mostly later) –Computing.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka Virginia de Sa (UCSD) Cogsci 108F Linear.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices n New stuff Homogenous co-ordinates 3D transformations as matrices.
COS 397 Computer Graphics Svetla Boytcheva AUBG, Spring 2013.
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
Patrick Nichols Thursday, September 18, Linear Algebra Review.
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Monday, 26 January 2004 William H. Hsu Department of.
Matlab tutorial and Linear Algebra Review Today’s goals: Learn enough matlab to get started. Review some basics of Linear Algebra Essential for geometry.
Multi-view geometry.
CPSC 491 Xin Liu Nov 17, Introduction Xin Liu PhD student of Dr. Rokne Contact Slides downloadable at pages.cpsc.ucalgary.ca/~liuxin.
Intro to 3D Models Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
1 MAC 2103 Module 6 Euclidean Vector Spaces I. 2 Rev.F09 Learning Objectives Upon completing this module, you should be able to: 1. Use vector notation.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
1 Graphics CSCI 343, Fall 2015 Lecture 10 Coordinate Transformations.
Introduction to Linear Algebra Mark Goldman Emily Mackevicius.
Array Operations ENGR 1181 MATLAB 4.
Review of Linear Algebra Optimization 1/16/08 Recitation Joseph Bradley.
Fall 2004CS-321 Dr. Mark L. Hornick 1 2-D Transformations World Coordinates Local/Modelling Coordinates x y Object descriptions Often defined in model.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 3: Transformations 1
1 Representation. 2 Objectives Introduce concepts such as dimension and basis Introduce coordinate systems for representing vectors spaces and frames.
Reconstruction from Two Calibrated Views Two-View Geometry
Image Warping Many slides from Alyosha Efros + Steve Seitz + Derek oeim Photo by Sean Carroll.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Graphics Graphics Korea University kucg.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
CS246 Linear Algebra Review. A Brief Review of Linear Algebra Vector and a list of numbers Addition Scalar multiplication Dot product Dot product as a.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
MTH108 Business Math I Lecture 20.
Linear Algebra review (optional)
Review of Linear Algebra
3. Transformation
Linear independence and matrix rank
Linear Algebra Review.
COMP 175: Computer Graphics February 9, 2016
2-D Geometry.
Lecture 11 Matrices and Linear Algebra with MATLAB
2D transformations (a.k.a. warping)
(c) University of Wisconsin, CS559
2.1 Day 3 Linear Transformations
Linear Algebra review (optional)
Linear Algebra A gentle introduction
Presentation transcript:

Announcements Class mailing list: send to Hyoungjune Yi: Homework at the end of class. Text is on reserve in the CS library. Powerpoint should be available by 10am class day.

Matlab tutorial and Linear Algebra Review Today’s goals: Learn enough matlab to get started. Review some basics of Linear Algebra Essential for geometry of points and lines. But also, all math is linear algebra. (ok slight exaggeration). Many slides today adapted from Octavia Camps, Penn State.

Starting Matlab For PCs, Matlab should be a program. For Sun’s: Numerical Analysis and Visualization Matlab 6.1

Help help help command Eg., help plus Help on toolbar demo Tutorial: /matlab/

Matlab interpreter Many common functions: see help ops

Vectors Ordered set of numbers: (1,2,3,4) Example: (x,y,z) coordinates of pt in space.

Indexing into vectors

Vector Addition v w V+w

Scalar Product v av

Operations on vectors sum max, min, mean, sort, … Pointwise:.^

Inner (dot) Product v w  The inner product is a SCALAR!

Matrices Sum: A and B must have the same dimensions

Matrices Product: A and B must have compatible dimensions Identity Matrix:

Matrices Transpose: If A is symmetric

Matrices Determinant: A must be square

Matrices Inverse: A must be square

Indexing into matrices

Euclidean transformations

2D Translation t P P’

2D Translation Equation P x y txtxtxtx tytytyty P’ t

2D Translation using Matrices P x y txtxtxtx tytytyty P’ t tP

Scaling P P’

Scaling Equation P x y s.x P’ s.y

Rotation P P’

Rotation Equations Counter-clockwise rotation by an angle  P x Y’ P’  X’ y

Degrees of Freedom R is 2x2 4 elements BUT! There is only 1 degree of freedom:  The 4 elements must satisfy the following constraints:

Stretching Equation P x y S x.x P’ S y.y

Stretching = tilting and projecting (with weak perspective)

Linear Transformation SVD

Affine Transformation

Files

Functions Format: function o = test(x,y) Name function and file the same. Only first function in file is visible outside the file.

Images

Debugging Add print statements to function by leaving off ; keyboard debug and breakpoint

Conclusions Quick tour of matlab, you should teach yourself the rest. We’ll give hints in problem sets. Linear algebra allows geometric manipulation of points. Learn to love SVD.