14 advanced vision

Upload: adam-mahmood

Post on 14-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 14 Advanced Vision

    1/47

    Robotic Systems (14)

  • 7/29/2019 14 Advanced Vision

    2/47

    Some interesting questions.

    How do ants forage

    How do birds flock

    Hoe do we drive a car round a track without a driver

    Can we use a bees vision system to land a helicopter

  • 7/29/2019 14 Advanced Vision

    3/47

    Current Perception Paradigm

    Moving

    Object

    Static

    Object

    Smooth

    Surfaces

    Vehicle

    Time

  • 7/29/2019 14 Advanced Vision

    4/47

    Information from images

    Advanced robotics needs to extract as much information aspossible from images.

    Perception

    Additional position information

    Motion

  • 7/29/2019 14 Advanced Vision

    5/47

    Height from a 2D image

    Distances

    gives height

  • 7/29/2019 14 Advanced Vision

    6/47

    Motion from an images

    Image differencing

    Simple, but limited

    Optical flow More complex

    Biologically inspired

  • 7/29/2019 14 Advanced Vision

    7/47

    Image differencing

    Background Image

    Difference

  • 7/29/2019 14 Advanced Vision

    8/47

    Typical results

    Take background

    Take image

    Find difference

    Isolate largest object

    Locate centroid

    Plot

  • 7/29/2019 14 Advanced Vision

    9/47

    Optical FlowDistant objects appear tomove slowly

    Near objects appear

    to move faster

  • 7/29/2019 14 Advanced Vision

    10/47

    Optical Flow

    Optical flow is the distribution of apparent velocities ofmovement of brightness patterns in an image.

    Optical flow can arise from relative motion of objects and

    the viewer

    Calculate the motion between two image frames.

  • 7/29/2019 14 Advanced Vision

    11/47

    Optical Flow

    ( )

    ( )

    tI+Vy

    yI+Vx

    xI=0

    tt

    I+y

    y

    I+x

    x

    I+t,y,xI=

    )t+t,y+y,x+x(I=t,y,xI

    Note this equation cannot be solved unless other constraints are imposed

    on the problem, this is theAperture Problem

  • 7/29/2019 14 Advanced Vision

    12/47

    Optical flow

  • 7/29/2019 14 Advanced Vision

    13/47

    Optical Flow

    Take one stepforward

    http://people.csail.mit.edu/lpk/mars/temizer_2001/Optical_Flow/

    Arrows indicate

    direction

    and magnitude

    of the motion

  • 7/29/2019 14 Advanced Vision

    14/47

    Direct Perception

    Any motion is a combination of six basic movements

    The flow-field for a movement is the sum of eachmovements component.

    Relatively easy to decompose a complex motion into sixbasic movements

    Egomotion - estimating a camera's motion relative to

    rigidly placed objects in a scene.

  • 7/29/2019 14 Advanced Vision

    15/47

    Bees and optical flow

    How Bees Exploit Optic Flow: Behavioural Experiments and Neural Models [and Discussion],

    by Mandyam V. Srinivasan and R. L. Gregory

    Philosophical Transactions: Biological Sciences.

    http://images.google.co.uk/imgres?imgurl=http://www.hootingyard.org/wp-content/uploads/2008/07/bee-one.jpg&imgrefurl=http://hootingyard.org/archives/category/bees&usg=__iDutYXHNB6sjPvxD3phsC1nWe-0=&h=300&w=400&sz=10&hl=en&start=10&um=1&tbnid=AfnNSy_ntJJWxM:&tbnh=93&tbnw=124&prev=/images%3Fq%3Dbee%26hl%3Den%26rlz%3D1T4GGLD_enGB310GB310%26sa%3DN%26um%3D1
  • 7/29/2019 14 Advanced Vision

    16/47

    Bees and optical flow

    http://images.google.co.uk/imgres?imgurl=http://www.hootingyard.org/wp-content/uploads/2008/07/bee-one.jpg&imgrefurl=http://hootingyard.org/archives/category/bees&usg=__iDutYXHNB6sjPvxD3phsC1nWe-0=&h=300&w=400&sz=10&hl=en&start=10&um=1&tbnid=AfnNSy_ntJJWxM:&tbnh=93&tbnw=124&prev=/images%3Fq%3Dbee%26hl%3Den%26rlz%3D1T4GGLD_enGB310GB310%26sa%3DN%26um%3D1
  • 7/29/2019 14 Advanced Vision

    17/47

    Bees and optical flow

    http://images.google.co.uk/imgres?imgurl=http://www.hootingyard.org/wp-content/uploads/2008/07/bee-one.jpg&imgrefurl=http://hootingyard.org/archives/category/bees&usg=__iDutYXHNB6sjPvxD3phsC1nWe-0=&h=300&w=400&sz=10&hl=en&start=10&um=1&tbnid=AfnNSy_ntJJWxM:&tbnh=93&tbnw=124&prev=/images%3Fq%3Dbee%26hl%3Den%26rlz%3D1T4GGLD_enGB310GB310%26sa%3DN%26um%3D1
  • 7/29/2019 14 Advanced Vision

    18/47

    Bees and optical flow

    http://images.google.co.uk/imgres?imgurl=http://www.hootingyard.org/wp-content/uploads/2008/07/bee-one.jpg&imgrefurl=http://hootingyard.org/archives/category/bees&usg=__iDutYXHNB6sjPvxD3phsC1nWe-0=&h=300&w=400&sz=10&hl=en&start=10&um=1&tbnid=AfnNSy_ntJJWxM:&tbnh=93&tbnw=124&prev=/images%3Fq%3Dbee%26hl%3Den%26rlz%3D1T4GGLD_enGB310GB310%26sa%3DN%26um%3D1
  • 7/29/2019 14 Advanced Vision

    19/47

    The landing problem

    V

    D=Time

    Speed = V

    D

    Difficult to calculate in real time

    No time for slow binocular vision

    No time for stopping and peering

    http://images.google.co.uk/imgres?imgurl=http://www.hootingyard.org/wp-content/uploads/2008/07/bee-one.jpg&imgrefurl=http://hootingyard.org/archives/category/bees&usg=__iDutYXHNB6sjPvxD3phsC1nWe-0=&h=300&w=400&sz=10&hl=en&start=10&um=1&tbnid=AfnNSy_ntJJWxM:&tbnh=93&tbnw=124&prev=/images%3Fq%3Dbee%26hl%3Den%26rlz%3D1T4GGLD_enGB310GB310%26sa%3DN%26um%3D1http://images.google.co.uk/imgres?imgurl=http://www.hootingyard.org/wp-content/uploads/2008/07/bee-one.jpg&imgrefurl=http://hootingyard.org/archives/category/bees&usg=__iDutYXHNB6sjPvxD3phsC1nWe-0=&h=300&w=400&sz=10&hl=en&start=10&um=1&tbnid=AfnNSy_ntJJWxM:&tbnh=93&tbnw=124&prev=/images%3Fq%3Dbee%26hl%3Den%26rlz%3D1T4GGLD_enGB310GB310%26sa%3DN%26um%3D1
  • 7/29/2019 14 Advanced Vision

    20/47

    However

    During approach:

    Image grows

    Speed of edges increases

    Time = Image size (degrees)

    Velocity of edges (degrees per second)

  • 7/29/2019 14 Advanced Vision

    21/47

    Diving Gannets

  • 7/29/2019 14 Advanced Vision

    22/47

    Optical flow from a aerial platform

    Autonomous Landing for Indoor Flying Robots Using Optic Flow, Green et al, 2003

  • 7/29/2019 14 Advanced Vision

    23/47

    Landing Control

    Forward speed, Vf

    Height

    Descent

    Speed (Vd)

    Flight path

    f

    d1

    V

    VTan=

    )()( th=tV

    h

    V=

    f

    f Hold constant

    http://images.google.co.uk/imgres?imgurl=http://www.hootingyard.org/wp-content/uploads/2008/07/bee-one.jpg&imgrefurl=http://hootingyard.org/archives/category/bees&usg=__iDutYXHNB6sjPvxD3phsC1nWe-0=&h=300&w=400&sz=10&hl=en&start=10&um=1&tbnid=AfnNSy_ntJJWxM:&tbnh=93&tbnw=124&prev=/images%3Fq%3Dbee%26hl%3Den%26rlz%3D1T4GGLD_enGB310GB310%26sa%3DN%26um%3D1
  • 7/29/2019 14 Advanced Vision

    24/47

    Landing rules

    )(

    )(

    )()(

    )()(

    )()()(

    )()(

    o

    o

    ttB

    of

    ttB

    o

    fd

    f

    eth=tV

    eth=th

    Hence

    tBV=dt

    tdh=tV

    th=tV

  • 7/29/2019 14 Advanced Vision

    25/47

    Typical results

  • 7/29/2019 14 Advanced Vision

    26/47

    Experimental System

    Optic flow-based vision system for autonomous 3D localization and control of small aerial vehiclesKendoul, Fantonia, and Nonamib, IRJJ, 2009

  • 7/29/2019 14 Advanced Vision

    27/47

    Experimental System

  • 7/29/2019 14 Advanced Vision

    28/47

    Typical application

    Concept for a plane to fly

    within the Martian atmosphere

  • 7/29/2019 14 Advanced Vision

    29/47

    Translation vs Rotation

    In translation close objects move faster

    In rotation Objects at all distances move at the samespeed

    Translatory motion can reveal 3D structure, but rotarymotion cannot.

    Motion Parallax

  • 7/29/2019 14 Advanced Vision

    30/47

    Biological viewpoints

    Saccades

    Sudden movement of the eyes or heads

    Crabs can move their eyes

    Insects move their heads

  • 7/29/2019 14 Advanced Vision

    31/47

    Fiddler Crab

  • 7/29/2019 14 Advanced Vision

    32/47

    Eye movements

    Increase field of view

    Stabilise image

    Estimate distances

    Track objects

    Scan objects

    RoboticBiological Systems

  • 7/29/2019 14 Advanced Vision

    33/47

    Obstacle Avoidance

  • 7/29/2019 14 Advanced Vision

    34/47

    Objective

    Flying autonomously

    Two poles 10 m apart.

    The rotor span of thehelicopter is 3.4 m

  • 7/29/2019 14 Advanced Vision

    35/47

    Test vehicle

  • 7/29/2019 14 Advanced Vision

    36/47

    Lidar scans

    170m

  • 7/29/2019 14 Advanced Vision

    37/47

    Evidence Grid

    Build a 3d image of the environment as we are considering

    probability, transient image are filtered out

  • 7/29/2019 14 Advanced Vision

    38/47

    Obstacle avoidance

    Uses the principle of attraction and repulsion.

    The helicopter is attracted to the objective

    The helicopter is repulsed from an obstacle

    Flies along the resultant valley

    Flying Fast and Low Among Obstacles

    Sebastian Scherer, Sanjiv Singh, Lyle Chamberlain and Srikanth Saripalli, 2007, IEEE ICRA

  • 7/29/2019 14 Advanced Vision

    39/47

    Example

  • 7/29/2019 14 Advanced Vision

    40/47

    Reported results

  • 7/29/2019 14 Advanced Vision

    41/47

    Final thoughts

    Commercial low cost systems

    Vacuum cleaners

    Lawn mowers

    Perimeter boundary control

    Electric fence

    Physical obstacles

  • 7/29/2019 14 Advanced Vision

    42/47

    Agriculture

    Reduce labour

    Smaller tractors

    More hours of usage

    Cabs not required

    Increased safety

    Fixed paths, GPS based

  • 7/29/2019 14 Advanced Vision

    43/47

    True autonomous Driving

    Reference paper

    Stanley: The Robot that Won the DARPA Grand Challenge Journal of FieldRobotics 23(9), 661692 (2006)

  • 7/29/2019 14 Advanced Vision

    44/47

    Sensors and computers

    GPS (four separate system)

    Five laser range finders looking at the terrain out to 25m

    Colour camera for long range perception of the road

    Two radar units out to 200m

    Six Pentium processor + gigabit Ethernet

    Input/Output to the vehicle

    Treat autonomous

    navigation as a software problem.

  • 7/29/2019 14 Advanced Vision

    45/47

    Architecture

  • 7/29/2019 14 Advanced Vision

    46/47

    Deliberative and Reactive Control

    Sense

    Model

    Plan

    Act

    Modify the world

    Create maps

    Discover new areas

    Avoid collisions

    Move around

    ReactiveDeliberative

  • 7/29/2019 14 Advanced Vision

    47/47

    Processed camera image