当前位置:网站首页>FFT is used to estimate the image resampling factor after interpolation
FFT is used to estimate the image resampling factor after interpolation
2022-07-26 01:37:00 【Bright moon drunk windowsill】
stay JPEG Detect linear and cubic interpolation in compressed images
Detection of Linear and Cubic Interpolation in JPEG Compressed Images
notes :matlab Need to configure jpegtbx_1.4
Source download :https://download.csdn.net/download/yohnyang/86249304
** Known existing image size 128*128, And the scope is 1.1-1.9 Between 9 Different tensile coefficients , After stretching the existing image differently , The test turns the image to the frequency domain to resample the stretched image ( Tensile coefficient ) It is estimated that , The algorithm estimates the variance of the second-order differential signal for each line of the image , Then it is Fourier transformed and mapped to the frequency domain , in the light of DFT The position of the spike in the signal estimates the resampling factor .**
Algorithm flow :
For All images
For All stretching factors
The image is stretched and cubic Interpolation method
Image quantization
Find the second derivative 、 Standard deviation
The Fourier transform , Look for peaks in the spectrum , Find out the corresponding frequency of the peak
Estimate the number of stretched words by frequency , And calculate the estimation error , Record the estimated correct quantity
End
End
Calculate the probability of correct estimation
in the light of DFT It is easy to misjudge when searching for peak , This algorithm applies neighborhood peak searching , Calculate the reference frequency through the known stretching factor , Then set the threshold for T The frequency is in the neighborhood of the reference frequency [-T,T] Search the precise frequency calculation value , As shown in the figure below , Algorithm application T=5, many
边栏推荐
- I just test it
- Mysql_ Note2
- Network performance evaluation tool ping/mtr
- Y77. Chapter IV Prometheus' monitoring system and practice -- Prometheus' service discovery mechanism (VIII)
- Docker advanced -mysql master-slave replication
- 网络文件传输之零拷贝
- MDK编译过程及ARM编译工具链
- Network layer 2 and layer 3 forwarding
- 【Go】如何控制协程的最大并发数
- Linked list related interview questions
猜你喜欢

Codeforces Round #810 (Div. 2)A~C

Easyrecovery15 data recovery software with high recovery rate and high download volume

Recommend a super good UI automation tool: uiautomator2!

《分布式微服务电商》专题(一)-项目简介

"Yuanqi Cola" is not the end point, "China Cola" is

01. MySQL transaction isolation level and concurrent database access

如何获取广告服务流量变现数据,助力广告效果分析?

PtGui pro12 vertical line correction

两阶段提交和三阶段提交

CPU的三种模式
随机推荐
[data mining] differences, advantages and disadvantages between generative model and discriminant model
"Yuanqi Cola" is not the end point, "China Cola" is
MDK compilation process and arm compilation tool chain
"Wei Lai Cup" 2022 Niuke summer multi school training camp 2 d.[link with game glitch] two point answer +spfa ring
U++学习笔记 UStruct、UEnum声明以及函数库简单函数实现
Dijkstra find the shortest path
Creation and management of MySQL database and table
点屏注意事项
Qtreewidget dotted line setting
【数据挖掘】生成模型和判别模型的区别及优缺点
Jushi | Haitai Fangyuan appears at the 5th Digital China Construction Summit
Cross-lingual Transfer of Correlations between Parts of Speech and Gaze Features 阅读笔记
“蔚来杯“2022牛客暑期多校训练营2 I.[let fat tension] 矩阵乘法 J.[Link with Arithmetic Progression]线性回归
Advanced C language (I) dynamic memory allocation
快速创建题目文件夹
Go operation excel library excel use
3059. Sculpture (jzoj)
C language enumeration types and unions
网络文件传输之零拷贝
PtGui pro12 vertical line correction