International journal of pattern recognition and artificial intelligence