SlideShare a Scribd company logo
1 of 35
2D Geometric Transformations 고려대학교 컴퓨터 그래픽스 연구실
Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Geometric Transformation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: 2D Geometric Transformation Modeling Coordinates World Coordinates
Example: 2D Scaling Modeling Coordinates World Coordinates Scale(0.3, 0.3)
Example: 2D Rotation Modeling Coordinates Scale(0.3, 0.3) Rotate(-90) World Coordinates
Example: 2D Translation Modeling Coordinates Scale(0.3, 0.3) Rotate(-90) Translate(5, 3) World Coordinates
Example: 2D Geometric Transformation Modeling Coordinates World Coordinates Again?
Example: 2D Geometric Transformation Modeling Coordinates World Coordinates Scale Translate Scale Rotate Translate
Basic 2D Transformations ,[object Object],[object Object],[object Object],[object Object]
Basic 2D Transformations ,[object Object],[object Object],[object Object],[object Object],Transformations can be combined (with simple algebra)
Basic 2D Transformations ,[object Object],[object Object],[object Object],[object Object]
Basic 2D Transformations ,[object Object],[object Object],[object Object],[object Object]
Basic 2D Transformations ,[object Object],[object Object],[object Object],[object Object]
Basic 2D Transformations ,[object Object],[object Object],[object Object],[object Object]
Matrix Representation ,[object Object],[object Object],Transformation Matrix Point
Matrix Representation ,[object Object],Matrices are a  convenient  and  efficient  way to represent a sequence of transformations Transformation Matrix
2×2 Matrices ,[object Object],[object Object],[object Object]
2×2 Matrices ,[object Object],[object Object],[object Object]
2×2 Matrices ,[object Object],[object Object],[object Object]
2×2 Matrices ,[object Object],[object Object],NO!! Only  linear 2D transformations can be Represented with 2x2 matrix
2D Translation ,[object Object],[object Object]
Basic 2D Transformations ,[object Object],Translate Shear Scale Rotate
Homogeneous Coordinates ,[object Object],[object Object],[object Object],[object Object],1 2 1 2 x y (2, 1, 1) or (4, 2, 2) or (6, 3, 3) Convenient Coordinate System to Represent Many Useful Transformations
Linear Transformations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Affine Transformations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Projective Transformations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Matrix Composition ,[object Object],[object Object],[object Object]
Matrix Composition ,[object Object],[object Object],(a,b) (a,b)
Pivot-Point Rotation Translate Rotate Translate (x r ,y r ) (x r ,y r ) (x r ,y r ) (x r ,y r )
General Fixed-Point Scaling Translate Scale Translate (x f ,y f ) (x f ,y f ) (x f ,y f ) (x f ,y f )
Reflection ,[object Object],[object Object],y 축에 대한 반사 x 축에 대한 반사 원점에 대한 반사 x y 1 3 2 1’ 3’ 2’ x y 1 3 2 1’ 3’ 2 x y 3 1’ 3’ 2 1 2
Reflection ,[object Object],[object Object],y=x   에 대한 반사 x y 1 3 2 1’ 3’ 2’ x y x y x y
Shear ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],x 축으로 밀림  ( Sh x =2 ) 선분에 대한 밀림 ( Sh x =1/2, y ref =-1 ) (0,0) (1,0) (1,1) (0,1) ( 0,0 ) ( 1,0 ) ( 1,1 ) (0,1) (0,0) (1,0) (3,1) (2,1) ( 1/2,0 ) ( 3/2,0 ) ( 2,1 ) ( 1,1 ) (0,-1) x y x y x y x y
Shear ,[object Object],[object Object],[object Object],선분에 대한 밀림 ( Sh y =1/2, x ref =-1 ) x y (-1,0) ( 0,0 ) ( 1,0 ) ( 1,1 ) ( 0,1 ) ( 0,1/2 ) ( 1,1 ) ( 1,2 ) ( 0,3/2 ) x y

