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. |
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() methodsWidth
- source image widthsHeight
- source image heightintersect
- 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 histogramoutput
- Intersect interface's implementation class instanceimgTarget
- target image's pixelstWidth
- target image widthtHeight
- target image heightnormTargHist
- 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