-
Notifications
You must be signed in to change notification settings - Fork 1
banpot/imgcomp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
========================================================= = Robust, fast, and multi-core support image comparison = = = = Program and Library by : Banpot Dolwithayakul = ========================================================= Requirement : 1. OpenCV-devel 2.3.1+ 2. g++ 3. OpenMP-devel File : 1. Library --> imgcomp.h 2. Main Program --> main.cpp library format: float imgcomp(char* filename1, char* filename2, int CompareValueType) Predefined constant : Constants for CompareValueType : IMGCOMP_PSNR, IMGCOMP_SNR, IMGCOMP_SSIM Constants for Output : IMGCOMP_PICNOTEQUAL, IMGCOMP_FILE1FAIL, IMGCOMP_FILE2FAIL Compile with: $ g++ -I/usr/include/opencv -lopencv_core -lopencv_highgui -lopencv_ml -lm main.cpp -fopenmp -o imgcomp (based on Fedora 16 Linux. For other distribution please specify correct include directory for openCV) Example (command line usage) : $ imgcomp lena_color_512.tif lenna_noisy_50.jpg Example (function usage) : imgcomp("lena_color_512.tif", "lenna_noisy_50.jpg", IMGCOMP_PSNR) will return command for PSNR of two pictures.
About
Command line based and c++ library for fast and robust two images comparation with multi-core CPU support. (PSNR, SNR, SSIM, MSE, RMSE)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published