Image types &fileformats

vilasinirvr 137 views 25 slides Aug 14, 2018
Slide 1
Slide 1 of 25
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25

About This Presentation

Overview of the file formats and its example images in Digital image procesing


Slide Content

Image file format
•Each way of storing an image is called
a file format
•Each file format converts the image to a
corresponding string of bits differently in
order to store them on disk or transmit
them over the Internet
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

Images File formats
… - PCX – PBM – TGA – TIFF –
GIF – JPEG – PSD – DXF - CGM
– PNG – SVG – RAW – WPG –
FITS – BMP – PCD – RAS – TGA
– BPS – EPS – PDF – PCT –
WBM – FITS – XBM – VFF – RIB
– PCX – DMP – AVS – IMG – ICO
– JFIF – IFF – WMF - …

Common File Formats
Bitmap Formats
•GIF: graphics
interchange format
•JPEG: joint
photographic experts
group
•PNG: portable network
graphic
•BMP: Windows bitmap
•TIFF: tagged image file
format
Vector Formats
•SVG : scalable vector
graphics
•EPS: encapsulated
postscript
•CMX: Corel meta
exchange
•PICT: Macintosh
Picture
•WMF: Windows
metafile

Image types
•Black and white image
•Binary Image
•Bit map mage
•Gray scale image
•Raster image
•Multispectral Image
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

•A bit map (often spelled "bitmap")
defines a display space and the color
for each pixel or "bit" in the display
space. A Graphics Interchange Format
and a JPEG are examples of
graphic image file types that contain bit
maps.
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
BIT MAP Image

BIT MAP Image
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

Multi spectral image
•A multispectral image is one that
captures image data within specific
wavelength ranges across the
electromagnetic spectrum.
Multispectral imaging measures light
in a small number (typically 3 to 15) of
spectral bands.
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

Multi spectral image
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

Raster image
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
A raster graphics or bitmap image is a dot matrix data structure that represents a
generally rectangular grid of pixels (points of color), viewable via a monitor, paper,
or other display medium. Raster images are stored in image files with varying
formats.

Gray scale image
•Grayscale is a range of shades of gray without
apparent color. The darkest possible shade is black,
which is the total absence of transmitted or reflected
light. The lightest possible shade is white, the total
transmission or reflection of light at all
visible wavelength s. Intermediate shades of gray are
represented by equal brightness levels of the three
primary colors (red, green and blue) for transmitted
light, or equal amounts of the three primary pigments
(cyan, magenta and yellow) for reflected light.
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

Gray scale image
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

Binary Image
•A binary image is a digital image that
has only two possible values for each
pixel. Typically, the two colors used for
a binary image are black and white.
The color used for the object(s) in
the image is the foreground color while
the rest of the image is the background
color.
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

Binary image
Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
Source: Kenney, A. and O. Rieger, Moving theory into practice. Digital imaging for libraries and archives (Cornell University Library, 2000.

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
Graphic File Formats
… - PCX – PBM – TGA – TIFF – GIF –
JPEG – PSD – DXF - CGM – PNG –
SVG – RAW – WPG – FITS – BMP –
PCD – RAS – TGA – BPS – EPS – PDF
– PCT – WBM – FITS – XBM – VFF –
RIB – PCX – DMP – AVS – IMG – ICO –
JFIF – IFF – WMF - …

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
Why are there so many different graphic file
formats?
•There are a number of fundamental different
types of graphical data
–raster data (sampled values)
–geometry data (mathematical description of space)
–latent image data (data transformed into useful
images by some algorithmic process)
•To prevent usage beyond control of the
developer (Who remembers KodakPhoto CD?)
•Wide range of design principles (Mainly ‘speed’
and ‘memory’)

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
Features of standard image file formats
1.Used by large community during a considerable period of
time
2.Specifications must be in the public domain or published by
SDO (standards developing organization)
3.Wide range of systems has to support the format
4.No data compression (loss of quality / higher risk)
5.Must contain facilities to store preservation metadata
6.Must enable coding of all significant characteristics of
analogue original

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004

00208a.tiff:
Magic: 0x4949 <little -endian> Version: 0x2a
Directory 0: offset 132610346 (0x7e7792a) next 0 (0)
ImageWidth (256) SHORT (3) 1<9681>
ImageLength (257) SHORT (3) 1<6849>
BitsPerSample (258) SHORT (3) 1<16>
Compression (259) SHORT (3) 1<1>
Photometric (262) SHORT (3) 1<1>
DocumentName (269) ASCII (2) 17<ppprs/00208a.tif \0>
StripOffsets (273) LONG (4) 2283<8 58094 116180 174266 232352 290438
348524 406610 464696 522782 580868 638954 697040 755126 813212 871298
929384 987470 1045556 1103642 1161728 1219814 1277900 1335986 ...>
Orientation (274) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<1>
RowsPerStrip (278) SHORT (3) 1<3>
StripByteCounts (279) LONG (4) 2283<58086 58086 58086 58086 58086 58086
58086 58086 58086 58086 58086 58086 58086 58086 58 086 58086 58086 58086
58086 58086 58086 58086 58086 58086 ...>
XResolution (282) RATIONAL (5) 1<1425>
YResolution (283) RATIONAL (5) 1<1425>
PlanarConfig (284) SHORT (3) 1<1>
ResolutionUnit (296) SHORT (3) 1<2>
DateTime (306) ASCII (2) 20<2000:03:21 21:36:29\0>
Artist (315) ASCII (2) 20<Library of Congress\0>

Example: TIFF file

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
XML: eXtensible Markup Language
•Information interchange format
•Standard, developed by World Wide Web
consortium (http://www.w3c.org/xml)
•Application independent
•No pre-defined markup tags (extensible)
•Both human and machine
understandable

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
Durable encoding of the bitstream
012
2
0
1
Bi-tonal bitmap consisting of 9 pixels
<bitmap>
<pixel>
<position>
<horizontal>0</horizontal>
<vertical>0</vertical>
</position>
<colour>black</colour>
</pixel>
<pixel>
<position>
<horizontal>0</horizontal>
<vertical>1</vertical>
</position>
<colour>white</colour>
</pixel>
...
</bitmap>
Bitmap expressed in XML

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
Digital image expressed in XML
•Expression of content model in XML
•Elements and attributes that are part of the
bitstream, e.g. standardized color coding of
pixels
•Binary to XML conversion
•Conversion of image format (e.g. TIFF) into
XML
•XML to binary conversion
•In the future

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
Bitstream syntax description language (BSDL)
•XML-based language which forms part of a
methodology designed to provide a generic
solution at bitstream level to adopt a single
media element
•Described high level structure of a bitstream.
Each format requires specific content model
•Thorough knowledge required on the way the
bits are organized
•Absence of “binary to XML” and “XML to
binary functionality

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
Example: BSDL Schema of a JPEG2000 image

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
Conclusions
•TIFF image file format often used as format
for digital master image (Adobe Systems Incorporated,
TIFF revision 6.0, Final – June 3, 1992
<http://partners.adobe.com/asn/developers/pdfs/tn/TIFF6.pdf>)
•Bitstream in XML format: more research
required
•Preservation metadata: application profiles &
registries help to ‘discriminate exactly what
we know vaguely’

Preservation of Image Documents
Chinese-European Workshop on digital preservation. Beijing. July 14-16 2004
"Theory without practice is empty.
Practice without theory is blind"
John Dewey
Tags