Inheritance Graph
graph BT
SimilarPixelCounter
SimilarPixelCounter --> AbstractImageComparator
click SimilarPixelCounter "classMinSG_1_1ImageCompare_1_1SimilarPixelCounter"
click AbstractImageComparator "classMinSG_1_1ImageCompare_1_1AbstractImageComparator"
Description
Count the quantum of pixels which are the similar in their color between the two images.
Author: Benjamin Eikel
Date: 2011-06-14
Public Functions
Documentation
function
MinSG::ImageCompare::SimilarPixelCounter::SimilarPixelCounter
Defined in MinSG/Ext/ImageCompare/SimilarPixelCounter.h:36
function
MinSG::ImageCompare::SimilarPixelCounter::SimilarPixelCounter
Defined in MinSG/Ext/ImageCompare/SimilarPixelCounter.h:38
function
MinSG::ImageCompare::SimilarPixelCounter::~SimilarPixelCounter
Defined in MinSG/Ext/ImageCompare/SimilarPixelCounter.h:40
function
MinSG::ImageCompare::SimilarPixelCounter::operator=
Defined in MinSG/Ext/ImageCompare/SimilarPixelCounter.h:42
function
MinSG::ImageCompare::SimilarPixelCounter::compare
Parameters
- value
- Share of correct pixels on the whole image. 1.0 means there are no different pixels, 0.0 means that all pixels differ.
- resultTex
- Texture containing the absolute difference values between the two input textures.
Defined in MinSG/Ext/ImageCompare/SimilarPixelCounter.h:50