Image analysis and representation for textile design classification