Skip to content

A fork of the perceptualdiff image comparison tool (pdiff.sourceforge.net) with OpenMP support

Notifications You must be signed in to change notification settings

DrillingInfo/perceptualdiff

 
 

Repository files navigation

Changes


Added a wrapper for use PerceptualDiff functional as a library.
Call a method int PDiffCompare(PDiffCompareParameters* parameters, PDiffCompareResult* result);
from PerceptualDiffWrapper
It compares given images and returns int value as a conclusion (see PerceptualDiffWrapper.h).
Also added the ability to pass buffers of images instead of names of files : struct PDiffCompareParameters contains appropriate fields:

unsigned char *ImageA;  // Image A
unsigned char *ImageB;  // Image B
uint32_t ImageAsize;  // Image A length
uint32_t ImageBsize;  // Image B length

Build Instructions

For build use the same CMake script (see original README.rst), now it also creates a Pdiff library that can be used later. Also it may be called from pure C.

About

A fork of the perceptualdiff image comparison tool (pdiff.sourceforge.net) with OpenMP support

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.6%
  • Shell 9.1%
  • C 7.3%