Spherical K-Means Color Image Compression Tim Pavlik

Size: px
Start display at page:

Download "Spherical K-Means Color Image Compression Tim Pavlik"

Transcription

1 Spherical K-Means Color Image Compression Tim Pavlik Features/Functionality This project takes an input image in RGB colorspace and performs K-means clustering, where the number of clusters (N) is specified by the user. The RGB offsets from the selected cluster center center are then converted into spherical coordinate offsets for each pixel. These offsets are then quantized according to the number of partitions specified by the user to create a new image representation using fewer bits than the original 24 bit RGB image. The image is then decompressed/reconstructed to RGB and displayed to show the user how well the compression has performed. The user is also shown RG, RB and GB planar representations of the original/reconstructed pixels as well as the cluster centers. Algorithm Details First, RGB values taken from the input image are input to the Matlab K-means clustering algorithm. The K-means clustering iteratively places each pixel (with an R, G and B value) into one of N clusters (specified by the user) and outputs the final cluster centers as well as which cluster center each pixel was closest to. Fig 1: Exemplary pixels values (black dots) and clusters (red X s and circles) shown in RGB space Next, the pixel offsets are calculated by subtracting their RGB values from the RGB values of their assigned cluster center. The cartesian RGB offsets are then converted to spherical coordinate space with a Radius, Theta, and Phi offset from the assigned cluster center for each pixel. The angles (Theta and Phi) are then quantized according the the number of partitions (Theta Part. and Phi Part.) specified by the user uniformly over their respective ranges: Theta ranges from -π to π while Phi ranges from -π/ 2 to π/2. The radius is then quantized into one of Radius Part. partitions specified by the user, but the radius is quantized according to the range MaxR^(1/ Radius Part. ):MaxR where MaxR is the maximum (3D) distance out of all the pixel distances in the cluster from the cluster center. MaxR is different for each cluster, based on the distance of the greatest outlier in each cluster. The radius offset is then quantized based on exponentially increasing intervals as opposed to uniformly/

2 linear increasing values such as those used for angle offsets Phi/Theta. For example, the radii may be assigned to one of 2, 4, 8, 16, 32, etc as opposed to 1, 2, 3, 4, 5, etc (details below). So now the image is represented using fixed header information corresponding to the cluster centers in RGB space and the MaxR for each cluster. Each pixel in the image is now represented by a Cluster number, Radius offset, Theta Offset, and Phi Offset. Finally, the RGB values are recomputed and shown to the user to see how well the compressed images corresponds to the original. This is achieved by converting the quantized R, Theta, and Phi offsets into RGB offsets and adding those offsets to the cluster center for the given pixel. The user is also given the number of bits per pixel used in the compressed image as opposed to the original images which requires 24 bits per pixel with 8 bit RGB space. The RG, RB and GB planes are also displayed with the original RGB pixel values (black dots), new quantized RGB pixel values (green dots) and each RGB cluster center (red X s). Design Choices The K-means aspect was chosen because images tend to naturally fall into shades of a given palette of dominant colors, the clustering algorithm iteratively tries to find those dominant colors and exploit that to compress the colorspace. The parameters for the K-means algorithm were set to a maximum of 50 iterations (to shorten the time that the algorithm takes which can be quite time consuming even for medium sized images) and the emptyaction parameter was set to singleton which instructs the algorithm to take the farthest outlier of the other clusters to start a new cluster if an empty cluster forms during any iterations (this reduces the number of far outliers which leads to smaller MaxR values for each cluster and less error in the Radius Offset for each pixel in the cluster). The choice to represent the radii as exponentially increasing from MaxR^(1/ Radius Part. ) to MaxR was made in order to 1) Retain even the greatest outliers in each cluster at MaxR while 2) Realizing that most pixels are probably within a small distance of the cluster center and thus having a number of smaller Radius offsets to work with. Instructions Step 1: Select an input image. These images were chosen to show how well the compression works with different types of images. You can see by comparing the performance of the relatively monochromatic sunset.jpg (with mostly shades of red) with the more difficult rainbow.jpg. The seattle.jpg is slightly more typical with a more balanced blend of colors.

3 Step 2: Select compression parameters. At first, try using the default parameters (16 Cluster, 8 Radius partitions, 4 Theta Partitions, and 8 Phi partitions). For better quality, try increasing the values (especially the number of clusters for the rainbow.jpg image). For better compression, use smaller values.

