Escolar Documentos
Profissional Documentos
Cultura Documentos
ASSIGNMENT
LIGHT MOVING PEN
A pointing device is an input interface (specifically a human interface device) that allows a user
to input spatial (i.e., continuous and multi-dimensional) data to a computer. CAD systems and
graphical user interfaces (GUI) allow the user to control and provide data to the computer using
physical gestures by moving a hand-held mouse or similar device across the surface of the
physical desktop and activating switches on the mouse. Movements of the pointing device are
echoed on the screen by movements of the pointer (or cursor) and other visual changes.
Common gestures are point and click and drag and drop.
While the most common pointing device by far is the mouse, many more devices have been
developed. However, the term "mouse" is commonly used as a metaphor for devices that move
the cursor.
For most pointing devices, Fitts's law can be used to predict the speed with which users can
point at a given target position.
Examples
DISPLAY FILE
A display list (or display file) is a series of graphics commands that define an output image. The
image is created (rendered) by executing the commands to combine various primitives.
The TIFF Extensions are formally known as TIFF 6.0, Part 2: TIFF Extensions. Here are some
examples of TIFF extensions defined in TIFF 6.0 specification:
Compression
CCITT T.4 bi-level encoding
CCITT T.6 bi-level encoding
LZW Compression scheme
JPEG-based compression (TIFF compression scheme 7) uses the DCT (Discrete Cosine
Transform) introduced in 1974 by N. Ahmed, T. Natarajan and K. R. Rao; see Reference 1 in
discrete cosine transform.
Image types include:
CMYK Images
YCbCr Images
Halftone Hints
Tiled Images
CIE L*a*b* Images
Image Trees
A baseline TIFF file can contain a sequence of images (IFD). Typically, all the images are
related but represent different data, such as the pages of a document. In order to explicitly
support multiple views of the same data, the SubIFD tag was introduced. This allows the images
to be defined along a tree structure. Each image can have a sequence of children, each child
being itself an image. The typical usage is to provide thumbnails or several versions of an image
in different color spaces.
Other extensions
According to TIFF 6.0 specification (Introduction), all TIFF files using proposed TIFF extensions
that are not approved by Adobe as part of Baseline TIFF (typically for specialized uses of TIFF
that do not fall within the domain of publishing or general graphics or picture interchange)
should be either not called TIFF files or should be marked some way so that they will not be
confused with mainstream TIFF files.
Private tags
Developers can apply for a block of "private tags" to enable them to include their own
proprietary information inside a TIFF file without causing problems for file interchange. TIFF
readers are required to ignore tags that they do not recognize, and a registered developer's
private tags are guaranteed not to clash with anyone else's tags or with the standard set of tags
defined in the specification. Private tags are numbered in the range 32,768 and higher.
Private tags are reserved for information meaningful only for some organization, or for
experiments with a new compression scheme within TIFF. Upon request, the TIFF administrator
(currently Adobe) will allocate and register one or more private tags for an organization, to avoid
possible conflicts with other organizations. Organizations and developers are discouraged from
choosing their own tag numbers arbitrarily, because doing so could cause serious compatibility
problems. However, if there is little or no chance that TIFF files will escape a private
environment, organizations and developers are encouraged to consider using TIFF tags in the
"reusable" 65,000-65,535 range. There is no need to contact Adobe when using numbers in this
range.
Internet Media Type
The MIME type image/tiff (defined in RFC 3302) without an application parameter is used for
Baseline TIFF 6.0 files or to indicate that it is not necessary to identify a specific subset of TIFF
or TIFF extensions. The optional "application" parameter (Example: Content-type: image/tiff;
application=foo) is defined for image/tiff to identify a particular subset of TIFF and TIFF
extensions for the encoded image data, if it is known. According to RFC 3302, specific TIFF
subsets or TIFF extensions used in the application parameter must be published as an RFC.
MIME type image/tiff-fx (defined in RFC 3949 and RFC 3950) is based on TIFF 6.0 with TIFF
Technical Notes TTN1 (Trees) and TTN2 (Replacement TIFF/JPEG specification). It is used for
Internet fax compatible with the ITU-T Recommendations for Group 3 black-and-white,
grayscale and color fax.
TIFF Compression Tag
The TIFF Tag 259 (010316) stores the information about the Compression method. The default
value is 1 = no compression.
Most TIFF writers and TIFF readers support only some TIFF compression schemes. Here are
some examples of used TIFF compression schemes:
Tagged image file format, abbreviated as TIFF or TIF, is a computer file format for storing raster
graphics images, popular among graphics artists, the publishing industry, and photographers.
The TIFF format is widely supported by image manipulation applications, by publishing and
page layout applications, and by scanning, fixing, word processing, optical character recognition
and other applications.
The format was created by Aldus Corporation for use in desktop publishing.it published the
latest version 6.0 in 1992, subsequently updated with an adobe systems copyright after the
latter acquired Aldus in 1994. Several Aldus/Adobe technical notes have been published with
minor extensions to the format, and several specifications have been based on TIFF6.0,
including TIFF/EP (ISO 12234-2), TIFF/IT (ISO12639), TIFF-F (RFC 2306) AND TIFF- FX (RFC
3949).
THREE MAJOR ORGANIZATION COMPONENT OF PCX FILE
PCX, standing for picture exchange, is an image file format developed by the now-defunct Zsoft
Corporation of Marietta, Georgia, United States. It was the native file format for PC paint brush
and became one of the first widely accepted DOS imaging standards, although it has since
been succeeded by more sophisticated image formats, such as BMP, JPEG, and PNG. PCX
files commonly stored palette- indexed images ranging from 2 to 4 colors to 16 and 256 colors,
although the format has been extended to record true- color (24-bit) images as well.
PCX file format
PCX files were designed for use on IBM compatible PCs and always use little endian byte
ordering. A PCX file has three main sections, in the following order
1. 128-byte header
2. Image data
3. (optional) 256- color palette
The PCX file header contains an identifier byte (valve 10), a version number, image
dimensions, 16 palette colors, number color planes, bit depth of each plane, and a valve for
compression methods pcx version numbers ranges from 0 to 5, this originally denoted the
version of the pc paintbrush program use to create the pcx file. The header always has
space for 16 colors through the number of colors used depends upon the bit depth of the
image. The header is 74 bytes long and the image data begins 128 bytes after the start of
the file, the 54 bytes between are not used. All pcx files use the same compression valve is
always 1. No other valves have been defined and there are no uncompressed PCX files.
One source claims that 0 (uncompressed) is allowed, but not much software supports it.
1. Description
Reading and writing image files is simple with IMAQ Vision. By using built-in IMAQ Vision
functions, you can store and retrieve images in the following formats:
BMP
Bitmap (BMP) is an uncompressed Windows format, supporting 8-bit unsigned integer images
or 32-bit color formats. It stores calibration information about the physical size of the image
along with the pixel data. Bitmaps are handy for editing, screen captures, and so on, since the
format reproduces the image exactly and doesn't require coding and uncoding. The file
extension is .bmp.
JPEG
Joint Photographic Experts Group (JPEG) is a lossy compressed format with a selectable
compression level. It supports the same image types as the bitmap, but stores no calibration
information. The compression algorithm uses the Discrete Cosine Transform (DCT), which
operates on blocks of the image data. At high compression levels, this leads to fairly severe
blocking artifacts in the reconstructed images. JPEG is not recommended if you will need to
make precise measurements on the reconstructed image. The file extension is .jpg.
TIFF
Tagged Image File Format (TIFF) is a versatile, but older format. It allows for both
uncompressed and lossy or lossless compressed storage. It supports the same file types as
JPEG and BMP, and also allows for a signed 16-bit integer format. The format is not standard,
however, and is not recommended since files saved in the format cannot be opened in some
applications. It stores calibration information, and contains several other obscure features. The
file extension is .tif.
PNG
Portable Network Graphics (PNG) is a newer lossless compressed format. It supports a 16-bit
integer storage format, as well as 8-bit integer and color. Calibration information can be saved
along with the image. The user can specify a compression level, but all levels are lossless. The
file extension is .png.
AIPD
AIPD is an uncompressed format used internally by LabVIEW to store images of any type, along
with calibration information and other specifics that define the image characteristics completely.
The file extension is .apd.
AVI
AVI is a file type that stores multiple images in a single file. AVI is provided with NI-IMAQ or
Vision, but if NI-IMAQ is the only software installed, users will only be able to write
uncompressed AVIs. If users have Vision installed, they will be able to read and write
compressed or uncompressed AVIs. The file extension is .apd.
NOTE: 16-bit TIFF images do not have a standard file format. If you save a 16-bit TIFF file using
IMAQ Vision, you may not be able to use that image in other applications.
Use the PNG file format to save overlays, calibration information, user text, and pattern
matching template information for an image. Saving this information eliminates the need to
repeat the learning phase each time you run the application.
NOTE: This image information can only be saved in the PNG file format, and you must call an
API-specific IMAQ Vision function to read images that you save in this manner.
For LabVIEW, call IMAQ Read Image and Vision Info
For CVI/C, call imaqReadVisionFile
For Visual Basic, call CWIMAQVision1.ReadImageAndVisionInfo
Save your images using the appropriate IMAQ Vision function to ensure that the image and its
learned information are saved together.
2. Common Applications
Store images for later viewing or processing. Retrieve same images or others created outside
IMAQ Vision.
3. What To Expect
You will be able to save any image from within your application as one of the standard file
formats listed above. You will also be able to open any images that follow these formats.
BMP
The BMP file format (Windows bitmap) handles graphic files within the Microsoft Windows OS.
Typically, BMP files are uncompressed, and therefore large and lossless; their advantage is their
simple structure and wide acceptance in Windows programs.
The BMP file format, also known as bitmap image file or device independent bitmap (DIB) file
format or simply a bitmap, is a raster graphics image file format used to store bitmap digital
images, independently of the display device (such as a graphics adapter), especially on
Microsoft Windows and OS/2 operating systems.
The BMP file format is capable of storing two-dimensional digital images of arbitrary width,
height, and resolution, both monochrome and color, in various color depths, and optionally with
data compression, alpha channels, and color profiles. The Windows Metafile (WMF)
specification covers the BMP file format. Among others wingdi.h defines BMP constants and
structures.
Device-independent bitmaps and the BMP file format
Structure
Optional Size Purpose Comments
name
To store general
Bitmap
information about Not needed after the file is loaded
file No 14 bytes
the bitmap image in memory
header
file
To store detailed
Fixed-size
information about
DIB (7 different Immediately follows the Bitmap
No the bitmap image
header versions file header
and define the
exist)
pixel format
To define colors
Color Semi- used by the Mandatory for color depths 8
Variable-size
table optional bitmap image bits
data (Pixel array)
ICC color Yes Variable-size To define the color Can also contain a path to an
profile profile for color external file containing the color
profile. When loaded in memory
as "non-packed DIB", it is located
management
between the color table and
Gap1.
DISPLAY ADAPTER
A display adapter is an electronic device that converts information in memory to video output to
a display.
A display adapter is an expansion board that is plugged into one of the slots on the computer
motherboard which converts the images created in the computer to the electronic signals
needed by the monitor to display those images.
A plug-in card in a desktop computer that performs graphics processing. Also commonly called
a "graphics card" or "video card," modern display adapters use the PCI Express interface, while
earlier cards used PCI and AGP. The display adapter determines the maximum resolution,
refresh rate and number of colors that can be displayed, which the monitor must also be able to
support. On many PC motherboards, the graphics circuits are built into the chipset, and a
separate plug-in card is not required.
1 - The Graphics Pipeline
The modern display adapter performs two operations. The first is the graphics rendering, which
moves the graphics data through a pipeline that creates the image frames and adds texture and
shading, all functions previously done by the CPU in the first PCs. A high-end display adapter is
a sophisticated parallel processing computer. See GPU and graphics pipeline.
2 - Analog and Digital Outputs
The second and more elementary purpose is to continuously convert the graphic patterns
(bitmaps) that have been rendered in the memory frame buffers into signals for the monitor's
screen.
VGA
Short for Video Graphics Array, VGA is a popular display standard developed by IBM and
introduced in 1987. VGA provides 640 x 480 resolution color display screens with a refresh rate
of 60Hz and 16 colors displayed at a time. If the resolution is lowered to 320 x 200, 256 colors
are shown. It is an antiquated computer display hardware used functionally in the IBM PS/2,
VGA has become widely identified as an analog computer display standard, the 15 pin D-
subminiature VGA connector, or the 640 x 480 resolution which it displays. This was the last
graphical standard which IBM produced, and to which the majority of PC clone manufacturers
conformed. What this basically means is that VGA is the lowest common denominator that all
PC graphics hardware supports before a driver specific to a particular device is loaded.
VGA referred to an array as opposed to an adapter, as it was implemented as a single chip from
the time of its conception. This replaced the Motorola 6845 and dozens of discrete logic chips
covering the full length of the ISA boards of the MDA, CGA, and EGA. There are several
specifications of the VGA it consists of 256 KB of video RAM, it contains 16 color and 256
color modes, it has a 262,144 value color palette (meaning there are six bits each for red,
green, and blue), it has a maximum of 800 horizontal pixels and 600 lines, it has a refresh rate
of up to 70 Hz, and it also supports split screen features.
VGA pin functions
The illustration shows the 15-Pin VGA connector, its pin assignments, and size dimensions. As
can be seen, the VGA connector has 15 holes and each hole (pin) has its own function as
explained in the below chart, which describes each pin function.
Pin Function
1 Red Video
2 Green Video
3 Blue Video
4 Monitor ID 2
5 TTL Ground (monitor self-test)
6 Red Analog Ground
7 Green Analog Ground
8 Blue Analog Ground
9 Key (Plugged Hole)
10 Sync Ground
11 Monitor ID 0
12 Monitor ID 1
13 Horizontal Sync
14 Vertical Sync
15 Monitor ID 3
VGA symbol
A rectangle with two lines on the left and right side is a symbol used to represent the VGA
connector on many computers and devices.
SVGA
Short for Super Video Graphics Array, SVGA is a set of video standards one step above VGA.
SVGA monitors are capable of displaying up to 16 million colors with a resolution of 800 x 600
on 14 inch monitors and up to a 1200 x 1600 resolution on a 20 inch. The picture shows what
the typical VGA/SVGA connection. Today, SVGA is being phased out by the connection known
as DVI. SVGA is an all-encompassing term defining a variety of computer display standards.
Originally, SVGA was an extension of Video Graphics Array (also known as VGA); however, it
was then defined by the Video Electronics Standards Association (or the VESA), which is an
open consortium set up to promote interoperability and define standards.
SVGA had an initial resolution of 800 x 600 four bit pixels meaning that each pixel could be
any of 16 different colors; however, the resolution was upgraded almost instantaneously to 1024
x 768 eight bit pixels (and so on as the software became more sophisticated). In theory,
however, there is no limit to the number of different colors that are capable of being displayed as
far as the monitor itself is concerned. The output of both the SVGA and VGA card is analog;
however, the internal calculations which the card performs in order to come to the output
voltages are all digital. There is no change necessary to increase the number of colors an SVGA
display system can reproduce; however, the video card must be able handle much larger
numbers, and might need to be redesigned.
WHAT ARE THE DIFFERENT GRAPHIC PRIMITIVES?
There are four basic graphics primitives. They are the simple graphics objects which can be
produced in ROOT. All the graphics produced by ROOT is a combination of them. They are
located in the graf module.