# ds7 - ECE 178 Digital Image Processing Discussion Session...

This preview shows pages 1–3. Sign up to view the full content.

ECE 178 Digital Image Processing Discussion Session #7 Anindya Sarkar & Mehmet Emre Sargin { anindya,msargin } @ece.ucsb.edu February 22, 2007 Previous Midterm Question 3: x y 1 1 -1 x y -1 1 -0.5 0.5 Let’s assume that the left and right images are represented with c ( x,y ) and d ( ) respectively. Further let the d ( ) is composed of 4 components: d ( ) = d 1 ( ) + d 2 ( ) + d 3 ( ) + d 4 ( ) d 1 ( ) represents the triangle centered at ( - 1 , 1) d 2 ( ) represents the triangle centered at (1 , 1) d 3 ( ) represents the triangle centered at (1 , - 1) d 4 ( ) represents the triangle centered at ( - 1 , - 1) In the two dimensional case, the relationship between c ( ) and d i ( ), ( i = 1 , 2 , 3 , 4) can be written as: d i ( ) = c ( x 0 ,y 0 ) where x 0 y 0 = cos θ sin θ - sin θ cos θ ‚• x y + t 1 t 2 which means we translate the axis of c ( ) ﬁrst by t 1 and t 2 in x and y directions respectively then we rotate the axis by θ radians. Or alternatively, since the rotation is matrix is unitary: x 0 y 0 = cos θ sin θ - sin θ cos θ x y + cos θ sin θ - sin θ cos θ cos θ - sin θ sin θ cos θ t 1 t 2 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
DS#7 ECE 178 Anindya Sarkar & Mehmet Emre Sargin { anindya,msargin } @ece.ucsb.edu = cos θ sin θ - sin θ cos θ ‚‰• x y
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 06/12/2009 for the course ECE 178 taught by Professor Manjunath during the Winter '08 term at UCSB.

### Page1 / 3

ds7 - ECE 178 Digital Image Processing Discussion Session...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online