/
Object Detection with Superquadrics Object Detection with Superquadrics

Object Detection with Superquadrics - PowerPoint Presentation

luanne-stotts
luanne-stotts . @luanne-stotts
Follow
398 views
Uploaded On 2016-07-18

Object Detection with Superquadrics - PPT Presentation

Presenter Ilya Afanasyev Facoltà di Ingegneria Trento 2010 14122010 1 20 Superquadrics SQ A superquadric surface can be defined by the 3D vector are parameters of shape squareness ID: 410099

2010 silhouette points surface silhouette 2010 surface points point algorithm rotated superquadrics ε1 coordinates recovery data reconstruction ε2 real

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Object Detection with Superquadrics" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Object Detection with Superquadrics

Presenter: Ilya Afanasyev

Facoltà di Ingegneria

Trento, 2010

14/12/2010

1

/20Slide2

Superquadrics (SQ

)A superquadric surface can be defined by the 3D vector:

- are parameters of shape squareness;

- define the superquadric sizes.

14/12/2010

2

/20

Superquadrics are a family of parametric shapes, which are used as primitives for

shape representation and play the role of prototypical parts and can be further deformed and glued together into realistic looking models.Slide3

Vector

r(η,ω) sweeps out a closed surface in space when η,ω change in the given intervals:

η

ω

x

y

z

r(

η

,

ω

)Creation of SQ surface η

,ω – independent parameters (latitude and longitude angles) of vector

r(η

,

ω

)

expressed in spherical

coordinates.

a

1

a

2

a

3

14/12/2010

3

/20Slide4

Parametric equation of SQ

The parametric equation of a superquadric surface:

- are parameters of shape squareness;

- define the superquadric sizes.

14/12/2010

4

/20

Superquadrics can model a

large set of standard building blocks, like spheres, cylinders, parallelepipeds and shapes in between. Modeling capabilities of SQ can be enhanced by tapering, bending and making cavities.Slide5

x’

x

y

z

2

nd

way for creation of SQ surface

x,y – independent parameters (Cartesian coordinates of SQ), which are used to obtain z coordinate.

y’

z’

Use the parametric equation in Cartesian coordinates, consideringf(x,y,z) = 1

-a1 ≤ x ≤ a1-a2 ≤ y

≤ a2

z=NaN

y=a

2

x=a

1

14/12/2010

5

/20Slide6

Warning: complex numbers in SQ equation

1. If ε1 or ε2 < 1 and cos or sin of angles ω or η < 0, then vector

r(η,

ω) has complex values. To escape them, it should be used absolute values of the vector components, taking into account the sign of

sin or cos for further SQ surface reconstruction.

2. Analogically if

x

or y < 1 and ε

1 > 1, the function f(x,y,z)

willl have the

complex values of z. To overcome it, use the f(x,y,z) in power of exponent ε

1.

f(x,y,z)ε1 = 1

6

/20

14/12/2010Slide7

ε1

= 0.1ε1 = 1ε1 = 2ε

2 = 0.1

ε2 = 1

ε

2 = 2Samples of SQ, depending on

ε1 or ε2

14/12/2010

7

/20

[1]Slide8

Reconstruction of complex object [2]

Applications with SQ14/12/20108

Reconstruction of complex object

[4]

Reconstruction of complex object

[3]Slide9

Reconstruction of multiple objects [5]

Applications with SQ14/12/20109

Reconstruction of multiple objects

[5]Slide10

What are we trying to achieve?

To build the robust algorithm of recovery of pallets surface by Superquadrics with the real 3D data from a rangefinder (possibly, without segmentation).14/12/201010

Develop a robust algorithm of recovery of simulated SQ objects (excluding noise).

Test it with 3D real data.

Build a superquadric model of the europallet.

Take 3D data of pallet from rangefinder.Fit the superquadric model of the europallet to real 3D data by the algorithm.Slide11

Idea of work with SQ simulation

1. Create SQ with known parameters a1, a2, a3, ε1, ε2.2. Get representation of SQ in points (like “Cloud of points”).3. Rotate and translate SQ according to “viewpoint of interest”.

4. Get the silhouette of SQ (visible part of SQ from viewpoint).5. Add the noise to SQ silhouette to obtain more realistic model.

6. Detect the orientation and location of SQ, using the known model of SQ and detection algorithm (based on solving a system of nonlinear equation).

Azimuth, Elevation, Distance ???

1.

2.

3.

4.

5.

6.

11/20

14/12/2010Slide12

Rotation and translation of SQ

Elevation

Azimuth

x

y

z

z

W

x

W

yW

T

– transformation matrix.

n

– amounts of points in SQ surface.

SQ

– coordinates of points of SQ surface.

P

w

– coordinates of points of rotated SQ surface.

x

W

