SlideShare a Scribd company logo
1 of 54
Download to read offline
Some polar curves
      Input devices
Display Color information
        Chen Jing-Fung (2006/11/22)
         Assistant Research Fellow,
            Digital Media Center,
      National Taiwan Normal University



                   Video Processing Lab
                         臺灣師範大學數位媒體中心視訊處理研究室

                            National Taiwan Normal University
Polar coordinates in xy
           plane
              r                    y axis

                              y                P : ( x, y )
                  s                  r
                                                              x axis
                                            x
• Angle θ =s/r (radians/radius)
• Polar coordinate-> Cartesian coordinate
     x=r cosθ, y=r sinθ
• Inverse transformation
                              1 y
           r  x  y ,   tan ( )
                 2   2

                                 x
                            Video Processing Lab                        2
                               臺灣師範大學數位媒體中心視訊處理研究室
Cardioid polar plot
   • The curve given by the polar equation
                                        The envelope of these circles
                                        is then a cardioid (Pedoe
The name cardioid was first             1995).
used by de Castillon in
Philosophical Transactions
of the Royal Society in 1741.
Its arc length was found by
la Hire in 1708.




                                    Video Processing Lab                3
     http://mathworld.wolfram.com      臺灣師範大學數位媒體中心視訊處理研究室
The graph of the polar
           equation (1)
• Plot the polar equation
  – The incredibly beautiful curve that results was
    discovered by Temple H. Fay. His article "The
    Butterfly Curve“ (American Mathematical Monthly,
    May 1989, p.442) is well worth a trip to the library.
r  ecos( )  2cos(4 )  sin5 (1/12)




                                   Video Processing Lab   4
                                         臺灣師範大學數位媒體中心視訊處理研究室
The graph of the polar
        equation (2)

• Six leaves:
  – r=1+cos(t)/2
  – ө=t/6-sin(2t)
     X=r*cos(ө)
     Y=r*sin(ө)
     range: t = 0 ~ 12pi




                           Video Processing Lab   5
                              臺灣師範大學數位媒體中心視訊處理研究室
How to draw
polar-coordinate picture



           Sector size




                  Video Processing Lab   6
                     臺灣師範大學數位媒體中心視訊處理研究室
Input devices trigger


                                     Video Processing Lab
                                         臺灣師範大學數位媒體中心視訊處理研究室

                                            National Taiwan Normal University
Ch3: Interactive Computer Graphics: A Top-Down Approach using OpenGL, 3/e
Measure and Trigger
• Input devices provide input to an
  application program can be described:
  – Measure process:
     • The device returns to user program
  – Trigger process:
     • User can signal the computer
  – Ex: Keyboard

     • Measure: key a string
     • Trigger: “enter” key




                               Video Processing Lab   8
                                  臺灣師範大學數位媒體中心視訊處理研究室
Describe modes
• Three distinct modes are defined by the
  relationship between the measure process
  and the trigger.
  – Request mode, sample-mode and event mode
  – Example:
     • The position of a mouse:
        – tracked continuously by the underlying window system
        – Whether the application program needs or not mouse
          input.




                                  Video Processing Lab           9
                                     臺灣師範大學數位媒體中心視訊處理研究室
Request mode
• The measure of the device is not returned
  to the program until the device is
  triggered.
  – The input mode is standard, such as: C ,
    C++, ….program
     • Input the “scanf”:
        – the program halts before we type characters at our
          terminal.
        – Each data is placed in keyboard buffer
     • “enter” key (the trigger) is depressed
                                        Request
    Trigger                 Measure
    process                                       Program
                Trigger     process
                                       Measure

                                Video Processing Lab           10
                                      臺灣師範大學數位媒體中心視訊處理研究室
Sample mode

• Input is immediate. (simple type of
  request mode)
  – As soon as the function call in the user
    program is encountered, the measure is
    returned.
    •         Left Click is depressed
                     Sample
           Measure
                                 Program
           process
                     Measure

                              Video Processing Lab   11
                                 臺灣師範大學數位媒體中心視訊處理研究室
Event mode (1)
• Handle other interactions:
   – How event mode can be described as another mode
     within our measure-trigger. (How)

   – Basic of client and servers where event mode is the
     preferred interaction mode. (where)

   – Event-mode interface to OpenGL using GULT




                               Video Processing Lab        12
                                  臺灣師範大學數位媒體中心視訊處理研究室
Event mode (2)

• Event is generated:
  – Each time that a device is triggered
• Device measure:
  – The identifier for the device is placed
    in an event queue.

                                            Await
 Trigger         Measure           Event
                                                    Program
 process Trigger process           queue
                         Measure
                                            Event

                             Video Processing Lab         13
                                臺灣師範大學數位媒體中心視訊處理研究室
OpenGL Input device
        function
• Input device:
  – Mouse & keyboard
    • To extract the current raster position
    • window management function
       – glutMouseFunc(myMouse); and
         glutKeyboardFunc(key);       User define
       – OpenGL mouse event (GLUT_LEFT_BUTTON,
         GLUT_MIDDLE_BUTTON,
         GLUT_RIGHT_BUTTON …)
         OpenGL keyboard event (each key on keyboard
         can be used)

         Location of mouse: left-down
                              Video Processing Lab     14
                                 臺灣師範大學數位媒體中心視訊處理研究室
Display Color
                        information


                                    Video Processing Lab
                                         臺灣師範大學數位媒體中心視訊處理研究室

                                           National Taiwan Normal University
Ch4: Computer Graphics with OpenGL 3th, Hearn Baker
Graphics system
• Attribute parameter
  – Determine the fundamental characteristics
     • Color and size
  – Specify how the primitive is to be displayed under
    special conditions
     • Visibility or detectability within an interactive object-
       selection program
  – The current frame-buffer position
     • state variables     glBegin
                               ….
                           glEnd
     • state parameters
         – from one coordinate position to another

                                  Video Processing Lab             16
                                     臺灣師範大學數位媒體中心視訊處理研究室
Color
• Color information:
  – RGB: Resolution=1024x1024, Full color=24-
    bit/pixel, Frame buffer=3 megabytes
                                          Magenta


                               Blue                  Red



                                Cyan                Yellow

                                            Green


  – Gray scale: Ex: object‟s shade
                           Video Processing Lab         17
                              臺灣師範大學數位媒體中心視訊處理研究室
Color table                 Color lookup
                                            table
               monitor
                                     0



      y      196


                                   196 0x0821(2081)

              x
                                   255
To Red Gun    To Green Gun   To Blue Gun        Each 8-bit segment of
                                                this entry controls the
00000000 00001000 00100001                      intensity level of one of
                                                the three electron guns
                                                in an RGB monitor

                                    Video Processing Lab             18
                                         臺灣師範大學數位媒體中心視訊處理研究室
Pixel-array primitives

• Graphics packages often supply routines to
  display shapes
  – Defined with a rectangular array of color
    values
  – Display: digitizing (scanning).
  – Each color value in the array is mapped to one
    or more screen pixel positions.
     • Typically referred to as a pixmap.
     • Pixel array: color and size



                               Video Processing Lab   19
                                  臺灣師範大學數位媒體中心視訊處理研究室
