1. A method, comprising: performing, using one or more processors, detecting a face in an input image; generating a plurality of masks for each of a plurality of facial feature components, the generating including; rendering a closed region into a selected mask as a set of ones; eroding the closed region by an amount proportional to a size of the closed region; dilating the closed region; executing a graph cut operation to generate a buffer for the closed region; and blurring the buffer; and using the plurality of masks, performing retouch effects to the facial feature components.