Automatic brain tumour detection using image processing and data mining techniques