SlideShare a Scribd company logo
1 of 32
BASIC TRANSFORMATION
NEHRUREVATHY
DEPT. OF BCA
Translation
• It is the straight line movement of an object from one
position to another is called Translation.
• Here the object is positioned from one coordinate
location to another.
• Translation of point:
• To translate a point from coordinate position (x, y) to
another (x1 y1), we add algebraically the translation
distances Tx and Ty to original coordinate.
• x1=x+Tx y1=y+Ty
• The translation pair (Tx,Ty) is called as shift vector.
Translation
• Translation is a movement of objects without
deformation.
• Every position or point is translated by the
same amount.
• Let P is a point with coordinates (x, y). It will
be translated as (x1 y1).
Translation
Matrix for Translation:
SCALING
• It is used to alter or change the size of objects.
• The change is done using scaling factors.
• There are two scaling factors, i.e. Sx in x
direction Sy in y-direction.
• If the original position is x and y.
• Scaling factors are Sx and Sy then the value of
coordinates after scaling will be x1 and y1.
SCALING
• If the picture to be enlarged to twice its
original size then Sx = Sy =2.
• If Sxand Sy are not equal then scaling will
occur but it will elongate or distort the
picture.
• If scaling factors are less than one, then the
size of the object will be reduced.
• If scaling factors are higher than one, then the
size of the object will be enlarged.
SCALING
• If Sxand Syare equal it is also called as Uniform
Scaling.
• If not equal then called as Differential
Scaling.
• If scaling factors with values less than one will
move the object closer to coordinate origin.
• while a value higher than one will move
coordinate position farther from origin.
Enlargement: If T1=,If (x1 y1)is original
position and T1is translation vector
then (x2 y2) are coordinated after
scaling.
The image will be enlarged two times:
Reduction: If T1=. If (x1 y1) is original
position and T1 is translation vector,
then (x2 y2) are coordinates after
scaling
Scaling-Reduction
Scaling-Example:
Matrix for scaling:
Rotation
• It is a process of changing the angle of the object.
• Rotation can be clockwise or anticlockwise.
• For rotation, we have to specify the angle of
rotation and rotation point.
• Rotation point is also called a pivot point.
• It is print about which object is rotated.
• Types of Rotation:
1.Anticlockwise
2.Counterclockwise
Rotation
• The positive value of the pivot point (rotation
angle) rotates an object in a counter-clockwise
(anti-clockwise) direction.
• The negative value of the pivot point (rotation
angle) rotates an object in a clockwise
direction.
• When the object is rotated, then every point
of the object is rotated by the same angle.
Rotation in clockwise direction
Rotation in anticlockwise direction
Matrix for rotation is a clockwise
direction
Matrix for rotation is an
anticlockwise direction
Matrix for homogeneous co-ordinate
rotation (clockwise)
Matrix for homogeneous co-
ordinate rotation (anticlockwise)
Reflection
• It is a transformation which produces a mirror image of
an object.
• The mirror image can be either about x-axis or y-axis.
• The object is rotated by 180°.
• Types of Reflection:
1.Reflection about the x-axis
2.Reflection about the y-axis
3.Reflection about an axis perpendicular to xy plane
and passing through the origin
4.Reflection about line y=x
Reflection about x-axis: The object
can be reflected about x-axis with the
help of the following matrix:
In this transformation value of x will
remain same whereas the value of y
will become negative.
Following figures shows the
reflection of the object axis.
The object will lie another side of the
x-axis.
Reflection about x-axis
2. Reflection about y-axis:
• The object can be reflected
about y-axis with the help
of following transformation
matrix.
• Here the values of x will be
reversed, whereas the
value of y will remain the
same.
• The object will lie another
side of the y-axis.
• The following figure shows
the reflection about the y-
axis.
Reflection about y-axis
Matrix transformation
3. Reflection about an
axis perpendicular
to xy plane and
passing through
origin:
• In this value of x and
y both will be
reversed.
• This is also called as
half revolution about
the origin.
Reflection about an axis perpendicular to xy plane
Matrix Form
4. Reflection about line y=x:
• The object may be reflected
about line y = x with the
help of following
transformation matrix.
• First of all, the object is
rotated at 45°.
• The direction of rotation is
clockwise.
• After it reflection is done
concerning x-axis.
• The last step is the rotation
of y=x back to its original
position that is
counterclockwise at 45°.
Reflection about line y=x
Shearing
• It is transformation which changes the shape
of object.
• The shear can be in one direction or in two
directions.
• Shearing in the X-direction: In this horizontal
shearing sliding of layers occur.
• Homogeneous Matrix:
Homogeneous matrix for shearing
in the x-direction :
Shearing
Shearing in the Y-direction:
Here shearing is done by sliding along
vertical or y-axis.
Matrix form:
Shearing in X-Y directions:
• Here layers will be slided in both x as well as y
direction.
• The sliding will be in horizontal as well as
vertical direction.
• The shape of the object will be distorted.