4 Step 3: Press the Compress Colors button to perform the Spherical K-Means Clustering compression using the selected parameters. The script takes a few seconds, so a Loading... message is displayed showing that the script is still working.

5 Step 4: Observe the outputs. The reconstructed image is shown at the bottom right (Yellow arrow below). The RG, RB, and GB planes are also shown (Blue arrow below) with the original RGB pixel values as black dots, the new reconstructed RGB pixel values as green dots and the computed RGB cluster centers as red X s. Finally, the number of bits needed to represent the image using the compressed scheme is shown (Red oval below) compared to the original 24 bits.

6 Final Comments The results are impressive, using half the number of bits with the default values (12 bits/pixel as opposed to 24 bits/pixel) the sunset.jpg and seattle.jpg images were very close to their originals. Understandably, the compressed rainbow.jpg image had some more visible artifacts since there are so many subtle changes in colors. When the number of clusters used is increased, these artifacts become less visible. Moving forward, some changes could be attempted to try and improve the results even further: Align Phi/Theta with major/minor axes. Instead of using a uniform distribution of quantized angles Phi and Theta, the covariance/ellipsoid containing the given cluster could be calculated so that the Phi and Theta values can be aligned with the major and minor axes of the calculated ellipsoid. This could beter represent the RGB clusters that tend to form in narrow ellipsoids rather than perfect spheres. Use smaller range of radius offsets. The performance could be improved by instead of using the max radius of each cluster as the upper bound using a smaller value (say two standard deviations from the mean distance) to shrink the range of radii while still representing 95-97% of the values and leaving out the extreme outliers.

7 Compress each parameter in DCT. This would be the next logical step to compare the performance of this compression with the JPEG compression in RGB. Explore different colorspaces. K-means clustering is often performed in normalized RGB space in computer vision techniques. Perhaps this compression scheme would peform better in this space or any of the other common colorspaces such as CMY, HSV, YUV, YUL, etc.

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE OUTLINE Human visual system Color images Color quantization Colorimetric color spaces HUMAN VISUAL SYSTEM HUMAN VISUAL SYSTEM HUMAN VISUAL

More information

Lecture 8. Color Image Processing

Lecture 8. Color Image Processing Lecture 8. Color Image Processing EL512 Image Processing Dr. Zhu Liu zliu@research.att.com Note: Part of the materials in the slides are from Gonzalez s Digital Image Processing and Onur s lecture slides

More information

Prof. Feng Liu. Fall /02/2018

Prof. Feng Liu. Fall /02/2018 Prof. Feng Liu Fall 2018 http://www.cs.pdx.edu/~fliu/courses/cs447/ 10/02/2018 1 Announcements Free Textbook: Linear Algebra By Jim Hefferon http://joshua.smcvt.edu/linalg.html/ Homework 1 due in class

More information

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015 Computer Graphics Si Lu Fall 2017 http://www.cs.pdx.edu/~lusi/cs447/cs447_547_comput er_graphics.htm 10/02/2015 1 Announcements Free Textbook: Linear Algebra By Jim Hefferon http://joshua.smcvt.edu/linalg.html/

More information

Fig Color spectrum seen by passing white light through a prism.

Fig Color spectrum seen by passing white light through a prism. 1. Explain about color fundamentals. Color of an object is determined by the nature of the light reflected from it. When a beam of sunlight passes through a glass prism, the emerging beam of light is not

More information

Color: Readings: Ch 6: color spaces color histograms color segmentation

Color: Readings: Ch 6: color spaces color histograms color segmentation Color: Readings: Ch 6: 6.1-6.5 color spaces color histograms color segmentation 1 Some Properties of Color Color is used heavily in human vision. Color is a pixel property, that can make some recognition

More information

Introduction to Color Theory

Introduction to Color Theory Systems & Biomedical Engineering Department SBE 306B: Computer Systems III (Computer Graphics) Dr. Ayman Eldeib Spring 2018 Introduction to With colors you can set a mood, attract attention, or make a

More information

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans is 400 nm (blue) to 700 nm (red) Machines can see much more; ex. X-rays,

More information

Digital Image Processing. Lecture # 8 Color Processing

Digital Image Processing. Lecture # 8 Color Processing Digital Image Processing Lecture # 8 Color Processing 1 COLOR IMAGE PROCESSING COLOR IMAGE PROCESSING Color Importance Color is an excellent descriptor Suitable for object Identification and Extraction

