add arrEdgeKernel, complete arrFindEdgesInRegion