Automatic detection of malignant tumors on mammogram