04/02 Lecture 3

Assignment 0 is out and it’s ungraded

how to submit

This week’s recitation

Python and numpy

image sampling

types of images

Image Histogram

Histogram captures the distribution of gray levels in the image

How frequently each gray level occurs in the image

Untitled

Histogram for patches

So we can easily tell there’s three different objects in the second frame because the three spikes in the histogram

Untitled

Think images as functions instead of matrices

We can think images as a function that takes the real world as input and pixels as output

images could continue on to infinity, but it’s limited because we can’t

Digital images are usually discrete

sample the 2D space on a regular grid

the input to the image function is a pixel location, $[n,m]$

The output to the image function is the pixel intensity

$f[n, m]$ represents the pixel intensity at that value

Untitled

An image as a function f from $R^2$ to $R^C$

if gray scale, C = 1, if color, C=3

we are gonna learn the different functions that does this job

Filters

Systems

A bunch of filters one on another