1460944982-4cf0247a-8bf4-4315-bc3d-906758152cb8

1. A method for beautifying a human face in a digital image, adapted to remove noises on the skin of a human face in an input image, the method comprising:
a. selecting a partial image area in the input image as a selection window;
b. setting a target pixel in the selection window, and setting other pixels as comparison pixels;
c. performing a detail checking process according to a variance between the target pixel and the comparison pixels to determine whether the target pixel has detail information or not;
d. if the target pixel has the detail information, performing a luminance checking process on the target pixel to determine whether the target pixel is within a luminance range or not;
e. if the target pixel is within the luminance range, performing a nonlinear filtering process to filter the target pixel by using a nonlinear filter to generate a filtered value, and providing a mixing ratio to mix the target pixel with the filtered value at the mixing ratio to generate a completed pixel, and replacing the target pixel with the completed pixel; and
f. repeating Step a to Step e until all pixels in the input image are completed, and outputting a target image.
2. The method for beautifying a human face in a digital image according to claim 1, wherein the selection window is an m*n pixel array, and m and n are positive integers.
3. The method for beautifying a human face in a digital image according to claim 1, wherein Step c further comprises:
providing a variance threshold;
calculating a horizontal variance SAD_H according to the target pixel and the comparison pixels;
calculating a vertical variance SAD_V according to the target pixel and the comparison pixels;
calculating a set of diagonal variances SAD_D1, SAD_D2 according to the target pixel and the comparison pixels;
calculating a total variance SAD according to the horizontal variance SAD_H, the vertical variance SAD_V, and the diagonal variances SAD_D1, SAD_D2;
if the total variance SAD is smaller than the variance threshold, determining that the target pixel does not have the detail information, and selecting another pixel from the input image and performing Step a; and
if the total variance SAD is greater than the variance threshold, determining that the target pixel has the detail information, and selecting another pixel from the input image and performing Step a.
4. The method for beautifying a human face in a digital image according to claim 1, wherein before Step d, the method further comprises:
calculating a mean according to values of the target pixel and the comparison pixels;
providing a mean upper threshold Mean_THU and a mean lower threshold Mean_THL greater than the mean upper threshold Mean_THU; and
setting a range for the luminance range according to the mean upper threshold Mean_THU and the mean lower threshold Mean_THL.
5. The method for beautifying a human face in a digital image according to claim 1, wherein the process for generating the filtered value in Step e further comprises:
selecting a maximum pixel value from the comparison pixels, and defining the maximum pixel value as a maximum filtered value P_Max;
selecting a median value from the comparison pixels, and defining the median value as a median filtered value P_Mid; and
mixing the maximum filtered value P_Max, the median filtered value P_Mid, and the target pixel at the mixing ratio to generate the completed pixel.
6. The method for beautifying a human face in a digital image according to claim 1, wherein after Step e, the method further comprises:
determining whether to continue to perform Step a to Step e.
7. The method for beautifying a human face in a digital image according to claim 6, wherein after Step e, the method further comprises:
h. setting a comparison window to select the partial image area in the target image, setting the target pixel in the comparison window, and setting other pixels as the comparison pixels;
i. performing the detail checking process to detect the target pixel having the detail information according to the variance between the target pixel and the comparison pixels;
j. performing a filtering process on the target pixel having the detail information to output a finished pixel; and
k. repeating Step f-Step h until all pixels in the target image are completed, and outputting a completed image.
8. The method for beautifying a human face in a digital image according to claim 7, wherein Step i further comprises:
if it is detected that the target pixel does not have the detail information, selecting another pixel from the target image, and repeating Step h.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A method for controlling acquisition of image data using an image acquisition device that interacts with a subject from which the image data are acquired, comprising the steps of:
operating said image acquisition device from a computerized control unit according to a measurement program package installed in said computerized control unit, said measurement program package comprising a measurement program that includes at least one protocol step for acquisition of measurement data from the subject according to a measurement protocol;
providing said computerized control unit with an action element associated with said measurement program or said at least one protocol step;
in said computerized control unit, detecting occurrence of a predetermined trigger event, associated with said action element, in said measurement program or in said at least one protocol step; and
upon detection of said occurrence of said predetermined trigger event by said computerized control unit, automatically causing an external, auxiliary program, designated by said action element, to be executed in the measurement program or in said at least one protocol step.
2. A method as claimed in claim 1 comprising halting said measurement program while said auxiliary program is executed.
3. A method as claimed in claim 1 comprising triggering and executing said auxiliary program through said action element with no manual interaction with said computerized control unit.
4. A method as claimed in claim 1 comprising passing at least one parameter between said auxiliary program and said measurement program.
5. A method as claimed in claim 1 comprising passing a parameter that affects workflow of said measurement program from said auxiliary program from said auxiliary program to said measurement program.
6. A method as claimed in claim 1 comprising manually adding said action element to said measurement program in said measurement program package.
7. A method as claimed in claim 1 comprising configuring said measurement program package to embed said action element therein.
8. A method as claimed in claim 1 comprising automatically configuring said measurement program package including automatically configuring or adding said action element in the automatically configured measurement program.
9. A method as claimed in claim 1 comprising providing at least two predetermined trigger events that each trigger at least one action element.
10. A method as claimed in claim 9 comprising associating a different auxiliary program with different action elements that are respectively triggered by said at least two trigger events.
11. A method as claimed in claim 9 comprising passing different parameters between said auxiliary program and said measurement program respectively upon the occurrence of said at least two trigger events.
12. A method as claimed in claim 1 comprising selecting said auxiliary program from the group consisting of programs implementing evaluation of image data, programs implementing processing of image data, programs activating said image acquisition device, programs for reading out said image acquisition device, programs for activating additional devices operating in combination with said image acquisition device, programs for reading out an additional device operating in combination with said image acquisition device, programs for determining an acquisition parameter associated with image acquisition in said image acquisition device, programs for checking an acquisition parameter associated with image acquisition in said image acquisition device, and programs that modify workflow in said measurement program.
13. A method as claimed in claim 1 wherein said measurement program comprises a pause step that is affected by execution of said auxiliary program.
14. A method as claimed in claim 1 wherein said measurement program comprises a operator interaction step that is affected by execution of said auxiliary program.
15. An image data acquisition system comprising:
an image data acquisition unit that interacts with a subject from which the image data are acquired;
a computerized control unit configured to operate said image data acquisition unit according to a measurement program package installed in said computerized control unit, said measurement program package comprising a measurement program that includes at least one protocol step for acquisition of measurement data from the subject according to a measurement protocol;
an input providing said computerized control unit with an action element associated with said measurement program or said at least one protocol step; and
said computerized control unit being configured to detect occurrence of a predetermined trigger event, associated with said action element, in said measurement program or in said at least one protocol step, and upon detection of said occurrence of said predetermined trigger event, to automatically cause an external, auxiliary program, designated by said action element, to be executed in the measurement program or in said at least one protocol step.