template<class DstArrayT, class SrcArrayT>
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:
|