More Related Content

What's hot

Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformationSelvakumar Gna
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric TransformationsIshan Parekh
 
2 d geometric transformations
2 d geometric transformations2 d geometric transformations
2 d geometric transformationsMohd Arif
 
Three dimensional transformations
Three dimensional transformationsThree dimensional transformations
Three dimensional transformationsNareek
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformationsMohammad Sadiq
 
seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation9784
 
2d transformations
2d transformations2d transformations
2d transformationskmrvivek2
 
Geometric transformation
Geometric transformationGeometric transformation
Geometric transformationDhruv Shah
 
Homogeneous Representation: rotating, shearing
Homogeneous Representation: rotating, shearingHomogeneous Representation: rotating, shearing
Homogeneous Representation: rotating, shearingManthan Kanani
 
Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transformPatel Punit
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D2013901097
 
3 d geometric transformations
3 d geometric transformations3 d geometric transformations
3 d geometric transformationsMohd Arif
 
presentation on 2D geometrical transformation
presentation on 2D geometrical transformationpresentation on 2D geometrical transformation
presentation on 2D geometrical transformationRakshit vadi
 
Geometric objects and transformations
Geometric objects and transformationsGeometric objects and transformations
Geometric objects and transformationssaad siddiqui
 
2d-transformation
2d-transformation2d-transformation
2d-transformationPooja Dixit
 
2D Transformation
2D Transformation2D Transformation
2D TransformationShahDhruv21
 

What's hot (20)

Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric Transformations
 
2 d geometric transformations
2 d geometric transformations2 d geometric transformations
2 d geometric transformations
 
Three dimensional transformations
Three dimensional transformationsThree dimensional transformations
Three dimensional transformations
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformations
 
seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation
 
3 D Graphics
3 D Graphics3 D Graphics
3 D Graphics
 
2d transformations
2d transformations2d transformations
2d transformations
 
Geometric transformation
Geometric transformationGeometric transformation
Geometric transformation
 
Homogeneous Representation: rotating, shearing
Homogeneous Representation: rotating, shearingHomogeneous Representation: rotating, shearing
Homogeneous Representation: rotating, shearing
 
3d transformation
3d transformation3d transformation
3d transformation
 
Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transform
 
2d transformations
2d transformations2d transformations
2d transformations
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
 
3 d geometric transformations
3 d geometric transformations3 d geometric transformations
3 d geometric transformations
 
presentation on 2D geometrical transformation
presentation on 2D geometrical transformationpresentation on 2D geometrical transformation
presentation on 2D geometrical transformation
 
Geometric objects and transformations
Geometric objects and transformationsGeometric objects and transformations
Geometric objects and transformations
 
Transformations
TransformationsTransformations
Transformations
 
2d-transformation
2d-transformation2d-transformation
2d-transformation
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
 

Viewers also liked

Notes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNotes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNANDINI SHARMA
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphicsSHIVANI SONI
 
Spatial Transformation
Spatial TransformationSpatial Transformation
Spatial TransformationEhsan Hamzei
 
11 x1 t11 03 parametric coordinates (2013)
11 x1 t11 03 parametric coordinates (2013)11 x1 t11 03 parametric coordinates (2013)
11 x1 t11 03 parametric coordinates (2013)Nigel Simmons
 
Homogeneous representation
Homogeneous representationHomogeneous representation
Homogeneous representationgosaliya dheirya
 
dda algorithm
dda  algorithmdda  algorithm
dda algorithm774474
 
How to Create 3D Mashups by Integrating GIS, CAD, and BIM
How to Create 3D Mashups by Integrating GIS, CAD, and BIMHow to Create 3D Mashups by Integrating GIS, CAD, and BIM
How to Create 3D Mashups by Integrating GIS, CAD, and BIMSafe Software
 
Bresenham Line Drawing Algorithm
Bresenham Line Drawing AlgorithmBresenham Line Drawing Algorithm
Bresenham Line Drawing AlgorithmMahesh Kodituwakku
 