y

   OpenGL bitmap                             ymax

function (same color)                        ymin
                                                                     x
                                                       xmin   xmax
• The pixel-array is simply a bitmap, which is also
  called a mask.
• OpenGL binary array pattern: glBitmap

   – width and height: the number of columns and rows in the
     array bitShape
   – x0 and y0: the start position of the array bitShape,
     (x0,y0): opposite current raster position
   – xOffset and yOffset: use as coordinate offsets to
     update the frame-buffer current raster position. (next
     raster position)


              How to set bitShape ?
                                Video Processing Lab                 20
                                   臺灣師範大學數位媒體中心視訊處理研究室
Arrow pointing upwards




                                                  Start row


     Range is similar the mask
                           Video Processing Lab         21
                                 臺灣師範大學數位媒體中心視訊處理研究室
OpenGL character
         function (1)
• Using shape define any character as a bitmap.
• Text string is displayed by mapping a selected
  sequence of bitmaps
   – From the font list into adjacent positions in the frame
     buffer
• Some predefined character sets are available in
  the OpenGL Utility Toolkit (GLUT)
   – Bitmapped GLUT fonts are rendered: glBitmap
   – Outline fonts are generated with polyline
     (GL_LINE_STRIP) boundaries




                                 Video Processing Lab          22
                                    臺灣師範大學數位媒體中心視訊處理研究室
OpenGL character
        function (2)
• Display a bitmap GLUT character
  – font : a symbolic GLUT constant identifying a particular
    set of type faces
     • Fixed-width fonts:
         – GLUT_BITMAP_8_BY_13 or GLUT_BITMAP_9_BY_15
         – Times-Roman font(10-point and 12-point font)
             » Ex: GLUT_BITMAP_TIMES_ROMAN_10…
         – Helvetica font(10, 12, 18-point font)
             » Ex: GLUT_BITMAP_HELVETICA_10…
  – character
     • ASCII code
         – Capital letter : „A‟=ASCII code=65, „B‟=ASCII code=66…
         – Small letter: ‟a‟=ASCII code=97, ‟b‟=ASCII code=98…
     • the specific character



                                   Video Processing Lab             23
                                      臺灣師範大學數位媒體中心視訊處理研究室
Display architecture
                                   Display-processor architecture
Simple graphics architecture
                               server
                                              Display
server                                       processor
                                Host
 Host                                          (DPU)



                                            Display file
  Immediate mode                            (display list)
  Ex : progressive
                                           Retained mode
                                            Ex : interlace


                                  Video Processing Lab              24
                                        臺灣師範大學數位媒體中心視訊處理研究室
OpenGL Color Functions
• Color display mode: RGB

• Select the current color components
  3 or 4, RGB or RGBA (1.0,1.0,1.0,1.0) range: 0~1
  – Using an array specification for three
    color components
                           Point‟s dimension         Data type
  – Color-index mode references values in a
    color table
       Nonnegative integer value & stored
       in the frame-buffer positions, EX:
                                 Video Processing Lab            25
                                    臺灣師範大學數位媒體中心視訊處理研究室
Color Arrays Progress




nColorComponents:3 or 4 datatype: GL_INT or GL_FLOAT
      offset:
      0: separate color array
      else (combine color data with vertex data): the number of
      bytes between each set of color components in colorArray



                                  Video Processing Lab            26
                                     臺灣師範大學數位媒體中心視訊處理研究室
Interlace scan
 • Interlace is a technique of improving
   the picture quality of a video
   transmission without consuming any
   extra bandwidth.
      – It was invented by RCA engineer Randall C.
        Ballard in the late 1920s.




        Odd field          Even field
                                        Video Processing Lab   27
http://en.wikipedia.org/                   臺灣師範大學數位媒體中心視訊處理研究室
Color Arrays Interlace




             Video Processing Lab   28
                臺灣師範大學數位媒體中心視訊處理研究室
OpenGL point functions

• Point-attribute:
  – The point is displayed as a square block
    of pixels.
  – size = round ( the assigned + floating-
    point value)
    • Ex: a point size = 4.0 displays a 4 X 4 pixel
      array
    • Default value: point size = 1.0



                           Video Processing Lab       29
                              臺灣師範大學數位媒體中心視訊處理研究室
OpenGL line functions
• Line-width function:                      floating-point

• Line style function:

   – pattern: 16-bit integer that describes how the line
     should be displayed.
      • “1”-bit in the pattern denotes an “on” pixel position
      • “0”-bit : “off” pixel position
          – Ex: 0xFFFF-> (default), 0x1C47->dash-dot line,
            0x00FF->dashed line…
   – repeatFactor: how many times each bit in the pattern is
     to be repeated before the next bit in the pattern.
      • Default repeat value = 1


                                     Video Processing Lab       30
                                        臺灣師範大學數位媒體中心視訊處理研究室
How to use
Line style function

            Default: 1




  0xFFFF-> default, 0x1C47->dash-dot line,
  0x00FF->dashed line




                         Video Processing Lab   31
                            臺灣師範大學數位媒體中心視訊處理研究室
General scan-line
   polygon-fill algorithm
• A scan-line fill of a region
  – Intersection positions of the boundaries
  – Fill colors are within the interior of the
    fill region
  – Display format
     • Simple case

     • Pattern case



                        Video Processing Lab     32
                           臺灣師範大學數位媒體中心視訊處理研究室
Draw boundaries
• Find start vertex-intersection
  – Count the shorten polygon edges
• Decide the polygon boundary
  – Clockwise or counterclockwise
• Check the next point
  – Monotonically increasing or decreasing
  – *The edge currently being processed is
    indicated as a solid line (delete some points)
                              counterclockwise      Next edge
  Current edge                                      point is -1
  point is -1




                 clockwise
                             Video Processing Lab           33
                                臺灣師範大學數位媒體中心視訊處理研究室
Edge table
• To efficiently perform a polygon fill




                           1. Stored each edge point
                                    or
                           2. Sorted on the smallest
                           y value

                      Video Processing Lab             34
                         臺灣師範大學數位媒體中心視訊處理研究室
Boundary & Flood -fill
       algorithm
• Choose routine method
  – 4-connected area
  – 8-connected area
  – Mask texture               or


• Select start point    boundary area




                                        Interior area


                       Video Processing Lab             35
                          臺灣師範大學數位媒體中心視訊處理研究室
OpenGL fill-pattern
        function
• Define pattern style
                              …

  – The pattern start at the lower-left
    window corner
• Fill pattern function

• Enable the fill routines
      …
                           turns off pattern filling
                       Video Processing Lab            36
                          臺灣師範大學數位媒體中心視訊處理研究室
OpenGL Pixmap function

– width and height: the number of columns and
  rows in the array (pixmap)
– dataFormat: the values are assigned from
  OpenGL in the array (pixMap)
   • GL_BLUE: a single bule color for all pixels
   • GL_BGR: three color components (blue, green and red)
