SlideShare a Scribd company logo
Chapter 5


     Geometric Transformations
5.1 Basic Two-Dimensional
   Geometric Transformations
   Operations that are applied to the geometric
    description of an object to change its
    position, orientation, or size are called
    geometric transformations.
   Geometric transformations can be used to
    describe how objects might move around in
    a scene during an animation sequence or
    simply to view them from another angle.
   geometric transformations
       Translation
       Rotation
       Scaling
Two-Dimensional Translation
   We perform a translation on a single coordinate
    point by adding offsets to its coordinates so as to
    generate a new coordinate position.
   To translate a two-dimensional position, we add
    translation distances, tx and ty to the original
    coordinates (x,y) to obtain the new coordinate
    position (x’,y’),
                  x = x+t
                      '
                                 x

                  y = y + ty
                    '
The two-dimensional translation equations in the
  matrix form

 จาก         x = x + tx
                  '
                                           ให้
 รูป
 y
                 y' = y + ty                 x 
                                           P= 
                                                                x' 
                                                           P' =  ' 
                      P' ( x' , y' )          y               y 
                                                                 
             T                                        t x 
                      ty                   และ     T = 
P ( x, y )
                                                      t y 
             tx
                                                x '   x  t x 
                                                ' =   +  
                                       x

                                       จะได้    y   y  t y 
                                                
                                               P = P +T
                                                  '
Two-Dimensional Rotation
   We generate a rotation transformation of an
    object by specifying a rotation axis and a
    rotation angle.
   A two-dimensional rotation of an object is
    obtained by repositioning the object along a
    circular path in the xy plane.
   Parameters for the two-dimensional rotation
    are
     The rotation angle θ
     A position (x,y) – rotation point (pivot
       point)
The two-dimensional rotation


                              x ' = r cos(φ + θ ) = r cos φ cos θ − r sin φ sin θ
                              y ' = r sin(φ + θ ) = r cos φ sin θ + r sin φ cos θ
y
                                             Polar coordinate system
                                                            x = r cos φ
                 O' ( x' , y' )                              y = r sin φ
                            O ( x, y )
       θ
             φ
                                         x
    P(0,0)                                          x ' = x cos θ − y sin θ
                                                    y ' = x sin θ + y cos θ
The two-dimensional rotation


                                              x '  cos θ - sinθ   x 
                                              ' = 
y

                                             y  
                                                    sin θ cosθ   y 
                                                                    
                 O' ( x' , y' )              O' = R • O
                            O ( x, y )
       θ                                              โดยที่
             φ                                           x               x' 
                                         x             O=          O' =  ' 
    P(0,0)                                                y             y 
                                                                           

                cos θ - sinθ 
        และ R =                                         Rotation matrix
                sin θ cosθ 
Ex. 1




1.0



        0.5
Rotation of a point about an arbitrary pivot position


                                       x ' = ( x − xr ) cos θ − ( y − yr ) sin θ + xr
                                       y ' = ( x − xr ) sin θ + ( y − yr ) cos θ + yr
y
                     O' ( x' , y' )                 x '  cos θ - sinθ   x − xr   xr 
                                                    ' =                y − y  +  y 
                               O ( x, y )           y  sin θ cosθ  
                                                                                 r  r

            θ                                      O ' = R • O* + P
                φ
    P ( xr , y r )
                                            x
                                                          โดยที่
                                                         x − x' 
                                                    O* =       '
                                                         y − y 
                                                                
Two-Dimensional Scaling
   To alter the size of an
    object, we apply a
    scaling transformation.
   A simple two-               x = x ⋅ sx
                                  '
    dimensional scaling
    operation is performed
    by multiplying object
                                y = y ⋅ sy
                                  '

    positions (x,y) by
    scaling factors sx and
    sy to produce the          x '  sx 0   x 
    transformed                ' =        
    coordinates (x’,y’).       y  0 s y   y 
                               
                              P = S•P
                                 '
   Any positive values can be assigned to the
    scaling factors.
     Values less than 1 reduce the size of

      object;
     Values greater than 1 produce

      enlargements.
     Uniform scaling – scaling values have the

      same value
     Differential scaling – unequal of the

      scaling factor
Scaling relative to a chosen fixed point


                                  x ' = x ⋅ s x + x f (1 − s x )
                                  y ' = y ⋅ s y + y f (1 − s y )
 y
                   P1

                                  x '   s x 0   x  1 − s x 0   x f 
          •                       ' =            +  0 1-s   
Pf ( x f , y f )        P2        y  0 s y   y  
                                                                 y  y f 
                                                                       


          P3                     P ' = S • P + S * • Pf
                             x
5.2 Matrix Representations and
    Homogeneous Coordinates
   Many graphics applications involve
    sequences of geometric transformations.
   Hence we consider how the matrix
    representations can be reformulated so that
    such transformation sequence can be
    efficiently processed.
   Each of three basic two-dimensional
    transformations (translation, rotation and
    scaling) can be expressed in the general
    matrix form
P and P ’ = column vectors,
   coordinate position
M1 = 2 by 2 array containing        P = M1 ⋅ P + M 2
                                       '
   multiplicative factors, for
   translation M1 is the identity
   matrix
M2 = two-element column matrix
   containing translational terms, for
   rotation or scaling M2 contains
   the translational terms associated
   with the pivot point or scaling
   fixed point
P' = M1 ⋅ P + M 2

               x '  1 0  x  t x 
               ' =       y  + t                  Translation
               y  0 1    y 
               
 x '  cos θ - sinθ   x − xr   xr 
 ' =                y − y  +  y                  Rotation
 y  sin θ cosθ  
                              r  r
 x '  cos θ - sinθ   x  cos θ - sinθ   xr   xr 
 ' =                 y  − sin θ cosθ   y  +  y 
 y  sin θ cosθ    
                                           r   r 

           x '   s x 0   x  1 − s x 0   x f 
           ' =            +  0 1-s             Scaling
           y  0 s y   y  
                                          y  y f 
                                                
   To produce a sequence of transformations
    such as scaling followed by rotation then
    translation, we could calculate the
    transformed coordinates one step at a time.
   A more efficient approach is to combine the
    transformations so that the final coordinate
    positions are obtained directly from the
    initial coordinates, without calculating
    intermediate coordinate values.
Homogeneous Coordinates
   Multiplicative and translational terms for a
    two-dimensional geometric transformations
    can be combined into a single matrix if we
    expand the representations to 3 by 3
    matrices.
   Then we can use the third column of a
    transformation matrix for the translation
    terms, and all transformation equations can
    be expressed as matrix multiplications.
   But to do so, we also need to expand the
    matrix representation for a two-dimensional
    coordinate position to a three-element column
    matrix.
   A standard technique for accomplishing this
    is to expand each two-dimensional
    coordinate-position representation (x,y) to a
    three-element representation (xh,yh,h), called
    homogeneous coordinates, where the
    homogeneous parameter h is a nonzero
    value such that
                 xh            yh
               x= ,         y=
                 h             h
   A convenient choice is simply to set h=1.
   Each two-dimensional position is then
    represented with homogeneous coordinate
    (x,y,1).
   The term “homogeneous coordinates” is
    used in mathematics to refer to the effect of
    this representation on Cartesian equations.
x '   1            0 t x x 
          '                        
          y  = 0            1 t y  y    Translation
           0
          1                    0 1  1
                                   
         P ' = T (t x , t y ) ⋅ P
                                               x '  cos θ - sinθ 0   x 
                                               ' 
                                   Rotation    y  = sin θ cosθ 0  y 
                                                                       
                                              1   0          0   1  1 
                                                                    
 x '  sx 0 0   x                        P ' = R (θ ) ⋅ P
 '                    
 y  = 0 s y 0   y             Scaling
1  0 0 1 1 
                      
