Class LocalHistogramComparator

java.lang.Object
  extended by LocalHistogramComparator

public class LocalHistogramComparator
extends java.lang.Object

Class that compares two local color histograms

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

Constructor Summary
LocalHistogramComparator(Videosegmenter main)
          Standard constructor
 
Method Summary
 boolean compareLocalHistograms(javax.media.jai.Histogram histogram1, javax.media.jai.Histogram histogram2)
          Method that compares two local 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

LocalHistogramComparator

public LocalHistogramComparator(Videosegmenter main)
Standard constructor

Parameters:
main - Main class reference
Method Detail

compareLocalHistograms

public boolean compareLocalHistograms(javax.media.jai.Histogram histogram1,
                                      javax.media.jai.Histogram histogram2)
Method that compares two local 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