Detecting Faint Edges in Noisy Images: statistical limits, - - PowerPoint PPT Presentation

detecting faint edges in noisy images statistical limits
SMART_READER_LITE
LIVE PREVIEW

Detecting Faint Edges in Noisy Images: statistical limits, - - PowerPoint PPT Presentation

Detecting Faint Edges in Noisy Images: statistical limits, computationally efficient algorithms and their interplay Boaz Nadler Department of Computer Science and Applied Mathematics The Weizmann Institute of Science Joint works with Inbal


slide-1
SLIDE 1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Detecting Faint Edges in Noisy Images: statistical limits, computationally efficient algorithms and their interplay

Boaz Nadler

Department of Computer Science and Applied Mathematics The Weizmann Institute of Science Joint works with Inbal Horev, Sharon Alpert, Nati Ofir, Meirav Galun, Ronen Basri (WIS) and Ery Arias-Castro (UCSD)

  • Jan. 2016

Boaz Nadler Faint Edge Detection 1

slide-2
SLIDE 2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edge Detection

A fundamental task in low level image processing. Key ingredient in various applications.

Boaz Nadler Faint Edge Detection 2

slide-3
SLIDE 3

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edge Detection

A fundamental task in low level image processing. Key ingredient in various applications. Let I be an n × n (discrete) image. An edge is a curve Γ s.t. at all pixels (i, j) ∈ Γ ∇I · n

  • (i,j)∈Γ is ‘ large’

> 30 years of research, many edge detection algorithms

Boaz Nadler Faint Edge Detection 2

slide-4
SLIDE 4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edge Detection

A fundamental task in low level image processing. Key ingredient in various applications. Let I be an n × n (discrete) image. An edge is a curve Γ s.t. at all pixels (i, j) ∈ Γ ∇I · n

  • (i,j)∈Γ is ‘ large’

> 30 years of research, many edge detection algorithms

Boaz Nadler Faint Edge Detection 2

slide-5
SLIDE 5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edge Detection

A fundamental task in low level image processing. Key ingredient in various applications. Let I be an n × n (discrete) image. An edge is a curve Γ s.t. at all pixels (i, j) ∈ Γ ∇I · n

  • (i,j)∈Γ is ‘ large’

> 30 years of research, many edge detection algorithms Popular Methods: Detect edges from local image gradients or more recently learned edge filters.

Boaz Nadler Faint Edge Detection 2

slide-6
SLIDE 6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Previous Works

Hundreds of papers on edge detection... Classical Works: zero-crossings of image Laplacian [Marr & Hildreth 80’], Gaussian smoothing+gradients [Canny 1986], variational interpretations [Kimmel & Bruckstein 03’] Anisotropic Diffusion: Perona and Malik 90’, Weickert 97’, etc. Wavelet / Curvelet / Contourlet Methods: focus is on sparse image representation, but can be used for edge detection. Learning-Based Approaches for Natural Images PB [Malik et. al.] Boosted Edge Learning (BEL) [Dollar, Tu, Belongie, 2007], Structured forests [Dollar and Zitnick, 2013].

Boaz Nadler Faint Edge Detection 3

slide-7
SLIDE 7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edge Detection at low SNR

Our Focus: Faint edge detection in very noisy 2D images and 3D video Motivations:

  • 1. Bio-medical imaging.
  • 2. Natural images at non-ideal conditions: poor lighting, fog,

rain, night.

  • 3. SAR images, various surveillance applications.
  • 4. Object tracking in (noisy) 3D video.

Boaz Nadler Faint Edge Detection 4

slide-8
SLIDE 8

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Applications involving faint edges

Example: Electron Microscopy [Photosynthetic membranes in chloroplast] [Data: Z. Reich, E. Shimoni and O. Rav-Hon, Weizmann]

Boaz Nadler Faint Edge Detection 5

slide-9
SLIDE 9

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Biological/Biomedical Applications

Boaz Nadler Faint Edge Detection 6

slide-10
SLIDE 10

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Biological/Biomedical Applications

Boaz Nadler Faint Edge Detection 6

slide-11
SLIDE 11

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Poor Visibility

500 1000 1500 2000 2500 200 400 600 800 1000 1200 1400 1600 1800

