Robust Interactive Image Segmentation with Automatic Boundary Refinement

24
Robust Interactive Image Segmentation with Automatic Boundary Refinement Dingding Liu* Yingen Xiong† Linda Shapiro* Kari Pulli† † Nokia Research Center, Palo Alto, CA 94304, USA *Department of Electrical Engineering, University of Washington, WA 98095, USA

description

Robust Interactive Image Segmentation with Automatic Boundary Refinement. Dingding Liu* Yingen Xiong † Linda Shapiro* Kari Pulli † † Nokia Research Center, Palo Alto, CA 94304, USA *Department of Electrical Engineering, University of Washington, WA 98095, USA. Contents. Introduction - PowerPoint PPT Presentation

Transcript of Robust Interactive Image Segmentation with Automatic Boundary Refinement

Page 1: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

Robust Interactive Image Segmentation with Automatic

Boundary Refinement

Dingding Liu* Yingen Xiong† Linda Shapiro* Kari Pulli†

† Nokia Research Center, Palo Alto, CA 94304, USA

*Department of Electrical Engineering,

University of Washington, WA 98095, USA

Page 2: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 2

Contents

Introduction Motivation Related work

Summary of Method Details of Approach

Merge pre-segmented regions Detect suspicious low-contrast object boundary regions Refine suspicious boundary regions

Experiments and Results Conclusions and Future Work

Page 3: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

Introduction• Research aim

Make interactive segmentation more robust and less sensitive to user input

April 19, 2023 3

Page 4: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 4

Introduction

Motivation: Image editing on mobile devices Convenience – Anytime, anywhere Challenges – Limited computational resources

Smaller screens and imprecise input

Page 5: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

Related Work -Interactive Image Segmentation

• Lazy Snapping ( Li et al., ACM Transactions on Graphics 2004)

April 19, 2023 5

Page 6: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

Related Work -Interactive Image Segmentation

• Interactive Image Segmentation by Maximal Similarity Based Region (Ning et al., Pattern Recognition 2010)

April 19, 2023 6

Page 7: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 7

Summary of Method

• Merge pre-segmented regions according to user inputs• Detect suspicious low-contrast object boundary regions• Relabel those regions

Page 8: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 8

Contents

Introduction Motivation Related work

Summary of Method Details of Approach

Merge pre-segmented regions Detect suspicious low-contrast object boundary regions Refine suspicious boundary regions

Experiments and Results Conclusions and Future Work

Page 9: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 9

Algorithm: Merge Pre-segmented Regions

Merge regions according to Maximal Similarity-Based Region Merging (MSRM) rule:

Merge R and Q if R is Q’s most similar neighboring region

Marked Background Region

Marked ForegroundRegion

Unlabeled Region1(Q)

Unlabeled Region2

Unlabeled Region3(R)

Unlabeled Region4

Marked Background Region

Marked ForegroundRegion

Q+R = Merge of ( Unlabeled Region1 (R)&Unlabeled Region3 (Q))

Unlabeled Region2

Unlabeled Region4

Page 10: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 10

Algorithm: Detect Low-Contrast Object Boundary Regions

Select the regions whose dbd< threshold

Largest minimum mean color difference Largerminimum mean color difference Medianminimum mean color differenceSmaller minimum mean color differenceSmallest minimum mean color difference

Suspicious low-contrast object boundary regions

Put all the boundary regions’ minimal mean color differences with their neighboring regions dbd into a vector Dbd

Set the median of Dbd as threshold

Page 11: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 11

Algorithm: Refine Suspicious Boundary Regions

Count the number of foreground and background pixels inside each region to decide whether it should be foreground or background

Marked Regions

P1 P2 P3

P4 P0 P5

P6 P7 P8

Suspicious regions

Color SimilarityTexture Similarity

Local Info

Global information: Color and texture similarity with marked regionsLocal information: Pixels similarity with its neighbors

Re-evaluate each suspicious region by relabeling the pixels in side

Page 12: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 12

Algorithm: Refine Suspicious Boundary Regions

Relabel pixels in the low-contrast boundary regions A binary labeling problem Minimize energy terms

),(

,21 )()()(ji

jii

i

xxExEXE

Data term measuring color and texture similarity

Pairwise term measuring gradient along object boundary

Page 13: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 13

Algorithm: Refine Suspicious Boundary Regions

Color similarity and standard deviation of regions

),(

,21 )()()(ji

jii

i

xxExEXE

Bmm

Bi

Fnn

Fi

Bmm

Bmi

Fnn

Fmi

id

id

iCd

iCd

)(min

)(min

)(min

)(min

Page 14: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 14

Algorithm: Refine Suspicious Boundary Regions

),(

,21 )()()(ji

jii

i

xxExEXE

)()()(

1

)0(,)1( 11

ididmi

z

zz

zxE

zz

zxE

Xn

XiX

n

X

BF

B

iBF

F

i

for BFX ,

Page 15: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 15

Algorithm: Refine Suspicious Boundary Regions

),(

,21 )()()(ji

jii

i

xxExEXE

scalejCiC

xxxxE

jiji

1)()()( 2,2

Minimize the energy function by the max-flow library

Page 16: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 16

Experiments and Results

Page 17: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 17

Experiments and Results

Page 18: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 18

Experiments and Results

Page 19: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 19

Experiments and Results

Page 20: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 20

Experiments and Results

Page 21: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 21

Experiments and Results

Comparison of correctly labeled pixel percentages

Woman Man Baby Asimo Horse Cow92

93

94

95

96

97

98

99

100

Our algorithmMSRM

Image Name

Perc

ent o

f cor

rect

ly la

bele

d pi

xels

Page 22: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 22

Experiments and Results

Implementation on the mobile phone

Hardware Nokia N900

phones An ARM Cortex-

A8 600 MHz processor

256 MB RAM, 768 MB virtual memory

3.5 inch touch-sensitive widescreen display

Page 23: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 23

Conclusions and Future Work

We have proposed a robust interactive segmentation algorithm with automatic boundary refinement procedure Less user input More robust to user input It can save the user efforts in making the

boundary better Future work

Improve the speed Combine with other image editing operations

Page 24: Robust Interactive Image Segmentation with Automatic  Boundary Refinement

April 19, 2023 24

Thank you!