...Graphics Coordinate System • Java Applets • Drawing a Line • Changing the Color • Designing Your Own Colors • Drawing other shapes: rectangles, ovals, arcs, and polygons 1 Terminology: pixel • A pixel is the smallest visual element on a computer screen. Essentially, it’s a dot. • The image shown here is the letter S drawn in an area of 20 X 20 square pixels • The more pixels in an image, the smoother the image will appear. Terminology: resolution • Resolution: the number of pixels that can be displayed on a computer monitor. • When the resolution of a monitor is increased, pixels are smaller and closer together, so images appear smaller. • Typical computer monitor and HD television screen resolutions these days are • 720p: means 1366 pixels across by 768 pixels down • 900p: means 1600 pixels across by 900 pixels down • 1080p: means 1920 pixels across by 1080 pixels down All of the above are used in HDTVs and newer LCD displays (computer screens). 2 Resolution: Example of 900p 1600 pixels 900 pixels This screen has a total of 1,440,000 pixels Cartesian Coordinates • In math class, you learned about the Cartesian coordinate system. – Uses X (horizontal) and Y (vertical) axes – (0, 0) is at the center (also called the origin) – An increase in X means moving to the right – An increase in Y means moving up. – The Cartesian coordinate system has both positive and negative coordinates Y x (0,0) 3 The Java Coordinate System •...
Words: 1930 - Pages: 8
...b. A pixel position(x=3,y=5) c. Start of an image d. A point in first coordinate (x=3, y=5) 3. In terms of images, f[3,5] represents a. An image (width=3, height=5) b. A pixel position(x=3,y=5) c. A point in first coordinate (x=3, y=5) 4. If R=255, B=0, G=0, what will be the color of pixel a. Blue b. White c. Grey d. Red 5. Fitting 200 by 200 image and 50 by 50 image in same canvas requires a. Same scaling b. Same monitor c. Same screen resolution 6. Each pixel have three element vector, it means a. RGB b. Venn Diagrams c. Print Colors 7. A pixel is a. Atom of an image b. Smallest component of an image c. A memory location d. All of above 8. SetPixel is a member function of a. Image class b. System.Drawing package c. Color class d. None of the above 9. In our practice, GetPixel took a. Two arguments b. Three arguments c. No arguments 10. RGB corresponds to how many bits a. 32 b. 256 c. 24 11. Inkjet Printer uses following colors a. RGB b. Magenta c. Cyan d. Black 12. If image is only a red color, what will be color value for greyscale RGB? a. (255,255,255) b. (170, 70, 170) c. (85,85,85) Part 2: Short Question Suppose there are only two lines in an image. How you will know they are not intersecting each other? Think in terms of pixels and...
Words: 297 - Pages: 2
...A CAPTCHA Implementation Based on 3D Animation Abstract—In order to distinguish between human users and computer programs, CAPTCHA (Completely Automated Public Turing test to tell Computers and Human Apart) mechanism is widely applied in websites such as accounts application website. While the major implementation of CAPTCHA method—2D still image verification code based on OCR technology is threatened by developing artificial intelligence and image recognition technologies. In this paper, we propose a new approach to implement CAPTCHA mechanism based on 3D Animation, utilizing the weakness of computer vision, which make it robust to computer attacks and convenient for users to recognize, and implemented this method to generate a 3D animation verification code. Keywords-CAPTCHA;VerificationCode;Moving Three-dimensional Animation I. Figure 1. objects; INTRODUCTION Internet is crucial to each respect of life all over the globe nowadays, through which we could retrieve and exchange information freely and efficiently. Given the fundamental relation between internet and people’ s life, vast malicious computer programs attack websites for profits, such as auto application for some mails’ accounts to send junk e-mails, etc. CAPTCHA (Completely Automated Public Turing test to tell Computers and Human Apart) system emerges to solve this problem by identifying end-users of internet whether a real person or an automated computer program[1][2][3]...
Words: 3406 - Pages: 14
...COMP 274 Week 5 Homework Questions Answer the following questions: 1. Describe the graphical coordinate system in Java. Where is the origin? What units apply to the x,y coordinates? The horizontal axis is the x coordinate and the vertical axis is the y coordinate. The origin is the upper left corner of the display area. Moving to the right increases the x value, moving down increases the y value. The units are pixels. 2. How would you use the Graphics class to draw a line between 2 specific points? Give an example. public void paint(Graphics g) { Graphics2D g2 = (Graphics2D) g; Line2D lin = new Line2D.Float(5, 30, 380, 30); g2.draw(lin); } 3. How do you specify a particular color to be used as fill when using the Graphics class? g2.setPaint(Color.BLACK); 4. How would you create a SanSerif font of point size 14 that is bold and italic? Give an example. JButton b = new JButton("OK"); b.setFont(new Font("sansserif", Font.BOLD, 32)); 5. Given a graphics object g, write a few lines of code to have that graphics object draw a green circle (filled in) that has a diameter of 100 pixels. import java.awt.*; import java.applet.*; public class FirstApplet extends Applet { public void paint (Graphics g) { g.drawRect(40,20,200,100); g.drawOval(40,20,200,100); } 6. Given a graphics object g, write a few lines of code to draw a red rectangle...
Words: 625 - Pages: 3
...Let the coordinates of point A be (x1 y1), the coordinates of B be (x2 y2), and the coordinates for C, which is a right angle, be (x2 y1) It is understood from the image that triangle ABC is a right angle triangle. AB is, in fact, the hyptenouse, and AC & BC are the corresponding sides. The length of the long leg, side AC, is equal to the difference in the x-coordinates of points C and A. Points C and B have the same x-coordinate, so the length of side AC is also equal to the difference in the x-coordinates of points B and A. So, AC = x2 − x1 The length of the short leg, side BC, is equal to the difference in the y-coordinates of points B and C. Points A and C have the same y-coordinate, so the length of side BC is also equal to the difference in the y-coordinates of points B and A. So, BC = y2 − y1 Thus, from pythagorous theorum... a2 + b2 = c2 We substitute... AB2 = AC2 + BC2 We substitute again... d2= (x2-x1)2 + (y2-y1)2 Now, we will take the square root of either side and arrive at the distance forumla... d = √(x2-x1)2 + (y2-y1)2 B. Let the coordinates of point A be (x1 y1 z1), of B be (x2 y2 z1), C be (x3 y3 z1), D be (x2 y2 z2) This derivation is two step process. First, we will find AB and, using it, we will find AD It is understood from the image that triangle ABC is a right angle triangle. AB is, in fact, the hyptenouse, and AC & BC are the corresponding sides Let's suppose that AC is actually along the x-axis while BC is along the y-axis Now triangle...
Words: 602 - Pages: 3
...Final Project Report Interactive TTC Bus Routing Using Google Maps Prepared by:Feroz Alam Abstract TTC does not provide any interactive tools that can help us to get the required bus route from any subway stations. This fact brings to us a new idea to develop a tool that can be measured as the initial thrust for solving this limitation. This project report describes step-by-step how we implemented our idea using Google Maps Javascript APIs. Introduction Our goal was to introduce a tool with TTC map for the TTC commuters that includes developing the techniques needed to provide the interactive way of finding out available bus routes from any subway stations or intersections given on the TTC map. We wanted to make TTC map more useful and effective so that anybody can interactively find their required bus routes using online TTC map. Motivation of the Work There is no interactive way to find out bus routes from any subway stations or intersections using TTC map available in their web site. TTC web site only provides list of buses if you click on their ‘Bus Route’ option. And if you click on any bus it will show you the layout of route map. But it does not show you the real map. For long time we were experiencing the problem to find out available bus routes from any TTC subway stations using their web site and this problem ultimately bring us with this idea. Related Works Recently Toronto TTC introduced a new tool 'Trip Planner'...
Words: 2755 - Pages: 12
...• Color perception and specification Video capture and display Analog raster video Analog TV systems Digital video © Yao Wang, 2004 Video Basics Color Perception and Specification • • • • • Light -> color perception Human perception of color Type of light sources Trichromatic color mixing theory Specification of color – Tristimulus representation – Luminance/Chrominance representation • Color coordinate conversion © Yao Wang, 2004 Video Basics 3 Light is part of the EM wave from [Gonzalez02] © Yao Wang, 2004 Video Basics 4 Illuminating and Reflecting Light • Illuminating sources: – emit light (e.g. the sun, light bulb, TV monitors) – perceived color depends on the emitted freq. – follows additive rule • R+G+B=White • Reflecting sources: – reflect an incoming light (e.g. the color dye, matte surface, cloth) – perceived color depends on reflected freq (=emitted freqabsorbed freq.) – follows subtractive rule • R+G+B=Black © Yao Wang, 2004 Video Basics 5 Eye Anatomy From http://www.stlukeseye.com/Anatomy.asp © Yao Wang, 2004 Video Basics 6 Eye vs. Camera Camera components Eye components Lens Lens, cornea Shutter Iris, pupil Film Retina Cable to transfer images Optic nerve send the info to the brain © Yao Wang, 2004 Video Basics 7 Human Perception of Color • Retina contains photo receptors – Cones: day vision, can perceive color tone ...
Words: 4501 - Pages: 19
...Final Project Report Interactive TTC Bus Routing Using Google Maps Prepared by:Feroz Alam Abstract TTC does not provide any interactive tools that can help us to get the required bus route from any subway stations. This fact brings to us a new idea to develop a tool that can be measured as the initial thrust for solving this limitation. This project report describes step-by-step how we implemented our idea using Google Maps Javascript APIs. Introduction Our goal was to introduce a tool with TTC map for the TTC commuters that includes developing the techniques needed to provide the interactive way of finding out available bus routes from any subway stations or intersections given on the TTC map. We wanted to make TTC map more useful and effective so that anybody can interactively find their required bus routes using online TTC map. Motivation of the Work There is no interactive way to find out bus routes from any subway stations or intersections using TTC map available in their web site. TTC web site only provides list of buses if you click on their ‘Bus Route’ option. And if you click on any bus it will show you the layout of route map. But it does not show you the real map. For long time we were experiencing the problem to find out available bus routes from any TTC subway stations using their web site and this problem ultimately bring us with this idea. Related Works Recently Toronto TTC introduced a new tool 'Trip Planner'...
Words: 2755 - Pages: 12
...Color affects people emotionally and physically, so it is an important aspect to designing beautiful landscaping that everyone will enjoy. If it is used correctly, it creates drama and interest by drawing the eye towards the most attractive areas and further away from the less perfect spots. It also changes the mood that a person feels as they spend time in the garden. And as all gardeners know, the fastest way to add color is with the proper placement of flowers and foliage. The following are several tricks to use when considering how to use color the most effectively in the garden. Don't Forget the Seasons Gardens look the best when they are tailored to the seasons. In the spring, there should be more soft pastels. Brighter colors are best saved for the summer. And fall plants should have an array of...
Words: 475 - Pages: 2
...in the frame buffer. This digitization process is called scan conversion. 2. Write the properties of video display devices? Properties of video display devices are persistence, resolution, and aspect ratio. 3. What is rasterization? The process of determining the appropriate pixels for representing picture or graphics object is known as rasterization. 4. Define Computer graphics. Computer graphics remains one of the most existing and rapidly growing computer fields. Computer graphics may be defined as a pictorial representation or graphical representation of objects in a computer. 5. Name any four input devices. Four input devices are keyboard, mouse, image scanners, and trackball. 6. Write the two techniques for producing color displays with a CRT? Beam penetration method, shadow mask method 7. What is vertical retrace of the electron beam? In raster scan display, at the end of one frame, the electron beam returns to the left top corner of the screen to start the next frame, is called vertical retrace of the electron beam. 8. Short notes on video controller? Video controller is used to control the operation of the display device. A fixed area of the system is reserved for the frame buffer, and the video controller is given direct access to the frame buffer memory. 9. What is bitmap? Some system has only one bit per pixel; the frame buffer is often referred to as bitmap. 10.Differentiate plasma panel display and thin film electro luminescent display...
Words: 8037 - Pages: 33
...MapX Developer’s Guide MapInfo Corporation Troy, NY 2 MapX Developer’s Guide Information in this document is subject to change without notice and does not represent a commitment on the part of the vendor or its representatives. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying without the written permission of MapInfo Corporation, One Global View, Troy, New York 12180–8399. ©1992–1999 MapInfo Corporation. ALL RIGHTS RESERVED. MapInfo Help ©1992–1999 MapInfo Corporation. ALL RIGHTS RESERVED. MapInfo, MapInfo Professional, MapBasic, MapXtreme and the MapInfo Logo are registered trademarks of MapInfo Corporation. Contact MapInfo Corporation on the Internet at: http://www.mapinfo.com MapInfo Corporate Headquarters: Voice: (518) 285–6000 Fax: (518) 285–6060 Sales Info Hotline: (800) 327–8627 Federal Sales: (800) 619–2333 Technical Support Hotline: (518) 285–7283 Technical Support Fax: (518) 285–6080 MapInfo Europe Headquarters: England voice: +44 (0)1753 848 229 fax: +44 (0)1753 621 140 Germany voice: +49 6196 6700 0 fax: +49 6196 6700 11 For international customers, please use the Technical Support Fax number. WARNING: This software uses patented LZW technology for .GIF image compression and/or decompression. (Unisys United States patent No. 4,558,302 and corresponding patents in Canada, France, Germany, Italy, Japan and the United Kingdom). GIF images compressed...
Words: 73952 - Pages: 296
...E-COMMERCE – IT430 VU Lesson 01 Course outline E-COMMERCE E-Commerce and its types, Internet and WWW Basics, Internet standards and protocols, IP addressing, Data communication on internet, Domain name system Networking devices – Bridges, Switches, Routers etc., Role of ISP’s on Internet, Getting Domain name and IP addresses, Understanding electronic mail Markup languages and the Web, Web designing using HTML, CSS and Java Scripting Client side & server side processing, Cookies, Maintaining state in a stateless environment, two tier/ntier architecture Security issues on the internet, Firewalls, Proxy Server, Virtual Private Network Cryptography and Public key infrastructure (PKI), Certification Authorities and Digital Certificates, Digital signatures Technology Electronic Payment Systems – Virtual Pin payment system, Centralized account system, Electronic Check, E-Cash, SSL and SET based payment systems E-business– advantages/disadvantages, Paper and electronic catalogues Electronic Data Interchange (EDI) E-business models Internet marketing Data mining and knowledge discovery Process, OLAP, Types and business application of data mining E-business strategy, supply chain/value chain analysis and Porter’s model, role of e-commerce in competitive strategy E-banking, ERP Legal/policy issues in e-commerce –salient features of Electronic Transactions Ordinance, 2002 in Pakistan Territorial jurisdiction and conflict of laws, online contracts, online defamation, Copyright in...
Words: 9120 - Pages: 37
...I.R.I.S- Iris Recognition & Information System TUHINA KHARE, MEDI-CAPS INSTITUTE OF TECHNOLOGY & MANAGEMENT, INDORE, INDIA; Email: kharetuhina@gmail.com Abstract. In computer systems, there is an urgent need for accurate authentication techniques to prevent unauthorized access. Only biometrics, the authentication of individuals using biological identifiers, can offer true proof of identity. This paper presents software for recognition and identification of people by using iris patterns. The system has been implemented using MATLAB for its ease in image manipulation and wavelet applications. The system also provides features for calculating the technical details of the iris image (Centre & Radius, Color Recognition). The system is based on an empirical analysis of the iris image and it is split in several steps using local image properties. Graphical user interface (GUI) has been introduced for easier application of the system. The system was tested and segmentation result came out to be 100% correct segmentation. The experimental results showed that the proposed system could be used for personal identification in an efficient and effective manner. Keyword: iris recognition, authentication, biometrics, Haar wavelet, GUI, MATLAB, image processing. 1. INTRODUCTION To control the access to secure areas or materials, a reliable personal identification infrastructure is required. Conventional methods of recognizing the identity of a person by using passwords or cards are not...
Words: 2531 - Pages: 11
...MEDEVAC Authorized Brevity Codes | Line | Item | Explanation | Where/ How Obtained | Who Normally Provides | Reason | 1 | Location of Pickup Site | Encrypt the grid coordinates of the pickup site. When using the DRYAD Numeral Cipher, the same "SET" line will be used to encrypt the grid zone letters and the coordinates. To preclude misunderstanding, a statement is made that grid zone letters are included in the message (unless unit SOP specifies its use at all times). | From Map | Unit Leader(s) | Required so evacuation vehicle knows where to pick up patient. Also, so the unit coordinating the evacuation mission can plan the route for the evacuation vehicle (if the evacuation vehicle must pick up from more than one location). | 2 | Radio Frequency, Call Sign, and Suffix | Encrypt the frequency of the radio at the pickup site, not a relay frequency. The call sign (and suffix if used) of person to be contacted at the pickup site may be transmitted in the clear. | From SOI | RTO | Required so evacuation vehicle can contact requesting unit while en route (obtain additional information or change in situation or directions). | 3 | Number of Patients by Precedence | Report only applicable information and encrypt the brevity codes. A - urgent. B - Urgent-Surgical. C - Priority. D - Routine. E - Convenience. If two or more categories must be reported in the same request, insert the word "BREAK" between each category. | From Evaluation of Patient(s) | Medic...
Words: 774 - Pages: 4
...perceive one thing and not another * Human factors psychology * A branch of psychology that explores how people and machines interact and how machines and physical environments can be made safe and easy to use. * If all aspects of visual perception were entirely inborn, people who were born blind but regained sight after surgery should have normal visual perception. They do not. After cataract surgery, for example, adults who had been blind from birth are able to distinguish figure from ground and to perceive colors, but they lack the experience to recognize shapes, forms, and complete faces. Further evidence comes from animals reared with severely restricted visual input, who suffered enduring visual handicaps when their visual exposure was returned to normal. Clinical and experimental evidence indicates that there is a critical period for some aspects of sensory and perceptual development. Without the stimulation provided by early visual experiences, the brains neural organization does not develop normally. * When people are given glasses that shift the world slightly to the left or right, or even turn it upside down, they are initially disoriented, but they manage to adapt to their new context and, with practice, to move about with ease. This research demonstrates are ability to adjust to an artificially altered visual field and coordinate our movements in response to that new world. * In perceiving a given stimulus that we could interpret by means...
Words: 343 - Pages: 2