P ' = S (sx , s y ) ⋅ P
5.3 Inverse Transformations
                1 0 - t x     Inverse translation matrix
             −1           
            T = 0 1 - t y 
                0 0 1 
                          
   Inverse rotation matrix                  1        
                                            s     0 0
        cos θ sinθ 0                       x       
R −1 = − sin θ cosθ 0                  −1       1 
                                      S = 0       0
        0
                0    1                         sy
                                                     
                                            0    0 1
                  Inverse scaling matrix             
                                                     
5.4 Two-Dimensional Composite
    Transformations
   Using matrix representations, we
    can set up a sequence of
    transformations as a composite
    transformation matrix by
    calculating the product of the
    individual transformations.
   Thus, if we ant to apply two
    transformations to point position
    P, the transformed location would
    be calculated as
                        P = M 2 ⋅ M1 ⋅ P
                          '


                        P = M ⋅P
                          '
(1,3)         (2,3)


                                                 (3,2)

                                                         (-2,1)    (-1,1)
                           (1,1)         (2,1)


                                   (a)                                      (b)
                                                         (-2,-1)    (-1,-1)

                                                                                      (1.63,2.37)
                                                                            (0.77,1.87)


                (-1.37,0.37)                                                                (2.63,0.63)
(-2.23,-0.13)
                                                                              (1.77,0.13)
                     (c)
                                                                        (d)
                     (-0.37,-1.37)

           (-1.23,-1.87)
Composite Two-dimensional Translations

    P ' = T (t 2 x , t 2 y ) ⋅ {T (t1x , t1 y ) ⋅ P}
    P ' = {T (t 2 x , t 2 y ) ⋅ T (t1x , t1 y )} ⋅ P
           composite transformation matrix
   1 0 t 2 x   1 0 t1x    1 0 t1x + t 2 x  
                                                                  
   0 1 t 2 y  ⋅  0 1 t1 y   =  0 1 t1 y + t 2 y  
    0 0 1   0 0 1    0 0                                  1 
                                                                  
   T (t 2 x , t 2 y ) ⋅ T (t1x , t1 y ) = T (t1x + t 2 x , t1 y + t 2 y )
Composite Two-dimensional Rotations

   P ' = R (θ 2 ) ⋅ {R (θ1 ) ⋅ P}
   P ' = {R (θ 2 ) ⋅ R (θ1 )} ⋅ P
         composite transformation matrix
   R (θ 2 ) ⋅ R (θ1 ) = R (θ1 + θ 2 )
Composite Two-dimensional Scaling

      composite transformation matrix
 S 2 x 0 0   S1x 0 0   S1x ⋅ S 2 x 0                             0
                                                                  
0 S 2 y 0 ⋅ 0 S1 y 0  =  0 S1 y ⋅ S 2 y 0
0 0 1 0 0 1  0                                              0    1
                                                                  
S ( s2 x , s2 y ) ⋅ S ( s1x , s1 y ) = S ( s1x ⋅ s2 x , s1 y ⋅ s2 y )
General Two-dimensional Pivot-
    Point Rotation
   A transformation sequence for rotating
    an object about a sepcified pivot point
    using the rotation matrix R(θ).
       Translate the object so that the pivot-point
        position is moved to the coordinate origin.
       Rotate the object about the coordinate
        origin.
       Translate the object so that the pivot point
        is returned to its original position.
(xr,yr)         (xr,yr)




(a)                (b)




      (xr,yr)              (xr,yr)




(c)                (d)
1 0 xr  cos θ - sinθ 0  1 0 - xr 
0 1 y  ⋅ sin θ cosθ 0 ⋅ 0 1 - y 
             r                                        r

0 0 1   0
                              0      1  0 0 1 
                                                           
                     cos θ - sinθ xr( 1- cos θ) + yr sin θ 
                  = sin θ cosθ y ( 1- cos θ) − x sin θ 
                                           r                   r 
                      0
                                  0                   1         
                                                                 
T ( xr , yr ) ⋅ R (θ ) ⋅ T (− xr ,− yr ) = R ( xr , yr , θ )
General Two-dimensional Fixed-
    Point Scaling
   A transformation sequence to produce a two-
    dimensional scaling with respect to a selected
    fixed position (xf,yf).
       Translate the object so that the fixed point
        coincides with the coordinate origin.
       Scale the object with respect to the coordinate
        origin.
       Use the inverse of the translation in step (1) to
        return the object to its original position.
(xf,yf)         (xf,yf)




(a)                (b)




      (xf,yf)              (xf,yf)




(c)                (d)
1 0 x f   s x 0 0  1 0 - x f 
                                 
0 1 y f  ⋅  0 s y 0  ⋅ 0 1 - y f 
0 0 1   0 0 1  0 0 1 
                                 
                s x 0 x f ( 1-s x )
                                   
           = 1 s y y f ( 1-s y )
               0 0        1        
                                   
T ( x f , y f ) ⋅ S ( s x , s y ) ⋅ T (− x f ,− y f ) = S ( x f , y f , ( s x , s y ))
General Two-dimensional Scaling
    Directions
   We can scale an object in
    other directions by rotating
    the object to align the
                                   y
    desired scaling directions         s2
    with the coordinate axes
    before applying the scaling
    transformation.
   Suppose we want to apply
    scaling factors with values
    specified by parameters s1              x
    and s2 in the directions                s1
    shown in fig.
The composite matrix resulting from the product of
       - rotation so that the directions for s1 and s2
       coincide with the x and y axes
       - scaling transformation S(s1,s2)
       - opposite rotation to return points to their
       original orientations

                                   s1Cos 2θ + s2 Sin 2θ ( s2 − s1 )CosθSinθ   0
                                                                               
R (θ ) ⋅ S ( s1 , s2 ) ⋅ R (θ ) = ( s2 − s1 )CosθSinθ s1Sin 2θ + s2Cos 2θ
 -1
                                                                               0
                                              0                     0         1
                                                                               
y                            y
                                             (2,2)

                             (1/2,3/2)

(0,1)     (1,1)

                                         (3/2,1/2)

(0,0)     (1,0)          x   (0,0)               x


        s1= 1     s2=2
Matrix Concatenation Properties
   Transformation products may not be
    commutative.
   The matrix product M2M1 is not equal to M1M2.
   This means that if we want to translate and
    rotate an object, we must be careful about the
    order in which the composite matrix is
    evaluated.
   Reversing the order in which a sequence of
    transformations is performed may affect the
    transformed position of an object.
2 Rotation
1 Translation




1 Rotation      2 Translation
General Two-dimensional Composite
    Transformations and Computational
    Efficiency
                x '  rs xx rs xy trs x   x 
                '                       
                y  = rs yx rs yy trs y   y 
               1   0 0 1  1 
                                        
   rs** are the multiplicative rotation-scaling terms
    (rotation angles, scaling factors)
   trsx and trsy are the translation terms
    (translation distances, pivot-point and fixed-
    point coordinates, rotation angles, scaling
    parameters)
Example
              Scale and
              rotate about its centroid coordinates (xc,yc)
               and
              translate
T (t x , t y ) ⋅ R ( xc , yc , θ ) ⋅ S ( xc , yc , s x , s y ) =
                                                               s x cos θ - s y sin θ   xc (1 − s x cos θ ) + yc s y sin θ + t x 
                                                                                                                                
                                                               s x sin θ s y cos θ     yc (1 − s y cos θ ) − xc s x sin θ + t y 
                                                               0               0                         1                      
                                                                                                                                
Two-dimensional Rigid-body Transformation
   If a transformation matrix includes only
    translation and rotation parameters, it is a
    rigid-body transformation matrix.
                     rxx rxy trx 
                                 
                     ryx ryy try 
                     0 0 1 
                                 
   r** are the multiplicative rotation terms (rotation angles)
   trx and try are the translation terms (translation
    distances, pivot-point and fixed-point coordinates,
    rotation angles)
