Colour Image Processing
(Jan - Apr 2014)


Today, almost all the images are in colour and a majority are only in a digital form. However, understanding their representation on the computer and processing them are almost completely neglected in our curricula. Image processing courses deal exclusively with grayscale images and students are often given the impression that colour image processing is only an extension of grayscale image processing.

Course Timings:

  • Mondays: 4:00 PM - 5:00 PM
  • Fridays: 9:00 AM - 11:00 AM
Venue: CR - 7 (LHC 1)
Alternate Venue: Seminar Room (DCIS)
Instructors:

Chakravarthy Bhagvati


The truth is that colour image processing is almost entirely different from grayscale image processing. From representation to enhancement, restoration to compression, primitive operations to feature extraction, colour image processing presents different challenges and poses questions that grayscale image processing cannot handle.
This course is designed to provide M. Tech students, who already did a course on image processing at B. Tech level, with understanding of the basic concepts of digital colour and how it differs from the physics of colour; colour models and spaces; challenges and difficulties in processing colour information; a new set of tools, algorithms and techniques to process colour images; and, practical applications. Having said that, the course is also fun even if one did not do a course on Image Processing; in other words, image processing is not a prerequisite.
It is a fun course with emphasis on algorithms and small programming exercises. There is no available textbook, and the necessary material is collected from papers, reference books and the World-Wide-Web. Most of the material will be supplied before or by the first day of classes. However, material may be added as and when necessary, so please keep checking the above link for updates.


CIPTK - The Colour Image Processing Toolkit

Course assignments require implementing algorithms for processing colour images. You can download the CIPTK Library (precompiled) from here for help in programming. The relevant header files incl.h, cipl.h, err_hipl.h and hipl.h should also be downloaded. You only need cipl.h and incl.h for colour operations.

The entire CIPTK Source can also be downloaded. Instructions for installing and using CIPTK Library are in the document IPTK - Image Processing Toolkit. CIPTK requires Tcl/TK to be correctly installed for building the GUI. If Tcl/TK is not properly installed you may get an error message such as "Header file tcl.h not found". If that happens, download the precompiled library and header files so that you can write programs using the CIPTK Library. The GUI will not work.

Here are two sample programs in CIPTK for you to get started:


Course Syllabus

  1. Introduction to Colour Science
    • Introduction to Colour
    • Colour Matching Experiments
    • CIE XYZ Tristimulus Space
    • x-y Chromaticity Diagram
    • A few thoughts on Physics, HVS and Digital Domains
  2. Colour Models and Colour Spaces
    • Specification, Description and Matching
    • RGB and CMYK Spaces
    • HSV Family
    • MacAdam Ellipses and L*a*b* Space
  3. Scalar Processing of Colour Images
    • Colour Negatives
    • Thresholding and Binarization
    • Ranging and Colour Filters
    • Enhancement
  4. Vector Processing of Colour Images
    • Scalar Processing and Spatial Operations
    • Vector Representation
    • Ordering Relationships
    • Noise Removal using Vector Filters
    • Vector Edge Detection
      • vector direction operators
      • derivative-based operators
  5. Colour Printing/Rendering Technologies
    • Half-Toning: Dithering and Error Diffusion
    • Colour Filter Arrays and Demosaicking
  6. Colour Quantization
  7. Student Presentations

Grading Policy

There is one minor for 20 marks and one assignment for 20 marks. There is a presentation at the end of the semester for 20 marks.

Students are free to discuss the assignment problems with each other, BUT THE FINAL PROGRAM (wherever necessary) AND THE REPORT SHOULD BE INDIVIDUAL EFFORT. Any copies detected will automatically be given 0 (ZERO) MARKS.

Proving innocence is the responsibility of the students. I only need to suspect copies!!!


Lecture Material (by topic)

A quick introduction (in PPT) to grayscale image processing for those who are interested.


Assignment


Test Images

Here is the Colour Matching Matrix data in CSV format. Here are the spectra for Question 1.


Reference Material

The following books are freely available on-line and have been copied to our server for high-speed access.