Tangent estimation along 3D digital curves l Postolski 1 , 2 , Marcin - - PowerPoint PPT Presentation

tangent estimation along 3d digital curves
SMART_READER_LITE
LIVE PREVIEW

Tangent estimation along 3D digital curves l Postolski 1 , 2 , Marcin - - PowerPoint PPT Presentation

Introduction Discrete Straight Segments -Maximal Segment Tangent Direction Experimental Validation Tangent estimation along 3D digital curves l Postolski 1 , 2 , Marcin Janaszewski 2 , Yukiko Kenmochi 1 , Micha Jacques-Olivier Lachaud 3 1


slide-1
SLIDE 1

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

Tangent estimation along 3D digital curves

Micha l Postolski1,2, Marcin Janaszewski2, Yukiko Kenmochi1, Jacques-Olivier Lachaud3

1Laboratoire d’Informatique Gaspard-Monge, A3SI, Universit´

e Paris-Est, France

2Institute of Applied Computer Science, Lodz University of Technology, Poland 3Laboratoire de Math´

ematiques LAMA, Universit´ e de Savoie, France

November 11-15, 2012 ICPR 2012

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 1/ 26

slide-2
SLIDE 2

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation Motivation Tangent estimators Methods

Digital Geometry

Digital shapes arise naturally in several contexts e.g. image analysis, approximation, word combinatorics, tilings, cellular automata, computational geometry, biomedical imaging ... Digital shape analysis requires a sound digital geometry which is a geometry in Zn

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 2/ 26

slide-3
SLIDE 3

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation Motivation Tangent estimators Methods

Geometrical Properties

The classical problem in the digital geometry is to estimate geometrical properties of the digitalized shapes without any knowledge of the underlying continuous shape. length area perimeter convexity/concavity tangents curvature torsion ...

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 3/ 26

slide-4
SLIDE 4

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation Motivation Tangent estimators Methods

Discrete Curves

Many vision, image analysis and pattern recognition applications relay on the estimation of the geometry of the discrete curves. Z2 Z3 The digital curves can be, for example, result of discretization segmentation skeletonization boundary tracking

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 4/ 26

slide-5
SLIDE 5

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation Motivation Tangent estimators Methods

Discrete Tangent Estimator

The discrete tangent estimator evaluate tangent direction along all points of the discrete curve.

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 5/ 26

slide-6
SLIDE 6

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation Motivation Tangent estimators Methods

Discrete Tangent Estimator Application

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 6/ 26

slide-7
SLIDE 7

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation Motivation Tangent estimators Methods

Methods

In the framework of digital geometry, there exist few studies on 3D discrete curves yet while there are numerous methods performed

  • n 2D.

Approximation techniques in the continuous Euclidean space. (+) very good accuracy (-) require to set parameters (-) can be costly (-) poor behavior on sharp corners Methods which are work in discrete space directly. (+) good accuracy (+) no need to set any parameters (+) simple and fast (-) poor behavior on corrupted curves

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 7/ 26

slide-8
SLIDE 8

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

Computational window

The size of the computational window is fixed globally and is not adopted to the local curve geometry.

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 8/ 26

slide-9
SLIDE 9

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

Computational window

The size of the computational window can be adopted to the local curve geometry thanks to notion of Maximal Digital Straight Segments.

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 9/ 26

slide-10
SLIDE 10

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

2D Digital Straight Segments

Definition Given a discrete curve C, a set of its consecutive points Ci,j where 1 ≤ i ≤ j ≤ |C| is said to be a digital straight segment (or S(i, j)) iff there exists a digital line D containing all the points of Ci,j. D(a, b, µ, e) is defined as the set of points (x, y) ∈ Z2 which satisfy the diophantine inequality: µ ≤ ax − by < µ + e,

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 10/ 26

slide-11
SLIDE 11

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

Maximal Segments

Definition Any subset Ci,j of C is called a maximal segment iff S(i, j) and ¬S(i, j + 1) and ¬S(i − 1, j).

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 11/ 26

slide-12
SLIDE 12

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

The λ-MST Estimator (Lachaud et al., 2007)

The λ-MST, was originally designed for estimating tangents on 2D digital contours. It is a simple parameter-free method based on maximal straight segments recognition along digital contour linear computation complexity accurate results multigrid convergence

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 12/ 26

slide-13
SLIDE 13

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

3D Digital Straight Segments

Property In 3D case, S(i, j) is verified iff two of the three projections of Ci,j

  • n the basic planes OXY , OXZ and OYZ are 2D digital straight

segments.

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 13/ 26

slide-14
SLIDE 14

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

Tangential Cover

Property For any discrete curve C, there is a unique set M of its maximal segments, called the tangential cover.

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 14/ 26

slide-15
SLIDE 15

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

Pencil of Maximal Segments

Definition The set of all maximal segments going through a point x ∈ C is called the pencil of maximal segments around x and defined by P(x) = {Mi ∈ M | x ∈ Mi}

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 15/ 26

