A system and method that enhance edges in images by detecting and
correcting edges of the components of the image, such as the luma and the
chroma components. The luma and the chroma edges may be corrected to
align with one another. The luma edge detection may utilize a combination
of the first and second derivatives of luma. The chroma edges may be
sharpened by adjusting the saturation of the chroma components, without
changing the hue. The luma edges may be corrected using a blend of
peaking and enhancing the luma edges. The corrected chroma and luma
components may be then debugged and the appropriate corrected components
may be sent to display. Chroma/luma edge alignment may utilize a product
of the luma first and second derivatives.