Ohad Fried, Shai Avidan and Daniel Cohen-Or
In Computer Graphics Forum, volume 36,629 pages 183{194. Wiley Online Library, 2017.
Patch2Vec: Globally Consistent Image Patch Representation
Outline�
Introduction
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
Related Work
Related Work
Method
Method - Patch Embedding �
Method - Patch Embedding �
GoogleLeNet
Method - Patch Embedding �
Method - Patch Embedding �
We use a triplet loss for training: given an anchor patch Pa which makes a positive pair with Pp and a negative pair with Pn , the loss for a single triplet is defined as:
where m is a margin value (set empirically to 0.2),and [x]+ is defined as max{0, x}.
The triplet loss is a sum over all anchor-positive-negative triplets in the dataset D:
Method - Patch Embedding �
Method - Patch Embedding �
Patch size: 32x32 16x16
● A simple way to visualize the embedding is to project the 128D codes on the three leading principal components, producing a pseudo-RGB image.
Method - Patch Embedding �
Patch size: 32x32 16x16
Evaluation
Evaluation
Evaluation
Evaluation
Applications
Single-Click Segment Selection�
Single-Click Segment Selection�
Single-Click Segment Selection�
Single-Click Segment Selection�
super-pixels
We compare (a) SLIC [ASS∗ 12], (b1) a SLIC variant guided by edge detection [DZ13] and (c1) our method. Both (b1) and (c1) follow meaningful edges better than vanilla SLIC (see, e.g., zoomed regions).
super-pixels
END