Patch Similarity Explorer
Move the pointer over your image. The heatmap shows how similar every other patch of the image is to the patch under the pointer. To pin that patch, switch off "Reference follows the pointer" and click. A vision model, DINOv3, decides what counts as similar: the same fur, the same brick, the same kind of leaf. Two patches of the same color are not automatically similar.
- Everything runs in your browser. The image is never uploaded to any server.
- The image is resized to a square and cut into 16 by 16 pixel patches. Each patch becomes one feature vector. The heatmap shows the cosine similarity of every patch to the reference patch.
- With a second image loaded, the reference patch is also compared against every patch of the second image. This finds similar materials and similar parts across two pictures.
- The Structure view needs no reference patch. PCA shows the features as color. k-means groups the patches into segments.
- The patch grid is coarse. The map is upsampled to the display copy (at most 1024 pixels on the long edge) and follows the edges of the original image.
Built with DINOv3 (ViT-S/16, 4-bit quantized, 15 MB), used under the DINOv3 License. This project is not affiliated with Meta. Private hobby project, non-commercial.