Automated Assessment of Pigment Distribution and Color Areas for Melanoma Diagnosis