Intelligent medical image diagnosis system with orthogonal polynomials and representative association rules