Flowing bilateral filter: definition and implementations