More information

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing Digital Image Processing Lecture # 6 Corner Detection & Color Processing 1 Corners Corners (interest points) Unlike edges, corners (patches of pixels surrounding the corner) do not necessarily correspond

More information

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10 IMAGES AND COLOR N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture # 10 IMAGES AND COLOR N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture

More information

Computers and Imaging

Computers and Imaging Computers and Imaging Telecommunications 1 P. Mathys Two Different Methods Vector or object-oriented graphics. Images are generated by mathematical descriptions of line (vector) segments. Bitmap or raster

More information

RGB COLORS. Connecting with Computer Science cs.ubc.ca/~hoos/cpsc101

RGB COLORS. Connecting with Computer Science cs.ubc.ca/~hoos/cpsc101 RGB COLORS Clicker Question How many numbers are commonly used to specify the colour of a pixel? A. 1 B. 2 C. 3 D. 4 or more 2 Yellow = R + G? Combining red and green makes yellow Taught in elementary

More information

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30)

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30) Digital Image Processing Prof. P. K. Biswas Department of Electronics and Electrical Communications Engineering Indian Institute of Technology, Kharagpur Module 11 Lecture Number 52 Conversion of one Color

More information

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans is 400 nm (blue) to 700 nm (red) Machines can see much more; ex. X-rays,

More information

How to define the colour ranges for an automatic detection of coloured objects

How to define the colour ranges for an automatic detection of coloured objects How to define the colour ranges for an automatic detection of coloured objects The colour detection algorithms scan every frame for pixels of a particular quality. To recognize a pixel as part of a valid

More information

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song Image and video processing () Colour Images Dr. Yi-Zhe Song yizhe.song@qmul.ac.uk Today s agenda Colour spaces Colour images PGM/PPM images Today s agenda Colour spaces Colour images PGM/PPM images History

More information

Templates and Image Pyramids

Templates and Image Pyramids Templates and Image Pyramids 09/07/17 Computational Photography Derek Hoiem, University of Illinois Why does a lower resolution image still make sense to us? What do we lose? Image: http://www.flickr.com/photos/igorms/136916757/

More information

Image Enhancement (from Chapter 13) (V6)

Image Enhancement (from Chapter 13) (V6) Image Enhancement (from Chapter 13) (V6) Astronomical images often span a wide range of brightness, while important features contained in them span a very narrow range of brightness. Alternatively, interesting

More information

Imaging Process (review)

Imaging Process (review) Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans is 400nm (blue) to 700 nm (red) Machines can see much more; ex. X-rays, infrared,

More information

Images with (a) coding redundancy; (b) spatial redundancy; (c) irrelevant information

Images with (a) coding redundancy; (b) spatial redundancy; (c) irrelevant information Images with (a) coding redundancy; (b) spatial redundancy; (c) irrelevant information 1992 2008 R. C. Gonzalez & R. E. Woods For the image in Fig. 8.1(a): 1992 2008 R. C. Gonzalez & R. E. Woods Measuring

More information

Colors in Images & Video

Colors in Images & Video LECTURE 8 Colors in Images & Video CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. Light and Spectra

More information

Reading instructions: Chapter 6

Reading instructions: Chapter 6 Lecture 8 in Computerized Image Analysis Digital Color Processing Hamid Sarve hamid@cb.uu.se Reading instructions: Chapter 6 Electromagnetic Radiation Visible light (for humans) is electromagnetic radiation

More information

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Lecture 8: Color Image Processing 04.11.2017 Dr. Mohammed Abdel-Megeed Salem Media

More information

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing For a long time I limited myself to one color as a form of discipline. Pablo Picasso Color Image Processing 1 Preview Motive - Color is a powerful descriptor that often simplifies object identification

More information

Color Image Processing. Gonzales & Woods: Chapter 6

Color Image Processing. Gonzales & Woods: Chapter 6 Color Image Processing Gonzales & Woods: Chapter 6 Objectives What are the most important concepts and terms related to color perception? What are the main color models used to represent and quantify color?

More information

LECTURE 07 COLORS IN IMAGES & VIDEO

LECTURE 07 COLORS IN IMAGES & VIDEO MULTIMEDIA TECHNOLOGIES LECTURE 07 COLORS IN IMAGES & VIDEO IMRAN IHSAN ASSISTANT PROFESSOR LIGHT AND SPECTRA Visible light is an electromagnetic wave in the 400nm 700 nm range. The eye is basically similar

More information

Digital Image Processing Color Models &Processing

