accurate and scalable remote sensing image search and...

27
Accurate and Scalable Remote Sensing Image Search and Retrieval in Large Archives Prof. Dr. Begüm Demir Email: [email protected] Web: https://www.rsim.tu-berlin.de & http://bigearth.eu/

Upload: others

Post on 09-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Accurate and Scalable Remote Sensing Image Search and Retrieval in Large Archives

Prof. Dr. Begüm DemirEmail: [email protected]: https://www.rsim.tu-berlin.de & http://bigearth.eu/

Page 2: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir

CBIR in RS

EO Image Search

SAR or Multispectral

EO Image

EO Image Description

Single-Modal EO Archive

Query

Page 3: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir

Scalable Multi-Modal EO Image Search

Multispectral (high resolution)EO Image

Multispectral (medium resolution)

EO Image

SAR (high resolution)EO Image

Discriminative and Robust EO Image Description

...

Multi-Modal EO Archive

Query

Massive Benchmark

Aim-1

Aim-2

Aim-3

Aim-4

Aim-5

BigEarth Novel Vision

Page 4: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Hashing Methods in Image Retrieval

P-th image in the archive

Hash functions

B. Demir, L. Bruzzone “Hashing based scalable remote sensing image search and retrieval in large archives”, IEEE Transactions on Geoscience andRemote Sensing, vol. 54, no.2, pp. 892-904, 2016.

Hashing Methods in Image Retrieval

B. Demir 7

Page 5: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

[1] B. Kulis and K. Grauman, “Kernelized locality-sensitive hashing,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 34,no. 6, pp. 1092 – 1104, 2012.[2] W. Liu, J. Wang, R. Ji, Y.-G. Jiang, and S.-F. Chang, “Supervised hashing with kernels”, Conference on Computer Vision and PatternRecognition, Rhode Island, USA, 2012.[3] B. Demir, L. Bruzzone, "Hashing Based Scalable Remote Sensing Image Search and Retrieval in Large Archives", IEEE Transactions onGeoscience and Remote Sensing, vol. 54, no.2, pp. 892-904, 2016.

( ) ( ) ( )1 1

( ) ( ) ( ) , , 1,2,...,m m

r i r j i r j ij j

h sign j sign j K r bω φ φ ω= =

= = =∑ ∑X X X X Xkernel function

r-th hash function

nonlinear mapping function ( )

1

( )m

r r jj

jν ω φ=

=∑ X

Kernel-based Hashing Methods

B. Demir

9 Two main methods that define hash functions in the kernel space:

� kernel-based unsupervised LSH hashing method (hash functions are definedby using only unlabeled images) [1].

� kernel-based supervised hashing LSH method (semantic similarity is used todefine much distinctive hash functions) [2].

9 Kernel-based methods express the Gaussian random vector as the weighted sumof m images selected from the archive as:

9 Then the hash function becomes:

9

Page 6: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir

9 These hashing methods are promising in RS for CBIR problems as theyallow sub-linear time approximate similarity search with a good retrievalaccuracy.

Pros and Cons

Query

features

Images in the Archive

features features

1 1 1 0 0 1 0 1 0 1 0 1 1 0 1

Problem: Representing a RS image with a vector of hand-crafted features, thus with a singlehash code, may result in insufficient retrieval results, particularly when high-level semanticcontent is present in the query images.

Page 7: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Aim: Develop hashing methods that accurately model the primitives inthe definition of hashing functions.

Recent solutions: Define semantic-sensitive hashing methods:

• cluster sensitive multi-code hashing method (is unsupervisedand thus does not require any annotated images).