types of expansion devices in rac
types of expansion devices in ractypes of expansion devices in rac
types of expansion devices in racAnasuya Barik
 
Chemical and Electrochemical machining
Chemical and Electrochemical machiningChemical and Electrochemical machining
Chemical and Electrochemical machiningVivek Tyagi
 
Geometric transformation 2d chapter 5
Geometric transformation 2d   chapter 5Geometric transformation 2d   chapter 5
Geometric transformation 2d chapter 5geethawilliam
 

Viewers also liked (20)

Notes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNotes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphics
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
Spatial Transformation
Spatial TransformationSpatial Transformation
Spatial Transformation
 
Material science & metallurgy
Material science & metallurgyMaterial science & metallurgy
Material science & metallurgy
 
Pc 5.4 notes_sum-diff
Pc 5.4 notes_sum-diffPc 5.4 notes_sum-diff
Pc 5.4 notes_sum-diff
 
Method of supercharging
Method of superchargingMethod of supercharging
Method of supercharging
 
11 x1 t11 03 parametric coordinates (2013)
11 x1 t11 03 parametric coordinates (2013)11 x1 t11 03 parametric coordinates (2013)
11 x1 t11 03 parametric coordinates (2013)
 
Pc 10.6 Notes Parametric
Pc 10.6 Notes ParametricPc 10.6 Notes Parametric
Pc 10.6 Notes Parametric
 
Improper Rotation
Improper RotationImproper Rotation
Improper Rotation
 
Homogeneous representation
Homogeneous representationHomogeneous representation
Homogeneous representation
 
dda algorithm
dda  algorithmdda  algorithm
dda algorithm
 
C4 parametric curves_lesson
C4 parametric curves_lessonC4 parametric curves_lesson
C4 parametric curves_lesson
 
How to Create 3D Mashups by Integrating GIS, CAD, and BIM
How to Create 3D Mashups by Integrating GIS, CAD, and BIMHow to Create 3D Mashups by Integrating GIS, CAD, and BIM
How to Create 3D Mashups by Integrating GIS, CAD, and BIM
 
6 compressors
6 compressors6 compressors
6 compressors
 
Bresenham Line Drawing Algorithm
Bresenham Line Drawing AlgorithmBresenham Line Drawing Algorithm
Bresenham Line Drawing Algorithm
 
TYPES OF COMPRESSORS
TYPES OF COMPRESSORSTYPES OF COMPRESSORS
TYPES OF COMPRESSORS
 
types of expansion devices in rac
types of expansion devices in ractypes of expansion devices in rac
types of expansion devices in rac
 
Chemical and Electrochemical machining
Chemical and Electrochemical machiningChemical and Electrochemical machining
Chemical and Electrochemical machining
 
Geometric transformation 2d chapter 5
Geometric transformation 2d   chapter 5Geometric transformation 2d   chapter 5
Geometric transformation 2d chapter 5
 
transformation 3d
transformation 3dtransformation 3d
transformation 3d
 

Similar to 04transformation2d

Computer graphics
Computer graphicsComputer graphics
Computer graphicsBala Murali
 
GeometricTransformations.ppt
GeometricTransformations.pptGeometricTransformations.ppt
GeometricTransformations.pptDebjit Doira
 
09transformation3d
09transformation3d09transformation3d
09transformation3dKetan Jani
 
Computer Vision transformations
Computer Vision  transformationsComputer Vision  transformations
Computer Vision transformationsWael Badawy
 
Transformations in Computer Graphics
Transformations in Computer GraphicsTransformations in Computer Graphics
Transformations in Computer GraphicsJatenderKhatri
 
Geometric transformation cg
Geometric transformation cgGeometric transformation cg
Geometric transformation cgharinipriya1994
 