5.5 Other Two-Dimensional
   Transformations
Reflection
   For a two-dimensional reflection, the
    image is generated relative to an axis
    of reflection by rotating the object 180º
    about the reflection axis.
Reflection about the line y=0 (the x
    axis)


   1 0 0
   0 - 1 0 
           
   0 0 1 
           
Reflection about the line x=0 (the y
    axis)


    − 1 0 0
    0 1 0
           
    0 0 1
           
Reflection about any reflection point in
    the xy plane




                                 Reflection point



             − 1 0 0 
              0 - 1 0
                     
              0 0 1 
                     
Reflection about the reflection axis
         y=x

                 0 1 0 
                 1 0 0
                       
                 0 0 1 
                       

1.   Rotate the line y=x with respect to
     the original through a 45 angle
2.   Reflection with respect to the x axis
3.   Rotate the line y=x black to its
     original position with a
     counterclockwise rotation through
     45
Reflection about the reflection axis y=-x

                  0 - 1 0
                 - 1 0 0 
                         
                  0 0 1
                         

1.   Clockwise rotate the line y=-x with
     respect to the original through a 45
     angle
2.   Reflection with respect to the y axis
3.   Rotate the line y=-x black to its
     original position with a                y = -x
     counterclockwise rotation through
     45
Shear
   A transformation that distorts the
    shape of an object such that the
    transformed shape appears as if the
    object were composed of internal
    layers that had been caused to slide
    over each other is called a shear.
       An x-direction shear

         1 shx 0
         0 1 0        transformation matrix
                
         0 0 1
                

     y                                    y



                                                        (2,1)   (3,1)
(0,1)           (1,1)
                             shx = 2


(0,0)           (1,0)                  (0,0)    (1,0)
       We can generate x-direction shears
         relative to other reference lines
            1         shx -shx ⋅ yref 
                                      
            0          1       0             transformation matrix
            0          0       1 
                                      
     y                                             y



                                                             (1,1)        (2,1)
(0,1)                 (1,1)
                                   shx = ½
                                   yref = -1
(0,0)                 (1,0)                     (0,0)   (1/2,0)     (3/2,0)


          yref = -1                                     yref = -1
       A y-direction shears relative to the line
                  x=xref is generated with
                    1        0        0    
                                           
                     shy     1 -shy ⋅ xref           transformation matrix
                    0        0       1 
                                           
              y                                                       y
                                                                               (1,2)

                                                                (0,3/2)
        (0,1)               (1,1)                                              (1,1)
                                           shy = ½
                                                                (0,1/2)
                                           xref = -1
xref = -1 (0,0)             (1,0)                        xref = -1 (0,0)
   Shear operations can be expressed as
    sequences of basic transformations.
   The x-direction shear matrix
               1 shx 0
               0 1 0 
                      
               0 0 1
                      
    can be represented as a composite
    transformation involving a series of rotation
    and scaling metrices.
5.6 Raster Methods for Geometric
    Transformations
   Functions that manipulate rectangular pixel
    arrays are called raster operations and
    moving a block of pixel values from one
    position to another is termed a block
    transfer, a bitblt or a pixblt.
   All bit settings in the rectangular area are
    copied as a block into another part of the
    frame buffer.
   We can erase the pattern at the original
    location by assigning the background color
    to all pixels within that block.
Array rotations that are not multiples of 90º

  1    2     3                  12   11 10 
  4                3 6 9 12
       5      6
                   2 5 8 11
                                  9
                                       8 7  
  7    8      9               6    5 4
                  1 4 7 10 
                                           
  10   11    12                 3    2 1
        (a)             (b)             (c)

The original array is shown in (a),
the positions of the array elements after a 90º
counterclockwise rotation are shown in (b), and
the position of the array elements after a 180º
rotation are shown in (c).
5.7 OpenGL Raster Transformations
   A translation of a rectangular array of pixel-
    color values from one buffer area to another
    can be accomplished in OpenGL as a copy
    operation:
glCopyPixels(xmin, ymin, width, height, GL_COLOR);
   This array of pixels is to be copied to a
    rectangular area of a refresh buffer whose
    lower-left corner is at the location specified
    by the current raster position.
   We can rotate a block of pixel-color values in 90-degree
    increments by
       first saving the block in an array,

glReadPixels(xmin, ymin, width, height, GL_RGB,
   GL_UNSIGNED_BYTE, colorArray);

       then rearranging the elements of the array and
       placing it back in the refresh buffer.

glDrawPixels(width, height, GL_RGB, GL_UNSIGNED_BYTE,
    colorArray);

   We set the scaling facters with

glPixelZoom(sx,sy);
5.8 Transformations between Two-
      Dimensional Coordinate Systems

                  y’
                  y
                                            x’



                                θ
                 yn

                           xn        x
A Cartesian x’y’ system specified with coordinate origin
(xn,yn) and orientation angle θ in a Cartesian xy reference
frame.
   To transform object descriptions from xy
    coordinates to x’y’ coordinates, we set up a
    transformation that superimposes the axes
    onto the x’y’ axes.
   This is done in two steps:
       Translate so that the origin (xn,yn) of the x’y’
        system is moved to the origin (0,0) of the xy
        system.
       Rotation the x’ axis onto the x axis.
1 0 − xn 
      1)Translation                          0 1 − y 
                        T ( − xn , − y n ) =        n

                                             0 0 1 
                                                      
 y’
y                                          y
            P                 y   ’

                         x’
                                               P
                                           y
                                                            x’
                                      y’
                θ
yn
                                                       x’
                                                   θ
       xn           x                          x             x
2)clockwise rotation
                                             cosθ sinθ 0
                              2.1) R(−θ ) = - sinθ cosθ 0 
                                                          
                                             0
                                                    0   1
             y                                             y
y   ’
                                              y   ’



                 P                                              P
             y                                             y
                                      x’
        y’

                         x’
                     θ
                 x                      x                      x                    x


             composite matrix          M xy , x ' y ' = R (−θ ) ⋅ T (− xn ,− yn )
OR
                2.2) An alternate method for
                 describing the orientation of the
                 x’y’ coordinate system is to
                 specify a vector V that indicates
                 the direction for the positive y’
                 axis.
                We can specify vector V as a
                 point in the xy reference frame
                 relative to the origin of the xy
                 system, which we can convert to
     y’
                 the unit vector,
    y
V              P                      V
                            x’
                                   v=   = (v x , v y )
                                      V

    yn             θ


          xn           x
   We obtain the unit vector u along the x’ axis by
    applying a 90º clockwise rotation to vector v

           u = (v y ,−v x ) = (u x , u y )
   The matrix to rotate the x’y’ system into
    coincidence with the xy system can be written as
                   u x u y 0 
                             
               R = v x v y 0 
                   0 0 1
                             
OR
                      In the case that we
                       coordinates of P0 and P1
                       are known,
                                    P1 - P0
                                 v=         = (v x , v y )
                                    P1 - P0

     y’
    y
V                    P
                                   x’
          P1


    yn                   θ
               P0

                xn           x
(xf,yf)                         (xf,yf)




                (a)                             (b)




      (xf,yf)                         (xf,yf)
                                                                  (xf,yf)




(c)                             (d)                             (e)
(xf,yf)



(xf,yf)

(f)

More Related Content

What's hot

seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation
9784
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric Transformations
Ishan Parekh
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
Nareek
 
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
 
2D Transformations(Computer Graphics)
2D Transformations(Computer Graphics)2D Transformations(Computer Graphics)
2D Transformations(Computer Graphics)
AditiPatni3
 
3d transformation
3d transformation3d transformation
3d transformation
Sehrish Asif
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
Mohd Arif
 
04transformation2d
04transformation2d04transformation2d
04transformation2d
Ketan Jani
 