Boaz Nadler Faint Edge Detection 7

slide-12
SLIDE 12

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Why is faint edge detection difficult ?

Empirically: at high noise levels, local methods typically fail

Boaz Nadler Faint Edge Detection 8

slide-13
SLIDE 13

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Why is faint edge detection difficult ?

Empirically: at high noise levels, local methods typically fail

Boaz Nadler Faint Edge Detection 8

slide-14
SLIDE 14

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Why is faint edge detection difficult ?

Empirically: at high noise levels, local methods typically fail Note the contrast reversals (locations where the red curve exceeds the blue one).

Boaz Nadler Faint Edge Detection 8

slide-15
SLIDE 15

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edge Contrast and Edge Length

At high noise levels: only long edges can be detected

Boaz Nadler Faint Edge Detection 9

slide-16
SLIDE 16

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edge Contrast and Edge Length

At high noise levels: only long edges can be detected

Boaz Nadler Faint Edge Detection 9

slide-17
SLIDE 17

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edge Contrast and Edge Length

At high noise levels: only long edges can be detected At lower levels of noise, shorter ones easily detected as well

Boaz Nadler Faint Edge Detection 9

slide-18
SLIDE 18

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Optimal Faint Edge Detection

To identify weak noisy edges, apply matched filter of width w:

γ γ+1

γ+2

γ-1 γ-2 P1 P2

  • smooth along the edge
  • compute difference across edge (after smoothing)

Boaz Nadler Faint Edge Detection 10

slide-19
SLIDE 19

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Optimal Faint Edge Detection

To identify weak noisy edges, apply matched filter of width w:

γ γ+1

γ+2

γ-1 γ-2 P1 P2

  • smooth along the edge
  • compute difference across edge (after smoothing)

Problem: Don’t know in advance where edge is ! Edge Detection ≡ Search/Test all feasible curves

Boaz Nadler Faint Edge Detection 10

slide-20
SLIDE 20

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edge Detection Algorithmic Framework

Input: I = Noisy n × n image σ = noise level SL = family of feasible curves of length L α ∈ (0, 1) = desired false alarm Algorithm: For L ∈ [Lmin, Lmax]

◮ For each Γ ∈ SL, compute matched filter response R(Γ). ◮ keep Γ only if |R(Γ)| > T = threshold(n, L, α, SL),

Post-processing: edge localization, refinement, non-maximal suppression. Output: Set of detected edges.

Boaz Nadler Faint Edge Detection 11

slide-21
SLIDE 21

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Choice of Threshold

control number of false detections

Boaz Nadler Faint Edge Detection 12

slide-22
SLIDE 22

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Choice of Threshold

control number of false detections Multiple Hypothesis Testing (Statistics) A-contrario principle (Morel et. al.) [von Gioi et. al. 10’] Line Segment Detector with false detection control ———————————————————

Boaz Nadler Faint Edge Detection 12

slide-23
SLIDE 23

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Choice of Threshold

control number of false detections Multiple Hypothesis Testing (Statistics) A-contrario principle (Morel et. al.) [von Gioi et. al. 10’] Line Segment Detector with false detection control ——————————————————— I = pure noise image. R1, R2, . . . = edge responses of all Γ ∈ SL. Choose threshold s.t. Pr[max |Ri| > threshold(n, L, α)] ≤ α

Boaz Nadler Faint Edge Detection 12

slide-24
SLIDE 24

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Choice of Threshold

control number of false detections Multiple Hypothesis Testing (Statistics) A-contrario principle (Morel et. al.) [von Gioi et. al. 10’] Line Segment Detector with false detection control ——————————————————— I = pure noise image. R1, R2, . . . = edge responses of all Γ ∈ SL. Choose threshold s.t. Pr[max |Ri| > threshold(n, L, α)] ≤ α Almost no spurious edge detections for pure noise image

Boaz Nadler Faint Edge Detection 12

slide-25
SLIDE 25

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Questions / Challenges:

◮ Q1 - Minimal Detectable Contrast: Which edge strengths can

be reliably detected ? Dependence on length and complexity

  • f feasible set of edges ?

◮ Q2 - Computationally Efficient Methods: to detect such

edges.