slide-16
SLIDE 16

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

Eccentricity

Definition The eccentricity ei(x) of a point x with respect to a maximal segment Mi is its relative position between the extremities of Mi such that ei(x) =

  • x−mi1

Li

if Mi ∈ P(x),

  • therwise.
  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 16/ 26

slide-17
SLIDE 17

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

The 3D λ-MST

Definition The 3D λ-MST direction t(x) at point x of a curve C is defined as a weighted combination of the vectors ti of the covering maximal segments Mi such that t(x) =

  • Mi∈P(x) λ(ei(x)) ti

|ti|

  • Mi∈P(x) λ(ei(x)) .
  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 17/ 26

slide-18
SLIDE 18

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

The Function λ

The function λ maps from [0, 1] to R+ with λ(0) = λ(1) = 0 and λ > 0 elsewhere and need to satisfy convexity/concavity property.

! !"# $ !"# $

sin(πx)

! !"# $ !"# $

64

  • −x6 + 3x5 − 3x4 + x3
! !"# $ !"# $

2 e15(x−0.5) + e−15(x−0.5)

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 18/ 26

slide-19
SLIDE 19

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

80 100 120 140 160 180 200 220 80 100 120 140 160 180 200 220 130 135 140 145 150 155 160 165 170 Treofil Knot < cos(2t)*(3+cos(3t)), sin(2t)*(3+cos(3t)), sin(3t) >

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 19/ 26

slide-20
SLIDE 20

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 20 40 60 80 100 120 140 160 RMSE Resolution Multigrid Convergence - Treofil Knot Lambda: 64(-x^6 + 3x^5 - 3x^4 + x^3) Lambda: 2/(exp(15(x-0.5)+exp(-15(x-0.5)))) Lambda: sin(3.14x)

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 20/ 26

slide-21
SLIDE 21

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 20 40 60 80 100 120 140 160 Maximum Absolute Error Resolution Multigrid Convergence - Treofil Knot Lambda: 64(-x^6 + 3x^5 - 3x^4 + x^3) Lambda: 2/(exp(15(x-0.5)+exp(-15(x-0.5)))) Lambda: sin(3.14x)

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 21/ 26

slide-22
SLIDE 22

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

0.01 0.1 20 40 60 80 100 120 140 160 RMSE Resolution Convergence Speed - Treofil Lambda-MSTD 0.5*x^(-0.71) 0.01 0.1 1 20 40 60 80 100 120 140 160 Maximum Absolute Error Resolution Convergence Speed - Treofil Lambda-MSTD 2.1*x^(-0.68)

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 22/ 26

slide-23
SLIDE 23

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2

0.2 0.4 0.6 0.8 1 80 100 120 140 160 180 200 220 Tangent Point Index Tangent direction, x axis, resolution 70 - Treofil Theoretical Tangent Lambda-MSTD

  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2

0.2 0.4 0.6 0.8 1 80 100 120 140 160 180 200 220 Tangent Point Index Tangent direction, y axis, resolution 70 - Treofil Theoretical Tangent Lambda-MSTD

  • 0.6
  • 0.5
  • 0.4
  • 0.3
  • 0.2
  • 0.1

0.1 0.2 0.3 0.4 80 100 120 140 160 180 200 220 Tangent Point Index Tangent direction, z axis, resolution 70 - Treofil Theoretical Tangent Lambda-MSTD

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 23/ 26

slide-24
SLIDE 24

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

60 80 100 120 140 160 180 200 220 60 80 100 120 140 160 180 200 220 140 150 160 170 180 190 200 210 220 Viviani < cos(t), sin(t), cos(t)^2 > 60 80 100 120 140 160 180 200 220 60 80 100 120 140 160 180 200 220 10 20 30 40 50 60 70 80 Helix <sin(t), cos(t), t> 0.01 0.1 20 40 60 80 100 120 140 160 RMSE Resolution Convergence Speed - Viviani Lambda-MSTD 0.4*x^(-0.65) 0.01 0.1 20 40 60 80 100 120 140 160 RMSE Resolution Convergence Speed - Helix Lambda-MSTD 0.5*x^(-0.73)

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 24/ 26

slide-25
SLIDE 25

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

Conclusions

We have proposed a new tangent estimator for 3D digital curves which is an extension of the 2D λ-MST estimator. We keep the same time complexity and accuracy as the

  • riginal algorithm

Asymptotic behavior evaluated experimentally on several space parametric curves is promising

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 25/ 26

slide-26
SLIDE 26

Introduction Discrete Straight Segments λ-Maximal Segment Tangent Direction Experimental Validation

Thank You for your attention! This work is partially supported by Polish government research grant NCN 4806/B/T02/2011/40 and French research agency grant ANR 2010 BLAN0205 03.

  • M. Postolski, M. Janaszewski, Y. Kenmochi, J-O. Lachaud

Tangent estimation along 3D digital curves 26/ 26