Patent ID: 6750986
Filing Date: 2004-06-15
Classification: G06T,H04N

Abstract:
A method for processing a color image that is generated as a result of scanning a picture, the method comprising detecting whether thin lines exist in the color image, wherein detecting thin lines includes creating a 5Ã—5 pixel window and a 3Ã—5 pixel window that are based on and centered on a selected pixel in the color image, wherein for the 5Ã—5 pixel window, the sum of hue values of a left two columns is defined as L55, the sum of hue values of a middle column is defined as V5, and V55=2*V5, and the sum of hue values of a right two columns is defined as R55; and wherein for a 3Ã—5 pixel window, the sum of hue values of a left column is defined as L3, and L35=2*L3, the sum of hue values of a middle column is defined as V3, and V35=2*V3, and the sum of hue values of a right column is defined as R3, and R35=2*R3; and wherein it is discriminated that a vertical line exists if any one of the following Equations (1), (2), and (3) is fulfilled:(L55râˆ’V55r)&gE;T1 and (R55râˆ’V55r)&gE;T2â€ƒâ€ƒ(1) wherein T1 and T2 are predetermined thresholds for a red channel;(L55gâˆ’V55g)&gE;T3 and (R55gâˆ’V55g)&gE;T4â€ƒâ€ƒ(2) wherein T3 and T4 are predetermined thresholds for a green channel; and(L55bâˆ’V55b)&gE;T5 and (R55bâˆ’V55b)&gE;T6â€ƒâ€ƒ(3) wherein T5 and T6 are predetermined thresholds for a blue channel.