◮ Q3 - Severe Computational Constraints (sub-linear time

complexity).

Boaz Nadler Faint Edge Detection 13

slide-26
SLIDE 26

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Image Model

Observe n × n noisy image I = I0 + σξ I0 = noise free image with few step edges σ = noise level ξ = n × n image of i.i.d. N(0, 1) Gaussian noise

Boaz Nadler Faint Edge Detection 14

slide-27
SLIDE 27

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Image Model

I0 I Step Edges + Noise Definition: Edge SNR (=Normalized Edge Contrast) |∇I · n|/σ

Boaz Nadler Faint Edge Detection 15

slide-28
SLIDE 28

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q1- Minimal Detectable Contrast

Factors Affecting Edge Detection:

  • Edge length L (matched filter reduces noise as 1/

√ L)

  • Family of feasible curves (size increases with L)

Boaz Nadler Faint Edge Detection 16

slide-29
SLIDE 29

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q1- Minimal Detectable Contrast

Factors Affecting Edge Detection:

  • Edge length L (matched filter reduces noise as 1/

√ L)

  • Family of feasible curves (size increases with L)

Question: Can any arbitrarily faint edge be detected if it is sufficiently long ?

Boaz Nadler Faint Edge Detection 16

slide-30
SLIDE 30

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Lower Bound on Full Set of Curves

Lemma: Let I be a pure noise image. There exists a monotone curve Γ = Γ(I) of length L, such that EI[R(Γ(I))] = σ √ 2π > 0 and s.t. its variance is O(1/L).

Boaz Nadler Faint Edge Detection 17

slide-31
SLIDE 31

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Lower Bound on Full Set of Curves

Lemma: Let I be a pure noise image. There exists a monotone curve Γ = Γ(I) of length L, such that EI[R(Γ(I))] = σ √ 2π > 0 and s.t. its variance is O(1/L). Proof Idea: A greedy approach. At each pixel, choose maximal local contrast between continuing up or to the right.

Boaz Nadler Faint Edge Detection 17

slide-32
SLIDE 32

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Lower Bound on Full Set of Curves

Lemma: Let I be a pure noise image. There exists a monotone curve Γ = Γ(I) of length L, such that EI[R(Γ(I))] = σ √ 2π > 0 and s.t. its variance is O(1/L). Proof Idea: A greedy approach. At each pixel, choose maximal local contrast between continuing up or to the right. Conclusion: Cannot detect any arbitrary edge. In particular for exponentially large search spaces, lower limit on detectability.

Boaz Nadler Faint Edge Detection 17

slide-33
SLIDE 33

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Minimal Detectable Contrast

Lemma: Assume KL feasible curves at length L. By simple union bound, T ≤ σ √ 2 ln(KL/α) wL Remarks:

  • If KL is exponential in L then T ̸→ 0 as L → ∞.
  • If KL is subexponential in L then T → 0.
  • If KL independent of L, then T → 0 as 1/

√ L. If feasible set SL is sub-exponential in L then asymptotically any faint edge can be reliably detected if sufficiently long

Boaz Nadler Faint Edge Detection 18

slide-34
SLIDE 34

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Example: Straight Edges

L

Boaz Nadler Faint Edge Detection 19

slide-35
SLIDE 35

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q2 - Computationally Efficient Algorithms

How can we efficiently compute all KL responses ?

Boaz Nadler Faint Edge Detection 20

slide-36
SLIDE 36

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q2 - Computationally Efficient Algorithms

How can we efficiently compute all KL responses ? Typically KL scales (at-least) polynomially with image width n. Naively going over all possible curves would be extremely slow.

Boaz Nadler Faint Edge Detection 20

slide-37
SLIDE 37

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q2 - Computationally Efficient Algorithms

How can we efficiently compute all KL responses ? Typically KL scales (at-least) polynomially with image width n. Naively going over all possible curves would be extremely slow. Key approach: Multi-scale construction.

Boaz Nadler Faint Edge Detection 20

slide-38
SLIDE 38

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Straight Lines

[Galun, Basri, Brandt 07’] For n × n image with N = n2 pixels, there are O(N2) feasible straight line segments. using multiscale construction by Brandt and Dym, Fast calculation

  • f multiple line integrals, 1999.
  • Efficiently compute dense sub-set of O(N ln N) line integrals.
  • Via hierarchical recursive calculation, time complexity is