– dataType: to designate the data type for the
  color values in the array (pixmap)
   • GL_BYTE, GL_INT, GL_FLOAT…

          How to set pixMap ?
                            Video Processing Lab        37
                                臺灣師範大學數位媒體中心視訊處理研究室
pixMap: BMP file format

     • Header:




             two bytes long and are reserved for
             future extensions to the format
             definition




                                        Video Processing Lab    38
http://web.uccs.edu/wbahn/ECE1021/STATIC/REFERENCES/bmpfileformat.htm
                                                   臺灣師範大學數位媒體中心視訊處理研究室
BMP header information

• BMP Image Header Contents for
  Windows Format




                   Video Processing Lab   39
                      臺灣師範大學數位媒體中心視訊處理研究室
BMP color table

     • Optional color table
        – 24-bit image: no Color Table present.
        – 8-bit Windows BMP: (Gray)
            • the Color Table consists of 256 entries
              with each entry consisting of four bytes
              of data.
            • The first three byte are the blue, green,
              and red color values respectively.
            • The fourth byte is unused and must be
              equal to zero.



                                      Video Processing Lab      40
http://web.uccs.edu/wbahn/ECE1021/STATIC/REFERENCES/bmpfileformat.htm
                                                   臺灣師範大學數位媒體中心視訊處理研究室
BMP pixel data

• 8-bit format:
  – A pixels use a character into the
    Color Table.
• 24-bit format:
  – each pixel is represented by three
                                                pixMap
    consecutive bytes of data
     • blue, green, and red component values.




                               Video Processing Lab      41
                                  臺灣師範大學數位媒體中心視訊處理研究室
Where to read or display
     image data?
• Put read image function to init()

• Process image data
  – Mouse function: Idle->…
  – Before display
• Display image in display function
  – Display()


                       Video Processing Lab   42
                          臺灣師範大學數位媒體中心視訊處理研究室
Color blending
• Color-blending function (image-compositing
  function) :
  – provide method for producing various color-
    mixing effects
     • Combine the colors of overlapping objects
     • Blend an object with the background
  – How to do in OpenGL?
    (combine destination color & source color)
     • Destination color: first load one object into the
       frame buffer
     • Source color: the color of the second object
        start

          end

                                Video Processing Lab       43
                                   臺灣師範大學數位媒體中心視訊處理研究室
Color-blended fill regions
                       Combine result:

                                    Linear soft-fill function:
                                    C = tF + (1-t)B
Pattern
                                    P: object‟s current pixel
          Background
                                    position (PR, PG, PB)
                                    B: background (BR, BG, BB)
                                    C: pattern pixel +
                                    background pixel (CR, CG,
                                    CB)
                                    t: linear combine
                                    parameter=(Pk-Bk)/(Fk-Bk)



                             Video Processing Lab                44
                                臺灣師範大學數位媒體中心視訊處理研究室
Color blending function

• Color blending can use in a number of
  different ways
  – Different color effects by specifying two sets
    of blending factors
     • One set: destination object
     • The other set: blending factors is for the incoming
       “source” object.

        –   RGBA source color components (Rs, Gs, Bs, As)
        –   Destination components (Rd, Gd, Bd, Ad)
        –   Source blending factors (Sr, Sg, Sb, Sa)
        –   Destination blending factors (Dr, Dg, Db, Da)
        –   All range 0.0~1.0


                                  Video Processing Lab       45
                                     臺灣師範大學數位媒體中心視訊處理研究室
OpenGL
 color blending function

• sFactor & dFactor : the source and
  destination factors
  – OpenGL predefined set of four blending
    coefficients
    • GL_ZERO: blending factor (0.0, 0.0, 0.0, 0.0)
      & GL_ONE: blending factor (1.0, 1.0, 1.0, 1.0)
    • The default value:
       – sFactor is GL_ONE and dFacter is GL_ZERO


                           Video Processing Lab     46
                              臺灣師範大學數位媒體中心視訊處理研究室
Aliasing picture
• Aliasing
  – the distortion of information due to low-
    frequency sampling
• Sampling
  – Basic condition:
     • Nyquist sampling frequency
     • Nyquist sampling interval

                                    High frequency



                                    Low frequency    47
                              Video Processing Lab
                                 臺灣師範大學數位媒體中心視訊處理研究室
Antialiasing method
                          • Computing overlap areas is
                            referred to as area sampling
                            (or prefiltering)
                          • Pixel overlap areas
                                 – determining where object
                                   boundaries
                                 – intersect individual pixel
                                   boundaries.
Supersampling subpixel    • Pixel positions along a straight-
positions in relation
-the interior of a line
                            line segment
-the finite width.               – Moved closer to the defined line
              pixelcolor =
                                   path
              (4blue + 5white)   – And smooth out the raster stair-
                      9            step effect.
                                        Video Processing Lab    48
                                           臺灣師範大學數位媒體中心視訊處理研究室
Subpixel Weighting
         Masks
• Supersampling algorithms are often
  implemented by giving
  – more weight to subpixels near the
    center of a pixel area
  – more important in determining the
    overall intensity of a pixel
                           The volume of
                           each filter is
                           normalized to 1.0


                       Video Processing Lab    49
                          臺灣師範大學數位媒體中心視訊處理研究室
Antialiasing & aliasing
         pictures
• The antialiasing effects of pixel
  phasing on a variety of line paths.




                      Video Processing Lab   50
                         臺灣師範大學數位媒體中心視訊處理研究室
Homework 1

      – use function glBitmap draw
         • Raster start point, Ex: (30, 40)
            – Repeat time = 5
         • Times-Roman fonts (first
           character 12-point, others 10-
           point): “Hello~ I like OpenGL!!”
         • Practice: Helvetica font(10, 12,
           18-point)
         • Reward: design your name
            (fill-pattern function)




        Video Processing Lab          51
           臺灣師範大學數位媒體中心視訊處理研究室
Homework 2
• Load a picture and show
  this picture
  – Such as: lena.bmp or other
    bmp (24-bits or 32-bit…)
     • Use operator (&, or, xor,
       replace) to separate color
       (red, green, blue, magenta,
       yellow, cyan)
     • Combine another picture
        – Ex: parameter: linear or…



                                 Video Processing Lab   52
                                      臺灣師範大學數位媒體中心視訊處理研究室
Lena story
              November 1972                 May 1997

                                                         Lenna attended the
                                                         50th Anniversary
                                                         The Society for
                                                         Imaging Science
                                                         and Technology



       • Another interesting piece of trivia is that Lenna's
         issue (November 1972) was Playboy's best selling
         issue ever and sold 7,161,561 copies.


                                        Video Processing Lab          53
http://www.cs.cmu.edu/~chuck/lennapg/      臺灣師範大學數位媒體中心視訊處理研究室
reference
• http://elearning.emath.pu.edu.tw/mk
  uo2003/
• http://www.cs.utexas.edu/users/fuss
  ell/courses/cs324e/




                    Video Processing Lab   54
                       臺灣師範大學數位媒體中心視訊處理研究室

More Related Content

Viewers also liked