Digital Image Processing Color Models &Processing Digital Image Processing Color Models &Processing Dr. Hatem Elaydi Electrical Engineering Department Islamic University of Gaza Fall 2015 Nov 16, 2015 Color interpretation Color spectrum vs. electromagnetic

More information

Color Image Processing

Color Image Processing Color Image Processing Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr Color Used heavily in human vision. Visible spectrum for humans is 400 nm (blue) to 700

More information

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour CS 565 Computer Vision Nazar Khan PUCIT Lecture 4: Colour Topics to be covered Motivation for Studying Colour Physical Background Biological Background Technical Colour Spaces Motivation Colour science

More information

Figure 1: Energy Distributions for light

Figure 1: Energy Distributions for light Lecture 4: Colour The physical description of colour Colour vision is a very complicated biological and psychological phenomenon. It can be described in many different ways, including by physics, by subjective

More information

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors ITEC2110 FALL 2011 TEST 2 REVIEW Chapters 2-3: Images I. Concepts Graphics A. Bitmaps and Vector Representations Logical vs. Physical Pixels - Images are modeled internally as an array of pixel values

More information

Lecture 3: Grey and Color Image Processing

Lecture 3: Grey and Color Image Processing I22: Digital Image processing Lecture 3: Grey and Color Image Processing Prof. YingLi Tian Sept. 13, 217 Department of Electrical Engineering The City College of New York The City University of New York

More information

Color images C1 C2 C3

Color images C1 C2 C3 Color imaging Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..) Digital

More information

EECS490: Digital Image Processing. Lecture #12

EECS490: Digital Image Processing. Lecture #12 Lecture #12 Image Correlation (example) Color basics (Chapter 6) The Chromaticity Diagram Color Images RGB Color Cube Color spaces Pseudocolor Multispectral Imaging White Light A prism splits white light

More information

Central Place Indexing: Optimal Location Representation for Digital Earth. Kevin M. Sahr Department of Computer Science Southern Oregon University

Central Place Indexing: Optimal Location Representation for Digital Earth. Kevin M. Sahr Department of Computer Science Southern Oregon University Central Place Indexing: Optimal Location Representation for Digital Earth Kevin M. Sahr Department of Computer Science Southern Oregon University 1 Kevin Sahr - October 6, 2014 The Situation Geospatial

More information

Module 6 STILL IMAGE COMPRESSION STANDARDS

Module 6 STILL IMAGE COMPRESSION STANDARDS Module 6 STILL IMAGE COMPRESSION STANDARDS Lesson 16 Still Image Compression Standards: JBIG and JPEG Instructional Objectives At the end of this lesson, the students should be able to: 1. Explain the

More information

Templates and Image Pyramids

Templates and Image Pyramids Templates and Image Pyramids 09/06/11 Computational Photography Derek Hoiem, University of Illinois Project 1 Due Monday at 11:59pm Options for displaying results Web interface or redirect (http://www.pa.msu.edu/services/computing/faq/autoredirect.html)

More information

A simple MATLAB interface to FireWire cameras. How to define the colour ranges used for the detection of coloured objects

A simple MATLAB interface to FireWire cameras. How to define the colour ranges used for the detection of coloured objects How to define the colour ranges used for the detection of coloured objects The colour detection algorithms scan every frame for pixels of a particular quality. A coloured object is defined by a set of

More information

Color is the factory default setting. The printer driver is capable of overriding this setting. Adjust the color output on the printed page.

Color is the factory default setting. The printer driver is capable of overriding this setting. Adjust the color output on the printed page. Page 1 of 6 Color quality guide The Color quality guide helps users understand how operations available on the printer can be used to adjust and customize color output. Quality menu Use Print Mode Color

More information

Session 1. by Shahid Farid

Session 1. by Shahid Farid Session 1 by Shahid Farid Course introduction What is image and its attributes? Image types Monochrome images Grayscale images Course introduction Color images Color lookup table Image Histogram Shahid

More information

ENEE408G Multimedia Signal Processing

ENEE408G Multimedia Signal Processing ENEE48G Multimedia Signal Processing Design Project on Image Processing and Digital Photography Goals:. Understand the fundamentals of digital image processing.. Learn how to enhance image quality and

More information

Color Image Processing

Color Image Processing Color Image Processing Jesus J. Caban Outline Discuss Assignment #1 Project Proposal Color Perception & Analysis 1 Discuss Assignment #1 Project Proposal Due next Monday, Oct 4th Project proposal Submit

More information

Color image processing

Color image processing Color image processing Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..)