O(N ln N), instead of N3/2 ln N of direct calculation. works very well for noisy images with straight edges

Boaz Nadler Faint Edge Detection 21

slide-39
SLIDE 39

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Straight Lines

[Galun, Basri, Brandt 07’] For n × n image with N = n2 pixels, there are O(N2) feasible straight line segments. using multiscale construction by Brandt and Dym, Fast calculation

  • f multiple line integrals, 1999.
  • Efficiently compute dense sub-set of O(N ln N) line integrals.
  • Via hierarchical recursive calculation, time complexity is

O(N ln N), instead of N3/2 ln N of direct calculation. works very well for noisy images with straight edges Limitation: In many images, edges are curved...

Boaz Nadler Faint Edge Detection 21

slide-40
SLIDE 40

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Rectangular Partition Tree

[Ofir, Galun, N. & Basri, 15’] Key idea: Recursive division of square to rectangle to smaller squares

Boaz Nadler Faint Edge Detection 22

slide-41
SLIDE 41

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Rectangular Partition Tree

[Ofir, Galun, N. & Basri, 15’] Key idea: Recursive division of square to rectangle to smaller squares Best edge between p1 and p2 : concatenate responses of edges Γ(p1, p3) and Γ(p3, p2).

Boaz Nadler Faint Edge Detection 22

slide-42
SLIDE 42

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Complexity of Rectangular Partition Tree

f (A) - number of operations on tile of area A. Divide tile into 2 sub-tiles, each area A/2, interface boundary length O( √ A). f (A) = 2f (A/2) + O(A1.5)

Boaz Nadler Faint Edge Detection 23

slide-43
SLIDE 43

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Complexity of Rectangular Partition Tree

f (A) - number of operations on tile of area A. Divide tile into 2 sub-tiles, each area A/2, interface boundary length O( √ A). f (A) = 2f (A/2) + O(A1.5) Master Theorem: time complexity is f (n × n) = O(N1.5).

Boaz Nadler Faint Edge Detection 23

slide-44
SLIDE 44

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Complexity of Rectangular Partition Tree

With more detailed analysis, (N = n2 = total number of pixels) f (n × n) ≈ 18N3/2 Problem: This may still be too slow for large images.

Boaz Nadler Faint Edge Detection 24

slide-45
SLIDE 45

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Complexity of Rectangular Partition Tree

With more detailed analysis, (N = n2 = total number of pixels) f (n × n) ≈ 18N3/2 Problem: This may still be too slow for large images. Insight: if edge is not extremely faint, don’t need to go over all √ A pixels at interface. Can keep only top k highest responses. With this variant f (n × n) ≈ 6k · N log(N)

Boaz Nadler Faint Edge Detection 24

slide-46
SLIDE 46

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Complexity of Rectangular Partition Tree

With more detailed analysis, (N = n2 = total number of pixels) f (n × n) ≈ 18N3/2 Problem: This may still be too slow for large images. Insight: if edge is not extremely faint, don’t need to go over all √ A pixels at interface. Can keep only top k highest responses. With this variant f (n × n) ≈ 6k · N log(N) Empirically, 5 seconds on 256 × 256 image. Significantly faster than previous methods based on quad-tree beamlets, whose time complexity is O(N2) or O(N5/2).

Boaz Nadler Faint Edge Detection 24

slide-47
SLIDE 47

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Some Results

from top left clockwise: original, O(N1.5) method, Canny, Crisp [14’].

Boaz Nadler Faint Edge Detection 25

slide-48
SLIDE 48

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Some Results

Boaz Nadler Faint Edge Detection 26

slide-49
SLIDE 49

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q3: Severe Computational Constraints

In some applications: large and very noisy images (1000 x 1000 pixels or more) or noisy videos.

Boaz Nadler Faint Edge Detection 27

slide-50
SLIDE 50

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q3: Severe Computational Constraints

In some applications: large and very noisy images (1000 x 1000 pixels or more) or noisy videos. Task: Process Images/Video in real time but Low power computing devices

  • r

Severe power constraints

