An effective approach to off-line palmprint identification