Morphological feature extraction and detection of leukemia and Skin cancer using adaptive intelligent system