Boaz Nadler Faint Edge Detection 27

slide-51
SLIDE 51

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q3: Severe Computational Constraints

In some applications: large and very noisy images (1000 x 1000 pixels or more) or noisy videos. Task: Process Images/Video in real time but Low power computing devices

  • r

Severe power constraints Examples:

  • Battery of Cell-Phone
  • Solar Power of distant surveillance camera
  • Mobile Robots

In such cases even O(N) = O(n2) linear-time algorithm may be too slow.

Boaz Nadler Faint Edge Detection 27

slide-52
SLIDE 52

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Problem Setup

I = I0 + ξ observed n × n noisy image. I0 - noise free original image

Boaz Nadler Faint Edge Detection 28

slide-53
SLIDE 53

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Problem Setup

I = I0 + ξ observed n × n noisy image. I0 - noise free original image Task: Detect edges in I0 from noisy I. Assumptions:

  • Image I0 contains few edges (sparsity).
  • Edges of interest are straight and sufficiently long.

Boaz Nadler Faint Edge Detection 28

slide-54
SLIDE 54

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Example: Powerlines

500 1000 1500 2000 2500 200 400 600 800 1000 1200 1400 1600 1800 Boaz Nadler Faint Edge Detection 29

slide-55
SLIDE 55

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Example: Canny, run-time 2.5sec

Boaz Nadler Faint Edge Detection 30

slide-56
SLIDE 56

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Example: Canny, run-time 2.5sec

Cannot detect faint powerlines of second tower

Boaz Nadler Faint Edge Detection 30

slide-57
SLIDE 57

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Example: Straight Segment Detector, run-time 5 min

Boaz Nadler Faint Edge Detection 31

slide-58
SLIDE 58

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sublinear Time Edge Detection

Goal: Given noisy n × n image I, detect long straight edges in sublinear time,

Boaz Nadler Faint Edge Detection 32

slide-59
SLIDE 59

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sublinear Time Edge Detection

Goal: Given noisy n × n image I, detect long straight edges in sublinear time, complexity O(nα) with α < 2

Boaz Nadler Faint Edge Detection 32

slide-60
SLIDE 60

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sublinear Time Edge Detection

Goal: Given noisy n × n image I, detect long straight edges in sublinear time, complexity O(nα) with α < 2 touching only a fraction of the image/video pixels!

Boaz Nadler Faint Edge Detection 32

slide-61
SLIDE 61

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sublinear Time Edge Detection

Goal: Given noisy n × n image I, detect long straight edges in sublinear time, complexity O(nα) with α < 2 touching only a fraction of the image/video pixels! Questions: a) Statistical: which edge strengths can one detect vs. α ? b) Computational: optimal sampling scheme ? c) Practical: sub-linear time algorithm ?

Boaz Nadler Faint Edge Detection 32

slide-62
SLIDE 62

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Previous Sub-linear time methods

[Xu, Oja, and Kultanan 90’] [Kiryati et. al, 91’] Randomized / Probabilistic Hough transforms

Boaz Nadler Faint Edge Detection 33

slide-63
SLIDE 63

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Previous Sub-linear time methods

[Xu, Oja, and Kultanan 90’] [Kiryati et. al, 91’] Randomized / Probabilistic Hough transforms Based on local gradients, cannot in general detect faint edges. Also, not designed to detect start and end points of edges that do not span whole image.

Boaz Nadler Faint Edge Detection 33

slide-64
SLIDE 64

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Optimal Sublinear Edge Detection

For theoretical analysis, consider following class of images: I = {I contains only noise or one long fiber plus noise}

Boaz Nadler Faint Edge Detection 34

slide-65
SLIDE 65

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Optimal Sublinear Edge Detection

For theoretical analysis, consider following class of images: I = {I contains only noise or one long fiber plus noise}

Boaz Nadler Faint Edge Detection 34

slide-66
SLIDE 66

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Fundamental Limitations / Design Principles

Focus on detection under worst-case scenario.

Boaz Nadler Faint Edge Detection 35

slide-67
SLIDE 67

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Fundamental Limitations / Design Principles

Focus on detection under worst-case scenario. Lemma: If number of observed pixels is nα with α < 1 then there exists I ∈ I whose edges cannot be detected.