3 d graphics with opengl part 2
3 d graphics with opengl  part 23 d graphics with opengl  part 2
3 d graphics with opengl part 2Sardar Alam
 
Opengl lec 3
Opengl lec 3Opengl lec 3
Opengl lec 3elnaqah
 
Interaction Design L06 - Tricks with Psychology
Interaction Design L06 - Tricks with PsychologyInteraction Design L06 - Tricks with Psychology
Interaction Design L06 - Tricks with PsychologyMohammad Shaker
 
Unity L01 - Game Development
Unity L01 - Game DevelopmentUnity L01 - Game Development
Unity L01 - Game DevelopmentMohammad Shaker
 
Chapter02 graphics-programming
Chapter02 graphics-programmingChapter02 graphics-programming
Chapter02 graphics-programmingMohammed Romi
 
OpenGL Introduction.
OpenGL Introduction.OpenGL Introduction.
OpenGL Introduction.Girish Ghate
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer GraphicsAdri Jovin
 
Open GL Programming Training Session I
Open GL Programming Training Session IOpen GL Programming Training Session I
Open GL Programming Training Session INEEVEE Technologies
 
The Ultimate Window Guide | Paramount Builders
The Ultimate Window Guide | Paramount BuildersThe Ultimate Window Guide | Paramount Builders
The Ultimate Window Guide | Paramount BuildersParamount Builders
 
Opengl presentation
Opengl presentationOpengl presentation
Opengl presentationelnaqah
 
Introduction of openGL
Introduction  of openGLIntroduction  of openGL
Introduction of openGLGary Yeh
 
3 d projections
3 d projections3 d projections
3 d projectionsMohd Arif
 

Viewers also liked (20)

3 d graphics with opengl part 2
3 d graphics with opengl  part 23 d graphics with opengl  part 2
3 d graphics with opengl part 2
 
Opengl lec 3
Opengl lec 3Opengl lec 3
Opengl lec 3
 
Interaction Design L06 - Tricks with Psychology
Interaction Design L06 - Tricks with PsychologyInteraction Design L06 - Tricks with Psychology
Interaction Design L06 - Tricks with Psychology
 
Unity L01 - Game Development
Unity L01 - Game DevelopmentUnity L01 - Game Development
Unity L01 - Game Development
 
OpenGL Starter L01
OpenGL Starter L01OpenGL Starter L01
OpenGL Starter L01
 
Chapter02 graphics-programming
Chapter02 graphics-programmingChapter02 graphics-programming
Chapter02 graphics-programming
 
Opengl basics
Opengl basicsOpengl basics
Opengl basics
 
OpenGL Starter L02
OpenGL Starter L02OpenGL Starter L02
OpenGL Starter L02
 
Open gl
Open glOpen gl
Open gl
 
Web Introduction
Web IntroductionWeb Introduction
Web Introduction
 
OpenGL Introduction.
OpenGL Introduction.OpenGL Introduction.
OpenGL Introduction.
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
OpenGL L01-Primitives
OpenGL L01-PrimitivesOpenGL L01-Primitives
OpenGL L01-Primitives
 
Open GL Programming Training Session I
Open GL Programming Training Session IOpen GL Programming Training Session I
Open GL Programming Training Session I
 
The Ultimate Window Guide | Paramount Builders
The Ultimate Window Guide | Paramount BuildersThe Ultimate Window Guide | Paramount Builders
The Ultimate Window Guide | Paramount Builders
 
Opengl presentation
Opengl presentationOpengl presentation
Opengl presentation
 
Introduction of openGL
Introduction  of openGLIntroduction  of openGL
Introduction of openGL
 
OpenGL Introduction
OpenGL IntroductionOpenGL Introduction
OpenGL Introduction
 
OpenGL Basics
OpenGL BasicsOpenGL Basics
OpenGL Basics
 
3 d projections
3 d projections3 d projections
3 d projections
 

Similar to Polar Coordinates & Color Display

CG OpenGL 3D object representations-course 8
CG OpenGL 3D object representations-course 8CG OpenGL 3D object representations-course 8
CG OpenGL 3D object representations-course 8fungfung Chen
 
CG OpenGL 3D viewing-course 7
CG OpenGL 3D viewing-course 7CG OpenGL 3D viewing-course 7
CG OpenGL 3D viewing-course 7fungfung Chen
 
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 5fungfung Chen
 
ANISH_and_DR.DANIEL_augmented_reality_presentation
ANISH_and_DR.DANIEL_augmented_reality_presentationANISH_and_DR.DANIEL_augmented_reality_presentation
ANISH_and_DR.DANIEL_augmented_reality_presentationAnish Patel
 
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...bjoern611
 
Presentation1.2.pptx
Presentation1.2.pptxPresentation1.2.pptx
Presentation1.2.pptxpranaykusuma
 
On codes, machines, and environments: reflections and experiences
On codes, machines, and environments: reflections and experiencesOn codes, machines, and environments: reflections and experiences
On codes, machines, and environments: reflections and experiencesVincenzo De Florio
 
2007- SSVS for hand held microscopes
2007- SSVS for hand held microscopes2007- SSVS for hand held microscopes
2007- SSVS for hand held microscopesUnesco Telemedicine
 
The not so short introduction to Kinect
The not so short introduction to KinectThe not so short introduction to Kinect
The not so short introduction to KinectAXM
 
CG simple openGL point & line-course 2
CG simple openGL point & line-course 2CG simple openGL point & line-course 2
CG simple openGL point & line-course 2fungfung Chen
 
Action_recognition-topic.pptx
Action_recognition-topic.pptxAction_recognition-topic.pptx
Action_recognition-topic.pptxcomputerscience98
 
Next generation image compression standards: JPEG XR and AIC
Next generation image compression standards: JPEG XR and AICNext generation image compression standards: JPEG XR and AIC
Next generation image compression standards: JPEG XR and AICTouradj Ebrahimi
 
Sony pictures entertainment case study
Sony pictures entertainment case studySony pictures entertainment case study
Sony pictures entertainment case studyRam K
 
Generating a time shrunk lecture video by event
Generating a time shrunk lecture video by eventGenerating a time shrunk lecture video by event
Generating a time shrunk lecture video by eventYara Ali
 
(2) logic design lec foe-rd
(2) logic design lec   foe-rd(2) logic design lec   foe-rd
(2) logic design lec foe-rdwhataaa99
 
Sparse representation based human action recognition using an action region-a...
Sparse representation based human action recognition using an action region-a...Sparse representation based human action recognition using an action region-a...
Sparse representation based human action recognition using an action region-a...Wesley De Neve
 
Programming The Real World
Programming The Real WorldProgramming The Real World
Programming The Real Worldpauldeng
 
Open CV - 電腦怎麼看世界
Open CV - 電腦怎麼看世界Open CV - 電腦怎麼看世界
Open CV - 電腦怎麼看世界Tech Podcast Night
 

Similar to Polar Coordinates & Color Display (20)

CG OpenGL 3D object representations-course 8
CG OpenGL 3D object representations-course 8CG OpenGL 3D object representations-course 8
CG OpenGL 3D object representations-course 8
 
