Gravar-mail: Border detection in dermoscopy images using statistical region merging