Class GlobalHistogramComparator

java.lang.Object
  extended by GlobalHistogramComparator

public class GlobalHistogramComparator
extends java.lang.Object

Class that compares two global color histograms

Version:
1.0 01.06.06
Author:
Vegard Kosmo
See Also:
Videosegmenter

Constructor Summary
GlobalHistogramComparator(Videosegmenter main)
          Standard constructor
 
Method Summary
 boolean compareGlobalHistograms(javax.media.jai.Histogram histogram1, javax.media.jai.Histogram histogram2)
          Method that compares two global color histograms and returns 'true' if the difference is larger than the threshold
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalHistogramComparator

public GlobalHistogramComparator(Videosegmenter main)
Standard constructor

Parameters:
main - Main class reference
Method Detail

compareGlobalHistograms

public boolean compareGlobalHistograms(javax.media.jai.Histogram histogram1,
                                       javax.media.jai.Histogram histogram2)
Method that compares two global color histograms and returns 'true' if the difference is larger than the threshold

Parameters:
histogram1 - The first histogram for comparing
histogram2 - The second histogram for comparing
Returns:
true/false Returns 'true' if the difference is larger than the threshold