Top Banner
Spacecraft Stereo Imaging Systems Group S3
17

Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Spacecraft Stereo Imaging Systems

Group S3

Page 2: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Variables

• Separation of the cameras

• Height of the cameras – relative to the bench

• Angle – The direction cameras are facing relative to each other

Page 3: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Other Considerations

• Distance – Between the object and the cameras.

• Size of the object

Page 4: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Theory of stereo images

O

d

(x, y, z) f – focal length of the cameras.

),( ll yx ),( rr yx and

are the points in the two images,

produced by the cameras.

Page 5: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Theory of stereo images

z

dx

f

xl 2/

z

dx

f

xr 2/

z

y

f

y

f

y rl

By considering the geometry of the system we can obtain a set of 3 simultaneous equations

These equations can be rearranged to find equations for the coordinates of the object - x, y and z.

Page 6: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

rl

rl

xx

xxdx

2

rl

rl

xx

yydy

2

rl xx

dfz

Theory of stereo images

Page 7: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

rl

rl

xx

xxdx

2

rl

rl

xx

yydy

2

rl xx

dfz

Theory of stereo images

The quantity , which appears in all the equations is known as disparity.

rl xx

Page 8: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Stereo Views

Left Camera Right Camera

The objects are displaced in one image relative to the other. These displacements are known as DISPARITIES.

Page 9: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Producing Stereograms

• The optimal ratio of object distance to camera separation is 30/1.

• Separation of the camera the same as average human eyes.

• Displacement of objects inversely proportional to the distance

Page 10: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Initial Attempts at a Stereogram

Page 11: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.
Page 12: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Calibration• The demagnification of the camera was found at a range

of distances.

• This was done using a single camera.

s

h

Object Image

Page 13: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Calibration

where h is the height of the object h´ is the image height, s is the object distance and s´ is the image distance.

s

s

h

hionmagnificat

The image height h´ is given by

nwh where n is the number of pixels and w is the width of 1 pixel (a single sensor) inside the camera.

Page 14: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Calibration

sw

hsn

1.

By plotting a graph of the height in pixels, n, versus the distance s, for an object of known height, the constant s´/w can be found from the gradient, m.

Page 15: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Calibration Graph

Image Height Against Inverse Object Distance

y = 326.15x + 4.8214

R2 = 0.9999

0

50

100

150

200

250

300

350

0 0.2 0.4 0.6 0.8 1 1.2

Inverse Object Distance / m^-1

Imag

e H

eig

ht

in P

ixel

s ±

2

Page 16: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Determination of Object Height and Range

Now the ratio h/s can be found by measuring the image height in pixels … but more information is needed to distinguish between a small object which is close and a large object which is far away.

rl

rl

xx

yydy

2

Page 17: Spacecraft Stereo Imaging Systems Group S3. Variables Separation of the cameras Height of the cameras – relative to the bench Angle – The direction cameras.

Finally

rl

rl

xx

xxdx

2

We took some measurements of position in each of the two images and used them to find the x position of the object. We will continue this in the next lab session.