An edge detection mechanism using L*A*B color-based contrast enhancement for underwater images