Physical, Logical, Conceptual DSA Lecture 2 2006-7.

Slides:



Advertisements
Similar presentations
Data Compression CS 147 Minh Nguyen.
Advertisements

Number Systems and Codes
Introduction to Database Systems1 Records and Files Storage Technology: Topic 3.
ICOM 6005 – Database Management Systems Design Dr. Manuel Rodríguez-Martínez Electrical and Computer Engineering Department Lecture 8 – File Structures.
1. 1. Database address space 2. Virtual address space 3. Map table 4. Translation table 5. Swizzling and UnSwizzling 6. Pinned Blocks 2.
Conceptual Modelling Entity Relationship Model Overview Entities, Attributes and Relationship modelling Generating a Relational Database for an EAR model.
Review of HTML (adapted from Guthrie, , last updated January, 2007)
Image File Format Only focused in TIFF-Tag Image File Format Grayscale 8 bit Purpose-interchange of digital image data Goals: Extensibility-capable to.
A Beginners Guide to Web Site Design. What we will cover…. Planning your site. Creating a template. Images and Fonts. Absolute vs. Relative Links.
Physical, Logical, Conceptual DSA Lecture
ERM to SQL. Abstraction Layers Conceptual –What data is held An Image and its meta-data Entity-Relationship model (ERM) Logical –How data is organised.
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
Chpater 3 Resolution, File Formats and Storage. Introduction There are two factors that determine the quality of the picture you take; The resolution.
1. Fundamentals of Computer Systems Define a computer system Computer Systems in the modern world Professional standards for computer systems Ethical,
Sem 1 v2 Chapter 14: Layer 6 - The Presentation layer.
Institute of Technology Sligo - Dept of Computing Sem 1 Chapter 14: Layer 6 - The Presentation layer.
13.6 Representing Block and Record Addresses
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
1 Real-World File Structures by Tom Davis Asst. Professor, Computer Science St. Edward's University 3001 South Congress Avenue Austin, Texas 78704
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Regular Expression (continue) and Cookies. Quick Review What letter values would be included for the following variable, which will be used for validation.
Image Formats and Files Jung-Ming Wang
Data Structure & File Systems Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
Digital Image Formats: An Explanation Guilford County SciVis V
Group No 5 1.Muhammad Talha Islam 2.Karim Akhter 3.Muhammad Arif 4.Muhammad Umer Khalid.
Chapter Ten The Application and Presentation Layers.
How Analog and Digital Recording Works Analog converted to digital via an ADV (Analog to Digital Converter = stream of numbers) On playback: digital converted.
Image formats. Basic terminologies… Pixels: Pixels are the building blocks of every digital image. a pixel is a single point in a graphic image. Resolutions:
Marr CollegeHigher ComputingSlide 1 Higher Computing: COMPUTER SYSTEMS Part 1: Data Representation – 6 hours.
+ Information Systems and Databases 2.2 Organisation.
Data Files on Computers Text Files (ASCII) Files that can be created by typing on the keyboard while using a text editor such as notepad or TextEdit.
Digital Photography File Formats (….and why use one or the other…) Instructor: David King.
File Analysis Dr. John P. Abraham Professor UTPA.
CE Operating Systems Lecture 17 File systems – interface and implementation.
Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Chapter 3 The Power of HEX Finding Slivers of Data.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Chapter 8 Recovering Graphics Files
OPERATING SYSTEMS Frans Sanen.  Analyze a FAT file system manually  FAT12 first and simplest version  Still used on smaller disks (e.g. floppies) 
Digital File Formats By Ali Aslam. JPEG JPEG Stands for Joint Photographic Experts Group. JPEG uses a lossy compression routine. Lossy compression means.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
NTFS Filing System CHAPTER 9. New Technology File System (NTFS) Started with Window NT in 1993, Windows XP, 2000, Server 2003, 2008, and Window 7 also.
ICOM 5016 – Introduction to Database Systems Lecture 13- File Structures Dr. Bienvenido Vélez Electrical and Computer Engineering Department Slides by.
Digital Image Formats: An Explanation Guilford County SciVis V
Byte Addressability Bytes are always 8 bits Word length typically ranges from 16 to 64 bits. Memory location assignments refer to successive byte locations.
Information Systems Design and Development Media Types Computing Science.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Analysing Image Files Michael Jones. Overview Images and images Binary, octal, hexadecimal File headers and footers Example (image) files Looking for.
1 Record Modifications Chapter 13 Section 13.8 Neha Samant CS 257 (Section II) Id 222.
Yingfang Zhang Department of Computer Science UCCS
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
Number Systems and Codes
Slide design: Dr. Mark L. Hornick
2.01 Investigate graphic image design.
Net 323 D: Networks Protocols
JPG vs GIF vs PNG What is the difference?
Data Compression CS 147 Minh Nguyen.
Digital Image Formats: An Explanation
1.01 Investigate graphic types and file formats.
Representing Images 2.6 – Data Representation.
1. Explain how ASCII is used to represent text in a computer system
Net 323 D: Networks Protocols
Forensic Analysis of Internet Explorer Activity Files
2.01 Investigate graphic image design.
Image Coding and Compression
Understanding Hex “I hope you have the worst headache of your life, then you will begin to understand” ~unknown.
ICOM 5016 – Introduction to Database Systems
2.01 Investigate graphic image design.
Lecture 2 Lecturer: awdang aziz MS access
Presentation transcript:

