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

template<class DstArrayT, class SrcArrayT>
void Impala::Core::Array::SKIZ ( DstArrayT *&  dst,
SrcArrayT *  src,
int  conn 
) [inline]

SKIZ based on Luc Vincent's algorithm.

Type of Src and Dst should be scalar integer based.

Definition at line 22 of file SKIZ.h.

References Impala::Core::Array::Pattern::PatUnaryPixOp(), and Watershed().

Referenced by Impala::Application::Src::WindowSrc::HandleNewFrame().

00023 {
00024     Watershed(dst, src, conn);
00025 
00026     // now for SKIZ I have to replace all values BUT 0 with 255, so that we
00027     // keep only the border, and not the objects labeled.
00028     Trait::UpoRAVBO<DstArrayT, DstArrayT> upo(0, 255);
00029     Pattern::PatUnaryPixOp(dst, dst, upo);
00030 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:58:41 2010 for ImpalaSrc by  doxygen 1.5.1