Blobs Flashcards

1
Q

What is a blob?

A

A set of pixels that

  • share some property
  • are connected
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is 4 connectedness?

A

When we consider the 4 pixels directly above, below, to the left and right of a pixel to be connected.

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

What is 8 connectedness?

A

When we consider the 8 pixels surrounding a single pixel to be connected.

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

How do we work out the center of gravity of a blob?

A

Take the average of all the positions of the pixels in the blob, weighted by their intensity.

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

Are two chain codes that are produced from starting at two different pixels equal?

A

Yes the two chain codes are the same, as one can be rotated to match the other.

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

How can we make sure we can generate the same chain code regardless of rotation?

A

We can use differential chain codes, where we set the last direction taken as being the zero direction, and compute the next direction in the chain code relative to this.

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

How can we calculate a differential chain code from an ordinary chain code?

A

Let the ordinary chain code be:

c1, c2, c3 … cm

dn = cn cn-1 (mod 8)

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

How can we calculate the perimeter for an ordinary chain code?

A

Add 1 for each even code, and add sqrt(2) for every odd code

e.g. 1,1,1,2,3,4,5,6,2

= 3(4) + 3(sqrt(5))

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