2d-transformation
2d-transformation2d-transformation
2d-transformation
Pooja Dixit
 
Geometric objects and transformations
Geometric objects and transformationsGeometric objects and transformations
Geometric objects and transformations
saad siddiqui
 
Matrix 2 d
Matrix 2 dMatrix 2 d
Matrix 2 d
xyz120
 
Overview of 2D and 3D Transformation
Overview of 2D and 3D TransformationOverview of 2D and 3D Transformation
Overview of 2D and 3D Transformation
Dheeraj Sadawarte
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
ShahDhruv21
 
Transformations computer graphics
Transformations computer graphics Transformations computer graphics
Transformations computer graphics
Vikram Halder
 
2 d transformations
2 d transformations2 d transformations
2 d transformations
Sardar Alam
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
2013901097
 
Transformations
TransformationsTransformations
Transformations
Syed Zaid Irshad
 
2D Rotation- Transformation in Computer Graphics
2D Rotation- Transformation in Computer Graphics2D Rotation- Transformation in Computer Graphics
2D Rotation- Transformation in Computer Graphics
Susmita
 
Two dimensional geometric transformation
Two dimensional geometric transformationTwo dimensional geometric transformation
Two dimensional geometric transformation
japan vasani
 

What's hot (19)

seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric Transformations
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
 
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)
 
2D Transformations(Computer Graphics)
2D Transformations(Computer Graphics)2D Transformations(Computer Graphics)
2D Transformations(Computer Graphics)
 
3d transformation
3d transformation3d transformation
3d transformation
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
 
04transformation2d
04transformation2d04transformation2d
04transformation2d
 
2d-transformation
2d-transformation2d-transformation
2d-transformation
 
Geometric objects and transformations
Geometric objects and transformationsGeometric objects and transformations
Geometric objects and transformations
 
Matrix 2 d
Matrix 2 dMatrix 2 d
Matrix 2 d
 
Overview of 2D and 3D Transformation
Overview of 2D and 3D TransformationOverview of 2D and 3D Transformation
Overview of 2D and 3D Transformation
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
 
Transformations computer graphics
Transformations computer graphics Transformations computer graphics
Transformations computer graphics
 
2 d transformations
2 d transformations2 d transformations
2 d transformations
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
 
Transformations
TransformationsTransformations
Transformations
 
2D Rotation- Transformation in Computer Graphics
2D Rotation- Transformation in Computer Graphics2D Rotation- Transformation in Computer Graphics
2D Rotation- Transformation in Computer Graphics
 
Two dimensional geometric transformation
Two dimensional geometric transformationTwo dimensional geometric transformation
Two dimensional geometric transformation
 

Viewers also liked

Hearn and Baker 2 D transformations
Hearn and Baker 2 D transformations   Hearn and Baker 2 D transformations
Hearn and Baker 2 D transformations
Taher Barodawala
 
Tutorials--Transformations
Tutorials--TransformationsTutorials--Transformations
Tutorials--Transformations
Media4math
 
Obj. 32 Compositions of Transformations
Obj. 32 Compositions of TransformationsObj. 32 Compositions of Transformations
Obj. 32 Compositions of Transformations
smiller5
 
2.5.3 Compositions of Transformations
2.5.3 Compositions of Transformations2.5.3 Compositions of Transformations
2.5.3 Compositions of Transformations
smiller5
 
CG OpenGL vectors geometric & transformations-course 5
CG OpenGL vectors geometric & transformations-course 5CG OpenGL vectors geometric & transformations-course 5
CG OpenGL vectors geometric & transformations-course 5
fungfung Chen
 
Homogeneous representation
Homogeneous representationHomogeneous representation
Homogeneous representation
gosaliya dheirya
 
Cohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marksCohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marks
Rehan Khan
 
Lect6 transformation2d
Lect6 transformation2dLect6 transformation2d
Lect6 transformation2d
BCET
 
2d transformations
2d transformations2d transformations
2d transformations
kmrvivek2
 
AP Physics - Chapter 10 Powerpoint
AP Physics - Chapter 10 PowerpointAP Physics - Chapter 10 Powerpoint
AP Physics - Chapter 10 Powerpoint
Mrreynon
 
06 clipping
06 clipping06 clipping
06 clipping
IMPECTRON
 
Lexical Analysis
Lexical AnalysisLexical Analysis
Lexical Analysis
Eelco Visser
 
AP Physics - Chapter 16 Powerpoint
AP Physics - Chapter 16 PowerpointAP Physics - Chapter 16 Powerpoint
AP Physics - Chapter 16 Powerpoint
Mrreynon
 
Software Reengineering
Software ReengineeringSoftware Reengineering
Software Reengineering
Abdul Wahid
 
Software Reengineering
Software ReengineeringSoftware Reengineering
Software Reengineering
Deniz Kılınç
 
AP Physics - Chapter 6 Powerpoint
AP Physics - Chapter 6 PowerpointAP Physics - Chapter 6 Powerpoint
AP Physics - Chapter 6 Powerpoint
Mrreynon
 
Lex (lexical analyzer)
Lex (lexical analyzer)Lex (lexical analyzer)
Lex (lexical analyzer)
Sami Said
 
Geometric transformation 2d chapter 5
Geometric transformation 2d   chapter 5Geometric transformation 2d   chapter 5
Geometric transformation 2d chapter 5
geethawilliam
 
Physics - Chapter 6 - Momentum and Collisions
Physics - Chapter 6 - Momentum and CollisionsPhysics - Chapter 6 - Momentum and Collisions
Physics - Chapter 6 - Momentum and Collisions
JPoilek
 
Clipping Algorithm In Computer Graphics
Clipping Algorithm In Computer GraphicsClipping Algorithm In Computer Graphics
Clipping Algorithm In Computer Graphics
student(MCA)
 

Viewers also liked (20)

Hearn and Baker 2 D transformations
Hearn and Baker 2 D transformations   Hearn and Baker 2 D transformations
Hearn and Baker 2 D transformations
 
Tutorials--Transformations
Tutorials--TransformationsTutorials--Transformations
Tutorials--Transformations
 
Obj. 32 Compositions of Transformations
Obj. 32 Compositions of TransformationsObj. 32 Compositions of Transformations
Obj. 32 Compositions of Transformations
 
2.5.3 Compositions of Transformations
2.5.3 Compositions of Transformations2.5.3 Compositions of Transformations
2.5.3 Compositions of Transformations
 
CG OpenGL vectors geometric & transformations-course 5
CG OpenGL vectors geometric & transformations-course 5CG OpenGL vectors geometric & transformations-course 5
CG OpenGL vectors geometric & transformations-course 5
 
Homogeneous representation
Homogeneous representationHomogeneous representation
Homogeneous representation
 
Cohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marksCohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marks
 
Lect6 transformation2d
Lect6 transformation2dLect6 transformation2d
Lect6 transformation2d
 
2d transformations
2d transformations2d transformations
2d transformations
 
AP Physics - Chapter 10 Powerpoint
AP Physics - Chapter 10 PowerpointAP Physics - Chapter 10 Powerpoint
AP Physics - Chapter 10 Powerpoint
 
06 clipping
06 clipping06 clipping
06 clipping
 
Lexical Analysis
Lexical AnalysisLexical Analysis
Lexical Analysis
 
AP Physics - Chapter 16 Powerpoint
AP Physics - Chapter 16 PowerpointAP Physics - Chapter 16 Powerpoint
AP Physics - Chapter 16 Powerpoint
 
Software Reengineering
Software ReengineeringSoftware Reengineering
Software Reengineering
 
Software Reengineering
Software ReengineeringSoftware Reengineering
Software Reengineering
 
