Data Compression, 6 credits

Datakompression, 6 hp

TSBK08

Main field of study

Electrical Engineering Media Technology and Engineering

Course level

Second cycle

Course type

Programme course

Examiner

Harald Nautsch

Director of studies or equivalent

Lasse Alfredsson

Education components

Preliminary scheduled hours: 48 h
Recommended self-study hours: 112 h

Available for exchange students

Yes
ECV = Elective / Compulsory / Voluntary
Course offered for Semester Period Timetable module Language Campus ECV
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, Chinese 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, Chinese (Communication) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, Chinese (Computer Vision and Signal Analysis ) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, French 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, French (Communication) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, French (Computer Vision and Signal Analysis ) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, German 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, German (Communication) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, German (Computer Vision and Signal Analysis ) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, Japanese 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, Japanese (Communication) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, Japanese (Computer Vision and Signal Analysis ) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, Spanish 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, Spanish (Communication) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, Master of Science in Engineering, Spanish (Computer Vision and Signal Analysis ) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYY Applied Physics and Electrical Engineering, Master of Science in Engineering 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYY Applied Physics and Electrical Engineering, Master of Science in Engineering (Communication) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CYYY Applied Physics and Electrical Engineering, Master of Science in Engineering (Computer Vision and Signal Analysis ) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CDDD Computer Science and Engineering, Master of Science in Engineering 8 (Spring 2026) 1 2 English Linköping, Valla E
6CDDD Computer Science and Engineering, Master of Science in Engineering (Computer Vision and Signal Analysis) 8 (Spring 2026) 1 2 English Linköping, Valla E
6CMJU Computer Science and Software Engineering, Master of Science in Engineering 8 (Spring 2026) 1 2 English Linköping, Valla E
6MDSI Data Science and Information Engineering, Master's Programme (Connectivity) 2 (Spring 2026) 1 2 English Linköping, Valla C
6CITE Information Technology, Master of Science in Engineering 8 (Spring 2026) 1 2 English Linköping, Valla E

Main field of study

Electrical Engineering, Media Technology and Engineering

Course level

Second cycle

Advancement level

A1N

Course offered for

  • Master of Science in Information Technology
  • Master of Science in Computer Science and Software Engineering
  • Master of Science in Applied Physics and Electrical Engineering - International
  • Master of Science in Computer Science and Engineering
  • Master of Science in Applied Physics and Electrical Engineering
  • Master's Programme in Data Science and Information Engineering

Prerequisites

Probability theory

Intended learning outcomes

After having taken this course, the student is expected to be able to

  • Obtain a random model for a source, given data from the source.
  • Analyze random sources and calculate theoretical limits for coding performance.
  • Understand and explain the concept of codes.
  • Understand and explain how the following coding methods work
    • Huffman coding
    • Golomb coding
    • Arithmetic coding
    • Lempel-Ziv coding
    • Burrows-Wheeler's block transform
  • Understand and explain how adaptive Huffman coding and adaptiv arithmetic coding works.
  • Design different types of coders and calculate their coding performance, given random source models.
  • Know where the coding methods are used in different standards.
  • Implement different coding methods, test these on real data and report the results in writing.

Course content

The course deals with coding and data compression from an information theoretic perspective. Subjects:

  • Random models for sources
  • Source coding theory
  • Entropy
  • Huffman coding
  • Arithmetic coding
  • Lempel-Ziv coding
  • Burrows-Wheeler's block transform
  • Adaptive coding methods
  • Coding standards
  • Fax coding
  • Lossless image coding

Teaching and working methods

The course consists of lectures, lessons and laboratory work.

Examination

LAB2Small computer project2 creditsU, G
TEN1A written exam4 creditsU, 3, 4, 5
During the project, the students implement a couple of the coding methods that are taught in the course and test them on several kinds of real data. The students can choose to work alone or in groups of two.

Grades

Four-grade scale, LiU, U, 3, 4, 5

Other information

Supplementary courses: Image and Audio Coding

About teaching and examination language

The teaching language is presented in the Overview tab for each course. The examination language relates to the teaching language as follows: 

  • If teaching language is “Swedish”, the course as a whole could be given in Swedish, or partly in English. Examination language is Swedish, but parts of the examination can be in English.
  • If teaching language is “English”, the course as a whole is taught in English. Examination language is English.
  • If teaching language is “Swedish/English”, the course as a whole will be taught in English if students without prior knowledge of the Swedish language participate. Examination language is Swedish or English depending on teaching language.

