detection and segmentation of multiple, partially occluded...

29
Detection and Segmentation of Multiple, Partially Occluded Objects by Grouping, Merging, Assigning Part Responses Bo Wu Ram Nevatia Institute for Robotics and Intelligent System University of Southern California, LA, CA Presented by Somchok Sakjiraphong Somchok Sakjiraphong (AIT) Machine Vision - Presentation 1 / 29

Upload: others

Post on 23-Aug-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Detection and Segmentation of Multiple, PartiallyOccluded Objects by Grouping, Merging, Assigning

Part Responses

Bo Wu Ram Nevatia

Institute for Robotics and Intelligent SystemUniversity of Southern California, LA, CA

Presented by Somchok Sakjiraphong

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 1 / 29

Page 2: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Occluded Object

partially occluded objectSomchok Sakjiraphong (AIT) Machine Vision - Presentation 2 / 29

Page 3: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Outline

1 Introduction

2 Hierarchy of Body Part Detectors

3 Joint Analysis for Multiple Objects

4 Experimental Results

5 Conclusion

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 3 / 29

Page 4: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Introduction

In recent years, methods for direct detection of objects such as(pedestrians, faces, cars) have become popular.

No prior segmentation was applied rather window of various sizewas applied so as to check the presence of objects.

Good performance but not very precise.

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 4 / 29

Page 5: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Outline of Approach

outline of approach

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 5 / 29

Page 6: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Hierarchy of Body Part DetectorsHierarchy of Human Body Parts

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 6 / 29

Page 7: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Learning Part Detectors

A detector is learned for each node.

Feature sharing is possible between parent and child nodes.

Boosting algorithm is applied to select features and create aclassifier.

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 7 / 29

Page 8: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Learning Part DetectorsImage Features

Edgelets features are used to model the appearance of andobject.An edgelets is just a a line or a curve.

edgelets features

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 8 / 29

Page 9: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Learning Part DetectorsFeature Sharing

Inheritance of edgelet features before boosting (except for thewhole-object node).For each inherited edgelets those points that are outside thenode’s region are removed.

feature sharing between parent and child nodes

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 9 / 29

Page 10: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Learning Part DetectorsLearning Algorithm

The learning algorithm used here is called CBT (Cluster Boosting Tree)

Viola and Jones cascade structured classifier is suitable forobject-classes with small intra-class variation.For more diverse patterns such as multi-view faces/human bodies amore powerful classifier model is needed such as tree structuredclassfier.

Tree structure classifier uses “divide-and-conquer”: divide the objectclass into several categories and learn a model for each of them.

When the appearance of object changes such as human-body it’s noteasy to one dominating property to divide the samples.

CBT divides the sample space by unsupervised clustering based onthe discriminative image features.

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 10 / 29

Page 11: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Detecting Body Parts and Object Edges

Given an image, the part detector is applied and the output is partresponses plus the images edges that correspond to the object.

E{f (x)|x ∈ X+} > E{f (x)|x ∈ X−}

f is the edgelet feature and we call it a positive feature if it’s averagematching score on the positive object class is more than that of thenegative object class.

Positives features with top 5% are retained

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 11 / 29

Page 12: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Detecting Body Parts and Object EdgesClustering Algorithm (1)

One detector usually contains about 1000 positive features. Someof these edgelts correspond to the same edge pixels.A clustering algorithm is applied to remove the redundantedgelets.

A(E1,E2) ,1k

k∑i=1

⟨u1,i − u1,u2,i − u2

⟩· e−

12 ||u1−u2||2 (1)

If k1 6= k2 then they are first aligned by their center points and thelonger features is shorten by removing points from both ends.

Affinity = (1)× min{k1, k2}max{k1, k2}

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 12 / 29

Page 13: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Detecting Body Parts and Object EdgesExtracted object edgelet pixels

Extracted object edgelet pixels

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 13 / 29

Page 14: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Segmentation of Individual ObjectDesign of Weak Segmentator

We need to build a weak classifier for segmentation.

Feature sharing is between weak detectors and weak segmentators.

Weak segmentation classifier is a function from the space X × U to areal value figure-ground classification confidence space where U is the2D-coordinate space.

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 14 / 29

Page 15: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Segmentation of Individual ObjectEffective Field

O is a point on the edgelet, normal n and tangent v are known, P is aneighbor of O and OP is the osculating circle at O that goes through P.The effect of O on P is defined by DF (s, k , σ) = exp(−s2+ck2

σ2 )

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 15 / 29

Page 16: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Segmentation of Individual ObjectEffective Field

The effect of O on P is defined by DF (s, k , σ) = exp(−s2+ck2

σ2 )

where l is the Euclidean distance between O and P, θ is the anglebetween n and OP, s = lθ

2sinθ is the length of arc OP,k = 2sinθl

F(u) = max{F1(u), ...,Fk (u)}

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 16 / 29

Page 17: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Sample Weight Evolution

For detection problems real value weight is D(d) is assigned to eachsample. During boosting weight of misclassified samples areincreased while those correctly sampled are decreased.

For segmentation problem, difficulties of different samples vary anddifferent position of the same sample also vary.

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 17 / 29

Page 18: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Joint Analysis for Multiple ObjectsProposing Object Hypotheses

Propose an initial object hypotheses sorted such that the y-coordinatesare in descending order.

The examined multiple object configuration

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 18 / 29

Page 19: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Joint Analysis for Multiple ObjectsExtracting Silhouettes

Segment object hypotheses and extract their silhouettes.

Occlusions mapping of two humans. (Red one is in front and blue one is at the back)

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 19 / 29

Page 20: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Joint Analysis for Multiple ObjectsJoint Occlusion Map Silhouettes

The visible silhouettes obtained from occlusion reasoning

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 20 / 29

Page 21: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Joint Analysis for Multiple ObjectsMatching Object Edges with Visible Silhouettes

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 21 / 29

Page 22: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Training Part DetectorsTraining Samples

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 22 / 29

Page 23: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Results on USC Test Set

Table 1 Performance of part detectors on the USC pedestrian set B. (The performance of rightshoulder/arm/leg is similar to their left counterparts)

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 23 / 29

Page 24: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Results on USC Test Set

Example detection and segmentation results on the USC pedestrian.

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 24 / 29

Page 25: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Results on USC Test Set

Table 2 Detection rates (%) on different degrees of occlusions.

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 25 / 29

Page 26: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Performance

No scene structure or background subtraction to facilitatedetectionA test image of 384 x 288 pixels was used and humans from 24 to80 pixels wide were searched.4 threads running the detection of different parts simulataneouslyon a Intel Xeon 3.0GHz CPU.Average speed is about 3.6 seconds per image

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 26 / 29

Page 27: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Results on Zurich Training Set

Detection precision-recall curves on the Zurich mobile pedestrian sequences.

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 27 / 29

Page 28: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Results on Zurich Training Set

Zurich Test Result

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 28 / 29

Page 29: Detection and Segmentation of Multiple, Partially Occluded …cs.ait.ac.th/~mdailey/cvreadings/Somchok-Detection.pdf · Detecting Body Parts and Object Edges Given an image, thepart

Conclusion and Discussion

Boosted classifiers are learned for each nodes. For the whole objectnode the segmentor is learned by boosting local features. For partiallyoccluded object silhouette is extracted and a joint likelihood of multipleobjects is maximized to find the best interpretation.

‘’The experimental results show that our method outperforms theprevious one.“

The approach of this paper is domain dependent for example thedesign of part hierarchy only work humans/pedestrians.

The ground plane assumption is not valid for all objects.

Somchok Sakjiraphong (AIT) Machine Vision - Presentation 29 / 29