More Related Content

What's hot

2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)Timbal Mayank
 
3 d viewing projection
3 d viewing  projection3 d viewing  projection
3 d viewing projectionPooja Dixit
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphicsSHIVANI SONI
 
A completed modeling of local binary pattern operator
A completed modeling of local binary pattern operatorA completed modeling of local binary pattern operator
A completed modeling of local binary pattern operatorWin Yu
 
Image colorization
Image colorizationImage colorization
Image colorizationYash Saraf
 
2.2. interactive computer graphics
2.2. interactive computer graphics2.2. interactive computer graphics
2.2. interactive computer graphicsRatnadeepsinh Jadeja
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformationsMohammad Sadiq
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphicanku2266
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer GraphicsSanu Philip
 
B. SC CSIT Computer Graphics Unit 3 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit 3 By Tekendra Nath YogiB. SC CSIT Computer Graphics Unit 3 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit 3 By Tekendra Nath YogiTekendra Nath Yogi
 
Concept of basic illumination model
Concept of basic illumination modelConcept of basic illumination model
Concept of basic illumination modelAnkit Garg
 
Back face detection
Back face detectionBack face detection
Back face detectionPooja Dixit
 
scan conversion of point , line and circle
scan conversion of point , line and circlescan conversion of point , line and circle
scan conversion of point , line and circleDivy Kumar Gupta
 
Software Engineering (Risk Management)
Software Engineering (Risk Management)Software Engineering (Risk Management)
Software Engineering (Risk Management)ShudipPal
 
illumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukarillumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukarsyedArr
 
2d-transformation
2d-transformation2d-transformation
2d-transformationPooja Dixit
 

What's hot (20)

Windows and viewport
Windows and viewportWindows and viewport
Windows and viewport
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
 
3 d viewing projection
3 d viewing  projection3 d viewing  projection
3 d viewing projection
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
A completed modeling of local binary pattern operator
A completed modeling of local binary pattern operatorA completed modeling of local binary pattern operator
A completed modeling of local binary pattern operator
 
Image colorization
Image colorizationImage colorization
Image colorization
 
2.2. interactive computer graphics
2.2. interactive computer graphics2.2. interactive computer graphics
2.2. interactive computer graphics
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformations
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer Graphics
 
B. SC CSIT Computer Graphics Unit 3 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit 3 By Tekendra Nath YogiB. SC CSIT Computer Graphics Unit 3 By Tekendra Nath Yogi
B. SC CSIT Computer Graphics Unit 3 By Tekendra Nath Yogi
 
CGV 18CS62 VTU CSE
CGV 18CS62 VTU CSECGV 18CS62 VTU CSE
CGV 18CS62 VTU CSE
 
Concept of basic illumination model
Concept of basic illumination modelConcept of basic illumination model
Concept of basic illumination model
 
Back face detection
Back face detectionBack face detection
Back face detection
 
scan conversion of point , line and circle
scan conversion of point , line and circlescan conversion of point , line and circle
scan conversion of point , line and circle
 
Software Engineering (Risk Management)
Software Engineering (Risk Management)Software Engineering (Risk Management)
Software Engineering (Risk Management)
 
illumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukarillumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukar
 
2d-transformation
2d-transformation2d-transformation
2d-transformation
 
Introduction to OpenCV
Introduction to OpenCVIntroduction to OpenCV
Introduction to OpenCV
 

Similar to BASIC GEOMETRIC TRANSFORMATIONS

3D transformation and viewing
3D transformation and viewing3D transformation and viewing
3D transformation and viewingYogita Jain
 
Unit-3 overview of transformations
Unit-3 overview of transformationsUnit-3 overview of transformations
Unit-3 overview of transformationsAmol Gaikwad
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformationsNareek
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformationSelvakumar Gna
 
2 d geometric transformations
2 d geometric transformations2 d geometric transformations
2 d geometric transformationsMohd Arif
 
seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation9784
 
Reflection transformation
Reflection transformationReflection transformation
Reflection transformationMani Kanth
 
Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transformPatel Punit
 
Transformational geometry
Transformational geometryTransformational geometry
Transformational geometryNeil_Plays
 
2 d transformations by amit kumar (maimt)
2 d transformations by amit kumar (maimt)2 d transformations by amit kumar (maimt)
2 d transformations by amit kumar (maimt)Amit Kapoor
 
