The pictorial representation and manipulation of data by a compute. The creation, display, and storage of pictures, with a computer
|
|
- Meredith Poole
- 6 years ago
- Views:
Transcription
1 Nihar Ranjan Roy
2 The pictorial representation and manipulation of data by a compute The creation, display, and storage of pictures, with a computer Computer graphics is a sub-field of computer science which studies methods for digitally synthesizing and manipulating visual content. Although the term often refers to the study of three-dimensional computer graphics, it also encompasses two-dimensional graphics and image processing Nihar Ranjan Roy 2
3 80x25 Cursor appears n(by default) 640x480 Cursor Disappears (by default) Precise access to screen locations Nihar Ranjan Roy 3
4 How to change the mode? first call the initgraph() function. void initgraph ( int *graphdriver, int *graphmode,char *pathtodriver); initgraph loads the graphics driver and puts the system into graphics mode. You can tell initgraph to use a particular graphics driver and mode, or to autodetect the attached video adapter at run time and pick the corresponding driver. Nihar Ranjan Roy 4
5 Simple graphics program? #include<graphics.h> //contains graphics //functions void main() { int gd=detect,gm; //graphics driver & mode initgraph(&gd,&gm,"c:\\tc\\bgi"); //initialise circle(320,240,100); //draw circle(c x,c y,radius) getch(); } Nihar Ranjan Roy 5
6 Graphics Driver? *graphdriver is an integer that specifies the graphics driver to be used. You can give it a value using a constant of the graphics_drivers enumeration type, which is defined in graphics.h and listed below. graphics_drivers constant Numeric value graphics_driver s constant Numeric value DETECT CGA 1 MCGA 2 EGA 3 EGA (requests autodetect) EGAMONO 5 IBM HERCMONO 7 ATT400 8 VGA 9 PC Nihar Ranjan Roy 6
7 Graphics Mode *graphmode is an integer that specifies the initial graphics mode Driver graphics_mode Value x Rows Palette Pages CGA CGAC x 200 C0 1 CGAC x 200 C1 1 CGAC x 200 C2 1 CGAC x 200 C3 1 CGAHI x color 1 Nihar Ranjan Roy 7
8 CGA color palettes Palette listings C0, C1, C2, and C3 refer to the four predefined fourcolor palettes available on CGA (and compatible) systems. You can select the background color (entry #0) in each of these palettes, but the other colors are fixed. Palette Number Three Colors 0 LIGHTGREEN LIGHTRED YELLOW 1 LIGHTCYAN LIGHTMAGENTA WHITE 2 GREEN RED BROWN 3 CYAN MAGENTA LIGHTGRAY Nihar Ranjan Roy 8
9 Driver graphics_mode Value x Rows Palette Pages MCGA MCGAC x 200 C0 1 MCGAC x 200 C1 1 MCGAC x 200 C2 1 MCGAC x 200 C3 1 MCGAMED x color 1 MCGAHI x color 1 EGA EGALO x color 4 EGAHI x color 2 EGA64 EGA64LO x color 1 EGA64HI x color 1 EGA-MONO EGAMONOHI x color 1 w/64k EGAMONOHI x color 2 w/256k HERC HERCMONOHI x color 2 Nihar Ranjan Roy 9
10 Driver graphics_mode Value x Rows Palette Pages ATT400 ATT400C x 200 C0 1 ATT400C x 200 C1 1 ATT400C x 200 C2 1 ATT400C x 200 C3 1 ATT400MED x color 1 ATT400HI x color 1 VGA VGALO x color 2 VGAMED x color 2 VGAHI x color 1 PC3270 PC3270HI x color 1 IBM8514 IBM8514HI x color? IBM8514LO x color? Nihar Ranjan Roy 10
11 Return Value Of Initialization Process initgraph always sets the internal error code; on success, it sets the code to 0. If an error occurred, *graphdriver is set to -2, -3, -4, or -5, and graphresult returns the same value as listed below: Constant Name Number Meaning grnotdetected -2 Cannot detect a graphics card grfilenotfound -3 Cannot find driver file grinvaliddriver -4 Invalid driver grnoloadmem -5 Insufficient memory to load driver Nihar Ranjan Roy 11
12 Colors in VGA Here are 16 colors declared in graphics.h as listed bellow. BLACK 0 BLUE: 1 GREEN 2 CYAN: 3 RED 4 MAGENTA: 5 BROWN: 6 LIGHTGRAY 7 DARKGRAY: 8 LIGHTBLUE: 9 LIGHTGREEN: 10 LIGHTCYAN: 11 LIGHTRED: 12 LIGHTMAGENTA 13 YELLOW: 14 WHITE: 15 Nihar Ranjan Roy 12
13 initgraph(&gdriver, &gmode, ""); /* read result of initialization */ errorcode = graphresult(); if (errorcode!= grok) /* an error occurred */ { printf("graphics error: %s\n", grapherrormsg(errorcode)); printf("press any key to halt:"); getch(); exit(1); /* return with error code */ } Nihar Ranjan Roy 13
14 Fill Colors void far setcolor(int color); //setcolor sets the current drawing color to color, which can range from 0 to getmaxcolor. void far setbkcolor(int color); //setbkcolor sets the background to the color specified by color. void far setfillstyle(int pattern, int color); //setfillstyle sets the current fill pattern and fill color. Nihar Ranjan Roy 14
15 The parameter pattern in setfillstyle is as follows: Names Value Means Fill With... EMPTY_FILL 0 Background color SOLID_FILL 1 Solid fill LINE_FILL LTSLASH_FILL 3 /// SLASH_FILL 4 ///, thick lines BKSLASH_FILL 5 \\\, thick lines LTBKSLASH_FILL 6 \\\ HATCH_FILL 7 Light hatch XHATCH_FILL 8 Heavy crosshatch INTERLEAVE_FILL 9 Interleaving lines WIDE_DOT_FILL 10 Widely spaced dots CLOSE_DOT_FILL 11 Closely spaced dots USER_FILL 12 User-defined fill pattern Nihar Ranjan Roy 15
16 Few more Functions int poly[12]={350,450, 350,410, 430,400, 350, 350, 300,430, 350,450 }; circle(100,100,50); outtextxy(75,170, "Circle"); rectangle(200,50,350,150); outtextxy(240, 170, "Rectangle"); ellipse(500, 100,0,360, 100,50); outtextxy(480, 170, "Ellipse"); line(100,250,540,250); outtextxy(300,260,"line"); sector(150, 400, 30, 300, 100,50); outtextxy(120, 460, "Sector"); drawpoly(6, poly); outtextxy(340, 460, "Polygon"); Nihar Ranjan Roy 16
17 Nihar Ranjan Roy 17
18 Pixel void far putpixel(int x,int u,int color); //set the color of the pixel at location (x,y) with the specified color Unsigned far getpixel(int x, int y); //Retreive the color value fo the pixel at location (x,y) Nihar Ranjan Roy 18
19 LINES line(x1,y1,x2,y2); //draw a line from (x1,y1) and (x2,y2) lineto(x2,y2); //draw a line from current position to (X2,y2) linerel(x1,y1,x2,y2); //draw a line from current position to a relative distance of (X2,y2) Nihar Ranjan Roy 19
20 Current Position (CP) void far moveto(x1,y1) //Move the cursor to the new position (x1,y1) void far moverel(dx,dy) //Move the cursor to the new position whose relative distance from current position is (dx,dy) Nihar Ranjan Roy 20
21 Mouse Handling in C The various mouse functions can be accessed by setting up the AX register with different values (service number) and issuing interrupt number 51. The functions are listed bellow Interrupt Service Purpose Reset mouse and get status Call with AX = 0 Returns: AX = FFFFh If mouse support is available Ax = 0 If mouse support is not available Show mouse pointer Call with AX = 1 Returns: Nothing Hide mouse pointer Call with AX = 2 Returns: Nothing Nihar Ranjan Roy 21
22 Get mouse position and button status Call with AX = 3 Returns: BX = mouse button status Bit Significance 0 button not pressed 1 left button is pressed 2 right button is pressed 3 center button is pressed CX = x coordinate DX = y coordinate Set mouse pointer position Call with AX = 4 CX = x coordinate DX = y coordinate Returns: Nothing Set horizontal limits for pointer Call with AX = 7 CX = minimum x coordinate DX = maximum x coordinate Returns: Nothing Set vertical limits for pointer Call with AX = 8 CX = minimum y coordinate DX = maximum y coordinate Nihar Returns: Ranjan Roy Nothing 22
23 Problem Write a program in which the mouse cursor is visible and its limit is set to (x1,y1) to (x2,y2). Nihar Ranjan Roy 23
24 int callmouse() { in.x.ax=1; //show mouse int86(51,&in,&out); return 1; } #include<graphics.h> #include<stdio.h> #include<conio.h> #include<dos.h> union REGS in, out; void restrictmouseptr(int x1,int y1,int x2,int y2) { in.x.ax=7; //set horizontal limit for mouse in.x.cx=x1; //Min X in.x.dx=x2; //Max X int86(51,&in,&out); in.x.ax=8; //set Vertical limit for the mouse in.x.cx=y1; //min Y in.x.dx=y2; //max Y int86(51,&in,&out); } Nihar Ranjan Roy 24
25 void main() { } int x,y,cl,a,b; int g=detect,m; clrscr(); initgraph(&g,&m,"c:\\tc\\bgi"); rectangle(100,100,550,400); callmouse(); restrictmouseptr(100,100,550,400); getch(); Nihar Ranjan Roy 25
26 Few more functions for mouse handling int callmouse() int mousehide() { { in.x.ax=1; in.x.ax=2; int86(51,&in,&out); int86(51,&in,&out); return 1; return 1; } } void mouseposi(int &xpos,int &ypos,int &click) { } in.x.ax=3; int86(51,&in,&out); click=out.x.bx; xpos=out.x.cx; ypos=out.x.dx; void setposi(int &xpos,int &ypos) { in.x.ax=4; in.x.cx=xpos; in.x.dx=ypos; int86(51,&in,&out); } Nihar Ranjan Roy 26
People with understanding want more knowledge. VB Controls
29 People with understanding want more knowledge. VB Controls Using graphics with BGI, we can create VB like controls: Forms, textboxes, command buttons etc. In this chapter let us see how to create few
More informationPROJECT IMPLEMENTATION. 1 Migrating BGI programs to OpenCV
Migrating BGI programs to OpenCV Submitted by : ERENY FAHIM Supervised by : DR. ANDRE L. C. BARCZAK Paper 159.333 PROJECT IMPLEMENTATION : 1 Migrating BGI programs to OpenCV ACKNOWLEDGMENTS I would like
More informationIntroduction to Design Patterns
Introduction to Design Patterns First, what s a design pattern? a general reusable solution to a commonly occurring problem within a given context in software design It s not a finished design that can
More informationMain Page Namespaces Data Structures Files
CONIO 2.1 Main Page Namespaces Data Structures Files Namespace List Namespace Members Namespace List Here is a list of all documented namespaces with brief descriptions: conio This namespace contain all
More informationMr. Giansante. C++ Programming. Graphics
C++ Programming Graphics August 2018 Setting Up Graphics With Dev C++ In order to use Graphics with Dev C++, you must follow the instructions in the booklet entitled "Setting Up Graphics With Dev C++".
More informationHonors Computer Science C++ Mr. Clausen Program 6A, 6B, 6C, & 6G
Honors Computer Science C++ Mr. Clausen Program 6A, 6B, 6C, & 6G Special Note: Every program from Chapter 4 to the end of the year needs to have functions! Program 6A: Celsius To Fahrenheit Or Visa Versa
More informationGarfield AP CS. Graphics
Garfield AP CS Graphics Assignment 3 Working in pairs Conditions: I set pairs, you have to show me a design before you code You have until tomorrow morning to tell me if you want to work alone Cumulative
More informationBuilding Java Programs
Building Java Programs Graphics reading: Supplement 3G videos: Ch. 3G #1-2 Objects (briefly) object: An entity that contains data and behavior. data: variables inside the object behavior: methods inside
More informationGraphics Overview ECE2893. Lecture 19. ECE2893 Graphics Overview Spring / 15
Graphics Overview ECE2893 Lecture 19 ECE2893 Graphics Overview Spring 2011 1 / 15 Graphical Displays 1 Virtually all modern computers use a full color Graphical Display device. 2 It displays images, text,
More informationBuilding Java Programs
Building Java Programs Supplement 3G: Graphics 1 drawing 2D graphics Chapter outline DrawingPanel and Graphics objects drawing and filling shapes coordinate system colors drawing with loops drawing with
More informationBuilding Java Programs
Building Java Programs Graphics reading: Supplement 3G videos: Ch. 3G #1-2 Objects (briefly) object: An entity that contains data and behavior. data: Variables inside the object. behavior: Methods inside
More informationIntroduction to Computer Graphics (CS602) Lecture No 04 Point
Introduction to Computer Graphics (CS602) Lecture No 04 Point 4.1 Pixel The smallest dot illuminated that can be seen on screen. 4.2 Picture Composition of pixels makes picture that forms on whole screen
More informationSnake Ladder Game. ifstream infile("c:\tc\bin\rattle.txt"); infile.getline(hs,4); infile.close(); hscore = atoi(hs);
Snake Ladder Game #include #include #include #include #include #include #include #include void main(void) int gdriver=detect,
More informationSubject: PROBLEM SOLVING THROUGH C Time: 3 Hours Max. Marks: 100
Code: DC-05 Subject: PROBLEM SOLVING THROUGH C Time: 3 Hours Max. Marks: 100 NOTE: There are 11 Questions in all. Question 1 is compulsory and carries 16 marks. Answer to Q. 1. must be written in the space
More informationCISC 1600 Lecture 3.1 Introduction to Processing
CISC 1600 Lecture 3.1 Introduction to Processing Topics: Example sketches Drawing functions in Processing Colors in Processing General Processing syntax Processing is for sketching Designed to allow artists
More informationWindowing And Clipping (14 Marks)
Window: 1. A world-coordinate area selected for display is called a window. 2. It consists of a visual area containing some of the graphical user interface of the program it belongs to and is framed by
More informationLab-Report Digital Signal Processing. FIR-Filters. Model of a fixed and floating point convolver
Lab-Report Digital Signal Processing FIR-Filters Model of a fixed and floating point convolver Name: Dirk Becker Course: BEng 2 Group: A Student No.: 9801351 Date: 30/10/1998 1. Contents 1. CONTENTS...
More information12/22/11. } Rolling a Six-Sided Die. } Fig 6.7: Rolling a Six-Sided Die 6,000,000 Times
} Rolling a Six-Sided Die face = 1 + randomnumbers.nextint( 6 ); The argument 6 called the scaling factor represents the number of unique values that nextint should produce (0 5) This is called scaling
More informationLAB MANUAL OF COMPUTER GRAPHICS BY: Mrs. Manisha Saini
LAB MANUAL OF COMPUTER GRAPHICS BY: Mrs. Manisha Saini INTRODUCTION TO COMPUTER GRAPHICS Computer Graphics is the pictorial representation of information using a computer program. In Computer Graphics,
More informationL E S S O N 2 Background
Flight, Naperville Central High School, Naperville, Ill. No hard hat needed in the InDesign work area Once you learn the concepts of good page design, and you learn how to use InDesign, you are limited
More informationTopic 8 graphics. -mgrimes, Graphics problem report 134
Topic 8 graphics "What makes the situation worse is that the highest level CS course I've ever taken is cs4, and quotes from the graphics group startup readme like 'these paths are abstracted as being
More informationUsing Graphics. Building Java Programs Supplement 3G
Using Graphics Building Java Programs Supplement 3G Introduction So far, you have learned how to: output to the console break classes/programs into static methods store and use data with variables write
More informationWarping & Blending AP
Warping & Blending AP Operation about AP This AP provides three major functions including Warp, Edge Blending and Black Level. If the AP is already installed, please remove previous version before installing
More informationBGI Graphics Engine Tutorial
BGI Graphics Engine Tutorial Tutor: Anton Gerdelan Computer game program layout Computer games (and other graphical programs) have a recognisable program structure: #include library files Global variables
More informationPaint Tutorial (Project #14a)
Paint Tutorial (Project #14a) In order to learn all there is to know about this drawing program, go through the Microsoft Tutorial (below). (Do not save this to your folder.) Practice using the different
More informationBuilding Java Programs
Building Java Programs Graphics Reading: Supplement 3G Objects (briefly) object: An entity that contains data and behavior. data: variables inside the object behavior: methods inside the object You interact
More informationCHAOS Chaos Chaos Iterate
CHAOS Chaos is a program that explores data analysis. A sequence of points is created which can be analyzed via one of the following five modes: 1. Time Series Mode, which plots a time series graph, that
More informationFebruary 1. Lab Manual INSTITUTE OF INFORMATION TECHNOLOGY & MANAGEMENT GWALIOR COMPUTER GRAPHICS & MUTIMEDIA
Lab Manual February 1 2014 COMPUTER GRAPHICS & MUTIMEDIA INSTITUTE OF INFORMATION TECHNOLOGY & MANAGEMENT GWALIOR SOFTWARE REQUIREMENT : 1. Turbo C++ IDE (TurboC3) 2. Borland Turbo C++ (Version 4.5) LIST
More information5. Introduction to Procedures
5. Introduction to Procedures Topics: The module SimpleGraphics Creating and Showing figures Drawing Rectangles, Disks, and Stars Optional arguments Application Scripts Procedures We continue our introduction
More informationMaking the Gradient. Create a Linear Gradient Swatch. Follow these instructions to complete the Making the Gradient assignment:
Making the Gradient Follow these instructions to complete the Making the Gradient assignment: Create a Linear Gradient Swatch 1) Save the Making the Gradient file (found on Mrs. Burnett s website) to your
More information1. DDA Algorithm(Digital Differential Analyzer)
Basic concepts in line drawing: We say these computers have vector graphics capability (the line is a vector). The process is turning on pixels for a line segment is called vector generation and algorithm
More informationOverview of Transformations (18 marks) In many applications, changes in orientations, size, and shape are accomplished with
Two Dimensional Transformations In many applications, changes in orientations, size, and shape are accomplished with geometric transformations that alter the coordinate descriptions of objects. Basic geometric
More information2 SELECTING AND ALIGNING
2 SELECTING AND ALIGNING Lesson overview In this lesson, you ll learn how to do the following: Differentiate between the various selection tools and employ different selection techniques. Recognize Smart
More informationCorel Draw 11. What is Vector Graphics?
Corel Draw 11 Corel Draw is a vector based drawing that program that makes it easy to create professional artwork from logos to intricate technical illustrations. Corel Draw 11's enhanced text handling
More informationCOMPUTER GRAPHICS AND MULTIMEDIA
LAB MANUAL COMPUTER GRAPHICS AND MULTIMEDIA ETCS 257 Maharaja Agrasen Institute of Technology, PSP area, Sector 22, Rohini, New Delhi 110085 (Affiliated to Guru Gobind Singh Indraprastha, New Delhi) 1
More informationELEC VIDEO BIOS ROUTINES
It is less confusing to the user if we remove unnecessary messages from the display before giving information or instructions. At the command prompt, we do this with the DOS command CLS. However, this
More informationPhone: Fax: Web: -
Table of Contents How to Use GTWIN 1. Functions of Parts...1-1 1.1 Screen Names of GTWIN... 1-2 1.2 Menu Bar... 1-3 1.3 Toolbar... 1-4 1.4 Screen Manager... 1-6 1.5 Parts Library... 1-7 1.6 Graphicbar...
More informationChapter 3. Texture mapping. Learning Goals: Assignment Lab 3: Implement a single program, which fulfills the requirements:
Chapter 3 Texture mapping Learning Goals: 1. To understand texture mapping mechanisms in VRT 2. To import external textures and to create new textures 3. To manipulate and interact with textures 4. To
More informationTrident Z Royal. Royal Lighting Control Software Guide
Trident Z Royal Royal Lighting Control Software Guide Introduction 1 2 3 About This Guide This guide will help you understand and navigate the Royal Lighting Control software, which is designed to control
More informationCS Problem Solving and Object-Oriented Programming
CS 101 - Problem Solving and Object-Oriented Programming Lab 5 - Draw a Penguin Due: October 28/29 Pre-lab Preparation Before coming to lab, you are expected to have: Read Bruce chapters 1-3 Introduction
More informationChapter 6 Formatting Graphic Objects
Impress Guide Chapter 6 OpenOffice.org Copyright This document is Copyright 2007 by its contributors as listed in the section titled Authors. You can distribute it and/or modify it under the terms of either
More informationOperating Systems. Objective
Operating Systems Project #1: Introduction & Booting Project #1: Introduction & Booting Objective Background Tools Getting Started Booting bochs The Bootloader Assembling the Bootloader Disk Images A Hello
More informationSPACE - A Manifold Exploration Program
1. Overview SPACE - A Manifold Exploration Program 1. Overview This appendix describes the manifold exploration program SPACE that is a companion to this book. Just like the GM program, the SPACE program
More informationOutput Primitives Lecture: 3. Lecture 3. Output Primitives. Assuming we have a raster display, a picture is completely specified by:
Lecture 3 Output Primitives Assuming we have a raster display, a picture is completely specified by: - A set of intensities for the pixel positions in the display. - A set of complex objects, such as trees
More information//2D TRANSFORMATION TRANSLATION, ROTATING AND SCALING. #include<stdio.h> #include<conio.h> #include<graphics.h> #include<math.h> #include<stdlib.
//2D TRANSFORMATION TRANSLATION, ROTATING AND SCALING #include #include #include #include #include void main() int gd=detect,gm,i,x[10],y[10],a,b,c,d,n,tx,ty,sx,sy,ch;
More informationMET71 COMPUTER AIDED DESIGN
UNIT - II BRESENHAM S ALGORITHM BRESENHAM S LINE ALGORITHM Bresenham s algorithm enables the selection of optimum raster locations to represent a straight line. In this algorithm either pixels along X
More informationData Structures Unit 02
Data Structures Unit 02 Bucharest University of Economic Studies Memory classes, Bit structures and operators, User data types Memory classes Define specific types of variables in order to differentiate
More informationCS 100: Programming Assignment P1
CS 100: Programming Assignment P1 Due: Thursday, February 4. (Either in lecture or in Carpenter by 4pm.) You may work in pairs. Uphold academic integrity. Follow the course rules for the submission of
More informationCISC 1115 (Science Section) Brooklyn College Professor Langsam. Assignment #5
CISC 1115 (Science Section) Brooklyn College Professor Langsam Assignment #5 An image is made up of individual points, known as pixels. Thus if we have an image with a resolution of 100 x 100, each pixel
More informationM4.1-R3: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE
M4.1-R3: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be
More informationUser s Manual DX1000/DX1000N/DX2000 Custom Display
User s Manual DX1000/DX1000N/DX2000 Custom Display 3rd Edition Thank you for purchasing DX1000/DX1000N/DX2000 (Hereafter, called DX ). This manual explains the custom display function of DX. Read this
More information'&1<%" 4 2&0 %#!"= & #>&4#'&4%1? 4&>"' > B2'%&-&4"B%'&7#% 4&84#097#%%
-!"#$%&' (: 7.010103 ". #' 0#'12#. %3&40#'12#"; 7.010103 ". "612#. %3&40#'12#"; 7.010103 ". #' 0#'12# '# &%&71 "%3&40#'121"; 7.010103 ". "612# '# &%&71 "%3&40#'121"; 7.010103 ". %8"($2# 0&7# '# "' 4#'94#.!"#"6#!":
More informationDEC HEX ACTION EXTRA DESCRIPTION
PHRAGSOFT 128 X 64 PIXEL LCD DISPLAY DRIVER The display driver uses the equivalent of standard BBC Microcomputer VDU codes, however, because the display is monochrome, with a fixed resolution, there are
More informationCustomisation and production of Badges. Getting started with I-Color System Basic Light
Customisation and production of Badges Getting started with I-Color System Basic Light Table of contents 1 Creating a Badge Model 1.1 Configuration of Badge Format 1.2 Designing your Badge Model 1.2.1
More informationLibraries and Procedures
Computer Organization and Assembly Language Computer Engineering Department Chapter 5 Libraries and Procedures Presentation Outline Link Library Overview The Book's Link Library Runtime Stack and Stack
More informationTopic 8 Graphics. Margaret Hamilton
Topic 8 Graphics When the computer crashed during the execution of your program, there was no hiding. Lights would be flashing, bells would be ringing and everyone would come running to find out whose
More informationInsight: Measurement Tool. User Guide
OMERO Beta v2.2: Measurement Tool User Guide - 1 - October 2007 Insight: Measurement Tool User Guide Open Microscopy Environment: http://www.openmicroscopy.org OMERO Beta v2.2: Measurement Tool User Guide
More informationmith College Computer Science CSC103 How Computers Work Week 6 Fall 2017 Dominique Thiébaut
mith College Computer Science CSC103 How Computers Work Week 6 Fall 2017 Dominique Thiébaut dthiebaut@smith.edu Ben Fry on Processing... http://www.youtube.com/watch?&v=z-g-cwdnudu An Example Mouse 2D
More informationLearning Microsoft Word By Greg Bowden. Chapter 10. Drawing Tools. Guided Computer Tutorials
Learning Microsoft Word 2007 By Greg Bowden Chapter 10 Drawing Tools Guided Computer Tutorials www.gct.com.au PUBLISHED BY GUIDED COMPUTER TUTORIALS PO Box 311 Belmont, Victoria, 3216, Australia www.gct.com.au
More informationEXAMINATIONS 2016 TRIMESTER 2
EXAMINATIONS 2016 TRIMESTER 2 CGRA 151 INTRODUCTION TO COMPUTER GRAPHICS Time Allowed: TWO HOURS CLOSED BOOK Permitted materials: Silent non-programmable calculators or silent programmable calculators
More informationSolution Notes. COMP 151: Terms Test
Family Name:.............................. Other Names:............................. ID Number:............................... Signature.................................. Solution Notes COMP 151: Terms
More informationUsing Inspiration 7 I. How Inspiration Looks SYMBOL PALETTE
Using Inspiration 7 Inspiration is a graphic organizer application for grades 6 through adult providing visual thinking tools used to brainstorm, plan, organize, outline, diagram, and write. I. How Inspiration
More informationENVI Classic Tutorial: Introduction to ENVI Classic 2
ENVI Classic Tutorial: Introduction to ENVI Classic Introduction to ENVI Classic 2 Files Used in This Tutorial 2 Getting Started with ENVI Classic 3 Loading a Gray Scale Image 3 ENVI Classic File Formats
More informationRecipes4Success. Draw and Animate a Rocket Ship. Frames 5 - Drawing Tools
Recipes4Success You can use the drawing tools and path animation tools in Frames to create illustrated cartoons. In this Recipe, you will draw and animate a rocket ship. 2012. All Rights Reserved. This
More informationINT 21H and INT 10H Programming and Macros
Dec Hex Bin 4 4 00000100 ORG ; FOUR INT 21H and INT 10H Programming and Macros OBJECTIVES this chapter enables the student to: Use INT 10H function calls to: Clear the screen. Set the cursor position.
More informationComputer Graphics Fundamentals. Jon Macey
Computer Graphics Fundamentals Jon Macey jmacey@bournemouth.ac.uk http://nccastaff.bournemouth.ac.uk/jmacey/ 1 1 What is CG Fundamentals Looking at how Images (and Animations) are actually produced in
More information521493S Computer Graphics Exercise 1 (Chapters 1-3)
521493S Computer Graphics Exercise 1 (Chapters 1-3) 1. Consider the clipping of a line segment defined by the latter s two endpoints (x 1, y 1 ) and (x 2, y 2 ) in two dimensions against a rectangular
More informationENVI Tutorial: Introduction to ENVI
ENVI Tutorial: Introduction to ENVI Table of Contents OVERVIEW OF THIS TUTORIAL...1 GETTING STARTED WITH ENVI...1 Starting ENVI...1 Starting ENVI on Windows Machines...1 Starting ENVI in UNIX...1 Starting
More informationCSCE 110 Dr. Amr Goneid Exercise Sheet (6): Exercises on Structs and Dynamic Lists
CSCE 110 Dr. Amr Goneid Exercise Sheet (6): Exercises on Structs and Dynamic Lists Exercises on Structs (Solutions) (a) Define a struct data type location with integer members row, column Define another
More informationMicroVGA conio/text user interface library and demo Manual. WWW: Copyright 2009 SECONS s.r.o.,
MicroVGA conio/text user interface library and demo Manual WWW: http://www.microvga.com/ Copyright 2009 SECONS s.r.o., http://www.secons.com/ Table of contents MicroVGA conio/text user interface library
More informationTower Drawing. Learning how to combine shapes and lines
Tower Drawing Learning how to combine shapes and lines 1) Go to Layout > Page Background. In the Options menu choose Solid and Ghost Green for a background color. This changes your workspace background
More informationChapter 2 Surfer Tutorial
Chapter 2 Surfer Tutorial Overview This tutorial introduces you to some of Surfer s features and shows you the steps to take to produce maps. In addition, the tutorial will help previous Surfer users learn
More informationChapter 1 Introducing Draw
Draw Guide Chapter 1 Introducing Draw Drawing Vector Graphics in LibreOffice Copyright This document is Copyright 2013 by its contributors as listed below. You may distribute it and/or modify it under
More informationSome of the Choices. If you want to work on your own PC with a C++ compiler, rather than being logged in remotely to the PSU systems
Graphics and C++ This term you can create programs on UNIX or you can create programs using any C++ compiler (on your own computer). There is open source software available for free, so you don t have
More informationAdobe PageMaker Tutorial
Tutorial Introduction This tutorial is designed to give you a basic understanding of Adobe PageMaker. The handout is designed for first-time users and will cover a few important basics. PageMaker is a
More informationDisplay. Introduction page 67 2D Images page 68. All Orientations page 69 Single Image page 70 3D Images page 71
Display Introduction page 67 2D Images page 68 All Orientations page 69 Single Image page 70 3D Images page 71 Intersecting Sections page 71 Cube Sections page 72 Render page 73 1. Tissue Maps page 77
More information1. Create a map of the layer and attribute that needs to be queried
Single Layer Query 1. Create a map of the layer and attribute that needs to be queried 2. Choose the desired Select Type. This can be changed from the Map menu at the far top or from the Select Type Icon
More informationThis course is meant as an introduction to computer. graphics, which covers a large body of work.
1 Course Outline This course is meant as an introduction to computer graphics, which covers a large body of work. The intention is to give a solid grounding in basic 2D computer graphics and introduce
More informationCustom Shapes As Text Frames In Photoshop
Custom Shapes As Text Frames In Photoshop I used a background for this activity. Save it and open in Photoshop: Select Photoshop's Custom Shape Tool from the Tools panel. In the custom shapes options panel
More informationDDA ALGORITHM. To write a C program to draw a line using DDA Algorithm.
DDA ALGORITHM EX NO: 1 Aim : To write a C program to draw a line using DDA Algorithm. Algorithm: Step 1: Start the program. Step 1: Step 2: Input the line endpoints and store the left endpoint in (x1,
More informationBasic Modeling 1 Tekla Structures 12.0 Basic Training September 19, 2006
Tekla Structures 12.0 Basic Training September 19, 2006 Copyright 2006 Tekla Corporation Contents Contents 3 1 5 1.1 Start Tekla Structures 6 1.2 Create a New Model BasicModel1 7 1.3 Create Grids 10 1.4
More informationGRIPS EDITING. Centrally-located grips tend to move the entity. Peripherally-located grips tend to stretch the entity.
52 GRIPS EDITING Grips editing is the kind of editing you may be familiar with from other drawing programs. It starts when no command is active, and you select one or more entities by picking them with
More informationPaint/Draw Tools. Foreground color. Free-form select. Select. Eraser/Color Eraser. Fill Color. Color Picker. Magnify. Pencil. Brush.
Paint/Draw Tools There are two types of draw programs. Bitmap (Paint) Uses pixels mapped to a grid More suitable for photo-realistic images Not easily scalable loses sharpness if resized File sizes are
More informationLINE,CIRCLE AND ELLIPSE DRAWING USING BRESENHAM S ALGORITHM
Ex.no :1 Date: LINE,CIRCLE AND ELLIPSE DRAWING USING BRESENHAM S ALGORITHM AIM: To write a program to implement Bresenham s algorithms for line, circle and ellipse drawing. ALGORITHM: Step1: Create a function
More informationRaster Scan Displays. Framebuffer (Black and White)
Raster Scan Displays Beam of electrons deflected onto a phosphor coated screen Phosphors emit light when excited by the electrons Phosphor brightness decays -- need to refresh the display Phosphors make
More informationTikZ & PGF(plots) Daniel Knittl-Frank. May This work is licensed under the Creative Commons Attribution-ShareAlike 3.
TikZ & PGF(plots) Daniel Knittl-Frank May 2015 This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Austria license (CC-BY-SA) 2D value plot Bitstamp USD 20,000 Weighted Price High
More informationCSC 110 Final Exam. ID checked
ID checked CSC 110 Final Exam Name: Date: 1. Write a Python program that asks the user for a positive integer n and prints out n evenly spaced values between 0 and 10. The values should be printed with
More informationWord 2007: Flowcharts Learning guide
Word 2007: Flowcharts Learning guide How can I use a flowchart? As you plan a project or consider a new procedure in your department, a good diagram can help you determine whether the project or procedure
More informationLab Programs. /* LAB1_2: To study the various graphics commands in C language */ /* LAB1_1: To study the various graphics commands in C language */
Lab Programs /* LAB1_1: To study the various graphics commands in C language */ /* drawing basic shapes */ #include #include void main() int gd=detect, gm; int poly[12]=350,450, 350,410,
More informationArtemiS SUITE diagram
Intuitive, interactive graphical display of two- or three-dimensional data sets HEARING IS A FASCINATING SENSATION ArtemiS SUITE Motivation The diagram displays your analysis results in the form of graphical
More information4) Verify that the Color Type text box displays Process and that the Color Mode text box displays CMYK.
Oahu Magazine Cover Follow the instructions below to complete this assignment: Create Process Color Swatches 1) Download and open Oahu Magazine Cover from Mrs. Burnett s website. 2) Display the Swatches
More informationQuickTutor. An Introductory SilverScreen Modeling Tutorial. Solid Modeler
QuickTutor An Introductory SilverScreen Modeling Tutorial Solid Modeler TM Copyright Copyright 2005 by Schroff Development Corporation, Shawnee-Mission, Kansas, United States of America. All rights reserved.
More informationVarioAnalyze. User Manual. JENOPTIK Group.
VarioAnalyze User Manual JENOPTIK Group. Dear User Dear User You should carefully read these instructions before you start operating the VarioAnalyze Software. Editorial deadline: October 2005 Document
More informationSchool of Science and Technology
INTRODUCTION Pointers Unit 9 In the previous unit 8 we have studied about C structure and their declarations, definitions, initializations. Also we have taught importance of C structures and their applications.
More informationEducation and Training CUFMEM14A. Exercise 2. Create, Manipulate and Incorporate 2D Graphics
Education and Training CUFMEM14A Exercise 2 Create, Manipulate and Incorporate 2D Graphics Menu Exercise 2 Exercise 2a: Scarecrow Exercise - Painting and Drawing Tools... 3 Exercise 2b: Scarecrow Exercise
More informationProgramming Languages and Techniques (CIS120)
Programming Languages and Techniques () Lecture 13 February 12, 2018 Mutable State & Abstract Stack Machine Chapters 14 &15 Homework 4 Announcements due on February 20. Out this morning Midterm results
More informationUsing Arrays and Vectors to Make Graphs In Mathcad Charles Nippert
Using Arrays and Vectors to Make Graphs In Mathcad Charles Nippert This Quick Tour will lead you through the creation of vectors (one-dimensional arrays) and matrices (two-dimensional arrays). After that,
More informationGraphics and Java 2D Introduction OBJECTIVES. One picture is worth ten thousand words.
1 2 12 Graphics and Java 2D One picture is worth ten thousand words. Chinese proverb Treat nature in terms of the cylinder, the sphere, the cone, all in perspective. Paul Cézanne Colors, like features,
More informationGraflog User s guide
Graflog User s guide Command line & Web-based tool to graph the results obtained with the CD++ toolkit. http://www.sce.carleton.ca/faculty/wainer/wbgraf/index.html Table of contents 1 Introduction... 1
More information2. If a window pops up that asks if you want to customize your color settings, click No.
Practice Activity: Adobe Photoshop 7.0 ATTENTION! Before doing this practice activity you must have all of the following materials saved to your USB: runningshoe.gif basketballshoe.gif soccershoe.gif baseballshoe.gif
More information