One in five Americans will develop skin cancer in their lifetime, and on average, one American dies from skin cancer every hour. Melanoma spreads through metastasis, and can often be fatal. Statistical evidence has revealed that the majority of deaths resulting from skin cancer are as a result of melanoma. Further investigations have shown that the survival rates in patients depend on the stage of the cancer at the time it is first diagnosed; early detection and intervention of melanoma indicates higher chances of cure. Clinical diagnosis and prognosis of melanoma are challenging since the processes are prone to misdiagnosis and inaccuracies due to doctors' subjectivity. Malignant melanomas are asymmetrical, have irregular borders, notched edges, and color variations, so analyzing the shape, color, and texture of the skin lesion is important for melanoma early detection and prevention. This paper proposes the two major components of a noninvasive real-time automated skin lesion analysis system for melanoma early detection and prevention. The first component is a real-time alert to help users prevent skin burn caused by sunlight; a novel equation to compute the time for skin to burn is thereby introduced. The second component is an automated image analysis module which contains image acquisition, hair detection and exclusion, lesion segmentation, feature extraction, and classification. The proposed system uses PH2 Dermoscopy image database from Pedro Hispano Hospital for development and testing purposes. The image database contains a total of 200 dermoscopy images of lesions, including benign, atypical, and melanoma cases. A comparison of the performance of all feature sets is presented in this paper in order to determine what feature sets provide the best classification results.Index Terms-image segmentation, skin cancer, melanoma.