+ All Categories
Home > Documents > Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage...

Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage...

Date post: 03-Oct-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
69
Learning Spatial Context: Using Stuff to Find Things Wei Wei-Cheng Su Cheng Su
Transcript
Page 1: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Learning Spatial Context: Using Stuff to Find Things

WeiWei--Cheng SuCheng Su

Page 2: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Motivation2

Leverage contextual information to enhance detectiongSome context objects are non-rigid and are more naturally classified based on texture or color. e.g., sky, trees, roadFind the relationships between the stuff of context and the object

Page 3: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Outline3

Training and inferringTraining and inferringPreprocessingExperimental resultsExperimental resultsThings-and-stuff relationshipsPerformanceEffect of parametersConclusion

Page 4: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Training4

gRegion features &

Segmentation Learning

features &centroids

Things and stuff

Candidateboxes &scoresDetection

Things-and-stuffrelationships

Model parameters

scores

Annotation

GroundtruthsAnnotation

*Red boxes indicate high scoresBlue boxes indicate low scores

Page 5: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Inferring5

gRegion features &

Segmentation Inferring

features &centroids

Candidateboxes &prior scoresDetection prior scores

Posterior scores f ll did tfor all candidates

Page 6: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Outline6

Training and inferringTraining and inferringPreprocessingExperimental resultsExperimental resultsThings-and-stuff relationshipsPerformanceEffect of parametersConclusion

Page 7: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Preprocessing7

p g

SegmentationSeg e tat oSuperpixelPentium-D 2.4 GHz, 4G RAMRun out of memory with a 792x636 image~6.4 minutes for a 480x321 image

DetectionHOG for detecting humans, cars, bicycles, and motorbikesmotorbikesPatch-based boosted detector for detecting cars in satellite images

Page 8: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Segmentation8

g

This level of segmentation result is used

Page 9: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

HoG-Cars9

Page 10: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

HoG-People10

p

Page 11: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

HoG-Motorbikes11

Page 12: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

HoG-Bicycles12

y

Page 13: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Satellite13

Page 14: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Satellite14

Th=0Th 0

Page 15: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Satellite15

Th=0 95Th 0.95

Page 16: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Satellite16

Th = 0 99Th 0.99

Page 17: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Satellite17

Th=0 995Th 0.995

Page 18: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Outline18

Training and inferringTraining and inferringPreprocessingExperimental resultsExperimental resultsThings-and-stuff relationshipsPerformanceEffect of parametersConclusion

Page 19: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Running TAS19

g

Run TAS inference on all detected candidatesRun TAS inference on all detected candidatesFalse positives detected by the base detector will be filtered outfiltered outObject not detected by the base detector could not be detected by TASbe detected by TASData set: VOC2005, Google earth satellite images

Page 20: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS20

Left: base detector result. Right: TAS result

Page 21: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS21

Page 22: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS22

Page 23: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS23

Page 24: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS24

Page 25: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS25

Page 26: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS26

Page 27: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS27

Page 28: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector28

Page 29: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

TAS29

Page 30: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector30

Page 31: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

TAS31

Page 32: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector32

Page 33: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

TAS33

Page 34: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Outline34

Training and inferringTraining and inferringPreprocessingExperimental resultsExperimental resultsThings-and-stuff relationshipsPerformanceEffect of parametersConclusion

Page 35: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Things-and-Stuff Relationships35

g p

Feature description: 44 features including colorFeature description: 44 features, including color, texture, shapeThe relationships are learnt during trainingThe relationships are learnt during trainingThe relationships change the score of a candidate25 relationship candidates25 relationship candidates

Page 36: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships36

p

Page 37: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships37

p

Page 38: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships38

p

Page 39: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships39

p

Page 40: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships40

p

Page 41: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships41

p

Page 42: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships42

p

Page 43: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships43

p

Page 44: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships44

p

Page 45: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships45

p

Page 46: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships46

p

Page 47: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships47

p

Page 48: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships48

p

Page 49: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships49

p

Page 50: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships50

p

Page 51: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships51

p

Page 52: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships52

p

Page 53: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships53

p

Page 54: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships54

p

Page 55: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships55

p

Page 56: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships56

p

Some regions inside the bounding box haveSome regions inside the bounding box have relationships with the candidate

Page 57: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships57

p

View pointView point. Different viewpoints generate different relationships

Region features might be misleadingRegion features might be misleading

Page 58: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Relationships58

p

The diversities of the backgroundsThe diversities of the backgroundsThe region features inside the bounding box might be a complementary cue to the features used by thebe a complementary cue to the features used by the base detector

Page 59: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Outline59

Training and inferringTraining and inferringPreprocessingExperimental resultsExperimental resultsThings-and-stuff relationshipsPerformanceEffect of parametersConclusion

Page 60: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Performance Analysis60

y

Training samples: 15g pTest samples: 15Image size: 792x636gTest machine: Core(TM)2 [email protected], 8G RAMImplemented in MatlabDetection and segmentation are not includedRequired computing power

Learning – 2141.67 seconds of CPU timeInferring – 63.89 seconds of CPU time

Page 61: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS61

Cars

P lPeople

Red: base detector. Blue: TAS

Page 62: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS - Motorbikes62

Motorbikes

Bi lBicycles

Red: base detector. Blue: TAS

Page 63: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Base Detector vs TAS - Satellite63

Page 64: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Outline64

Training and inferringTraining and inferringPreprocessingExperimental resultsExperimental resultsThings-and-stuff relationshipsPerformanceEffect of parametersConclusion

Page 65: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Number of Region Clusters65

g

Red: 10

Blue: 3 Blue: 5Blue: 3 Blue: 5

Blue: 20 Blue: 30

Page 66: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Number of Gibbs Iterations66

Red: 10

Blue: 20 Blue: 100

Page 67: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Outline67

Training and inferringTraining and inferringPreprocessingExperimental resultsExperimental resultsThings-and-stuff relationshipsPerformanceEffect of parametersConclusion

Page 68: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Conclusion68

Can be easily integrated with detectorsCan be easily integrated with detectorsThe performance is dependent on the detectorThe “stuff” can come from the context as well asThe stuff can come from the context as well as the object itselfEspecially suitable for background consistent andEspecially suitable for background consistent and view point consistent datasets, ex: aerial images3D information could be used to improve the3D information could be used to improve the performance

Page 69: Learning Spatial Context: Using Stuff to Find Thingsgrauman/courses/spring...Motivation 2 Leverage contextual information to enhance detection Some context objects are non-rigid and

Reference69

Learning Spatial Context: Using Stuff to Find Things, g p g g ,Geremy Heitz and Daphne Koller. European Conference on Computer Vision (ECCV), 2008 TAS http://ai.stanford.edu/~gaheitz/Research/TAS/Superpixel http://www.cs.sfu.ca/~mori/research/superpixelsHOG i l i h // l i i l f / f / lHOG implemetation http://pascal.inrialpes.fr/soft/oltPASCAL VOC2005 http://pascallin ecs soton ac uk/challenges/VOC/voc2005/inhttp://pascallin.ecs.soton.ac.uk/challenges/VOC/voc2005/index.html


Recommended