Python code and trained weights
PyTorch model, training and evaluation scripts, geometric baselines, and the verified MPEG-7 split. The archive includes commands to reproduce the comparison.
Download ZIPInternational Conference on Learning Representations (ICLR) · 2017
Convolutional networks learn planar-curve descriptors that are invariant to Euclidean or similarity transformations. The method uses metric learning to compare curves across changes in pose, scale and sampling.
The paper examines noise, sampling changes, occlusion and partial curves, and introduces a multiscale representation learned through similarity comparisons. Its conference version is ICLR 2017; the initial preprint appeared in 2016.
A shared-weight convolutional network generates a signature along each sampled curve. The browser example runs the trained model on generated contours and compares the signatures at corresponding positions.
The linked PyTorch implementation follows the filter layout in Figure 3. It was trained on the MPEG-7 silhouettes with a new split and fresh weights. The browser controls illustrate the method and the table below reports the independent held-out evaluation.
The browser runs the trained model on generated contours. Each contour starts with 500 equally spaced samples.
Each signature is standardized before comparison. A smaller RMS difference means the two signatures are closer at corresponding samples. Noise is measured in normalized coordinate units.
The PyTorch reimplementation trained fresh weights for 40 epochs. This comparison uses 350 held-out MPEG-7 silhouettes from a new split that keeps duplicate contours together. Each test curve is rotated and then perturbed with Gaussian noise.
The table reports median RMS differences between standardized signatures at corresponding sample points. Lower values indicate better agreement. The integral-area baseline uses radius 0.35 in normalized coordinate units. At zero noise the perturbation is rotation alone.
| Noise σ | Learned signature | Integral area | Curvature magnitude |
|---|---|---|---|
| 0.00 | 0.040 | 0.014 | 0.000 |
| 0.03 | 0.044 | 0.422 | 1.413 |
| 0.10 | 0.079 | 0.941 | 1.421 |
| 0.30 | 0.222 | 1.230 | 1.419 |
PyTorch model, training and evaluation scripts, geometric baselines, and the verified MPEG-7 split. The archive includes commands to reproduce the comparison.
Download ZIP@inproceedings{Pai2017PlanarCurves,
author = {Pai, Gautam and Wetzler, Aaron and Kimmel, Ron},
title = {Learning Invariant Representations of Planar Curves},
booktitle = {International Conference on Learning Representations (ICLR)},
year = {2017},
eprint = {1611.07807},
archivePrefix = {arXiv},
url = {https://openreview.net/forum?id=BymIbLKgl}
}