Class EdgeHistogramComparator

java.lang.Object
  extended by EdgeHistogramComparator

public class EdgeHistogramComparator
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
EdgeHistogramComparator(Videosegmenter main)
          Standard constructor
 
Method Summary
 boolean compareEdgeHistograms(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

EdgeHistogramComparator

public EdgeHistogramComparator(Videosegmenter main)
Standard constructor

Parameters:
main - Main class reference
Method Detail

compareEdgeHistograms

public boolean compareEdgeHistograms(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