remove pixel ridge from one tree image