TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Detect upsampling in images

113 pointsby 0x09over 9 years ago

9 comments

stevetjoaover 9 years ago
For anyone interested in this area, the IEEE Transactions on Information Forensics and Security (TIFS) [1] is full of papers on the so-called area of <i>image forensics</i> -- the identification of processing that has been performed upon an image, including resampling, rotation, JPEG compression, block processing, and more.<p>Consequently, another hot research area is <i>image anti-forensics</i> -- the obfuscation of such operations to avoid detection. (Shameless self-promotion: one example paper on anti-forensics of JPEG compression can be found here [2].)<p>[1] <a href="http:&#x2F;&#x2F;www.signalprocessingsociety.org&#x2F;publications&#x2F;periodicals&#x2F;forensics&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.signalprocessingsociety.org&#x2F;publications&#x2F;periodic...</a><p>[2] <a href="http:&#x2F;&#x2F;www.mirlab.org&#x2F;conference_papers&#x2F;International_Conference&#x2F;ICASSP%202010&#x2F;pdfs&#x2F;0001694.pdf" rel="nofollow">http:&#x2F;&#x2F;www.mirlab.org&#x2F;conference_papers&#x2F;International_Confer...</a>
vorticoover 9 years ago
This is fantastic, and I was just wondering if something like existed a week ago. Sometimes I need to find the original picture of a thumbnail on the internet, so I use Google reverse image search to search for other sizes of my uploaded image. However, some websites simply upscale the low quality image in order to be at the top of the search results. I wonder if Google can use a technology like this to place those results on a lower ranking.
评论 #10944575 未加载
mozumderover 9 years ago
You can detect downsampling by looking at chroma frequencies. Bayer pattern color filters on cameras mean that color resolution is never going to be as high as pixel resolution (assuming 1:1 mapping of pixels to sensor pixels) and if you see chroma frequencies that are higher than 2x pixel densities, then you have some downsampling going on.
评论 #10942547 未加载
daturkelover 9 years ago
&quot;Specifically, this project was born out of a yet-unpublished image deduplication framework, while attempting to identify whether duplicates were scaled versions of one another.&quot;<p>A humble but fun origin story for a very cool project.
0x09over 9 years ago
Embarassing side-note: I&#x27;ve never made the mistake of trying to add an empty directory to a git repo before; if you tried and failed to build, it&#x27;s been fixed.
joshuover 9 years ago
Could you do this over a sliding window and calculate a score for regions? That would let you see if something has been composited from up scaled images.
评论 #10942889 未加载
Houshalterover 9 years ago
You might be able to detect if downsampling is done incorrectly, since many programs just average the pixel values instead of the actual light intensity.
sigmarover 9 years ago
Does anyone know of something similar for automatic analysis of audio using the FFT? There are visual ways to do it, but it would be nice to have an automated script
评论 #10946041 未加载
viniliosover 9 years ago
Any idea if there is a similar app for sound files?