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

Threshold.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_Threshold_h
00002 #define Impala_Core_Array_Threshold_h
00003 
00004 #include "Core/Array/Pattern/PatUnaryPixOp.h"
00005 #include "Core/Array/Trait/UpoThreshold.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Array
00012 {
00013 
00014 
00015 template<class DstArrayT, class SrcArrayT>
00016 inline void
00017 Threshold(DstArrayT*& dst, SrcArrayT* src, typename SrcArrayT::ArithType level)
00018 {
00019     Trait::UpoThreshold<DstArrayT, SrcArrayT> upo(level);
00020     Pattern::PatUnaryPixOp(dst, src, upo);
00021 }
00022 
00023 } // namespace Array
00024 } // namespace Core
00025 } // namespace Impala
00026 
00027 #endif

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