Guides / Matching Techniques
How to Match Cropped Images to Full-Frame Original Photographs
A 4:5 Instagram crop or tight portrait crop shifts every spatial coordinate relative to the original 3:2 RAW frame. Global hashes like pHash and dHash compare fixed grid positions, so their Hamming distances spike as soon as 20–40% of the frame is cropped away.
How RawMatch solves partial-frame crops
- Inverted LSH feature index: During indexing, RawMatch extracts multi-scale oriented FAST + rotated 256-bit BRIEF keypoints from each original and indexes them in multi-table LSH hash buckets. Even a cropped photo shares local keypoints with its parent frame and votes the true original into the top shortlist.
- RANSAC Affine & Homography verification: Fits a physically plausible scale/rotation/translation transform from matched keypoints, rejecting random coincidences and tiny watermark overlaps via spatial coverage checks.
- Crop alignment visualization: Projects the reference corners back onto the original image so you can visually verify the exact crop rectangle in Manual Review.
Note: extremely tight crops containing almost no textured detail (under ~10% of the original frame area) may lack enough unique keypoints for automatic confirmation.