Boaz Nadler Faint Edge Detection 35

slide-68
SLIDE 68

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Fundamental Limitations / Design Principles

Focus on detection under worst-case scenario. Lemma: If number of observed pixels is nα with α < 1 then there exists I ∈ I whose edges cannot be detected. Theorem: Assume number of observed pixels is s and s/n is

  • integer. Then,

i) any optimal sampling scheme must observe exactly s/n pixels per row. ii) sampling s/n whole columns is an optimal scheme.

Boaz Nadler Faint Edge Detection 35

slide-69
SLIDE 69

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Statistical Accuracy vs. Computational Complexity

Definition: Edge SNR = edge contrast / noise level.

Boaz Nadler Faint Edge Detection 36

slide-70
SLIDE 70

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Statistical Accuracy vs. Computational Complexity

Definition: Edge SNR = edge contrast / noise level. Theorem: At complexity O(nα), with α ≥ 1, SNR √ ln n/nα−1

0.5 1 1.5 2 0.5 1 1.5 2 2.5 3 3.5 4 α SNR not possible ←

  • ln(n)

  • ln n/nα−1

Boaz Nadler Faint Edge Detection 36

slide-71
SLIDE 71

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sublinear Edge Detection Algorithm

Key Idea: Sample few image strips

Boaz Nadler Faint Edge Detection 37

slide-72
SLIDE 72

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sublinear Edge Detection Algorithm

Key Idea: Sample few image strips first detect edges in strips

Boaz Nadler Faint Edge Detection 37

slide-73
SLIDE 73

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sublinear Edge Detection Algorithm

Key Idea: Sample few image strips first detect edges in strips next: non-maximal suppression, edge localization

Boaz Nadler Faint Edge Detection 37

slide-74
SLIDE 74

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Example:

NOISY IMAGE, SNR=1 Boaz Nadler Faint Edge Detection 38

slide-75
SLIDE 75

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Example:

NOISY IMAGE, SNR=1 CANNY Boaz Nadler Faint Edge Detection 38

slide-76
SLIDE 76

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Example:

NOISY IMAGE, SNR=1 CANNY SUB−LINEAR Boaz Nadler Faint Edge Detection 38

slide-77
SLIDE 77

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sublinear Edge Detection, run-time few seconds

Boaz Nadler Faint Edge Detection 39

slide-78
SLIDE 78

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Summary

Presented statistical theory and lower bounds for edge detection. Fast O(N log N) algorithm for detection of faint curved edges. Sublinear algorithm for detection of long straight edges.

Boaz Nadler Faint Edge Detection 40

slide-79
SLIDE 79

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Summary

Presented statistical theory and lower bounds for edge detection. Fast O(N log N) algorithm for detection of faint curved edges. Sublinear algorithm for detection of long straight edges. Current / future work: extension to sublinear detection of curved

  • edges. detection of fibers in 3-D.

Boaz Nadler Faint Edge Detection 40

slide-80
SLIDE 80

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Summary

Presented statistical theory and lower bounds for edge detection. Fast O(N log N) algorithm for detection of faint curved edges. Sublinear algorithm for detection of long straight edges. Current / future work: extension to sublinear detection of curved

  • edges. detection of fibers in 3-D.

General question/challenge: what image processing/machine learning tasks can be performed in sub-linear time, what are the statistical-computational tradeoffs ?

Boaz Nadler Faint Edge Detection 40

slide-81
SLIDE 81

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Relevant Papers

1) Galun, Basri, Brandt, Multiscale edge detection and fiber enhancement using differences of oriented means, ICCV (2007). 2) Alpert, Galun, Nadler, Basri, Detecting Faint Edges in Noisy Images, ECCV 2010. 3) Ofir, Galun, Nadler Basri, Fast detection of curved edges at low SNR, submitted, 2015. 4) Horev, Arias-Castro, Nadler, Edge Detection in Sub-linear Time, SIAM J. Imaging Sciences, 2015.

Boaz Nadler Faint Edge Detection 41

slide-82
SLIDE 82

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

The End

Research is a very long path. Thank you ! www.wisdom.weizmann.ac.il/∼nadler/

Boaz Nadler Faint Edge Detection 42