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

Percentile.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_Percentile_h
00002 #define Impala_Core_Array_Percentile_h
00003 
00004 #include "Core/Array/Pattern/PatNgbOp2d.h"
00005 #include "Core/Array/Trait/NgbPercentile.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Array
00012 {
00013 
00014 
00017 template<class DstArrayT, class SrcArrayT>
00018 inline void
00019 Percentile(DstArrayT*& dst, SrcArrayT* src, int neighSize, double perc)
00020 {
00021     Trait::NgbPercentile<DstArrayT, DstArrayT> ngb(neighSize, perc);
00022     Pattern::PatNgbOp2d(dst, src, ngb);
00023 }
00024 
00025 } // namespace Array
00026 } // namespace Core
00027 } // namespace Impala
00028 
00029 #endif

Generated on Fri Mar 19 09:30:52 2010 for ImpalaSrc by  doxygen 1.5.1