GeometricTransformations.ppt
GeometricTransformations.pptGeometricTransformations.ppt
GeometricTransformations.pptDebjit Doira
 
Ap b motion in one dimension
Ap b   motion in one dimensionAp b   motion in one dimension
Ap b motion in one dimensionIntikhab Ansari
 
Matrix of linear transformation 1.9-dfs
Matrix of linear transformation 1.9-dfsMatrix of linear transformation 1.9-dfs
Matrix of linear transformation 1.9-dfsFarhana Shaheen
 

Similar to BASIC GEOMETRIC TRANSFORMATIONS (20)

3D transformation and viewing
3D transformation and viewing3D transformation and viewing
3D transformation and viewing
 
Unit-3 overview of transformations
Unit-3 overview of transformationsUnit-3 overview of transformations
Unit-3 overview of transformations
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
 
Unit 3 notes
Unit 3 notesUnit 3 notes
Unit 3 notes
 
computer graphic.pptx
computer graphic.pptxcomputer graphic.pptx
computer graphic.pptx
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
 
2 d geometric transformations
2 d geometric transformations2 d geometric transformations
2 d geometric transformations
 
seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation
 
Reflection transformation
Reflection transformationReflection transformation
Reflection transformation
 
Module 4_New.pptx
Module 4_New.pptxModule 4_New.pptx
Module 4_New.pptx
 
transformation IT.ppt
transformation IT.ppttransformation IT.ppt
transformation IT.ppt
 
Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transform
 
2-D Transformations.pdf
2-D Transformations.pdf2-D Transformations.pdf
2-D Transformations.pdf
 
Transformational geometry
Transformational geometryTransformational geometry
Transformational geometry
 
2 d transformations by amit kumar (maimt)
2 d transformations by amit kumar (maimt)2 d transformations by amit kumar (maimt)
2 d transformations by amit kumar (maimt)
 
GeometricTransformations.ppt
GeometricTransformations.pptGeometricTransformations.ppt
GeometricTransformations.ppt
 
Ap b motion in one dimension
Ap b   motion in one dimensionAp b   motion in one dimension
Ap b motion in one dimension
 
Module 4.pptx
Module 4.pptxModule 4.pptx
Module 4.pptx
 
Matrix of linear transformation 1.9-dfs
Matrix of linear transformation 1.9-dfsMatrix of linear transformation 1.9-dfs
Matrix of linear transformation 1.9-dfs
 

More from nehrurevathy

Revision 3 updated
Revision 3 updatedRevision 3 updated
Revision 3 updatednehrurevathy
 
CATHODE RAY TUBE IN COMPUTER GRAPHICS
CATHODE RAY TUBE IN COMPUTER GRAPHICSCATHODE RAY TUBE IN COMPUTER GRAPHICS
CATHODE RAY TUBE IN COMPUTER GRAPHICSnehrurevathy
 
Bresenham's line drawing algorithm
Bresenham's line drawing algorithmBresenham's line drawing algorithm
Bresenham's line drawing algorithmnehrurevathy
 
Lline Drawing Algorithm
Lline Drawing AlgorithmLline Drawing Algorithm
Lline Drawing Algorithmnehrurevathy
 
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICSATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICSnehrurevathy
 
COLOR CRT MONITORS IN COMPUTER GRAPHICS
COLOR CRT MONITORS IN COMPUTER GRAPHICSCOLOR CRT MONITORS IN COMPUTER GRAPHICS
COLOR CRT MONITORS IN COMPUTER GRAPHICSnehrurevathy
 

More from nehrurevathy (7)

Clipping
ClippingClipping
Clipping
 
Revision 3 updated
Revision 3 updatedRevision 3 updated
Revision 3 updated
 
CATHODE RAY TUBE IN COMPUTER GRAPHICS
CATHODE RAY TUBE IN COMPUTER GRAPHICSCATHODE RAY TUBE IN COMPUTER GRAPHICS
CATHODE RAY TUBE IN COMPUTER GRAPHICS
 
Bresenham's line drawing algorithm
Bresenham's line drawing algorithmBresenham's line drawing algorithm
Bresenham's line drawing algorithm
 
Lline Drawing Algorithm
Lline Drawing AlgorithmLline Drawing Algorithm
Lline Drawing Algorithm
 
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICSATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
ATTRIBUTES OF OUTPUT PRIMITIVES IN COMPUTER GRAPHICS
 
COLOR CRT MONITORS IN COMPUTER GRAPHICS
COLOR CRT MONITORS IN COMPUTER GRAPHICSCOLOR CRT MONITORS IN COMPUTER GRAPHICS
COLOR CRT MONITORS IN COMPUTER GRAPHICS
 

