Mark's Topics Flashcards

1
Q

Fourier Transform

A

Allows us to understand frequency of a signal. Integration of the signal * sine wave

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Discrete Fourier Transform

A

FT applied to N points. Finds out how many sine waves are in the signal, gives us understanding of it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

High, Critical, Low sampling

A

High Sampling is good, captures most detail. Critical sampling is just about good, captures just enough detail. Low sampling is bad, doesn’t capture enough detail, results in aliasing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Nyquist Sampling Theory

A

Critical Frequency = 2* Max frequency of signal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

2D Discrete Fourier Transform

A

For NxN Image. Results in 2D signal (like a wave at sea). Implemented using Fast Fourier Transform (by noticing symmetry in results of original FT).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Properties in FT

A

Vertical bars lead to horizontal bars in transform. Shift Invariant. Rotation will give rotated frequency. Scaling will give scaled frequencies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Histogram

A

Describes how grey levels occupy an image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Point Operations

A

A (mathematical) function maps old pixels to new one. (Point by Point)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Intensity Normalisation

A

Distributes grey levels in the image linearly between completely black and completely white. Used for normalisation in algorithms. Use a scaling factor s=white(255)/(MaxBrightness-MinBrightness)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Histogram Equalisation

A

Tunes brightness of image to suit our eye. Distributes grey levels in a non linear way. Gives flat historgram.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Thresholding (+Advanced)

A

Reduces image to black and white. Points Above value = white. Points below value = black. Advanced (optimal) Thresh decides what value to choose.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Group Operations Aims

A

Improve quality of image by removing noise or rubbish in the image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Template Convolution

A

Process regions of points in original image to get a single new point in new image. Sum of all points in template multiplied by a weighting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Direct Averaging

A

For 3x3 template, weighting = 1/9. 5x5, w=1/25. More averaging = Bigger border + less noise + feature blur. Optimal size depends on amount of noise.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Gaussian Averaging

A

Most likely to match noise, weighting comes from a Gaussian Function. Slower than direct averaging, but better noise reduction for same blurring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Median filter

A

Takes centre point of a ranked list derived from the template. Good for black and white noise, retains edges within images, ranking makes it slow.

17
Q

Edge Detection

A

Fucking Edge Detection. Important in Vision. Detect low level features which are grouped together to find high level features.

18
Q

Edge Detection methods

A

Determine contrast and intensity change using {MATHS}

19
Q

First Order Approximation (Edge Detection)

A

f’(x)=Px+1,y - Px,y. Equivalent to convolving matrix with image. Matrix=[{2,-1},{-1,0}]. Where 2 is original pixel

20
Q

Matrix Convolution with image (E/D)

A

For each pixel in original image, new value for the pixel is sum of all nearby pixels multiplied by equivalent value in matrix.

21
Q

Improved First Order Approximation (E/D)

A

Use Taylor Series to approxmiate. Two matrices {1, 0,-1} (horiz), and [1, 0, -1] (vert)

22
Q

Reducing noise due to differentiation (E/D)

A

Include averaging. Difference horizontally and average vertically using Mx=[{-1,0,1},{-1,0,1},{-1,0,1}]. Difference vertically and average horizontally using My=[{1,1,1},{0,0,0},{-1,-1,-1}]

23
Q

Prewitt Operator

A

Edge direction = tan^-1 (My/Mx). Has direct averaging

24
Q

Sobel Operator

A

Standard basic operator. Using Gaussian Filtering. Optimal differencing in one direction + Optimal averaging in the other. Cheap, averaging blurs the image

25
Q

Sobel Operator matrices

A

Mx=[{-1,0,1},{-2,0,2},{-1,0,1}] My=[{1,2,1},{0,0,0},{-1,-2,-1}]

26
Q

Canny Edge Detection

A

Optimal Edge Detector: Good localisation, low noise, no multiple response. Use an approximate template created by: Gaussian Smoothing,Sobel Operator, Non-Max-suppression, hysteresis thresholding. Gives thin edges in right place.

27
Q

Hysteresis Threshold Function

A

Upper and lower switching threshold. Only switch down when below a lower threshold. Only switch up when above upper threshold. Noise tolerance between upper and lower thresh.

28
Q

Second Order Detection

A

Differentiate First order detection. Gives ‘zero crossing’ at edges. Detect all zero crossings. M=[{0,1,0},{1,-4,1},{0,1,0}]

29
Q

Marr-Hildreth

A

Adds smoothing to Second Order edge detection. Gives connected edge points. Slow as templates can be slow. Solution = use FT.

30
Q

Shape Extraction using Template matching

A

Match template to an image. Store evidence in accumulator array. Maximum of evidence is the location of the shape. Slow but optimal. Can handle noise and occlusion.

31
Q

Hough Transform for Lines.

A

For line y=mx+c, plot c=-xm+y in accumulator space. Each point on original line represents a gradient, maps to a line in accumulator space. Can read off intercept and gradient of accumulator space

32
Q

Hough Transform for Lines code

A

Search all of x & y

  • If value is greater than a threshold
  • -Loop all values of gradient
  • –Apply c=-xm + y to find c. Add point to accumulator
33
Q

Hough Transform for Circles

A

Using (x-x0)^2 + (y-y0)^2 = r^2. Need to loop all values of radius instead of gradient. If radius is unknown, add radius to accumulator space and loop through set of radius values. Search for max in accumulator

34
Q

Hough Transform for Ellipses

A

((x-x0)^2)/a^2 + ((y-y0)^2)/b^2 = 1. Add rotation to accumulator space. Giving 5D accumulator (x0,y0,a,b,rotation). VERY SLOW

35
Q

Generalised Hough Transform

A

For arbitrary shapes, lookup table R-table. Take centre of arbitrary shape. Form R-Table storing distance and angle of each point from the centre. Edge direction is index to distance of centre point. Every element R-table votes for correct centre (may also vote incorrectly)

36
Q

Generalised Hough Transform code

A
Loop all image points
-If point is greater than a threshold
--Get edge direction Thi(x,y). Lookup d and Theta for Thi(x,y). Vote at centre d,Theta(Thi)
#Scale d for bigger/smaller shapes. 
#Add rotation to Theta if rotated.