Other

The course is conducted in such a way that there are equal opportunities with regard to sex, transgender identity or expression, ethnicity, religion or other belief, disability, sexual orientation and age.

The planning and implementation of a course should correspond to the course syllabus. The course evaluation should therefore be conducted with the course syllabus as a starting point. 

The course is campus-based at the location specified for the course, unless otherwise stated under “Teaching and working methods”. Please note, in a campus-based course occasional remote sessions could be included.  

Department

Institutionen för systemteknik

Course literature

Kursen har inte någon hårt specificerad kurslitteratur. För den som även tänker läsa TSBK02/06 Bild- och ljudkodning rekommenderas den kursens huvudlitteratur: Khalid Sayood, "Introduction to Data Compression", Morgan Kaufmann Publishers, ISBN 978-0-12-415796-5
Code Name Scope Grading scale
LAB2 Small computer project 2 credits U, G
TEN1 A written exam 4 credits U, 3, 4, 5
During the project, the students implement a couple of the coding methods that are taught in the course and test them on several kinds of real data. The students can choose to work alone or in groups of two.
Kursen har inte någon hårt specificerad kurslitteratur. För den som även tänker läsa TSBK02/06 Bild- och ljudkodning rekommenderas den kursens huvudlitteratur: Khalid Sayood, "Introduction to Data Compression", Morgan Kaufmann Publishers, ISBN 978-0-12-415796-5

Note: The course matrix might contain more information in Swedish.

I = Introduce, U = Teach, A = Utilize
I U A Modules Comment
1. DISCIPLINARY KNOWLEDGE AND REASONING
1.1 Knowledge of underlying mathematics and science (G1X level)
X
Probability theory, algebra, calculus
1.2 Fundamental engineering knowledge (G1X level)

                            
1.3 Further knowledge, methods, and tools in one or several subjects in engineering or natural science (G2X level)

                            
1.4 Advanced knowledge, methods, and tools in one or several subjects in engineering or natural sciences (A1X level)
X
TEN1
Theoretical limits for compression. Source coding theory. Practical lossless coding method.
1.5 Insight into current research and development work

                            
2. PERSONAL AND PROFESSIONAL SKILLS AND ATTRIBUTES
2.1 Analytical reasoning and problem solving
X
LAB2
TEN1
Modeling of sources. Problem solution using mathematical tools.
2.2 Experimentation, investigation, and knowledge discovery
X
LAB2
Experimental methodology.
2.3 System thinking
X
LAB2
Weighing different solutions.
2.4 Attitudes, thought, and learning
X
LAB2
TEN1
LAB2: Creative thinking, TEN1: Individual problem solution.
2.5 Ethics, equity, and other responsibilities

                            
3. INTERPERSONAL SKILLS: TEAMWORK AND COMMUNICATION
3.1 Teamwork
X
LAB2
Project lab in groups
3.2 Communications
X
LAB2
Written lab report
3.3 Communication in foreign languages
X
Course language is english
4. CONCEIVING, DESIGNING, IMPLEMENTING AND OPERATING SYSTEMS IN THE ENTERPRISE, SOCIETAL AND ENVIRONMENTAL CONTEXT
4.1 External, societal, and environmental context

                            
4.2 Enterprise and business context

                            
4.3 Conceiving, system engineering and management

                            
4.4 Designing
X
LAB2
Development of source coders
4.5 Implementing
X
LAB2
Software implementation of source coders.
4.6 Operating

                            
5. PLANNING, EXECUTION AND PRESENTATION OF RESEARCH DEVELOPMENT PROJECTS WITH RESPECT TO SCIENTIFIC AND SOCIETAL NEEDS AND REQUIREMENTS
5.1 Societal conditions, including economic, social, and ecological aspects of sustainable development for knowledge development

                            
5.2 Economic conditions for knowledge development

                            
5.3 Identification of needs, structuring and planning of research or development projects

                            
5.4 Execution of research or development projects

                            
5.5 Presentation and evaluation of research or development projects

                            

This tab contains public material from the course room in Lisam. The information published here is not legally binding, such material can be found under the other tabs on this page.

There are no files available for this course.