CG OpenGL 3D viewing-course 7
CG OpenGL 3D viewing-course 7CG OpenGL 3D viewing-course 7
CG OpenGL 3D viewing-course 7
 
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
 
ANISH_and_DR.DANIEL_augmented_reality_presentation
ANISH_and_DR.DANIEL_augmented_reality_presentationANISH_and_DR.DANIEL_augmented_reality_presentation
ANISH_and_DR.DANIEL_augmented_reality_presentation
 
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
Exemplar: Designing Sensor-based interactions by demonstration... (a CHI2007 ...
 
Presentation1.2.pptx
Presentation1.2.pptxPresentation1.2.pptx
Presentation1.2.pptx
 
On codes, machines, and environments: reflections and experiences
On codes, machines, and environments: reflections and experiencesOn codes, machines, and environments: reflections and experiences
On codes, machines, and environments: reflections and experiences
 
2007- SSVS for hand held microscopes
2007- SSVS for hand held microscopes2007- SSVS for hand held microscopes
2007- SSVS for hand held microscopes
 
The not so short introduction to Kinect
The not so short introduction to KinectThe not so short introduction to Kinect
The not so short introduction to Kinect
 
CG simple openGL point & line-course 2
CG simple openGL point & line-course 2CG simple openGL point & line-course 2
CG simple openGL point & line-course 2
 
Action_recognition-topic.pptx
Action_recognition-topic.pptxAction_recognition-topic.pptx
Action_recognition-topic.pptx
 
Next generation image compression standards: JPEG XR and AIC
Next generation image compression standards: JPEG XR and AICNext generation image compression standards: JPEG XR and AIC
Next generation image compression standards: JPEG XR and AIC
 
Sony pictures entertainment case study
Sony pictures entertainment case studySony pictures entertainment case study
Sony pictures entertainment case study
 
Generating a time shrunk lecture video by event
Generating a time shrunk lecture video by eventGenerating a time shrunk lecture video by event
Generating a time shrunk lecture video by event
 
(2) logic design lec foe-rd
(2) logic design lec   foe-rd(2) logic design lec   foe-rd
(2) logic design lec foe-rd
 
Computer Engineer Master Project
Computer Engineer Master ProjectComputer Engineer Master Project
Computer Engineer Master Project
 
Paper
PaperPaper
Paper
 
Sparse representation based human action recognition using an action region-a...
Sparse representation based human action recognition using an action region-a...Sparse representation based human action recognition using an action region-a...
Sparse representation based human action recognition using an action region-a...
 
Programming The Real World
Programming The Real WorldProgramming The Real World
Programming The Real World
 
Open CV - 電腦怎麼看世界
Open CV - 電腦怎麼看世界Open CV - 電腦怎麼看世界
Open CV - 電腦怎麼看世界
 

More from fungfung Chen

Smart TV content converged service & social media
Smart TV content converged service & social mediaSmart TV content converged service & social media
Smart TV content converged service & social mediafungfung Chen
 
Tips for fulfilling patent application
Tips for fulfilling patent applicationTips for fulfilling patent application
Tips for fulfilling patent applicationfungfung Chen
 
Defending your Rights
Defending your RightsDefending your Rights
Defending your Rightsfungfung Chen
 
Polishing search skills
Polishing search skillsPolishing search skills
Polishing search skillsfungfung Chen
 
Inquiry Based Approach - Patent Search
Inquiry Based Approach - Patent SearchInquiry Based Approach - Patent Search
Inquiry Based Approach - Patent Searchfungfung Chen
 
Overseas protection & patent search
Overseas protection & patent searchOverseas protection & patent search
Overseas protection & patent searchfungfung Chen
 
Patentability classification search
Patentability classification searchPatentability classification search
Patentability classification searchfungfung Chen
 
Novelty to Nonobviousness
Novelty to NonobviousnessNovelty to Nonobviousness
Novelty to Nonobviousnessfungfung Chen
 
Patentability requirement on novelty
Patentability requirement on noveltyPatentability requirement on novelty
Patentability requirement on noveltyfungfung Chen
 
2012 Smart TV - Evolution & Approaches
2012 Smart TV - Evolution & Approaches2012 Smart TV - Evolution & Approaches
2012 Smart TV - Evolution & Approachesfungfung Chen
 
Patentability Requirements
Patentability RequirementsPatentability Requirements
Patentability Requirementsfungfung Chen
 
Working model to patentability
Working model to patentabilityWorking model to patentability
Working model to patentabilityfungfung Chen
 
Evaluate your invention
Evaluate your inventionEvaluate your invention
Evaluate your inventionfungfung Chen
 
how to invention & practice it
how to invention & practice ithow to invention & practice it
how to invention & practice itfungfung Chen
 
Digital converge - DTV service design
Digital converge - DTV service designDigital converge - DTV service design
Digital converge - DTV service designfungfung Chen
 
Hybrid digital broadcasting methods
Hybrid digital broadcasting methodsHybrid digital broadcasting methods
Hybrid digital broadcasting methodsfungfung Chen
 
Summary the challenges of Social TV
Summary the challenges of  Social TVSummary the challenges of  Social TV
Summary the challenges of Social TVfungfung Chen
 
CG OpenGL Shadows + Light + Texture -course 10
CG OpenGL Shadows + Light + Texture -course 10CG OpenGL Shadows + Light + Texture -course 10
CG OpenGL Shadows + Light + Texture -course 10fungfung Chen
 
CG OpenGL surface detection+illumination+rendering models-course 9
CG OpenGL surface detection+illumination+rendering models-course 9CG OpenGL surface detection+illumination+rendering models-course 9
CG OpenGL surface detection+illumination+rendering models-course 9fungfung Chen
 

More from fungfung Chen (20)

Tech biz patent
Tech biz patent Tech biz patent
Tech biz patent
 
Smart TV content converged service & social media
Smart TV content converged service & social mediaSmart TV content converged service & social media
Smart TV content converged service & social media
 
Tips for fulfilling patent application
Tips for fulfilling patent applicationTips for fulfilling patent application
Tips for fulfilling patent application
 
Defending your Rights
Defending your RightsDefending your Rights
Defending your Rights
 
Polishing search skills
Polishing search skillsPolishing search skills
Polishing search skills
 
Inquiry Based Approach - Patent Search
Inquiry Based Approach - Patent SearchInquiry Based Approach - Patent Search
Inquiry Based Approach - Patent Search
 
Overseas protection & patent search
Overseas protection & patent searchOverseas protection & patent search
Overseas protection & patent search
 
Patentability classification search
Patentability classification searchPatentability classification search
Patentability classification search
 
Novelty to Nonobviousness
Novelty to NonobviousnessNovelty to Nonobviousness
Novelty to Nonobviousness
 
Patentability requirement on novelty
Patentability requirement on noveltyPatentability requirement on novelty
Patentability requirement on novelty
 
2012 Smart TV - Evolution & Approaches
2012 Smart TV - Evolution & Approaches2012 Smart TV - Evolution & Approaches
2012 Smart TV - Evolution & Approaches
 
Patentability Requirements
Patentability RequirementsPatentability Requirements
Patentability Requirements
 
Working model to patentability
Working model to patentabilityWorking model to patentability
Working model to patentability
 
Evaluate your invention
Evaluate your inventionEvaluate your invention
Evaluate your invention
 
how to invention & practice it
how to invention & practice ithow to invention & practice it
how to invention & practice it
 
Digital converge - DTV service design
Digital converge - DTV service designDigital converge - DTV service design
Digital converge - DTV service design
 
Hybrid digital broadcasting methods
Hybrid digital broadcasting methodsHybrid digital broadcasting methods
Hybrid digital broadcasting methods
 
Summary the challenges of Social TV
Summary the challenges of  Social TVSummary the challenges of  Social TV
Summary the challenges of Social TV
 
CG OpenGL Shadows + Light + Texture -course 10
CG OpenGL Shadows + Light + Texture -course 10CG OpenGL Shadows + Light + Texture -course 10
CG OpenGL Shadows + Light + Texture -course 10
 
CG OpenGL surface detection+illumination+rendering models-course 9
CG OpenGL surface detection+illumination+rendering models-course 9CG OpenGL surface detection+illumination+rendering models-course 9
CG OpenGL surface detection+illumination+rendering models-course 9
 

Recently uploaded

Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girlsssuser7cb4ff
 
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree ttt fff
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Servicejennyeacort
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVAAnastasiya Kudinova
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`dajasot375
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case StudySophia Viganò
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一Fi L
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一Fi sss
 
How to Empower the future of UX Design with Gen AI
How to Empower the future of UX Design with Gen AIHow to Empower the future of UX Design with Gen AI
How to Empower the future of UX Design with Gen AIyuj
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfSumit Lathwal
 
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10uasjlagroup
 
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degreeyuu sss
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书zdzoqco
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)jennyeacort
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024CristobalHeraud
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一z xss
 
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 

Recently uploaded (20)

Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girls
 
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts ServiceCall Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
Call Girls in Ashok Nagar Delhi ✡️9711147426✡️ Escorts Service
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case Study
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
 
Call Girls in Pratap Nagar, 9953056974 Escort Service
Call Girls in Pratap Nagar,  9953056974 Escort ServiceCall Girls in Pratap Nagar,  9953056974 Escort Service
Call Girls in Pratap Nagar, 9953056974 Escort Service
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
 
How to Empower the future of UX Design with Gen AI
How to Empower the future of UX Design with Gen AIHow to Empower the future of UX Design with Gen AI
How to Empower the future of UX Design with Gen AI
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdf
 
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
CREATING A POSITIVE SCHOOL CULTURE CHAPTER 10
 
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
 
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
 

Polar Coordinates & Color Display

  • 1. Some polar curves Input devices Display Color information Chen Jing-Fung (2006/11/22) Assistant Research Fellow, Digital Media Center, National Taiwan Normal University Video Processing Lab 臺灣師範大學數位媒體中心視訊處理研究室 National Taiwan Normal University
  • 2. Polar coordinates in xy plane r y axis  y P : ( x, y ) s r  x axis x • Angle θ =s/r (radians/radius) • Polar coordinate-> Cartesian coordinate x=r cosθ, y=r sinθ • Inverse transformation 1 y r  x  y ,   tan ( ) 2 2 x Video Processing Lab 2 臺灣師範大學數位媒體中心視訊處理研究室
  • 3. Cardioid polar plot • The curve given by the polar equation The envelope of these circles is then a cardioid (Pedoe The name cardioid was first 1995). used by de Castillon in Philosophical Transactions of the Royal Society in 1741. Its arc length was found by la Hire in 1708. Video Processing Lab 3 http://mathworld.wolfram.com 臺灣師範大學數位媒體中心視訊處理研究室
  • 4. The graph of the polar equation (1) • Plot the polar equation – The incredibly beautiful curve that results was discovered by Temple H. Fay. His article "The Butterfly Curve“ (American Mathematical Monthly, May 1989, p.442) is well worth a trip to the library. r  ecos( )  2cos(4 )  sin5 (1/12) Video Processing Lab 4 臺灣師範大學數位媒體中心視訊處理研究室
  • 5. The graph of the polar equation (2) • Six leaves: – r=1+cos(t)/2 – ө=t/6-sin(2t) X=r*cos(ө) Y=r*sin(ө) range: t = 0 ~ 12pi Video Processing Lab 5 臺灣師範大學數位媒體中心視訊處理研究室
  • 6. How to draw polar-coordinate picture Sector size Video Processing Lab 6 臺灣師範大學數位媒體中心視訊處理研究室
  • 7. Input devices trigger Video Processing Lab 臺灣師範大學數位媒體中心視訊處理研究室 National Taiwan Normal University Ch3: Interactive Computer Graphics: A Top-Down Approach using OpenGL, 3/e
  • 8. Measure and Trigger • Input devices provide input to an application program can be described: – Measure process: • The device returns to user program – Trigger process: • User can signal the computer – Ex: Keyboard • Measure: key a string • Trigger: “enter” key Video Processing Lab 8 臺灣師範大學數位媒體中心視訊處理研究室
  • 9. Describe modes • Three distinct modes are defined by the relationship between the measure process and the trigger. – Request mode, sample-mode and event mode – Example: • The position of a mouse: – tracked continuously by the underlying window system – Whether the application program needs or not mouse input. Video Processing Lab 9 臺灣師範大學數位媒體中心視訊處理研究室
  • 10. Request mode • The measure of the device is not returned to the program until the device is triggered. – The input mode is standard, such as: C , C++, ….program • Input the “scanf”: – the program halts before we type characters at our terminal. – Each data is placed in keyboard buffer • “enter” key (the trigger) is depressed Request Trigger Measure process Program Trigger process Measure Video Processing Lab 10 臺灣師範大學數位媒體中心視訊處理研究室
  • 11. Sample mode • Input is immediate. (simple type of request mode) – As soon as the function call in the user program is encountered, the measure is returned. • Left Click is depressed Sample Measure Program process Measure Video Processing Lab 11 臺灣師範大學數位媒體中心視訊處理研究室
  • 12. Event mode (1) • Handle other interactions: – How event mode can be described as another mode within our measure-trigger. (How) – Basic of client and servers where event mode is the preferred interaction mode. (where) – Event-mode interface to OpenGL using GULT Video Processing Lab 12 臺灣師範大學數位媒體中心視訊處理研究室
  • 13. Event mode (2) • Event is generated: – Each time that a device is triggered • Device measure: – The identifier for the device is placed in an event queue. Await Trigger Measure Event Program process Trigger process queue Measure Event Video Processing Lab 13 臺灣師範大學數位媒體中心視訊處理研究室
  • 14. OpenGL Input device function • Input device: – Mouse & keyboard • To extract the current raster position • window management function – glutMouseFunc(myMouse); and glutKeyboardFunc(key); User define – OpenGL mouse event (GLUT_LEFT_BUTTON, GLUT_MIDDLE_BUTTON, GLUT_RIGHT_BUTTON …) OpenGL keyboard event (each key on keyboard can be used) Location of mouse: left-down Video Processing Lab 14 臺灣師範大學數位媒體中心視訊處理研究室
  • 15. Display Color information Video Processing Lab 臺灣師範大學數位媒體中心視訊處理研究室 National Taiwan Normal University Ch4: Computer Graphics with OpenGL 3th, Hearn Baker
  • 16. Graphics system • Attribute parameter – Determine the fundamental characteristics • Color and size – Specify how the primitive is to be displayed under special conditions • Visibility or detectability within an interactive object- selection program – The current frame-buffer position • state variables glBegin …. glEnd • state parameters – from one coordinate position to another Video Processing Lab 16 臺灣師範大學數位媒體中心視訊處理研究室
  • 17. Color • Color information: – RGB: Resolution=1024x1024, Full color=24- bit/pixel, Frame buffer=3 megabytes Magenta Blue Red Cyan Yellow Green – Gray scale: Ex: object‟s shade Video Processing Lab 17 臺灣師範大學數位媒體中心視訊處理研究室
  • 18. Color table Color lookup table monitor 0 y 196 196 0x0821(2081) x 255 To Red Gun To Green Gun To Blue Gun Each 8-bit segment of this entry controls the 00000000 00001000 00100001 intensity level of one of the three electron guns in an RGB monitor Video Processing Lab 18 臺灣師範大學數位媒體中心視訊處理研究室
  • 19. Pixel-array primitives • Graphics packages often supply routines to display shapes – Defined with a rectangular array of color values – Display: digitizing (scanning). – Each color value in the array is mapped to one or more screen pixel positions. • Typically referred to as a pixmap. • Pixel array: color and size Video Processing Lab 19 臺灣師範大學數位媒體中心視訊處理研究室
  • 20. y OpenGL bitmap ymax function (same color) ymin x xmin xmax • The pixel-array is simply a bitmap, which is also called a mask. • OpenGL binary array pattern: glBitmap – width and height: the number of columns and rows in the array bitShape – x0 and y0: the start position of the array bitShape, (x0,y0): opposite current raster position – xOffset and yOffset: use as coordinate offsets to update the frame-buffer current raster position. (next raster position) How to set bitShape ? Video Processing Lab 20 臺灣師範大學數位媒體中心視訊處理研究室
  • 21. Arrow pointing upwards Start row Range is similar the mask Video Processing Lab 21 臺灣師範大學數位媒體中心視訊處理研究室
  • 22. OpenGL character function (1) • Using shape define any character as a bitmap. • Text string is displayed by mapping a selected sequence of bitmaps – From the font list into adjacent positions in the frame buffer • Some predefined character sets are available in the OpenGL Utility Toolkit (GLUT) – Bitmapped GLUT fonts are rendered: glBitmap – Outline fonts are generated with polyline (GL_LINE_STRIP) boundaries Video Processing Lab 22 臺灣師範大學數位媒體中心視訊處理研究室
  • 23. OpenGL character function (2) • Display a bitmap GLUT character – font : a symbolic GLUT constant identifying a particular set of type faces • Fixed-width fonts: – GLUT_BITMAP_8_BY_13 or GLUT_BITMAP_9_BY_15 – Times-Roman font(10-point and 12-point font) » Ex: GLUT_BITMAP_TIMES_ROMAN_10… – Helvetica font(10, 12, 18-point font) » Ex: GLUT_BITMAP_HELVETICA_10… – character • ASCII code – Capital letter : „A‟=ASCII code=65, „B‟=ASCII code=66… – Small letter: ‟a‟=ASCII code=97, ‟b‟=ASCII code=98… • the specific character Video Processing Lab 23 臺灣師範大學數位媒體中心視訊處理研究室
  • 24. Display architecture Display-processor architecture Simple graphics architecture server Display server processor Host Host (DPU) Display file Immediate mode (display list) Ex : progressive Retained mode Ex : interlace Video Processing Lab 24 臺灣師範大學數位媒體中心視訊處理研究室
  • 25. OpenGL Color Functions • Color display mode: RGB • Select the current color components 3 or 4, RGB or RGBA (1.0,1.0,1.0,1.0) range: 0~1 – Using an array specification for three color components Point‟s dimension Data type – Color-index mode references values in a color table Nonnegative integer value & stored in the frame-buffer positions, EX: Video Processing Lab 25 臺灣師範大學數位媒體中心視訊處理研究室
  • 26. Color Arrays Progress nColorComponents:3 or 4 datatype: GL_INT or GL_FLOAT offset: 0: separate color array else (combine color data with vertex data): the number of bytes between each set of color components in colorArray Video Processing Lab 26 臺灣師範大學數位媒體中心視訊處理研究室
  • 27. Interlace scan • Interlace is a technique of improving the picture quality of a video transmission without consuming any extra bandwidth. – It was invented by RCA engineer Randall C. Ballard in the late 1920s. Odd field Even field Video Processing Lab 27 http://en.wikipedia.org/ 臺灣師範大學數位媒體中心視訊處理研究室
  • 28. Color Arrays Interlace Video Processing Lab 28 臺灣師範大學數位媒體中心視訊處理研究室
  • 29. OpenGL point functions • Point-attribute: – The point is displayed as a square block of pixels. – size = round ( the assigned + floating- point value) • Ex: a point size = 4.0 displays a 4 X 4 pixel array • Default value: point size = 1.0 Video Processing Lab 29 臺灣師範大學數位媒體中心視訊處理研究室
  • 30. OpenGL line functions • Line-width function: floating-point • Line style function: – pattern: 16-bit integer that describes how the line should be displayed. • “1”-bit in the pattern denotes an “on” pixel position • “0”-bit : “off” pixel position – Ex: 0xFFFF-> (default), 0x1C47->dash-dot line, 0x00FF->dashed line… – repeatFactor: how many times each bit in the pattern is to be repeated before the next bit in the pattern. • Default repeat value = 1 Video Processing Lab 30 臺灣師範大學數位媒體中心視訊處理研究室
  • 31. How to use Line style function Default: 1 0xFFFF-> default, 0x1C47->dash-dot line, 0x00FF->dashed line Video Processing Lab 31 臺灣師範大學數位媒體中心視訊處理研究室
  • 32. General scan-line polygon-fill algorithm • A scan-line fill of a region – Intersection positions of the boundaries – Fill colors are within the interior of the fill region – Display format • Simple case • Pattern case Video Processing Lab 32 臺灣師範大學數位媒體中心視訊處理研究室
  • 33. Draw boundaries • Find start vertex-intersection – Count the shorten polygon edges • Decide the polygon boundary – Clockwise or counterclockwise • Check the next point – Monotonically increasing or decreasing – *The edge currently being processed is indicated as a solid line (delete some points) counterclockwise Next edge Current edge point is -1 point is -1 clockwise Video Processing Lab 33 臺灣師範大學數位媒體中心視訊處理研究室
  • 34. Edge table • To efficiently perform a polygon fill 1. Stored each edge point or 2. Sorted on the smallest y value Video Processing Lab 34 臺灣師範大學數位媒體中心視訊處理研究室
  • 35. Boundary & Flood -fill algorithm • Choose routine method – 4-connected area – 8-connected area – Mask texture or • Select start point boundary area Interior area Video Processing Lab 35 臺灣師範大學數位媒體中心視訊處理研究室
  • 36. OpenGL fill-pattern function • Define pattern style … – The pattern start at the lower-left window corner • Fill pattern function • Enable the fill routines … turns off pattern filling Video Processing Lab 36 臺灣師範大學數位媒體中心視訊處理研究室
  • 37. OpenGL Pixmap function – width and height: the number of columns and rows in the array (pixmap) – dataFormat: the values are assigned from OpenGL in the array (pixMap) • GL_BLUE: a single bule color for all pixels • GL_BGR: three color components (blue, green and red) – dataType: to designate the data type for the color values in the array (pixmap) • GL_BYTE, GL_INT, GL_FLOAT… How to set pixMap ? Video Processing Lab 37 臺灣師範大學數位媒體中心視訊處理研究室
  • 38. pixMap: BMP file format • Header: two bytes long and are reserved for future extensions to the format definition Video Processing Lab 38 http://web.uccs.edu/wbahn/ECE1021/STATIC/REFERENCES/bmpfileformat.htm 臺灣師範大學數位媒體中心視訊處理研究室
  • 39. BMP header information • BMP Image Header Contents for Windows Format Video Processing Lab 39 臺灣師範大學數位媒體中心視訊處理研究室
  • 40. BMP color table • Optional color table – 24-bit image: no Color Table present. – 8-bit Windows BMP: (Gray) • the Color Table consists of 256 entries with each entry consisting of four bytes of data. • The first three byte are the blue, green, and red color values respectively. • The fourth byte is unused and must be equal to zero. Video Processing Lab 40 http://web.uccs.edu/wbahn/ECE1021/STATIC/REFERENCES/bmpfileformat.htm 臺灣師範大學數位媒體中心視訊處理研究室
  • 41. BMP pixel data • 8-bit format: – A pixels use a character into the Color Table. • 24-bit format: – each pixel is represented by three pixMap consecutive bytes of data • blue, green, and red component values. Video Processing Lab 41 臺灣師範大學數位媒體中心視訊處理研究室
  • 42. Where to read or display image data? • Put read image function to init() • Process image data – Mouse function: Idle->… – Before display • Display image in display function – Display() Video Processing Lab 42 臺灣師範大學數位媒體中心視訊處理研究室
  • 43. Color blending • Color-blending function (image-compositing function) : – provide method for producing various color- mixing effects • Combine the colors of overlapping objects • Blend an object with the background – How to do in OpenGL? (combine destination color & source color) • Destination color: first load one object into the frame buffer • Source color: the color of the second object start end Video Processing Lab 43 臺灣師範大學數位媒體中心視訊處理研究室
  • 44. Color-blended fill regions Combine result: Linear soft-fill function: C = tF + (1-t)B Pattern P: object‟s current pixel Background position (PR, PG, PB) B: background (BR, BG, BB) C: pattern pixel + background pixel (CR, CG, CB) t: linear combine parameter=(Pk-Bk)/(Fk-Bk) Video Processing Lab 44 臺灣師範大學數位媒體中心視訊處理研究室
  • 45. Color blending function • Color blending can use in a number of different ways – Different color effects by specifying two sets of blending factors • One set: destination object • The other set: blending factors is for the incoming “source” object. – RGBA source color components (Rs, Gs, Bs, As) – Destination components (Rd, Gd, Bd, Ad) – Source blending factors (Sr, Sg, Sb, Sa) – Destination blending factors (Dr, Dg, Db, Da) – All range 0.0~1.0 Video Processing Lab 45 臺灣師範大學數位媒體中心視訊處理研究室
  • 46. OpenGL color blending function • sFactor & dFactor : the source and destination factors – OpenGL predefined set of four blending coefficients • GL_ZERO: blending factor (0.0, 0.0, 0.0, 0.0) & GL_ONE: blending factor (1.0, 1.0, 1.0, 1.0) • The default value: – sFactor is GL_ONE and dFacter is GL_ZERO Video Processing Lab 46 臺灣師範大學數位媒體中心視訊處理研究室
  • 47. Aliasing picture • Aliasing – the distortion of information due to low- frequency sampling • Sampling – Basic condition: • Nyquist sampling frequency • Nyquist sampling interval High frequency Low frequency 47 Video Processing Lab 臺灣師範大學數位媒體中心視訊處理研究室
  • 48. Antialiasing method • Computing overlap areas is referred to as area sampling (or prefiltering) • Pixel overlap areas – determining where object boundaries – intersect individual pixel boundaries. Supersampling subpixel • Pixel positions along a straight- positions in relation -the interior of a line line segment -the finite width. – Moved closer to the defined line pixelcolor = path (4blue + 5white) – And smooth out the raster stair- 9 step effect. Video Processing Lab 48 臺灣師範大學數位媒體中心視訊處理研究室
  • 49. Subpixel Weighting Masks • Supersampling algorithms are often implemented by giving – more weight to subpixels near the center of a pixel area – more important in determining the overall intensity of a pixel The volume of each filter is normalized to 1.0 Video Processing Lab 49 臺灣師範大學數位媒體中心視訊處理研究室
  • 50. Antialiasing & aliasing pictures • The antialiasing effects of pixel phasing on a variety of line paths. Video Processing Lab 50 臺灣師範大學數位媒體中心視訊處理研究室
  • 51. Homework 1 – use function glBitmap draw • Raster start point, Ex: (30, 40) – Repeat time = 5 • Times-Roman fonts (first character 12-point, others 10- point): “Hello~ I like OpenGL!!” • Practice: Helvetica font(10, 12, 18-point) • Reward: design your name (fill-pattern function) Video Processing Lab 51 臺灣師範大學數位媒體中心視訊處理研究室
  • 52. Homework 2 • Load a picture and show this picture – Such as: lena.bmp or other bmp (24-bits or 32-bit…) • Use operator (&, or, xor, replace) to separate color (red, green, blue, magenta, yellow, cyan) • Combine another picture – Ex: parameter: linear or… Video Processing Lab 52 臺灣師範大學數位媒體中心視訊處理研究室
  • 53. Lena story November 1972 May 1997 Lenna attended the 50th Anniversary The Society for Imaging Science and Technology • Another interesting piece of trivia is that Lenna's issue (November 1972) was Playboy's best selling issue ever and sold 7,161,561 copies. Video Processing Lab 53 http://www.cs.cmu.edu/~chuck/lennapg/ 臺灣師範大學數位媒體中心視訊處理研究室
  • 54. reference • http://elearning.emath.pu.edu.tw/mk uo2003/ • http://www.cs.utexas.edu/users/fuss ell/courses/cs324e/ Video Processing Lab 54 臺灣師範大學數位媒體中心視訊處理研究室