Claims
- 1. A method for isolating an element of an image made up of pixels comprising the steps of classifying the pixels into different groups based on the color value of the pixel, blurring the image, locating a pixel in the blurred image that has a predetermined color value corresponding to the element to be isolated, and growing a mask from the located pixel.
- 2. The method of claim 1 wherein the step of classifying the pixels into groups is performed using a K-means algorithm.
- 3. The method of claim 2 wherein the step of growing the mask is performed by adding to the located pixel the pixels in the group in which the located pixel is classified that are spatially connected to the located pixel using a connection algorithm.
- 4. The method of claim 3 wherein the color of a pixel in the mask is adjusted.
- 5. The method of claim 4 wherein prior to the step of classifying the image, the image is in RGB color space and is converted to the CIELAB color space.
- 6. The method of claim 5 wherein the step of converting the image to the CIELAB color space is modeled as a linear system
- 7. The method of claim 6 wherein in the step of classifying the pixels includes increasing the dynamic range of the image.
- 8. The method of claim 7 wherein the image is blurred by using a convolution process including a blur kernel and the blur kernel is smaller than the feature to be isolated.
- 9. The method of claim 8 wherein the convolution process is given by the equation
- 10. The method of claim 9 wherein the function H is given by the equation
- 11. The method of claim 9 wherein the step of locating the pixel uses the algorithm
- 12. The method of claim 2 is wherein the number of groups is 3 to 5.
- 13. The method of claim 2 wherein the number of groups is sufficient to differentiate the element to be isolated from other elements of the image.
- 14. The method of claim 2 wherein the step of classifying the pixels includes refining the color value of the different groups based on the group average and reclassifying the pixels in the image based on the refined color values.
- 15. A computer-readable medium containing instructions for controlling a processor to isolate an element in an image made up of pixels by a method comprising the steps of classifying the pixels into different groups based on the color value of the pixel, blurring the image, locating a pixel in the blurred image that has a predetermined color value corresponding to the element to be isolated, and growing a mask from the located pixel.
- 16. The medium of claim 15 wherein the step of classifying the pixels into groups is performed using a K-means algorithm.
- 17. The medium of claim 16 wherein the step of growing the mask is performed by adding to the located pixel the pixels in the group in which the located pixel is classified that are spatially connected to the located pixel using a connection algorithm.
- 18. The medium of claim 16 wherein there are 3 to 5 groups.
- 19. The medium of claim 17 wherein the color of a pixel in the mask is adjusted.
- 20. The medium of claim 19 wherein prior to the step of classifying the image, the image is in RGB color space and is converted to the CIELAB color space.
- 21. An apparatus for displaying an image comprising:
a camera for sensing an image and placing data corresponding to the image in memory, a processor or logic circuit programmed to isolate an element in an image made up of pixels and modifying the isolated element by a method including the steps of classifying the pixels into different groups based on the color of the pixel, blurring the image, locating a pixel in the blurred image that has predetermined color value corresponding to the element to be isolated, growing a mask from the located pixel, the mask corresponding to the isolated element, and modifying the color of the pixels in isolated element; and a display for displaying the image including the modified isolated element.
- 22. The apparatus of claim 21 wherein the display includes a target area for locating the element in the image.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to Provisional Patent Application Serial No. 60/368,472 filed Mar. 28, 2002.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60368472 |
Mar 2002 |
US |