More information

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06 Dr. Shahanawaj Ahamad 1 Outline: Basic concepts underlying Images Popular Image File formats Human perception of color Various Color Models in use and the idea behind them 2 Pixels -- picture elements

More information

Testing, Tuning, and Applications of Fast Physics-based Fog Removal

Testing, Tuning, and Applications of Fast Physics-based Fog Removal Testing, Tuning, and Applications of Fast Physics-based Fog Removal William Seale & Monica Thompson CS 534 Final Project Fall 2012 1 Abstract Physics-based fog removal is the method by which a standard

More information

2. REVIEW OF LITERATURE

2. REVIEW OF LITERATURE 2. REVIEW OF LITERATURE Digital image processing is the use of the algorithms and procedures for operations such as image enhancement, image compression, image analysis, mapping. Transmission of information

More information

Practical Content-Adaptive Subsampling for Image and Video Compression

Practical Content-Adaptive Subsampling for Image and Video Compression Practical Content-Adaptive Subsampling for Image and Video Compression Alexander Wong Department of Electrical and Computer Eng. University of Waterloo Waterloo, Ontario, Canada, N2L 3G1 a28wong@engmail.uwaterloo.ca

More information

Digital Imaging - Photoshop

Digital Imaging - Photoshop Digital Imaging - Photoshop A digital image is a computer representation of a photograph. It is composed of a grid of tiny squares called pixels (picture elements). Each pixel has a position on the grid

More information

Unit 8: Color Image Processing

Unit 8: Color Image Processing Unit 8: Color Image Processing Colour Fundamentals In 666 Sir Isaac Newton discovered that when a beam of sunlight passes through a glass prism, the emerging beam is split into a spectrum of colours The

More information

3. Image Formats. Figure1:Example of bitmap and Vector representation images

3. Image Formats. Figure1:Example of bitmap and Vector representation images 3. Image Formats. Introduction With the growth in computer graphics and image applications the ability to store images for later manipulation became increasingly important. With no standards for image

More information

Color Reproduction. Chapter 6

Color Reproduction. Chapter 6 Chapter 6 Color Reproduction Take a digital camera and click a picture of a scene. This is the color reproduction of the original scene. The success of a color reproduction lies in how close the reproduced

More information

Lecture 9: Digital Images

Lecture 9: Digital Images Lecture 9: Digital Images The Digital World of Multimedia Prof. Mari Ostendorf Announcements Guest lecture Friday Feb 1 (EEB 403, tentatively) A cultural history of JPEG Dr. Joan Mitchell Another lecture

More information

Introduction to Multimedia Computing

Introduction to Multimedia Computing COMP 319 Lecture 02 Introduction to Multimedia Computing Fiona Yan Liu Department of Computing The Hong Kong Polytechnic University Learning Outputs of Lecture 01 Introduction to multimedia technology

More information

MOTION GRAPHICS BITE 3623

MOTION GRAPHICS BITE 3623 MOTION GRAPHICS BITE 3623 DR. SITI NURUL MAHFUZAH MOHAMAD FTMK, UTEM Lecture 1: Introduction to Graphics Learn critical graphics concepts. 1 Bitmap (Raster) vs. Vector Graphics 2 Software Bitmap Images

More information

Chapter 9 Image Compression Standards

Chapter 9 Image Compression Standards Chapter 9 Image Compression Standards 9.1 The JPEG Standard 9.2 The JPEG2000 Standard 9.3 The JPEG-LS Standard 1IT342 Image Compression Standards The image standard specifies the codec, which defines how

More information

Interactive Computer Graphics

Interactive Computer Graphics Interactive Computer Graphics Lecture 4: Colour Graphics Lecture 4: Slide 1 Ways of looking at colour 1. Physics 2. Human visual receptors 3. Subjective assessment Graphics Lecture 4: Slide 2 The physics

More information

Chapter 3 Part 2 Color image processing

Chapter 3 Part 2 Color image processing Chapter 3 Part 2 Color image processing Motivation Color fundamentals Color models Pseudocolor image processing Full-color image processing: Component-wise Vector-based Recent and current work Spring 2002

More information

k-means Clustering David S. Rosenberg December 15, 2017 Bloomberg ML EDU David S. Rosenberg (Bloomberg ML EDU) ML 101 December 15, / 18