, y

W

, z

W

– world system of coordinates (with center in viewpoint).

Warning:

Standard MATLAB function:

viewmtx

is useless for rotation and translation purposes.

12

/20

14/12/2010Slide13

Rotation and translation of SQ

Elevation

Azimuth

x

y

z

z

W

x

W

y

W

T

SQ

P

w

p

x

az

,

el

,

px

,

py

,

pz

,

x

,

y

,

z

– are given;

x

W

,

y

W

,

z

W

– should be found.

13

14/12/2010Slide14

Getting the silhouette of SQ

1) Calculate x’,y’,z’ (R’,Az’,El’) coordinates of every point of line laid between center of world coordinate system and point of interest from rotated SQ.

y

w

x

w

p

2

p’

p”

Az’

El’

z

w

p’

– lays outside SQ;

p’’

– lays inside SQ.

(x’; y’)

p

1

14

/20

14/12/2010Slide15

Getting the silhouette of SQ

2) To recover the real x,y,z coordinates of every point of rotated SQ (rotate and translate it back):T – transformation matrix;SQ – non-rotated point of SQ silhouette;P’w – rotated point of SQ silhouette.

Elevation

Azimuth

x

y

z

z

W

x

W

y

W

Silhouette

(visible part of SQ from viewpoint)

P(x;y;z)

15

14/12/2010Slide16

Getting the silhouette of SQ

- the point is on the surface of SQ.

- the point is outside SQ.

- the point is inside SQ.

3) Calculation of inside-outside function

f(x,y,z)

ε1.4) If all points of a line from the “SQ point of interest” to the world coordinate center lay outside – this point of SQ is visible, otherwise – invisible.

x

y

z

z

W

x

W

y

W

Silhouette

p

1

p

2

p

1

– is the point of SQ silhouette;

p

2

– is not.

16

/20

14/12/2010Slide17

Adding the noise to SQ silhouette

2) Also the algorithm should process the SQ surface points, which cab be slightly deviated from real positions of SQ surface. We can create the deviation of mean values of z-coordinate for points of SQ surface according to law of normal distribution for small standard deviation (for example, σ=0.5).To build the robust algorithm of recovery of SQ surface it is necessary to take into account the noise, which can exist in the real data (from a rangefinder).

1) The algorithm should be robust to outlets. To simulate the outlets, we can add to SQ silhouette some points obtained by uniform distribution.

silhouette

Noised silhouette

outliers

17

/2014/12/2010Slide18

Algorithm of Recovery of SQ surface from silhouette

To detect az,el from silhouette of rotated SQ, the given points should rotated and translated back to SQ coordinate system.T – transformation matrix.SQ – non-rotated points of SQ silhouette.P’w – rotated points of SQ silhouette.

Elevation

Azimuth

x

y

z

z

W

x

W

y

W

Silhouette

P(x’;y’;z’)

T

SQ

P’

w

ε

1

,

ε

2

,a

1

-a

3

,

p

x

,p

y

,p

z

,x

W

,

y

W

,

z

W

– are given;

Az

,

El

,

ω,η

– should be found.

18

14/12/2010Slide19

Algorithm of Recovery of SQ surface from silhouette

To solve this system of nonlinear equations, when silhouette consists n ≥10 points, use MATLAB fsolve function (from Optimization toolbox) with Levenverg-Marquardt method. Future improvement of the algorithm deal with adding the new variable: px, using the parameter

dist for initial estimates x0

.

x

y

z

z

W

x

W

y

W

Silhouette

T

SQ

P’

w

p

y

=0;

p

z

=0.

ε

1

,

ε

2

,a

1

-a

3

,p

y

,p

z

,x

W

,

y

W

,

z

W

– are given;

Az

,

El

,

ω,η, p

x

– should be found.

p

x

dist

Variables

19

14/12/2010Slide20

Links

Solina F. and Bajcsy R. Recovery of parametric models from range images: The case for superquadrics with global deformations. // IEEE Transactions on Pattern Analysis and Machine Intelligence PAMI-12(2):131--147, 1990. Chella A. and Pirrone R. A Neural Architecture for Segmentation and Modeling of Range Data. // 10 pages. Leonardis A., Jaklic A., and Solina F. Superquadrics for Segmenting and Modeling Range Data. // IEEE Transactions On Pattern Analysis And Machine Intelligence, vol. 19, no. 11, 1997.Bhabhrawala T., Krovi V., Mendel F. and Govindaraju V. Extended Superquadrics. // Technical Report. New York. 93 pages.

Jaklic Ales, Leonardis Ales, Solina Franc. Segmentation and Recovery of Superquadrics.

// Computational imaging and vision 20, Kluwer, Dordrecht, 2000.

14/12/2010

20

/20Grazie per attenzione!!