摘要:
Locating an eye includes generating an intensity response map by applying a 3-rectangle filter and applying K-mean clustering to the map to determine the eye. Locating an eye corner includes applying logarithm transform and grayscale stretching to generate a grayscale eye patch, generating a binary map of the patch by using a threshold based on a histogram of the patch, and estimating the eye corner by averaging coordinates weighted by minimal eigenvalues of spatial gradient matrices in a search region based on the binary map. Locating a mouth corner includes generating another intensity response map and generating another binary map using another threshold based on another histogram of the intensity response map. Locating a chin or a cheek includes applying angle constrained gradient analysis to reject locations that cannot be the chin or cheek. Locating a cheek further includes removing falsely detected cheeks by parabola fitting curves through the cheeks.
摘要:
Locating an eye includes generating an intensity response map by applying a 3-rectangle filter and applying K-mean clustering to the map to determine the eye. Locating an eye corner includes applying logarithm transform and grayscale stretching to generate a grayscale eye patch, generating a binary map of the patch by using a threshold based on a histogram of the patch, and estimating the eye corner by averaging coordinates weighted by minimal eigenvalues of spatial gradient matrices in a search region based on the binary map. Locating a mouth corner includes generating another intensity response map and generating another binary map using another threshold based on another histogram of the intensity response map. Locating a chin or a cheek includes applying angle constrained gradient analysis to reject locations that cannot be the chin or cheek. Locating a cheek further includes removing falsely detected cheeks by parabola fitting curves through the cheeks.
摘要:
A method for detecting a facial area on a color image includes (a) placing a search window on the color image, (b) determining if a center pixel of the search window is a skin color pixel, indicating that the search window is a possible facial area candidate, (c) applying a 3-rectangle filter to the search window to determine if the search window is a possible facial area candidate, (d) applying a 4-rectangle filter to the search window to determine if the search window is a possible facial area candidate, (e) if steps (b), (c), (d) all determine that the search window is a possible facial area candidate, applying an AdaBoost filter to the search window to determine if the search window is a facial area candidate, and (f) if step (e) determines that the search window is a facial area candidate, saving the location of the search window.
摘要:
A method for detecting a facial area on a color image includes (a) placing a search window on the color image, (b) determining if a center pixel of the search window is a skin color pixel, indicating that the search window is a possible facial area candidate, (c) applying a 3-rectangle filter to the search window to determine if the search window is a possible facial area candidate, (d) applying a 4-rectangle filter to the search window to determine if the search window is a possible facial area candidate, (e) if steps (b), (c), (d) all determine that the search window is a possible facial area candidate, applying an AdaBoost filter to the search window to determine if the search window is a facial area candidate, and (f) if step (e) determines that the search window is a facial area candidate, saving the location of the search window.
摘要:
This invention is a method applicable to an image processing device, which includes the steps of providing a preprocess module for extracting a high-frequency portion of an image inputted into the device, extracting a gradient of the image and decomposing the image into plane and edge regions according to a predetermined fixed threshold, and providing a composite up-scaling module for executing the magnification processes on the image and the high-frequency portion thereof respectively, wherein the magnification process of plane regions of the image and the high-frequency portion is based on a simple interpolation while the edge regions of the image and the high-frequency portion is based on both a smart interpolation and the simple interpolation. The magnification results of the image and the high-frequency portion are then processed by a fusion process, so as to output an image having sharp but not blocky edges, rich details and strong contrast.
摘要:
This invention is a method applicable to an image processing device, which includes the steps of providing a preprocess module for extracting a high-frequency portion of an image inputted into the device, extracting a gradient of the image and decomposing the image into plane and edge regions according to a predetermined fixed threshold, and providing a composite up-scaling module for executing the magnification processes on the image and the high-frequency portion thereof respectively, wherein the magnification process of plane regions of the image and the high-frequency portion is based on a simple interpolation while the edge regions of the image and the high-frequency portion is based on both a smart interpolation and the simple interpolation. The magnification results of the image and the high-frequency portion are then processed by a fusion process, so as to output an image having sharp but not blocky edges, rich details and strong contrast.
摘要:
A method of enhancing a nose area of an image containing a face with a nose visible on the face includes loading the image into a computing device having a processor. The processor defines the nose area on the image, the nose area including a highlighted region corresponding to a middle of the nose, a first shaded region being located on a left side of the nose and bordering the left side of the nose, and a second shaded region being located on a right side of the nose and bordering the right side of the nose. The processor next performs an image enhancement process on the image to create an enhanced image, the image enhancement process including increasing the brightness of the highlighted region and decreasing the brightness of the first shaded region and the second shaded region. The processor then outputs the enhanced image.
摘要:
A method for detecting a facial expression and repairing a smile face of a portrait photo includes the steps of: detecting a location and a range of a mouth region in an inputted portrait photo; capturing a patch in the mouth region and a predetermined peripheral range thereof; executing a comparison process to a smile state or a stiff state of the mouth region in the patch by a mouth state classifier; executing a calculation process to a repaired region of the mouth region when the mouth region is determined to be in the stiff state, in order to calculate a location of a plurality of feature points in the repaired region of the mouth region; and executing an image warping process to the location of the feature points and adjacent pixels thereof, for generating a portrait photo showing a smile state.
摘要:
A method for detecting a facial expression and repairing a smile face of a portrait photo includes the steps of: detecting a location and a range of a mouth region in an inputted portrait photo; capturing a patch in the mouth region and a predetermined peripheral range thereof; executing a comparison process to a smile state or a stiff state of the mouth region in the patch by a mouth state classifier; executing a calculation process to a repaired region of the mouth region when the mouth region is determined to be in the stiff state, in order to calculate a location of a plurality of feature points in the repaired region of the mouth region; and executing an image warping process to the location of the feature points and adjacent pixels thereof, for generating a portrait photo showing a smile state.
摘要:
After receiving a digital image, check if the digital image contains a predetermined object. If the digital image contains the predetermined object, extract object features from the predetermined object, then compare the object features with common features of each of the predetermined identifications. If the object features match the common features of one of the predetermined identifications, store the digital image into a database dedicated to the predetermined identification. If the object features do not match the common features of any of the predetermined identifications, register the predetermined object with a new identification. If the new identification is the same as one of the predetermined identifications, store the digital image into a database dedicated to the predetermined identification. If the new identification is different from all of the predetermined identifications, store the digital image into a database dedicated to the new identification.