Recently uploaded

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 

BASIC GEOMETRIC TRANSFORMATIONS

  • 2. Translation • It is the straight line movement of an object from one position to another is called Translation. • Here the object is positioned from one coordinate location to another. • Translation of point: • To translate a point from coordinate position (x, y) to another (x1 y1), we add algebraically the translation distances Tx and Ty to original coordinate. • x1=x+Tx y1=y+Ty • The translation pair (Tx,Ty) is called as shift vector.
  • 3. Translation • Translation is a movement of objects without deformation. • Every position or point is translated by the same amount. • Let P is a point with coordinates (x, y). It will be translated as (x1 y1).
  • 6. SCALING • It is used to alter or change the size of objects. • The change is done using scaling factors. • There are two scaling factors, i.e. Sx in x direction Sy in y-direction. • If the original position is x and y. • Scaling factors are Sx and Sy then the value of coordinates after scaling will be x1 and y1.
  • 7. SCALING • If the picture to be enlarged to twice its original size then Sx = Sy =2. • If Sxand Sy are not equal then scaling will occur but it will elongate or distort the picture. • If scaling factors are less than one, then the size of the object will be reduced. • If scaling factors are higher than one, then the size of the object will be enlarged.
  • 8. SCALING • If Sxand Syare equal it is also called as Uniform Scaling. • If not equal then called as Differential Scaling. • If scaling factors with values less than one will move the object closer to coordinate origin. • while a value higher than one will move coordinate position farther from origin.
  • 9. Enlargement: If T1=,If (x1 y1)is original position and T1is translation vector then (x2 y2) are coordinated after scaling.
  • 10. The image will be enlarged two times:
  • 11. Reduction: If T1=. If (x1 y1) is original position and T1 is translation vector, then (x2 y2) are coordinates after scaling
  • 15. Rotation • It is a process of changing the angle of the object. • Rotation can be clockwise or anticlockwise. • For rotation, we have to specify the angle of rotation and rotation point. • Rotation point is also called a pivot point. • It is print about which object is rotated. • Types of Rotation: 1.Anticlockwise 2.Counterclockwise
  • 16. Rotation • The positive value of the pivot point (rotation angle) rotates an object in a counter-clockwise (anti-clockwise) direction. • The negative value of the pivot point (rotation angle) rotates an object in a clockwise direction. • When the object is rotated, then every point of the object is rotated by the same angle.
  • 19. Matrix for rotation is a clockwise direction
  • 20. Matrix for rotation is an anticlockwise direction
  • 21. Matrix for homogeneous co-ordinate rotation (clockwise)
  • 22. Matrix for homogeneous co- ordinate rotation (anticlockwise)
  • 23. Reflection • It is a transformation which produces a mirror image of an object. • The mirror image can be either about x-axis or y-axis. • The object is rotated by 180°. • Types of Reflection: 1.Reflection about the x-axis 2.Reflection about the y-axis 3.Reflection about an axis perpendicular to xy plane and passing through the origin 4.Reflection about line y=x
  • 24. Reflection about x-axis: The object can be reflected about x-axis with the help of the following matrix: In this transformation value of x will remain same whereas the value of y will become negative. Following figures shows the reflection of the object axis. The object will lie another side of the x-axis. Reflection about x-axis
  • 25. 2. Reflection about y-axis: • The object can be reflected about y-axis with the help of following transformation matrix. • Here the values of x will be reversed, whereas the value of y will remain the same. • The object will lie another side of the y-axis. • The following figure shows the reflection about the y- axis. Reflection about y-axis
  • 26. Matrix transformation 3. Reflection about an axis perpendicular to xy plane and passing through origin: • In this value of x and y both will be reversed. • This is also called as half revolution about the origin. Reflection about an axis perpendicular to xy plane
  • 27. Matrix Form 4. Reflection about line y=x: • The object may be reflected about line y = x with the help of following transformation matrix. • First of all, the object is rotated at 45°. • The direction of rotation is clockwise. • After it reflection is done concerning x-axis. • The last step is the rotation of y=x back to its original position that is counterclockwise at 45°. Reflection about line y=x
  • 28. Shearing • It is transformation which changes the shape of object. • The shear can be in one direction or in two directions. • Shearing in the X-direction: In this horizontal shearing sliding of layers occur. • Homogeneous Matrix:
  • 29. Homogeneous matrix for shearing in the x-direction :
  • 31. Shearing in the Y-direction: Here shearing is done by sliding along vertical or y-axis.
  • 32. Matrix form: Shearing in X-Y directions: • Here layers will be slided in both x as well as y direction. • The sliding will be in horizontal as well as vertical direction. • The shape of the object will be distorted.