k-means Clustering David S. Rosenberg December 15, 2017 Bloomberg ML EDU David S. Rosenberg (Bloomberg ML EDU) ML 101 December 15, / 18 k-means Clustering David S. Rosenberg Bloomberg ML EDU December 15, 2017 David S. Rosenberg (Bloomberg ML EDU) ML 101 December 15, 2017 1 / 18 k-means Clustering David S. Rosenberg (Bloomberg ML EDU) ML

More information

Outline. Image formation: the pinhole camera model Images as functions Digital images Color, light and shading. Reading: textbook: 2.1, 2.2, 2.

Outline. Image formation: the pinhole camera model Images as functions Digital images Color, light and shading. Reading: textbook: 2.1, 2.2, 2. Image Basics 1 Outline Image formation: the pinhole camera model Images as functions Digital images Color, light and shading Reading: textbook: 2.1, 2.2, 2.4 2 Image formation Images are acquired through

More information

CHAPTER 6 COLOR IMAGE PROCESSING

CHAPTER 6 COLOR IMAGE PROCESSING CHAPTER 6 COLOR IMAGE PROCESSING CHAPTER 6: COLOR IMAGE PROCESSING The use of color image processing is motivated by two factors: Color is a powerful descriptor that often simplifies object identification

More information

Digital Media. Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr.

Digital Media. Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Digital Media Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Mark Iken Bitmapped image compression Consider this image: With no compression...

More information

Ranked Dither for Robust Color Printing

Ranked Dither for Robust Color Printing Ranked Dither for Robust Color Printing Maya R. Gupta and Jayson Bowen Dept. of Electrical Engineering, University of Washington, Seattle, USA; ABSTRACT A spatially-adaptive method for color printing is

More information

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University Color & Compression Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University Outline Color Color spaces Multispectral images Pseudocoloring Color image processing

More information

4/9/2015. Simple Graphics and Image Processing. Simple Graphics. Overview of Turtle Graphics (continued) Overview of Turtle Graphics

4/9/2015. Simple Graphics and Image Processing. Simple Graphics. Overview of Turtle Graphics (continued) Overview of Turtle Graphics Simple Graphics and Image Processing The Plan For Today Website Updates Intro to Python Quiz Corrections Missing Assignments Graphics and Images Simple Graphics Turtle Graphics Image Processing Assignment

More information

USE OF COLOR IN REMOTE SENSING

USE OF COLOR IN REMOTE SENSING 1 USE OF COLOR IN REMOTE SENSING (David Sandwell, Copyright, 2004) Display of large data sets - Most remote sensing systems create arrays of numbers representing an area on the surface of the Earth. The

More information

IMAGE INTENSIFICATION TECHNIQUE USING HORIZONTAL SITUATION INDICATOR

IMAGE INTENSIFICATION TECHNIQUE USING HORIZONTAL SITUATION INDICATOR IMAGE INTENSIFICATION TECHNIQUE USING HORIZONTAL SITUATION INDICATOR Naveen Kumar Mandadi 1, B.Praveen Kumar 2, M.Nagaraju 3, 1,2,3 Assistant Professor, Department of ECE, SRTIST, Nalgonda (India) ABSTRACT

More information

Color. Chapter 6. (colour) Digital Multimedia, 2nd edition