• class sensitive multi-code hashing method (is supervised asmall set of annotated images with region labels is available.

• metric learning based deep hashing network.

Advances in Hashing

Page 8: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Characterize images by descriptors of

primitives

Transform the descriptors to

multi-hash codes

STEP 1

Characterize query image by descriptors

of primitives

Transform the descriptors to

multi-hash codes

Retrieve Images based on multi-

hash codes

STEP 2

X

qX

{ }1

ci

k

nXC k

H=

{ }1

qq

k

nXC k

H=

rX

{ }1 1,...,i i

i

PX Xn i

g g=

{ }1 ,...,q q

q

X Xng g

B. Demir

Multi-Code Hashing

14

T. Reato, B. Demir, L. Bruzzone, "A Novel Unsupervised Multi-Code Hashing Strategy for Accurate and Scalable Remote Sensing ImageRetrieval", IEEE Geoscience and Remote Sensing Letters, accepted for publication.

Page 9: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

M. Ben Salah, A. Mitiche, and I. B. Ayed, “Multiregion image segmentation by parametric kernel graph cuts,” IEEE Transactions on ImageProcessing, vol. 20, no. 2, pp. 545–557, 2011.

Extract image regions through segmentation

1 2, ,..., P

X XX =

X

Each region is described by:� shape features;� texture features;� intensity features.

9 Any segmentation algorithm can be used, whereas in this work we have considered theparametric kernel graphs cuts algorithm.

Compute regions’ descriptors for

each image

{ }1 2 1, ,...i i i

i

PX X Xn i

r r r=

B. Demir

Unsupervised Multi-Code Hashing: Step 1

Page 10: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Extract image regions through segmentation

1 2, ,..., P

X XX =

XCompute regions’

descriptors for each image

{ }1 2 1, ,...i i i

i

PX X Xn i

r r r=

Estimate region posterior

probabilities

{ }1 2 1, ,...,i i i

i

PX X Xn i

g g g=

( ){ }1

| iLX

k p kP C r

=

B. Demir

Unsupervised Multi-Code Hashing: Step 1

9 Primitive clusters are defined clustering randomly selected regions’ descriptorsinto 𝑛𝑛𝑐𝑐 clusters .

9 This is achieved by using Gaussian mixture models, where parameters of themixture models with 𝑛𝑛𝑐𝑐 components are estimated by the ExpectationMaximization algorithm.

9 To build an accurate correspondence between the regions and the primitiveclusters, are estimated from the parameters of the mixture models.

Construct primitive clusters

( ){ }1

| iLX

k p kP C r

=

16

{ }1 2, ,... KC C C

Page 11: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Extract image regions through segmentation

1 2, ,..., P

X XX =

XCompute regions’

descriptors for each image

{ }1 2 1, ,...i i i

i

PX X Xn i

r r r=

Estimate region posterior

probabilities

{ }1 2 1, ,...,i i i

i

PX X Xn i

g g g=

( ){ }1

| iLX

k p kP C r

=

Unsupervised Multi-Code Hashing: Step 1

Construct primitive clusters

Generate descriptors of

primitives

{ },

1i k

LX C

k=f

B. Demir

{ }

{ }

,

1,2,...,( ) T

,

1,2,...,

1 , if max ( ) T

, if max ( ) < T

i k i i

iXik p

i k i

i

X C X Xp k pp n

P C r

X C Xk pp n

P C rnr

P C r

=∀ ≥

=

= ≥

=

∑f g

f zk-th posterior probability

threshold

k-th class

vector of all zero entries

9 Descriptors of primitives are estimated as follows:

Page 12: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir, L. Bruzzone “Hashing based scalable remote sensing image search and retrieval in large archives”, IEEE Transactions on Geoscience andRemote Sensing, vol. 54, no.2, pp. 892-904, 2016.

1 2, , ,, ,...,k k P kC C CX X Xf f f

1 2[ , ,..., ]k k kbh h h

1 2[ , ,..., ]i

k

X k k kC bH h h h=

B. Demir

Multi-Code Hashing: Step 2

9 Hashing is applied to the descriptors of each primitive cluster separately fromeach other.

9 Kernel-based unsupervised locality sensitive hashing (KULSH) is applied to thedescriptors of k-th primitive class separately from each other.

9 The same process is applied for a total of b hash functions , resultingin a b-bits hash code associated to each primitive class.

Page 13: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

, ,

1

, if c

q i q q ki

k k

nC

C Ck

d H H=

= ⊗ ≠∑X X X XX f zXOR operator

k-th hash code of the query image

k-th hash code of the archive image

and q iX X andq

k

XCH 𝐻𝐻𝐶𝐶𝑘𝑘

𝑋𝑋𝑖𝑖 ,𝑘𝑘 = 1,2, . . . ,𝑛𝑛𝑛𝑛

B. Demir

Multi-Hash-Code-Matching

9 Multi-hash-code-matching scheme is used by the proposed hashingmethod for image retrieval.

9 This scheme estimates the similarity between as a sum ofHamming distances estimated between as:

9 Then, the images with the lowest distance are retrieved.

Page 14: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir

Archive DescriptionData set: UCMERCED archive which consists of 2100 annotated aerial images, each ofwhich associated with multiple labels.

dock, ship, water buildings, cars, grass, pavement, trees

buildings, cars, grass, pavement, trees

bare soil, buildings, grass, pavement

cars, pavement, treessand, sea

bare soil, grass, trees ship, dock, waterwater, treesbare soil

pavement, cars, bare soil, trees

Download the labels: http://bigearth.eu/datasets.html

Page 15: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

All the experiments are implemented via MATLAB® on a standard PC with Intel® Xeon® CPU E5-1650 v2 @ 3.50GHz, 16GB RAM

B. Demir

Experimental Results

Method Recall Time (in seconds)

StorageComplexity

single-code hashing 58.74 % 0.033 KB

multi-code hashing 65.29 % 0.068 KB

-462.7×10

-462.7×10

Page 16: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Standard Single-Code Hashing method

Query Image

building, pavement

2nd

buildings, cars, grass,pavement, trees

5th

buildings, cars, pavement

16th

pavement, sand

Multi-Code Hashing method

2nd

buildings, pavement

5th

buildings, cars, grass,pavement, trees

16th

bare-soil, buildings, cars,pavement, trees

B. Demir

Experimental Results

Page 17: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

9 The multi-code hashing method is promising for RS CBIR problems since it:

� efficiently describes the complex content of RS images with multi-hashcodes;

� achieves fast and scalable image search and retrieval;

� overcomes the limitations of the single hash codes.

9 Kernel based-hashing methods in general learn hash functions in the kernelspace from hand-crafted features (e.g., the bag-of-visual-words based onthe scale invariant feature transform) are applied to RS CBIR problems.

9 However, hand-crafted features may not accurately represent the high levelsemantic content of RS images. This leads to inaccurate retrieval resultsunder complex RS image retrieval tasks.

B. Demir

Pros and Cons

Page 18: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Metric Learning based Deep Hashing

B. Demir

S. Roy, E. Sangineto, B. Demir and N. Sebe, "Deep Metric and hash-code learning for content-based retrieval of remotesensing images”, International Conference on Geoscience and Remote Sensing Symposium, Valencia, Spain, 2018.

Page 19: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir

Experimental Results

S. Roy, E. Sangineto, B. Demir and N. Sebe, "Deep Metric and hash-code learning for content-based retrieval of remotesensing images”, International Conference on Geoscience and Remote Sensing Symposium, Valencia, Spain, 2018.

Page 20: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir

Experimental Results

Page 21: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Metric Learning based Deep Hashing

B. Demir

S. Roy, E. Sangineto, B. Demir and N. Sebe, "Deep Metric and hash-code learning for content-based retrieval of remotesensing images”, International Conference on Geoscience and Remote Sensing Symposium, Valencia, Spain, 2018.

Page 22: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir

BigEarthNet- A NEW LARGE-SCALE SENTINEL-2 BENCHMARK ARCHIVE

Page 23: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

9 Contains 590,326 Sentinel-2 image patches with multiple annotations.

B. Demir

BigEarthNet

Continuous urban fabric, Green urban areas

Non-irrigated arable land, Fruit trees and berry plantations, Pastures

Pastures, Water courses, Water bodies

Construction sites, Non-irrigated arable land, Pastures, Coniferous forest, Inland marshes, Water courses

Discontinuous urban fabric, Construction sites, Green urban areas

Non-irrigated arable land, Pastures, Moors and heathland

Land principally occupied by agriculture, with significant areas of natural vegetation, Beaches, dunes, sands, Intertidal flats, Estuaries, Sea and ocean

Page 24: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

9 BigEarthNet has been constructed by selecting 125 Sentinel-2 tilesdistributed over 10 European countries and acquired between June 2017and May 2018.

B. Demir

BigEarthNet

Page 25: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

Our Three Branch Deep ConvolutionalNeural Network

B. Demir

Single Branch CNN Our TB-CNN

50% 67.5%

Page 26: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir

Conclusion

9 Our hashing-based methods are promising for RS CBIR problems since they:

� efficiently describes the complex content of RS images with binary codes;

� achieves fast and scalable image search and retrieval.

9 The BigEarthNet is 20 times larger than existing archives in RS, and thus it:

� is much more convenient to be used as a training source in theframework of deep learning;

� will make a significant advancement in terms of developments ofalgorithms for the analysis of large-scale RS image archives.

Page 27: Accurate and Scalable Remote Sensing Image Search and …phiweek2018.esa.int/agenda/files/presentation257.pdf · 2019-04-03 · B. Demir, L. Bruzzone “Hashing based scalable remote

B. Demir

Accurate and Fast Discovery of Crucial Information for Observing Earth from Big EO Archives

http://bigearth.eu/