Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class HistT, class ArrayT>
void Impala::Core::Histogram::MakeHistogram2d ( HistT *  hist,
ArrayT *  im1,
ArrayT *  im2,
Geometry::Rectangle  rect 
)

Definition at line 29 of file MakeHistogram2d.h.

References Impala::Core::Array::MakeRoi(), and Impala::Core::Array::Pattern::PatInOutOp().

00030 {
00031     hist->Clear();
00032     TraitInOutHistogram2d<HistT, ArrayT> inoutHist(hist);
00033     ArrayT* roi1 = Array::MakeRoi(im1, rect);
00034     ArrayT* roi2 = Array::MakeRoi(im2, rect);
00035     Array::Pattern::PatInOutOp(roi1, roi2, inoutHist);
00036     delete roi1;
00037     delete roi2;
00038 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:12:11 2010 for ImpalaSrc by  doxygen 1.5.1