Color. Chapter 6. (colour) Digital Multimedia, 2nd edition Color (colour) Chapter 6 Digital Multimedia, 2nd edition What is color? Color is how our eyes perceive different forms of energy. Energy moves in the form of waves. What is a wave? Think of a fat guy (Dr.

More information

To discuss. Color Science Color Models in image. Computer Graphics 2

To discuss. Color Science Color Models in image. Computer Graphics 2 Color To discuss Color Science Color Models in image Computer Graphics 2 Color Science Light & Spectra Light is an electromagnetic wave It s color is characterized by its wavelength Laser consists of single

More information

The worlds we live in. The worlds we live in

The worlds we live in. The worlds we live in The contents of this Supporting Material document have been prepared from the Eight units of study texts for the course M150: Date, Computing and Information, produced by The Open University, UK. Copyright

More information

TOPAZ SIMPLIFY SLIDEROLOGY

TOPAZ SIMPLIFY SLIDEROLOGY TOPAZ SIMPLIFY SLIDEROLOGY Topaz Simplify has hundreds of new presets in 7 different collections. It also has 3 settings tabs where you can adjust your image globally or locally, and then add your finishing

More information

Crowd-steering behaviors Using the Fame Crowd Simulation API to manage crowds Exploring ANT-Op to create more goal-directed crowds

Crowd-steering behaviors Using the Fame Crowd Simulation API to manage crowds Exploring ANT-Op to create more goal-directed crowds In this chapter, you will learn how to build large crowds into your game. Instead of having the crowd members wander freely, like we did in the previous chapter, we will control the crowds better by giving

More information

Digital Image Processing (DIP)

Digital Image Processing (DIP) University of Kurdistan Digital Image Processing (DIP) Lecture 6: Color Image Processing Instructor: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture, University of Kurdistan,

More information

Histograms and Color Balancing

Histograms and Color Balancing Histograms and Color Balancing 09/14/17 Empire of Light, Magritte Computational Photography Derek Hoiem, University of Illinois Administrative stuff Project 1: due Monday Part I: Hybrid Image Part II:

More information

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors.

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors. Computer Assisted Image Analysis TF 3p and MN1 5p Color Image Processing Lecture 14 GW 6 (suggested problem 6.25) How does the human eye perceive color? How can color be described using mathematics? Different

More information

SDC. AutoCAD LT 2007 Tutorial. Randy H. Shih. Schroff Development Corporation Oregon Institute of Technology

SDC. AutoCAD LT 2007 Tutorial. Randy H. Shih. Schroff Development Corporation   Oregon Institute of Technology AutoCAD LT 2007 Tutorial Randy H. Shih Oregon Institute of Technology SDC PUBLICATIONS Schroff Development Corporation www.schroff.com www.schroff-europe.com AutoCAD LT 2007 Tutorial 1-1 Lesson 1 Geometric

More information

Introduction. Related Work

Introduction. Related Work Introduction Depth of field is a natural phenomenon when it comes to both sight and photography. The basic ray tracing camera model is insufficient at representing this essential visual element and will

More information

Table of Contents. Lesson 1 Getting Started

Table of Contents. Lesson 1 Getting Started NX Lesson 1 Getting Started Pre-reqs/Technical Skills Basic computer use Expectations Read lesson material Implement steps in software while reading through lesson material Complete quiz on Blackboard

More information

The Use of Non-Local Means to Reduce Image Noise

The Use of Non-Local Means to Reduce Image Noise The Use of Non-Local Means to Reduce Image Noise By Chimba Chundu, Danny Bin, and Jackelyn Ferman ABSTRACT Digital images, such as those produced from digital cameras, suffer from random noise that is

More information

Assignment: Light, Cameras, and Image Formation

Assignment: Light, Cameras, and Image Formation Assignment: Light, Cameras, and Image Formation Erik G. Learned-Miller February 11, 2014 1 Problem 1. Linearity. (10 points) Alice has a chandelier with 5 light bulbs sockets. Currently, she has 5 100-watt

More information

DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam

DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam In the following set of questions, there are, possibly, multiple correct answers (1, 2, 3 or 4). Mark the answers you consider correct.

More information

Image Perception & 2D Images

Image Perception & 2D Images Image Perception & 2D Images Vision is a matter of perception. Perception is a matter of vision. ES Overview Introduction to ES 2D Graphics in Entertainment Systems Sound, Speech & Music 3D Graphics in

More information

from: Point Operations (Single Operands)

from:  Point Operations (Single Operands) from: http://www.khoral.com/contrib/contrib/dip2001 Point Operations (Single Operands) Histogram Equalization Histogram equalization is as a contrast enhancement technique with the objective to obtain

More information

ImageJ, A Useful Tool for Image Processing and Analysis Joel B. Sheffield

ImageJ, A Useful Tool for Image Processing and Analysis Joel B. Sheffield ImageJ, A Useful Tool for Image Processing and Analysis Joel B. Sheffield Temple University Dedicated to the memory of Dan H. Moore (1909-2008) Presented at the 2008 meeting of the Microscopy and Microanalytical

More information

The Color Wheel is a visual representation of color theory. It is the color spectrum wrapped onto a circle.

The Color Wheel is a visual representation of color theory. It is the color spectrum wrapped onto a circle. The Color Wheel is a visual representation of color theory. It is the color spectrum wrapped onto a circle. It creates an orderly progression of color that helps us understand color balance and harmony.

More information

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Physics of Color Light Light or visible light is the portion of electromagnetic radiation that

More information

Human Vision, Color and Basic Image Processing

Human Vision, Color and Basic Image Processing Human Vision, Color and Basic Image Processing Connelly Barnes CS4810 University of Virginia Acknowledgement: slides by Jason Lawrence, Misha Kazhdan, Allison Klein, Tom Funkhouser, Adam Finkelstein and

More information

Segmentation using Saturation Thresholding and its Application in Content-Based Retrieval of Images

Segmentation using Saturation Thresholding and its Application in Content-Based Retrieval of Images Segmentation using Saturation Thresholding and its Application in Content-Based Retrieval of Images A. Vadivel 1, M. Mohan 1, Shamik Sural 2 and A.K.Majumdar 1 1 Department of Computer Science and Engineering,

More information

1. Open the Feature Modeling demo part file on the EEIC website. Ask student about which constraints needed to Fully Define.

1. Open the Feature Modeling demo part file on the EEIC website. Ask student about which constraints needed to Fully Define. BLUE boxed notes are intended as aids to the lecturer RED boxed notes are comments that the lecturer could make Control + Click HERE to view enlarged IMAGE and Construction Strategy he following set of

More information

EEE 309 Communication Theory

EEE 309 Communication Theory EEE 309 Communication Theory Semester: January 2016 Dr. Md. Farhad Hossain Associate Professor Department of EEE, BUET Email: mfarhadhossain@eee.buet.ac.bd Office: ECE 331, ECE Building Part 05 Pulse Code

More information

Deep Green. System for real-time tracking and playing the board game Reversi. Final Project Submitted by: Nadav Erell

Deep Green. System for real-time tracking and playing the board game Reversi. Final Project Submitted by: Nadav Erell Deep Green System for real-time tracking and playing the board game Reversi Final Project Submitted by: Nadav Erell Introduction to Computational and Biological Vision Department of Computer Science, Ben-Gurion

More information

Fast, Robust Colour Vision for the Monash Humanoid Andrew Price Geoff Taylor Lindsay Kleeman

Fast, Robust Colour Vision for the Monash Humanoid Andrew Price Geoff Taylor Lindsay Kleeman Fast, Robust Colour Vision for the Monash Humanoid Andrew Price Geoff Taylor Lindsay Kleeman Intelligent Robotics Research Centre Monash University Clayton 3168, Australia andrew.price@eng.monash.edu.au

More information

COLOR and the human response to light

COLOR and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 How

More information

2. Pixels and Colors. Introduction to Pixels. Chapter 2. Investigation Pixels and Digital Images

2. Pixels and Colors. Introduction to Pixels. Chapter 2. Investigation Pixels and Digital Images 2. Pixels and Colors Introduction to Pixels The term pixel is a truncation of the phrase picture element which is exactly what a pixel is. A pixel is the smallest block of color in a digital picture. The

More information

2. Color spaces Introduction The RGB color space

2. Color spaces Introduction The RGB color space Image Processing - Lab 2: Color spaces 1 2. Color spaces 2.1. Introduction The purpose of the second laboratory work is to teach the basic color manipulation techniques, applied to the bitmap digital images.

More information

Compression and Image Formats

Compression and Image Formats Compression Compression and Image Formats Reduce amount of data used to represent an image/video Bit rate and quality requirements Necessary to facilitate transmission and storage Required quality is application

More information

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models Introduction to computer vision In general, computer vision covers very wide area of issues concerning understanding of images by computers. It may be considered as a part of artificial intelligence and

More information

Chapter 4. Incorporating Color Techniques

Chapter 4. Incorporating Color Techniques Chapter 4 Incorporating Color Techniques Color Modes Photoshop displays and prints images using specific color modes A mode is the amount of color data that can be stored in a given file format 2 Color

More information

TODAY STANDARD COLORS RGB COLOR CS 115: COMPUTING FOR SOCIO-TECHNO WEB REPRESENTATION OF TEXT, NUMBERS AND CODE

TODAY STANDARD COLORS RGB COLOR CS 115: COMPUTING FOR SOCIO-TECHNO WEB REPRESENTATION OF TEXT, NUMBERS AND CODE TODAY Computer components Binary numbers Text representation Color representation ( THE CS 115: COMPUTING FOR SOCIO-TECHNO WEB REPRESENTATION OF TEXT, NUMBERS AND CODE STANDARD COLORS All standards-compliant

More information

A new quad-tree segmented image compression scheme using histogram analysis and pattern matching

A new quad-tree segmented image compression scheme using histogram analysis and pattern matching University of Wollongong Research Online University of Wollongong in Dubai - Papers University of Wollongong in Dubai A new quad-tree segmented image compression scheme using histogram analysis and pattern

More information