SlideShare a Scribd company logo
9
Most read
10
Most read
11
Most read
Scaling And Shearing
Transformation
Basic
Transformation
Additional
Transformation
Translation Rotation Scaling
Shearing Reflection
NON- RIGID BODY TRANFORMATIONS
Scaling
• To change the size of an object, scaling
transformation is used.
• In the scaling process, we can either expand or
compress the dimensions of the object.
• Scaling can be achieved by multiplying the
original coordinates of the object with the
scaling factor to get the desired result.
Scaling
Homogenous Co-ordinates Differential Co- ordinates
Shape Does not
Changes
Size changes
Sx=Sy
Shape Does Changes
Size changes
Sx !=Sy
• Example-
Original coordinates are (X, Y),
Scaling factors are (SX, SY),
New coordinates are (X’, Y’)
->General Representation
-> Matrix Representation
X' = X . SX and Y' = Y . SY
(X′Y′) = (XY) Sx 0
0 Sy
Scaling with respect to Origin
Scaling with respect to Origin
Normal Object Object After Scaling
Scaling Factor < 1  Compress(shrink)
Scaling Factor > 1  Expand (stretch)
Scaling Factor = 1  No Change
Scaling Factor < 0  Reflect the shape
Scaling with respect to Point
• STEPS-
– STEP1 -> Translate to origin.
– STEP2-> Scaling is done.
– STEP3 -> Translate it back to that point.
Shearing
• Shearing is also known as Skewing.
• It is a transformation that slants the shape of
an object.
Shearing Transformation
X- Shearing Y- Shearing X-Y -- Shearing
X- Shearing
• X-Shear preserves the Y coordinate and changes
are made to X coordinates.
• X Sh = 1 0
Shx 1
X’= X+ (Shx * Y)
Y’=Y
Y- Shearing
• Y-Shear preserves the X coordinate and changes
are made to Y coordinates.
• Y Sh = 1 ShY
0 1
Y’=Y+ (ShY * X)
X’=X
X-Y - Shearing
• Here, both co – ordinates changes.
• XY Sh = 1 Shy
Shx 1
Y’=Y+ (ShY * X)
X’=X+ (ShX * Y)
Scaling and shearing

More Related Content

PPT
2D transformation (Computer Graphics)
PPTX
Cohen sutherland line clipping
PPTX
Role of social media in business communication
PPTX
Synchronization in distributed computing
PPT
DATA PERSISTENCE IN ANDROID OPERATING SYSTEM
PPT
Probability Concepts Applications
PPTX
Computer graphics basic transformation
2D transformation (Computer Graphics)
Cohen sutherland line clipping
Role of social media in business communication
Synchronization in distributed computing
DATA PERSISTENCE IN ANDROID OPERATING SYSTEM
Probability Concepts Applications
Computer graphics basic transformation

What's hot (20)

PPTX
Bresenham circle
PPTX
3D transformation in computer graphics
PPTX
Composite transformation
PPT
Composite transformations
PPTX
Mid point circle algorithm
PPTX
Projections.pptx
PPTX
Polygon filling algorithm
PPTX
Color Models Computer Graphics
PPT
2 d geometric transformations
PPTX
Output primitives in Computer Graphics
PPTX
Frame buffer
PPTX
Clipping computer graphics
PPTX
2 d viewing computer graphics
PPTX
Cyrus beck line clipping algorithm
PPT
Line drawing algo.
PPT
Visible surface detection in computer graphic
PPTX
Depth Buffer Method
PPT
Character generation
PPTX
Window to Viewport Transformation in Computer Graphics with.pptx
PPTX
Raster scan system & random scan system
Bresenham circle
3D transformation in computer graphics
Composite transformation
Composite transformations
Mid point circle algorithm
Projections.pptx
Polygon filling algorithm
Color Models Computer Graphics
2 d geometric transformations
Output primitives in Computer Graphics
Frame buffer
Clipping computer graphics
2 d viewing computer graphics
Cyrus beck line clipping algorithm
Line drawing algo.
Visible surface detection in computer graphic
Depth Buffer Method
Character generation
Window to Viewport Transformation in Computer Graphics with.pptx
Raster scan system & random scan system
Ad

Similar to Scaling and shearing (20)