AP Physics - Chapter 6 Powerpoint
AP Physics - Chapter 6 PowerpointAP Physics - Chapter 6 Powerpoint
AP Physics - Chapter 6 Powerpoint
 
Lex (lexical analyzer)
Lex (lexical analyzer)Lex (lexical analyzer)
Lex (lexical analyzer)
 
Geometric transformation 2d chapter 5
Geometric transformation 2d   chapter 5Geometric transformation 2d   chapter 5
Geometric transformation 2d chapter 5
 
Physics - Chapter 6 - Momentum and Collisions
Physics - Chapter 6 - Momentum and CollisionsPhysics - Chapter 6 - Momentum and Collisions
Physics - Chapter 6 - Momentum and Collisions
 
Clipping Algorithm In Computer Graphics
Clipping Algorithm In Computer GraphicsClipping Algorithm In Computer Graphics
Clipping Algorithm In Computer Graphics
 

Similar to Supot37255412160

2d transformation
2d transformation2d transformation
2d transformation
Sarkunavathi Aribal
 
Figures
FiguresFigures
Figures
Drradz Maths
 
Trig identities
Trig identitiesTrig identities
Trig identities
Simon Borgert
 
2D-transformation-1.pdf
2D-transformation-1.pdf2D-transformation-1.pdf
2D-transformation-1.pdf
bcanawakadalcollege
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
Timbal Mayank
 
Lesson20 Tangent Planes Slides+Notes
Lesson20   Tangent Planes Slides+NotesLesson20   Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
Matthew Leingang
 
Unit Circle - Trigonometry
Unit Circle - TrigonometryUnit Circle - Trigonometry
Unit Circle - Trigonometry
Simon Borgert
 
5.4 notes
5.4 notes5.4 notes
5.4 notes
nglaze10
 
Quantum modes - Ion Cotaescu
Quantum modes - Ion CotaescuQuantum modes - Ion Cotaescu
Quantum modes - Ion Cotaescu
SEENET-MTP
 
Interpolation techniques - Background and implementation
Interpolation techniques - Background and implementationInterpolation techniques - Background and implementation
Interpolation techniques - Background and implementation
Quasar Chunawala
 
Emat 213 study guide
Emat 213 study guideEmat 213 study guide
Emat 213 study guide
akabaka12
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)
Mel Anthony Pepito
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)
Matthew Leingang
 
Chapter 3 (maths 3)
Chapter 3 (maths 3)Chapter 3 (maths 3)
Chapter 3 (maths 3)
Prathab Harinathan
 
Cs229 cvxopt
Cs229 cvxoptCs229 cvxopt
Cs229 cvxopt
cerezaso
 
C Sanchez Reduction Saetas
C Sanchez Reduction SaetasC Sanchez Reduction Saetas
C Sanchez Reduction Saetas
Miguel Morales
 
06.Transformation.ppt
06.Transformation.ppt06.Transformation.ppt
06.Transformation.ppt
RobinAhmedSaikat
 
4th semester Civil Engineering (2012-December) Question Papers
4th semester Civil Engineering   (2012-December) Question Papers 4th semester Civil Engineering   (2012-December) Question Papers
4th semester Civil Engineering (2012-December) Question Papers
BGS Institute of Technology, Adichunchanagiri University (ACU)
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrix
Rumah Belajar
 
Lattices and codes
Lattices and codesLattices and codes
Lattices and codes
Springer
 

Similar to Supot37255412160 (20)

2d transformation
2d transformation2d transformation
2d transformation
 
Figures
FiguresFigures
Figures
 
Trig identities
Trig identitiesTrig identities
Trig identities
 
2D-transformation-1.pdf
2D-transformation-1.pdf2D-transformation-1.pdf
2D-transformation-1.pdf
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
 
Lesson20 Tangent Planes Slides+Notes
Lesson20   Tangent Planes Slides+NotesLesson20   Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
 
Unit Circle - Trigonometry
Unit Circle - TrigonometryUnit Circle - Trigonometry
Unit Circle - Trigonometry
 
5.4 notes
5.4 notes5.4 notes
5.4 notes
 
Quantum modes - Ion Cotaescu
Quantum modes - Ion CotaescuQuantum modes - Ion Cotaescu
Quantum modes - Ion Cotaescu
 
Interpolation techniques - Background and implementation
Interpolation techniques - Background and implementationInterpolation techniques - Background and implementation
Interpolation techniques - Background and implementation
 
Emat 213 study guide
Emat 213 study guideEmat 213 study guide
Emat 213 study guide
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)
 
Chapter 3 (maths 3)
Chapter 3 (maths 3)Chapter 3 (maths 3)
Chapter 3 (maths 3)
 
Cs229 cvxopt
Cs229 cvxoptCs229 cvxopt
Cs229 cvxopt
 
C Sanchez Reduction Saetas
C Sanchez Reduction SaetasC Sanchez Reduction Saetas
C Sanchez Reduction Saetas
 
06.Transformation.ppt
06.Transformation.ppt06.Transformation.ppt
06.Transformation.ppt
 
4th semester Civil Engineering (2012-December) Question Papers
4th semester Civil Engineering   (2012-December) Question Papers 4th semester Civil Engineering   (2012-December) Question Papers
4th semester Civil Engineering (2012-December) Question Papers
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrix
 
Lattices and codes
Lattices and codesLattices and codes
Lattices and codes
 

Recently uploaded

一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
taqyea
 
Kirill Klip GEM Royalty TNR Gold Copper Presentation
Kirill Klip GEM Royalty TNR Gold Copper PresentationKirill Klip GEM Royalty TNR Gold Copper Presentation
Kirill Klip GEM Royalty TNR Gold Copper Presentation
Kirill Klip
 
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
my Pandit
 
TIMES BPO: Business Plan For Startup Industry
TIMES BPO: Business Plan For Startup IndustryTIMES BPO: Business Plan For Startup Industry
TIMES BPO: Business Plan For Startup Industry
timesbpobusiness
 
Call8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessingCall8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessing
➑➌➋➑➒➎➑➑➊➍
 
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
taqyea
 
Sustainable Logistics for Cost Reduction_ IPLTech Electric's Eco-Friendly Tra...
Sustainable Logistics for Cost Reduction_ IPLTech Electric's Eco-Friendly Tra...Sustainable Logistics for Cost Reduction_ IPLTech Electric's Eco-Friendly Tra...
Sustainable Logistics for Cost Reduction_ IPLTech Electric's Eco-Friendly Tra...
IPLTech Electric
 
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
APCO
 
Cover Story - China's Investment Leader - Dr. Alyce SU
Cover Story - China's Investment Leader - Dr. Alyce SUCover Story - China's Investment Leader - Dr. Alyce SU
Cover Story - China's Investment Leader - Dr. Alyce SU
msthrill
 
欧洲杯赌球-欧洲杯赌球买球官方官网-欧洲杯赌球比赛投注官网|【​网址​🎉ac55.net🎉​】
欧洲杯赌球-欧洲杯赌球买球官方官网-欧洲杯赌球比赛投注官网|【​网址​🎉ac55.net🎉​】欧洲杯赌球-欧洲杯赌球买球官方官网-欧洲杯赌球比赛投注官网|【​网址​🎉ac55.net🎉​】
欧洲杯赌球-欧洲杯赌球买球官方官网-欧洲杯赌球比赛投注官网|【​网址​🎉ac55.net🎉​】
valvereliz227
 
CULR Spring 2024 Journal.pdf testing for duke
CULR Spring 2024 Journal.pdf testing for dukeCULR Spring 2024 Journal.pdf testing for duke
CULR Spring 2024 Journal.pdf testing for duke
ZevinAttisha
 
Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Best Competitive Marble Pricing in Dubai - ☎ 9928909666Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Stone Art Hub
 
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
Lacey Max
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
IMG_20240615_091110.pdf dpboss guessing
IMG_20240615_091110.pdf dpboss  guessingIMG_20240615_091110.pdf dpboss  guessing
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
hartfordclub1
 
