Skip to content

codespaced/win32-vs-pHash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

win32-vs-pHash

This is a (slightly) modified version of pHash and MVPTree compilable under Visual Studio (tested with Express 2012).

All of the static libraries in lib were built against MSVCR110D.DLL which comes with VS.

After compilation

###Imget

imget needs pHash.dll to be on your path (or in the same directory).

imget command filename [directory] [radius] [k-nearest]

command - command - e.g. 'add', 'query' or 'print'

filename - file from which to read the tree

directory - directory (for add and query)

radius - radius for query operation (default = 21.0)

k-nearest - max number of results (default = 5)

####Running imget.exe

>imget add images.mvp ..\picturedir

>imget print images.mvp

>images query images.mvp ..\querydir 10.1

The default radius (21.0) is normally sufficient. Restricitng the radius further (closer to 0) will reduce the results you get, but expanding it (with small picture sets atleast) will not increase your results past a certain point.

##3rd Party Packages and licenses:

*pHash 0.9.6 and MVPTree 1.0.0 - The open source perceptual hash library GNU LGPL v3

*mman-win32 - mman library for Windows GNU GPL v2

*dirent-1.13 - dirent API for Microsoft Visual Studio custom, see dirent.h

*CImg 1.5.7 - The C++ Template Image Processing Toolkit. CeCILL-C or CeCILL v2.0

*JPEG 9 - The Independent JPEG Group (IJG) Independent JPEG Group License

*libpng 1.6.3 - The official PNG reference library Open Source

*zlib 1.2.8 - Massively Spiffy Yet Delicately Unobtrusive Compression Library zlib license

*Pthreads-win32 - POSIX Threads Library for Win32 GNU LGPL v2.1 Details

About

Modified pHash and mvptree that compile under Visual Studio Express 2012 (Unofficial)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published