Towards automatic redeye effect removal