Part 3- Manipulation and Representation of Curves.pptx
Part 3- Manipulation and Representation of Curves.pptxPart 3- Manipulation and Representation of Curves.pptx
Part 3- Manipulation and Representation of Curves.pptxKhalil Alhatab
 
Unit-3 overview of transformations
Unit-3 overview of transformationsUnit-3 overview of transformations
Unit-3 overview of transformationsAmol Gaikwad
 
Part 2- Transformation.pptx
Part 2- Transformation.pptxPart 2- Transformation.pptx
Part 2- Transformation.pptxKhalil Alhatab
 
Part 2- Geometric Transformation.pptx
Part 2- Geometric Transformation.pptxPart 2- Geometric Transformation.pptx
Part 2- Geometric Transformation.pptxKhalil Alhatab
 
Coordinate and unit vector
Coordinate and unit vectorCoordinate and unit vector
Coordinate and unit vectorJobins George
 
lec07_transformations.pptx
lec07_transformations.pptxlec07_transformations.pptx
lec07_transformations.pptxAneesAbbasi14
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphicssabbirantor
 
2 d transformation
2 d transformation2 d transformation
2 d transformationAnkit Garg
 
Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2SIMONTHOMAS S
 

Similar to 04transformation2d (20)

Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
GeometricTransformations.ppt
GeometricTransformations.pptGeometricTransformations.ppt
GeometricTransformations.ppt
 
09transformation3d
09transformation3d09transformation3d
09transformation3d
 
Computer Vision transformations
Computer Vision  transformationsComputer Vision  transformations
Computer Vision transformations
 
Transformations in Computer Graphics
Transformations in Computer GraphicsTransformations in Computer Graphics
Transformations in Computer Graphics
 
Geometric transformation cg
Geometric transformation cgGeometric transformation cg
Geometric transformation cg
 
Part 3- Manipulation and Representation of Curves.pptx
Part 3- Manipulation and Representation of Curves.pptxPart 3- Manipulation and Representation of Curves.pptx
Part 3- Manipulation and Representation of Curves.pptx
 
Unit-3 overview of transformations
Unit-3 overview of transformationsUnit-3 overview of transformations
Unit-3 overview of transformations
 
06.Transformation.ppt
06.Transformation.ppt06.Transformation.ppt
06.Transformation.ppt
 
3D Transformation
3D Transformation 3D Transformation
3D Transformation
 
Part 2- Transformation.pptx
Part 2- Transformation.pptxPart 2- Transformation.pptx
Part 2- Transformation.pptx
 
Part 2- Geometric Transformation.pptx
Part 2- Geometric Transformation.pptxPart 2- Geometric Transformation.pptx
Part 2- Geometric Transformation.pptx
 
Coordinate and unit vector
Coordinate and unit vectorCoordinate and unit vector
Coordinate and unit vector
 
lec07_transformations.pptx
lec07_transformations.pptxlec07_transformations.pptx
lec07_transformations.pptx
 
transformation IT.ppt
transformation IT.ppttransformation IT.ppt
transformation IT.ppt
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphics
 
2 d transformation
2 d transformation2 d transformation
2 d transformation
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
 
Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2
 

More from Ketan Jani

More from Ketan Jani (13)

08viewing3d
08viewing3d08viewing3d
08viewing3d
 
07object3d 1
07object3d 107object3d 1
07object3d 1
 
03raster 1
03raster 103raster 1
03raster 1
 
Shading
ShadingShading
Shading
 
Graphics pipeline
Graphics pipelineGraphics pipeline
Graphics pipeline
 
Graphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygonsGraphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygons
 
Curves
CurvesCurves
Curves
 
07object3d
07object3d07object3d
07object3d
 
06 clipping
06 clipping06 clipping
06 clipping
 
05viewing2d
05viewing2d05viewing2d
05viewing2d
 
03raster
03raster03raster
03raster
 
02mathematics 1
02mathematics 102mathematics 1
02mathematics 1
 
02mathematics
02mathematics02mathematics
02mathematics
 

04transformation2d