2022 Vintage Roman Numerals Men Rings
2022 Vintage Roman  Numerals  Men  Rings2022 Vintage Roman  Numerals  Men  Rings
2022 Vintage Roman Numerals Men Rings
aragme
 
Business storytelling: key ingredients to a story
Business storytelling: key ingredients to a storyBusiness storytelling: key ingredients to a story
Business storytelling: key ingredients to a story
Alexandra Fulford
 
Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024
Adnet Communications
 
Prescriptive analytics BA4206 Anna University PPT
Prescriptive analytics BA4206 Anna University PPTPrescriptive analytics BA4206 Anna University PPT
Prescriptive analytics BA4206 Anna University PPT
Freelance
 

Recently uploaded (20)

一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
 
Kirill Klip GEM Royalty TNR Gold Copper Presentation
Kirill Klip GEM Royalty TNR Gold Copper PresentationKirill Klip GEM Royalty TNR Gold Copper Presentation
Kirill Klip GEM Royalty TNR Gold Copper Presentation
 
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
 
TIMES BPO: Business Plan For Startup Industry
TIMES BPO: Business Plan For Startup IndustryTIMES BPO: Business Plan For Startup Industry
TIMES BPO: Business Plan For Startup Industry
 
Call8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessingCall8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessing
 
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
 
Sustainable Logistics for Cost Reduction_ IPLTech Electric's Eco-Friendly Tra...
Sustainable Logistics for Cost Reduction_ IPLTech Electric's Eco-Friendly Tra...Sustainable Logistics for Cost Reduction_ IPLTech Electric's Eco-Friendly Tra...
Sustainable Logistics for Cost Reduction_ IPLTech Electric's Eco-Friendly Tra...
 
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
 
Cover Story - China's Investment Leader - Dr. Alyce SU
Cover Story - China's Investment Leader - Dr. Alyce SUCover Story - China's Investment Leader - Dr. Alyce SU
Cover Story - China's Investment Leader - Dr. Alyce SU
 
欧洲杯赌球-欧洲杯赌球买球官方官网-欧洲杯赌球比赛投注官网|【​网址​🎉ac55.net🎉​】
欧洲杯赌球-欧洲杯赌球买球官方官网-欧洲杯赌球比赛投注官网|【​网址​🎉ac55.net🎉​】欧洲杯赌球-欧洲杯赌球买球官方官网-欧洲杯赌球比赛投注官网|【​网址​🎉ac55.net🎉​】
欧洲杯赌球-欧洲杯赌球买球官方官网-欧洲杯赌球比赛投注官网|【​网址​🎉ac55.net🎉​】
 
CULR Spring 2024 Journal.pdf testing for duke
CULR Spring 2024 Journal.pdf testing for dukeCULR Spring 2024 Journal.pdf testing for duke
CULR Spring 2024 Journal.pdf testing for duke
 
Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Best Competitive Marble Pricing in Dubai - ☎ 9928909666Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Best Competitive Marble Pricing in Dubai - ☎ 9928909666
 
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
 
IMG_20240615_091110.pdf dpboss guessing
IMG_20240615_091110.pdf dpboss  guessingIMG_20240615_091110.pdf dpboss  guessing
IMG_20240615_091110.pdf dpboss guessing
 
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
 
2022 Vintage Roman Numerals Men Rings
2022 Vintage Roman  Numerals  Men  Rings2022 Vintage Roman  Numerals  Men  Rings
2022 Vintage Roman Numerals Men Rings
 
Business storytelling: key ingredients to a story
Business storytelling: key ingredients to a storyBusiness storytelling: key ingredients to a story
Business storytelling: key ingredients to a story
 
Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024
 
Prescriptive analytics BA4206 Anna University PPT
Prescriptive analytics BA4206 Anna University PPTPrescriptive analytics BA4206 Anna University PPT
Prescriptive analytics BA4206 Anna University PPT
 

