Stereo Vision Flashcards

1
Q

StereoVision:
How does the human visual system work?

A

Many of the perceptual cues we use to visualize 3D structure are
available in 2D projections

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

Which cues are we talking about?

A

– occlusion (one object partially covering another)
– perspective (point of view)
– familiar size (we know the real-world sizes of many objects)
– atmospheric haze (objects further away look more washed out)

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

What are the four cues that are missing from single 2D views?

A

– stereo parallax - seeing a different image with each eye
– movement parallax -seeing different images when we move the
head
– Accommodation - the eyes’ lenses focus on the object of interest
– Convergence - both eyes converge on the object of interest

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

What does Stereopsis mean?

A
  • stereo means solid or three dimensional
  • opsis means appearance or sight
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Stereopsis?

A
  • impression of depth that is perceived when a scene is viewed with both eyes
  • binocular disparity is due to the different position of our two eyes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some common ways to produce 3D sensation?

A
  • anaglyphs: two colored images and color coded glasses ((red/cyan(green))
  • two images with different light polarization and polarizing glasses-linear and circular
  • double frame-rate displays combined with LCD shutter glasses
  • autostereoscopic displays:
    - such as parallax barrier and lenticular lens
  • HMDs (Head Mounted Displays)
  • “exotic displays”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is StereoVision?

A
  • capability to define depth from two images
  • possible by computing correspondences between two images
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the frontal parallel arrangement?

A

-Frontal-parallel arragement of an image refers to the result you get after rectifying warped images.
- Z = f*T / d ; d = xl - xr
- stereo system have good depth resolution for close objects since depth is inversely proportional to disparity
-it is easy to relate correspondence to depth in
frontal parallel arrangement

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

What is the problem of frontal parallel arrangement?

A

It is how to map real configuration into it

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

What is an epipole?

A
  • epipole is a projection of the optical center of a camera on the other image plane
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is epipolar geometry useful for?

A

-given a point in an image, its corresponding point in the other image lies on the corresponding epipolar line
- order is preserved
- transforms a 2D search into a 1D search saving resources and avoiding errors

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

How is epipolar geometry defined?

A

It is defined using Essential (E) and Fundamental (F) Matrices

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

What information does the Essential Matrix gives?

A
  • information about relative position between cameras (rotation and translation) [extrinsic]
  • maps a 3D point in one image with its corresponding 3d point on the other image considering translation and rotation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What information does the Fundamental Matrix gives?

A
  • intrinsic parameters of the cameras (focal
    length, lens distortion, optical centre, etc…)
  • maps a pixel in one image with its corresponding pixel on the other image
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What do Fundamental and Essential matrices have in common?

A

They represent the transformation between the
stereo pair images.

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

Give me a difference between the Fundamental and Essential matrices

A

Fundamental matrix operates in image coordinates (pixels) while the Essential matrix operates in physical coordinates.

17
Q

What is Image rectification?

A
  • rectify an image by aligning epipolar lines in rows on the two rectified images getting a frontal parallel arranjement
18
Q

What is disparity in rectified images?

A

It is simply difference between pixel coordinates xl and xr

19
Q

How does Template matching work?

A

-It evaluates how well template matches image in that position.
-Template matching is moved to all positions (𝑢, 𝑣) in image and computes 𝑝 (𝑎, 𝑏) to evaluate how well template matches image in that position.

20
Q

How to know if object is on image at some position?

A

The position is where occurs max 𝑝(𝑎, 𝑏) if max(𝑝 𝑎, 𝑏) > threshold

21
Q

What are some possible functions to compare template and
image 𝑝( 𝑎, 𝑏)?

A
  • square difference matching
  • correlation matching
    correlation coefficient matching
22
Q

What is Stereo Matching?

A

It consists on matching pixels in conjugate epipolar lines

23
Q

How does the basic stereo algorithm work?

A
  • for each epipolar line and for each pixel in the left image:
    - compare with the pixel on the same epipolar line in the right image
    - pick pixel with minimum match cost
24
Q

What other algorithm is there?

A

There is also the block matching algorithm

25
Q

How does the Block matching algorithm work?

A
  • divides an image into macrobooks
  • compare each with a corresponding block and its neighbours in the another image
26
Q

Which metrics can be used in the Block matching algorithm?

A
  • mean difference or mean absolute difference (MAD) ;
  • mean squared error (MSE)
27
Q

Does the window size affects the results of stereo?

A

Yes.
In fact, there are better results with adaptive window.

28
Q

Where do Errors in stereo system come from?

A

– Camera calibration errors
– Poor image resolution
– Occlusions
– Violations of brightness constancy (specular reflections)
– Large motions
– Low-contrast image regions

29
Q

What are the steps on Stereo Vision?

A
  • calibrate cameras
  • rectify images
  • compute disparity
  • estimate depth
30
Q

What are some StereoVision functions on OpenCV?

A
  • cvFindChessboardCorners: detect chessboard corner in stereo images
  • cvStereoCalibrate: calibrates stereo rig
  • cvStereoRectify: computes rotations that make both camera planes the same.
  • cvInitUndistortRectifyMap and cvRemap: use to compute undistortion map and rectified images
  • Stereo correspondence (ex:cvFindStereoCorrespondenceBM): computes the disparity map.
  • cvReprojectImageTo3D: disparity map to 3D with calibrated cameras