put sobel3 into process function