i need C# source codes to:
- create fingerprints of a list of images ( parameters to compare)
- create fingerprint of a targeted image then compare with other images from the list above
There are main factors i care about when bot creates comparisions:
Pixel Tolerance - Defines the allowed number of dissimilar pixels. If the number of different pixels is less than or equal to PixelTolerance, then the bot considers the images to be identical.
For instance, in the sample image, one bitmap differs from another by two pixels. If the PixelTolerance value were 2, bot would consider these bitmaps to be identical.
Color Tolerance - Specifies an acceptable color difference at which two pixels should be treated as identical. The color difference is represented as an integer value within the range 0…255 that specifies an acceptable difference for each color component (red, green and blue) of the compared pixels. Two pixels are considered identical if the difference between intensities of each of their color components does not exceed the specified value.
I need to opt to choose which parameter above used to compare. Baseline to detect related images and color to find exact match images with the target one. The bot will define the duplicated percentage from an image with others besed on my choice of parameters.
For instance, i have 2 folders, let's name folder1 and folder2
the bot will take one by one from folder1 to compare with all images from folder2 and return in a grid the result of duplicated percentage of this images to each of images from folder2
let's say we have 2 images from folder1 to compare with 5 images of folder2. so we will have 10 lines of result.
i use the bot for myself only so i just need a simple GUI.