Detail function

This function thickens or weakens the outlines of images. It effectively softens or sharpens images, but in some cases, the whole image may become coarse due to emphasized noise and edges.

To avoid such phenomenon, it is necessary not to add this effect on parts where emphasizing is not needed and keep the details of the parts.