integralhistogram
Interface IntHistSearch

All Known Implementing Classes:
IntHistogramSearch, IntHistogramStdSearch

public interface IntHistSearch

generic interface for an exaustive histogram based search class.

Author:
Giovanni Tarducci,Alessio Barducci

Method Summary
 boolean intHistSearch(Hist[] intHists, int sWidth, int sHeight, HistIntersection intersect, SearchOutput output, int tWidth, int tHeight, int scale, float tolerance)
          search a target image onto a source image i.e onto an integral histogram.
 

Method Detail

intHistSearch

boolean intHistSearch(Hist[] intHists,
                      int sWidth,
                      int sHeight,
                      HistIntersection intersect,
                      SearchOutput output,
                      int tWidth,
                      int tHeight,
                      int scale,
                      float tolerance)
search a target image onto a source image i.e onto an integral histogram. print the search's results using a SearchOut interface's implementation object. you can play on how you will manage the search scales and the file managing method. (remember that you will have to call the propIntHist() method before this one in an example source)

Parameters:
intHists - histograms's array previusly processed by the propIntHist() method
sWidth - source image width
sHeight - source image height
intersect - istance of Intersection's implementation class that you will call during the search process, to compute the distance between a target region and the integral histogram
output - Intersect interface's implementation class instance
imgTarget - target image's pixels
tWidth - target image width
tHeight - target image height
normTargHist -
scale - minimun scale to search for (here comes your choose on how to interpet the concept of scale)
tolerance - threshold to mark a target region as good (used by the "Intersection's implementation" instance)
Returns:
boolean true if at least one match was found


processing library integralhistogram by Giovanni Tarducci, Alessio Barducci. (c) 2009