Supot37255412160

  • 1. Chapter 5 Geometric Transformations
  • 2. 5.1 Basic Two-Dimensional Geometric Transformations  Operations that are applied to the geometric description of an object to change its position, orientation, or size are called geometric transformations.  Geometric transformations can be used to describe how objects might move around in a scene during an animation sequence or simply to view them from another angle.
  • 3. geometric transformations  Translation  Rotation  Scaling
  • 4.
  • 5. Two-Dimensional Translation  We perform a translation on a single coordinate point by adding offsets to its coordinates so as to generate a new coordinate position.  To translate a two-dimensional position, we add translation distances, tx and ty to the original coordinates (x,y) to obtain the new coordinate position (x’,y’), x = x+t ' x y = y + ty '
  • 6. The two-dimensional translation equations in the matrix form จาก x = x + tx ' ให้ รูป y y' = y + ty x  P=  x'  P' =  '  P' ( x' , y' )  y y    T t x  ty และ T =  P ( x, y ) t y  tx  x '   x  t x   ' =   +   x จะได้  y   y  t y    P = P +T '
  • 7. Two-Dimensional Rotation  We generate a rotation transformation of an object by specifying a rotation axis and a rotation angle.  A two-dimensional rotation of an object is obtained by repositioning the object along a circular path in the xy plane.  Parameters for the two-dimensional rotation are  The rotation angle θ  A position (x,y) – rotation point (pivot point)
  • 8. The two-dimensional rotation x ' = r cos(φ + θ ) = r cos φ cos θ − r sin φ sin θ y ' = r sin(φ + θ ) = r cos φ sin θ + r sin φ cos θ y Polar coordinate system x = r cos φ O' ( x' , y' ) y = r sin φ O ( x, y ) θ φ x P(0,0) x ' = x cos θ − y sin θ y ' = x sin θ + y cos θ
  • 9. The two-dimensional rotation  x '  cos θ - sinθ   x   ' =  y y     sin θ cosθ   y    O' ( x' , y' ) O' = R • O O ( x, y ) θ โดยที่ φ x   x'  x O=  O' =  '  P(0,0)  y y    cos θ - sinθ  และ R =   Rotation matrix sin θ cosθ 
  • 10. Ex. 1 1.0 0.5
  • 11. Rotation of a point about an arbitrary pivot position x ' = ( x − xr ) cos θ − ( y − yr ) sin θ + xr y ' = ( x − xr ) sin θ + ( y − yr ) cos θ + yr y O' ( x' , y' )  x '  cos θ - sinθ   x − xr   xr   ' =   y − y  +  y  O ( x, y )  y  sin θ cosθ     r  r θ O ' = R • O* + P φ P ( xr , y r ) x โดยที่ x − x'  O* =  ' y − y   
  • 12. Two-Dimensional Scaling  To alter the size of an object, we apply a scaling transformation.  A simple two- x = x ⋅ sx ' dimensional scaling operation is performed by multiplying object y = y ⋅ sy ' positions (x,y) by scaling factors sx and sy to produce the  x '  sx 0   x  transformed  ' =    coordinates (x’,y’).  y  0 s y   y    P = S•P '
  • 13. Any positive values can be assigned to the scaling factors.  Values less than 1 reduce the size of object;  Values greater than 1 produce enlargements.  Uniform scaling – scaling values have the same value  Differential scaling – unequal of the scaling factor
  • 14. Scaling relative to a chosen fixed point x ' = x ⋅ s x + x f (1 − s x ) y ' = y ⋅ s y + y f (1 − s y ) y P1  x '   s x 0   x  1 − s x 0   x f  •  ' =     +  0 1-s    Pf ( x f , y f ) P2  y  0 s y   y     y  y f    P3 P ' = S • P + S * • Pf x
  • 15. 5.2 Matrix Representations and Homogeneous Coordinates  Many graphics applications involve sequences of geometric transformations.  Hence we consider how the matrix representations can be reformulated so that such transformation sequence can be efficiently processed.  Each of three basic two-dimensional transformations (translation, rotation and scaling) can be expressed in the general matrix form
  • 16. P and P ’ = column vectors, coordinate position M1 = 2 by 2 array containing P = M1 ⋅ P + M 2 ' multiplicative factors, for translation M1 is the identity matrix M2 = two-element column matrix containing translational terms, for rotation or scaling M2 contains the translational terms associated with the pivot point or scaling fixed point
  • 17. P' = M1 ⋅ P + M 2  x '  1 0  x  t x   ' =    y  + t  Translation  y  0 1    y     x '  cos θ - sinθ   x − xr   xr   ' =   y − y  +  y  Rotation  y  sin θ cosθ     r  r  x '  cos θ - sinθ   x  cos θ - sinθ   xr   xr   ' =    y  − sin θ cosθ   y  +  y   y  sin θ cosθ        r   r   x '   s x 0   x  1 − s x 0   x f   ' =     +  0 1-s    Scaling  y  0 s y   y     y  y f   
  • 18. To produce a sequence of transformations such as scaling followed by rotation then translation, we could calculate the transformed coordinates one step at a time.  A more efficient approach is to combine the transformations so that the final coordinate positions are obtained directly from the initial coordinates, without calculating intermediate coordinate values.
  • 19. Homogeneous Coordinates  Multiplicative and translational terms for a two-dimensional geometric transformations can be combined into a single matrix if we expand the representations to 3 by 3 matrices.  Then we can use the third column of a transformation matrix for the translation terms, and all transformation equations can be expressed as matrix multiplications.
  • 20. But to do so, we also need to expand the matrix representation for a two-dimensional coordinate position to a three-element column matrix.  A standard technique for accomplishing this is to expand each two-dimensional coordinate-position representation (x,y) to a three-element representation (xh,yh,h), called homogeneous coordinates, where the homogeneous parameter h is a nonzero value such that xh yh x= , y= h h
  • 21. A convenient choice is simply to set h=1.  Each two-dimensional position is then represented with homogeneous coordinate (x,y,1).  The term “homogeneous coordinates” is used in mathematics to refer to the effect of this representation on Cartesian equations.
  • 22.
  • 23. x '   1 0 t x x   '     y  = 0 1 t y  y  Translation   0 1 0 1  1      P ' = T (t x , t y ) ⋅ P  x '  cos θ - sinθ 0   x   '  Rotation  y  = sin θ cosθ 0  y    1   0 0 1  1        x '  sx 0 0   x  P ' = R (θ ) ⋅ P  '     y  = 0 s y 0   y  Scaling 1  0 0 1 1       P ' = S (sx , s y ) ⋅ P
  • 24. 5.3 Inverse Transformations 1 0 - t x  Inverse translation matrix −1   T = 0 1 - t y  0 0 1    Inverse rotation matrix 1  s 0 0  cos θ sinθ 0  x  R −1 = − sin θ cosθ 0 −1  1    S = 0 0  0  0 1 sy   0 0 1 Inverse scaling matrix    
  • 25. 5.4 Two-Dimensional Composite Transformations  Using matrix representations, we can set up a sequence of transformations as a composite transformation matrix by calculating the product of the individual transformations.  Thus, if we ant to apply two transformations to point position P, the transformed location would be calculated as P = M 2 ⋅ M1 ⋅ P ' P = M ⋅P '
  • 26. (1,3) (2,3) (3,2) (-2,1) (-1,1) (1,1) (2,1) (a) (b) (-2,-1) (-1,-1) (1.63,2.37) (0.77,1.87) (-1.37,0.37) (2.63,0.63) (-2.23,-0.13) (1.77,0.13) (c) (d) (-0.37,-1.37) (-1.23,-1.87)
  • 27. Composite Two-dimensional Translations P ' = T (t 2 x , t 2 y ) ⋅ {T (t1x , t1 y ) ⋅ P} P ' = {T (t 2 x , t 2 y ) ⋅ T (t1x , t1 y )} ⋅ P composite transformation matrix 1 0 t 2 x   1 0 t1x    1 0 t1x + t 2 x          0 1 t 2 y  ⋅  0 1 t1 y   =  0 1 t1 y + t 2 y    0 0 1   0 0 1    0 0 1         T (t 2 x , t 2 y ) ⋅ T (t1x , t1 y ) = T (t1x + t 2 x , t1 y + t 2 y )
  • 28. Composite Two-dimensional Rotations P ' = R (θ 2 ) ⋅ {R (θ1 ) ⋅ P} P ' = {R (θ 2 ) ⋅ R (θ1 )} ⋅ P composite transformation matrix R (θ 2 ) ⋅ R (θ1 ) = R (θ1 + θ 2 )
  • 29.
  • 30. Composite Two-dimensional Scaling composite transformation matrix  S 2 x 0 0   S1x 0 0   S1x ⋅ S 2 x 0 0       0 S 2 y 0 ⋅ 0 S1 y 0  =  0 S1 y ⋅ S 2 y 0 0 0 1 0 0 1  0 0 1       S ( s2 x , s2 y ) ⋅ S ( s1x , s1 y ) = S ( s1x ⋅ s2 x , s1 y ⋅ s2 y )
  • 31. General Two-dimensional Pivot- Point Rotation  A transformation sequence for rotating an object about a sepcified pivot point using the rotation matrix R(θ).  Translate the object so that the pivot-point position is moved to the coordinate origin.  Rotate the object about the coordinate origin.  Translate the object so that the pivot point is returned to its original position.
  • 32. (xr,yr) (xr,yr) (a) (b) (xr,yr) (xr,yr) (c) (d)
  • 33. 1 0 xr  cos θ - sinθ 0  1 0 - xr  0 1 y  ⋅ sin θ cosθ 0 ⋅ 0 1 - y   r    r 0 0 1   0    0 1  0 0 1     cos θ - sinθ xr( 1- cos θ) + yr sin θ  = sin θ cosθ y ( 1- cos θ) − x sin θ  r r   0  0 1   T ( xr , yr ) ⋅ R (θ ) ⋅ T (− xr ,− yr ) = R ( xr , yr , θ )
  • 34. General Two-dimensional Fixed- Point Scaling  A transformation sequence to produce a two- dimensional scaling with respect to a selected fixed position (xf,yf).  Translate the object so that the fixed point coincides with the coordinate origin.  Scale the object with respect to the coordinate origin.  Use the inverse of the translation in step (1) to return the object to its original position.
  • 35. (xf,yf) (xf,yf) (a) (b) (xf,yf) (xf,yf) (c) (d)
  • 36. 1 0 x f   s x 0 0  1 0 - x f        0 1 y f  ⋅  0 s y 0  ⋅ 0 1 - y f  0 0 1   0 0 1  0 0 1         s x 0 x f ( 1-s x )   = 1 s y y f ( 1-s y ) 0 0 1    T ( x f , y f ) ⋅ S ( s x , s y ) ⋅ T (− x f ,− y f ) = S ( x f , y f , ( s x , s y ))
  • 37. General Two-dimensional Scaling Directions  We can scale an object in other directions by rotating the object to align the y desired scaling directions s2 with the coordinate axes before applying the scaling transformation.  Suppose we want to apply scaling factors with values specified by parameters s1 x and s2 in the directions s1 shown in fig.
  • 38. The composite matrix resulting from the product of - rotation so that the directions for s1 and s2 coincide with the x and y axes - scaling transformation S(s1,s2) - opposite rotation to return points to their original orientations  s1Cos 2θ + s2 Sin 2θ ( s2 − s1 )CosθSinθ 0   R (θ ) ⋅ S ( s1 , s2 ) ⋅ R (θ ) = ( s2 − s1 )CosθSinθ s1Sin 2θ + s2Cos 2θ -1 0  0 0 1  
  • 39. y y (2,2) (1/2,3/2) (0,1) (1,1) (3/2,1/2) (0,0) (1,0) x (0,0) x s1= 1 s2=2
  • 40. Matrix Concatenation Properties  Transformation products may not be commutative.  The matrix product M2M1 is not equal to M1M2.  This means that if we want to translate and rotate an object, we must be careful about the order in which the composite matrix is evaluated.  Reversing the order in which a sequence of transformations is performed may affect the transformed position of an object.
  • 41. 2 Rotation 1 Translation 1 Rotation 2 Translation
  • 42. General Two-dimensional Composite Transformations and Computational Efficiency  x '  rs xx rs xy trs x   x   '     y  = rs yx rs yy trs y   y  1   0 0 1  1        rs** are the multiplicative rotation-scaling terms (rotation angles, scaling factors)  trsx and trsy are the translation terms (translation distances, pivot-point and fixed- point coordinates, rotation angles, scaling parameters)
  • 43. Example  Scale and  rotate about its centroid coordinates (xc,yc) and  translate T (t x , t y ) ⋅ R ( xc , yc , θ ) ⋅ S ( xc , yc , s x , s y ) =  s x cos θ - s y sin θ xc (1 − s x cos θ ) + yc s y sin θ + t x     s x sin θ s y cos θ yc (1 − s y cos θ ) − xc s x sin θ + t y   0 0 1   
  • 44. Two-dimensional Rigid-body Transformation  If a transformation matrix includes only translation and rotation parameters, it is a rigid-body transformation matrix. rxx rxy trx    ryx ryy try  0 0 1     r** are the multiplicative rotation terms (rotation angles)  trx and try are the translation terms (translation distances, pivot-point and fixed-point coordinates, rotation angles)
  • 45. 5.5 Other Two-Dimensional Transformations Reflection  For a two-dimensional reflection, the image is generated relative to an axis of reflection by rotating the object 180º about the reflection axis.
  • 46. Reflection about the line y=0 (the x axis) 1 0 0 0 - 1 0    0 0 1   
  • 47. Reflection about the line x=0 (the y axis)  − 1 0 0  0 1 0    0 0 1  
  • 48. Reflection about any reflection point in the xy plane Reflection point − 1 0 0   0 - 1 0    0 0 1   
  • 49. Reflection about the reflection axis y=x 0 1 0  1 0 0   0 0 1    1. Rotate the line y=x with respect to the original through a 45 angle 2. Reflection with respect to the x axis 3. Rotate the line y=x black to its original position with a counterclockwise rotation through 45
  • 50. Reflection about the reflection axis y=-x  0 - 1 0 - 1 0 0     0 0 1   1. Clockwise rotate the line y=-x with respect to the original through a 45 angle 2. Reflection with respect to the y axis 3. Rotate the line y=-x black to its original position with a y = -x counterclockwise rotation through 45
  • 51. Shear  A transformation that distorts the shape of an object such that the transformed shape appears as if the object were composed of internal layers that had been caused to slide over each other is called a shear.
  • 52. An x-direction shear 1 shx 0 0 1 0  transformation matrix   0 0 1   y y (2,1) (3,1) (0,1) (1,1) shx = 2 (0,0) (1,0) (0,0) (1,0)
  • 53. We can generate x-direction shears relative to other reference lines 1 shx -shx ⋅ yref    0 1 0  transformation matrix 0 0 1    y y (1,1) (2,1) (0,1) (1,1) shx = ½ yref = -1 (0,0) (1,0) (0,0) (1/2,0) (3/2,0) yref = -1 yref = -1
  • 54.
  • 55. A y-direction shears relative to the line x=xref is generated with 1 0 0     shy 1 -shy ⋅ xref  transformation matrix 0 0 1    y y (1,2) (0,3/2) (0,1) (1,1) (1,1) shy = ½ (0,1/2) xref = -1 xref = -1 (0,0) (1,0) xref = -1 (0,0)
  • 56.
  • 57. Shear operations can be expressed as sequences of basic transformations.  The x-direction shear matrix 1 shx 0 0 1 0    0 0 1   can be represented as a composite transformation involving a series of rotation and scaling metrices.
  • 58.
  • 59. 5.6 Raster Methods for Geometric Transformations  Functions that manipulate rectangular pixel arrays are called raster operations and moving a block of pixel values from one position to another is termed a block transfer, a bitblt or a pixblt.  All bit settings in the rectangular area are copied as a block into another part of the frame buffer.  We can erase the pattern at the original location by assigning the background color to all pixels within that block.
  • 60.
  • 61. Array rotations that are not multiples of 90º 1 2 3 12 11 10  4 3 6 9 12  5 6  2 5 8 11 9  8 7  7 8 9   6 5 4   1 4 7 10      10 11 12 3 2 1 (a) (b) (c) The original array is shown in (a), the positions of the array elements after a 90º counterclockwise rotation are shown in (b), and the position of the array elements after a 180º rotation are shown in (c).
  • 62. 5.7 OpenGL Raster Transformations  A translation of a rectangular array of pixel- color values from one buffer area to another can be accomplished in OpenGL as a copy operation: glCopyPixels(xmin, ymin, width, height, GL_COLOR);  This array of pixels is to be copied to a rectangular area of a refresh buffer whose lower-left corner is at the location specified by the current raster position.
  • 63. We can rotate a block of pixel-color values in 90-degree increments by  first saving the block in an array, glReadPixels(xmin, ymin, width, height, GL_RGB, GL_UNSIGNED_BYTE, colorArray);  then rearranging the elements of the array and  placing it back in the refresh buffer. glDrawPixels(width, height, GL_RGB, GL_UNSIGNED_BYTE, colorArray);  We set the scaling facters with glPixelZoom(sx,sy);
  • 64. 5.8 Transformations between Two- Dimensional Coordinate Systems y’ y x’ θ yn xn x A Cartesian x’y’ system specified with coordinate origin (xn,yn) and orientation angle θ in a Cartesian xy reference frame.
  • 65. To transform object descriptions from xy coordinates to x’y’ coordinates, we set up a transformation that superimposes the axes onto the x’y’ axes.  This is done in two steps:  Translate so that the origin (xn,yn) of the x’y’ system is moved to the origin (0,0) of the xy system.  Rotation the x’ axis onto the x axis.
  • 66. 1 0 − xn  1)Translation 0 1 − y  T ( − xn , − y n ) =  n 0 0 1    y’ y y P y ’ x’ P y x’ y’ θ yn x’ θ xn x x x
  • 67. 2)clockwise rotation  cosθ sinθ 0 2.1) R(−θ ) = - sinθ cosθ 0     0  0 1 y y y ’ y ’ P P y y x’ y’ x’ θ x x x x composite matrix M xy , x ' y ' = R (−θ ) ⋅ T (− xn ,− yn )
  • 68. OR  2.2) An alternate method for describing the orientation of the x’y’ coordinate system is to specify a vector V that indicates the direction for the positive y’ axis.  We can specify vector V as a point in the xy reference frame relative to the origin of the xy system, which we can convert to y’ the unit vector, y V P V x’ v= = (v x , v y ) V yn θ xn x
  • 69. We obtain the unit vector u along the x’ axis by applying a 90º clockwise rotation to vector v u = (v y ,−v x ) = (u x , u y )  The matrix to rotate the x’y’ system into coincidence with the xy system can be written as u x u y 0    R = v x v y 0  0 0 1  
  • 70. OR  In the case that we coordinates of P0 and P1 are known, P1 - P0 v= = (v x , v y ) P1 - P0 y’ y V P x’ P1 yn θ P0 xn x
  • 71. (xf,yf) (xf,yf) (a) (b) (xf,yf) (xf,yf) (xf,yf) (c) (d) (e)