PPTX
3D Transformation
PPT
2D_transformatiomcomputer graphics 2d translation, rotation and scaling trans...
PDF
2D Transformation in Computer Graphics
PPTX
Mod9 les2 rot dil
PPTX
3D TRANSFORMATION: MATRIX REPRESENTATION
PPTX
Presentation3(UNIT-3) presentation of std
PPT
“Transformations are the operations applied to geometrical description of an ...
PPTX
3D Transformation in Computer Graphics
PPSX
Enlargment tg3
PDF
Chapter 5- 3D transformations of graphics.pdf
PPT
transformation IT.ppt
PPTX
moule 3 ppt1 basic 2D transformations.pptx
PPTX
seminar on 2D transformation
PPTX
2hjsakhvchcvj hSKchvsABJChjSVCHjhvcvdxz.pptx
PPTX
Transformations in the coordinate plane
PPTX
Computer Graphics Presentation Engg.pptx
PDF
Transformations Computer Graphics.pdf
PDF
2-D Transformations.pdf
PPTX
Transformations of different shapes For GCSE math
PDF
Unit-3 overview of transformations
3D Transformation
2D_transformatiomcomputer graphics 2d translation, rotation and scaling trans...
2D Transformation in Computer Graphics
Mod9 les2 rot dil
3D TRANSFORMATION: MATRIX REPRESENTATION
Presentation3(UNIT-3) presentation of std
“Transformations are the operations applied to geometrical description of an ...
3D Transformation in Computer Graphics
Enlargment tg3
Chapter 5- 3D transformations of graphics.pdf
transformation IT.ppt
moule 3 ppt1 basic 2D transformations.pptx
seminar on 2D transformation
2hjsakhvchcvj hSKchvsABJChjSVCHjhvcvdxz.pptx
Transformations in the coordinate plane
Computer Graphics Presentation Engg.pptx
Transformations Computer Graphics.pdf
2-D Transformations.pdf
Transformations of different shapes For GCSE math
Unit-3 overview of transformations
Ad

More from Mani Kanth (20)

PPTX
White box testing
PPTX
Unit testing
PPTX
System testing
PPTX
management of maintainance
PPTX
Se (techniques for black box testing ppt)
PPTX
Reverse engineering in software engineering vaibhav
PPTX
Mutation testing 1
PPTX
Mutation testing
PPTX
Guideline for euivalence class testing
PPTX
Equivalence class testing
PPTX
Deployment
PPTX
unit testing
PPTX
Window to viewport transformation&amp;matrix representation of homogeneous co...
PPTX
The sutherland hodgeman polygon clipping algorithm
PPT
Seed filling algorithm
PPTX
Reflection transformation
PPTX
Raster and random scan display types of input devices
PPTX
Projection
PPTX
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithm
PPTX
Graphics software and standards
White box testing
Unit testing
System testing
management of maintainance
Se (techniques for black box testing ppt)
Reverse engineering in software engineering vaibhav
Mutation testing 1
Mutation testing
Guideline for euivalence class testing
Equivalence class testing
Deployment
unit testing
Window to viewport transformation&amp;matrix representation of homogeneous co...
The sutherland hodgeman polygon clipping algorithm
Seed filling algorithm
Reflection transformation
Raster and random scan display types of input devices
Projection
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithm
Graphics software and standards

Recently uploaded (20)

PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Digital Logic Computer Design lecture notes
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Construction Project Organization Group 2.pptx
PPT
Project quality management in manufacturing
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
PPT on Performance Review to get promotions
PPTX
bas. eng. economics group 4 presentation 1.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Digital Logic Computer Design lecture notes
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Lecture Notes Electrical Wiring System Components
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Construction Project Organization Group 2.pptx
Project quality management in manufacturing
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
UNIT-1 - COAL BASED THERMAL POWER PLANTS
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPT on Performance Review to get promotions
bas. eng. economics group 4 presentation 1.pptx

Scaling and shearing

  • 3. Scaling • To change the size of an object, scaling transformation is used. • In the scaling process, we can either expand or compress the dimensions of the object. • Scaling can be achieved by multiplying the original coordinates of the object with the scaling factor to get the desired result.
  • 4. Scaling Homogenous Co-ordinates Differential Co- ordinates Shape Does not Changes Size changes Sx=Sy Shape Does Changes Size changes Sx !=Sy
  • 5. • Example- Original coordinates are (X, Y), Scaling factors are (SX, SY), New coordinates are (X’, Y’) ->General Representation -> Matrix Representation X' = X . SX and Y' = Y . SY (X′Y′) = (XY) Sx 0 0 Sy Scaling with respect to Origin
  • 6. Scaling with respect to Origin Normal Object Object After Scaling Scaling Factor < 1  Compress(shrink) Scaling Factor > 1  Expand (stretch) Scaling Factor = 1  No Change Scaling Factor < 0  Reflect the shape
  • 7. Scaling with respect to Point • STEPS- – STEP1 -> Translate to origin. – STEP2-> Scaling is done. – STEP3 -> Translate it back to that point.
  • 8. Shearing • Shearing is also known as Skewing. • It is a transformation that slants the shape of an object. Shearing Transformation X- Shearing Y- Shearing X-Y -- Shearing
  • 9. X- Shearing • X-Shear preserves the Y coordinate and changes are made to X coordinates. • X Sh = 1 0 Shx 1 X’= X+ (Shx * Y) Y’=Y
  • 10. Y- Shearing • Y-Shear preserves the X coordinate and changes are made to Y coordinates. • Y Sh = 1 ShY 0 1 Y’=Y+ (ShY * X) X’=X
  • 11. X-Y - Shearing • Here, both co – ordinates changes. • XY Sh = 1 Shy Shx 1 Y’=Y+ (ShY * X) X’=X+ (ShX * Y)