Physical, Logical, Conceptual DSA Lecture

Abstraction Layers Conceptual –What data is held An Image and its meta-data Entity-Relationship model (ERM) Logical –How data is organised in storage Block and Directory structure Tables, keys Physical –How data is stored in bits JPEG as a stream of bytes A Database as files and records stored in a DBMS-specific format Abstraction Realisation (Refinement Reification) (Reverse Engineering) (Engineering, Model-Driven development

On Flickr More.. Image Data API:

FireFox IE

Opera Browser properties

JPEG and Exif This image uncompressed would be –1520 x 2032 x 3 bytes = – –File size is only 342kb –Compression ratio JPEG achieves high compression –Lossy – cannot recover the full raw data –Level of compression is variable JPEG –Joint Photographic Experts Group developed the standard for compression. –Defines how to create a byte stream for the image alone. –Wikipedia entry describes the algorithm. –JPEG is a BSI standard BS ISO/IEC :2003 – we have license for these. JPEG/JFIF –Defines how these bytes are packaged up unto a file for transmission. –This combines a JPEG compressed image (the ‘data’) with ‘meta-data’ (data about the image) in TIFF format (Tagged Image File Format) Exif defines a set of tags and coded values to define this meta-dataExif –Specification is 154 pages

Meta data “Data about Data” –The image is the Data –The make of the camera is metadata The dangers –Thumbnails not updated with the main image –Date/time, location information

Understanding the Physical Layer Description of the implementation –Standard manual –Informal explanation Hex viewer or editoreditor –XVI32 (free)XVI32 –010 editor (30 day free, $49.95 US license)010 editor Issues –How numbers are stored –How characters are stored –How strings are stored –How data is identified –How data is grouped –..

HEX dump of the file

Hexadecimal Hex – 6 in Latin – Hexagon Deca – 10 in Latin – Decimal Hexadecimal –Base bits –Digits 0 – F (0 -15) Binary DecimalHex A B C D E F

Hexadecimal - Decimal Nibble –4 bits –1 hex character Byte –8 bits –2 nibbles –2 hex characters D8 – 13 x = ?? 3C FA – –3 x 16^ x 16 ^ x – ((3 x ) x ) x = ??

All JPEGs start with these bytes Marker : Start of Block Length of Block ‘Exif’ header Intel Byte Order Tag No - 42 Offset to IFD (Image File Directory): 8 bytes Start of Data Start of IFD

Big-endian / Little-endian Big-endian –Bytes in the order from most significant to least significant –3C FA = 3C x FA = –Motorola –coded MM in Exif Little-endian –Bytes in the order from least significant to most significant –2A 00 = 00 x A = 32 –Intel processors –coded II in Exif Endianness –Affects addresses and dates –UK addresses are little-endian, Japanese big-endian – addresses little-endian, File paths big-endian –IP addresses ?

No of directory entries (11) Tag 010F ‘Make’ Data Type (string) String Length (24) Relative Offset = 92 CAMERA spaces Null (end of C string) ‘Make’ Value (24 bytes) First entry Absolute Position =Offset + start(0C)

Exercise Each directory entry is 12 bytes long Entry Type is coded – see table Tags are coded Decode 3 entries - distributed around the class

Extract from the EXIF standard

Logical structure

Conceptual Model

Workshop Flickr Review –Review approach to research – see the blog for ideas blog –Get into groups Physical layer work –The XVI32 editor can be downloaded from the autor’s site or run from the J: drive in J:/xvi –Find a Jpeg and identify some items of metadata The lecture example is linked herehere –Find a MP3 file – it probably contains ID3 metadata – see the ID3 site for documentation – and identify some metadata. –Why don’t ID3 and Exif use the same logical structure using directories?