This is the official code implementation of the paper "An Adaptive Method for Camera Attribution under Complex Radial Distortion Corrections"
- Install MATLAB Image Processing Toolbox
- Download the Camera-fingerprint package and run the function compile.m in folder CameraFingerprint/Filter
- 5G of RAM
- Download the Camera Fingerprints we used in our paper from here, unzip "CAMERA_FINGERPRINTS.zip" and move them into
PRNU_FILES/
Move all the functions of Camera-fingerprint in functions/
:
mv CameraFingerprint/Filter/* functions/
mv CameraFingerprint/Functions/* functions/
mv CameraFingerprint/*.m functions/
- enter in
functions/
and run in MATLABcompile.m
- if you are on Linux you may face problems due to unsupported C compilers in MATLAB. Send a mail to [email protected] if you need a pre-compiled version of these C / C++ files or contact the authors of Camera-fingerprint.
- a set of test images are included in
test-images/
and the respective Camera Fingerprint can be found inPRNU_FILES/
- a subset of the images we used to test our code on out-camera correction can be downloaded here. We couldn't include all the images for a matter of privacy.
- run
main.m
to test our code on some of our test image.main.m
computes the PCE and CPCE value both for the H1 and H0 hyphothesis. - change the paths of
Fingerprint
andim
to test our code on your data.
Changing the parameters transf_idx
and flag_direct
of the functions functions/ADAPTIVE_*.m
it is possible to test specific variants of our code.
- ID, Lin: use
ADAPTIVE_Inv_and_Dir.m
+transf_idx=6
andflag_direct=0
- DI, Lin: use
ADAPTIVE_Inv_and_Dir.m
+transf_idx=7
andflag_direct=1
- ID, Cub: use
ADAPTIVE_Inv_and_Dir.m
+transf_idx=5
andflag_direct=0
- DI, Cub: use
ADAPTIVE_Inv_and_Dir.m
+transf_idx=4
andflag_direct=1
- Inv, Cub: use
ADAPTIVE_Inv_or_Dir.m
+transf_idx=5
andflag_direct=0
- Dir, Cub: use
ADAPTIVE_Inv_or_Dir.m
+transf_idx=4
andflag_direct=1
- Inv, Lin: use
ADAPTIVE_Inv_or_Dir.m
+transf_idx=6
andflag_direct=0
- Dir, Lin: use
ADAPTIVE_Inv_or_Dir.m
+transf_idx=7
andflag_direct=1
Check An Adaptive Method for Camera Attribution under Complex Radial Distortion Corrections and Technical Report Additional Material for “An Adaptive Method for Camera Attribution under Complex Radial Distortion Corrections”
@ARTICLE{10265255,
author={Montibeller, Andrea and Pérez-González, Fernando},
journal={IEEE Transactions on Information Forensics and Security},
title={An Adaptive Method for Camera Attribution Under Complex Radial Distortion Corrections},
year={2024},
volume={19},
number={},
pages={385-400},
doi={10.1109/TIFS.2023.3318933}
}