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 rough due to emphasized noise and edges. To avoid such problems, it is necessary not to add this effect on parts where emphasizing is not needed and keep the details of the parts.