Senior Fitness - Exercise and Nutrition for Aging Men and Women
FREE Article Feed for your website.
Home Ownership Magazine
Party Planning Information
Article Marketing Resources
Bio-Medical Research Article Database
Informative Articles on Life, Love and Happiness
Tutorials on Business to Writing
Famous Quotes from Famous People
Song Lyric Information
New US Patent Information
Comprehensive List of Content by Category
Online Auctions and Shopping Related Articles
Article Search
Most Recent Articles
Title: Multi-function transportable recreation chair
Patent Number: 7,438,355 Issued on 10/21/2008 to Pedemonte

Title: Integrated seatbelt in a cantilevered stowable seat with an improved dump locking mechanism
Patent Number: 7,438,354 Issued on 10/21/2008 to Moffa,   et al.

Title: Guide tube-fixing structure for sunroof device
Patent Number: 7,438,353 Issued on 10/21/2008 to Tsukamoto,   et al.

Title: Sealing arrangement
Patent Number: 7,438,352 Issued on 10/21/2008 to Albu,   et al.

Title: Structural element comprising a vertical member securing nut and the corresponding motor vehicle
Patent Number: 7,438,351 Issued on 10/21/2008 to Arroupe,   et al.

Title: Vehicles having fastener extending into apertures of respective body panels and methods
Patent Number: 7,438,350 Issued on 10/21/2008 to Peterson,   et al.

Title: Operator cab for heavy construction equipment
Patent Number: 7,438,349 Issued on 10/21/2008 to Jo,   et al.

Title: Vehicle front structure
Patent Number: 7,438,348 Issued on 10/21/2008 to Nakamae,   et al.

Title: Air guiding system for a vehicle
Patent Number: 7,438,347 Issued on 10/21/2008 to Froeschle,   et al.

Title: Method and apparatus for controlling a vehicle door
Patent Number: 7,438,346 Issued on 10/21/2008 to Breed

Title: Convertible top device and method
Patent Number: 7,438,345 Issued on 10/21/2008 to Mrotek

Title: Convertible top weather strip
Patent Number: 7,438,344 Issued on 10/21/2008 to Williams,   et al.

Title: Convertible
Patent Number: 7,438,343 Issued on 10/21/2008 to Heselhaus

Title: Topper with retractable door for pickup trucks
Patent Number: 7,438,342 Issued on 10/21/2008 to Greenwood

Title: Headliner retainer
Patent Number: 7,438,341 Issued on 10/21/2008 to Olson, Jr.

Title: motorcycle with storage compartment
Patent Number: 7,438,340 Issued on 10/21/2008 to Kurihara

Title: Vehicle Seat
Patent Number: 7,438,339 Issued on 10/21/2008 to Abraham

Title: Multi-positional storage arrangement for a sport utility or other vehicle
Patent Number: 7,438,338 Issued on 10/21/2008 to Schumacher,   et al.

Title: Vehicular crash attenuator
Patent Number: 7,438,337 Issued on 10/21/2008 to Gertz

Title: Storm shutter stud fastener with quick release arm
Patent Number: 7,438,336 Issued on 10/21/2008 to Wolf,   et al.

Title: Compact electric strike with preload release capability
Patent Number: 7,438,335 Issued on 10/21/2008 to Uyeda

Title: Bolt-type seal lock
Patent Number: 7,438,334 Issued on 10/21/2008 to Terry,   et al.

Title: Magnetic latch assembly
Patent Number: 7,438,333 Issued on 10/21/2008 to Wu,   et al.

Title: Cam-action remote latch mechanism
Patent Number: 7,438,332 Issued on 10/21/2008 to Wang,   et al.

Title: Apparatus for opening and closing door
Patent Number: 7,438,331 Issued on 10/21/2008 to Wakatsuki

Title: Vehicle door lock actuator
Patent Number: 7,438,330 Issued on 10/21/2008 to Takahashi

Title: Methods and connections for coupled pipe
Patent Number: 7,438,329 Issued on 10/21/2008 to DeLange,   et al.

Title: Quick connector
Patent Number: 7,438,328 Issued on 10/21/2008 to Mori,   et al.

Title: Electrical connection assembly with unitary sealing and compression ring
Patent Number: 7,438,327 Issued on 10/21/2008 to Auray,   et al.

Title: Tee baffle for use at inlet or outlet of septic and other on-site waste disposal systems
Patent Number: 7,438,326 Issued on 10/21/2008 to Meyers

Title: Rotating passage
Patent Number: 7,438,325 Issued on 10/21/2008 to Rocca,   et al.

Title: Method and components for repairing broken conduit extending from concrete foundations
Patent Number: 7,438,324 Issued on 10/21/2008 to Keiper

Title: Business communication assembly having one or more recessed areas created through ablation by electromagnetic radiation
Patent Number: 7,438,323 Issued on 10/21/2008 to Lowry,   et al.

Title: Label
Patent Number: 7,438,322 Issued on 10/21/2008 to Miller

Title: Binding system
Patent Number: 7,438,321 Issued on 10/21/2008 to Peleman

Title: Rollover protection device
Patent Number: 7,438,317 Issued on 10/21/2008 to Rohner,   et al.

Title: Vehicle steering wheel with pivoting horn
Patent Number: 7,438,312 Issued on 10/21/2008 to Boullosa Vazquez,   et al.

Title: Hose for introduction and distribution of inflator gas
Patent Number: 7,438,311 Issued on 10/21/2008 to Konishi

Title: Knee protecting airbag device
Patent Number: 7,438,310 Issued on 10/21/2008 to Takimoto,   et al.

Title: Portable trailer
Patent Number: 7,438,309 Issued on 10/21/2008 to Tai

Title: Ergonomic telescoping handle assembly for wheeled luggage
Patent Number: 7,438,308 Issued on 10/21/2008 to Kim,   et al.

Title: Safety binding
Patent Number: 7,438,307 Issued on 10/21/2008 to Damiani,   et al.

Title: Motorcycle rake and trail adjuster
Patent Number: 7,438,306 Issued on 10/21/2008 to Mrdeza,   et al.

Title: Agricultural tractor with movable step
Patent Number: 7,438,305 Issued on 10/21/2008 to Schulz

Title: Vehicle mount/dismount system
Patent Number: 7,438,304 Issued on 10/21/2008 to Segall

Title: Braking and steering system for a truck, wheeled platform, skateboard or vehicle
Patent Number: 7,438,303 Issued on 10/21/2008 to Cole

Title: Scooter and event forum seat
Patent Number: 7,438,302 Issued on 10/21/2008 to Nichols

Title: Apparatus and methods for moving storage and display systems
Patent Number: 7,438,301 Issued on 10/21/2008 to Schilling,   et al.

Title: Hand truck with pivotal retainer
Patent Number: 7,438,300 Issued on 10/21/2008 to Zien,   et al.

Title: Portable enclosure
Patent Number: 7,438,299 Issued on 10/21/2008 to Vera

Title: Steerable snow sled having multiple pivot points
Patent Number: 7,438,298 Issued on 10/21/2008 to Hoskin

Title: Ski attachment for a cambering vehicle
Patent Number: 7,438,297 Issued on 10/21/2008 to Fernandez,   et al.

Title: Apparatus and method for shifting the center of gravity in a vehicle
Patent Number: 7,438,296 Issued on 10/21/2008 to Stevens

Title: Card game
Patent Number: 7,438,295 Issued on 10/21/2008 to Aida

Title: Method for playing a card game
Patent Number: 7,438,294 Issued on 10/21/2008 to Mendola,   et al.

Title: Facilitated gaming system and method with equalizing criteria for facilitator
Patent Number: 7,438,293 Issued on 10/21/2008 to Sklansky,   et al.

Title: Multi-game playing surface and associated methods
Patent Number: 7,438,292 Issued on 10/21/2008 to Brandt

Title: Board game
Patent Number: 7,438,291 Issued on 10/21/2008 to Kilbane

Title: Sliding shell mechanism for a hollow puzzle
Patent Number: 7,438,290 Issued on 10/21/2008 to Yahyavi

Title: Sheet material stacking apparatus
Patent Number: 7,438,289 Issued on 10/21/2008 to Wada

Title: Recording apparatus
Patent Number: 7,438,288 Issued on 10/21/2008 to Nishiberi,   et al.

Title: Mechanical device for receiving documents
Patent Number: 7,438,287 Issued on 10/21/2008 to Fournier

Title: Workpiece holding jig
Patent Number: 7,438,286 Issued on 10/21/2008 to Umahashi,   et al.

Title: Refrigerator with carbonated water distributor
Patent Number: 7,438,285 Issued on 10/21/2008 to Maritan,   et al.

Title: Cantilevered rail support and covering
Patent Number: 7,438,284 Issued on 10/21/2008 to McGinness,   et al.

Title: Toddler stair safety system
Patent Number: 7,438,283 Issued on 10/21/2008 to Kroll,   et al.

Title: Railing
Patent Number: 7,438,282 Issued on 10/21/2008 to Harder

Title: Pulley for assisting in the take-up or deployment of a heterogeneous system
Patent Number: 7,438,281 Issued on 10/21/2008 to Pesnel

Title: High load flange profile for a wireline drum
Patent Number: 7,438,280 Issued on 10/21/2008 to Doud,   et al.

Title: Tool for pulling nails and other protrusions
Patent Number: 7,438,279 Issued on 10/21/2008 to Eby,   et al.

Title: Tool for extracting an embedded elongated object
Patent Number: 7,438,278 Issued on 10/21/2008 to Wagner

Title: Flow force compensated sleeve valve
Patent Number: 7,438,277 Issued on 10/21/2008 to Jacobsen,   et al.

Title: Electromagnetic valve for brake control
Patent Number: 7,438,276 Issued on 10/21/2008 to Yoshikawa,   et al.

Title: Ball valve for use in heating or cooling systems
Patent Number: 7,438,275 Issued on 10/21/2008 to Jorgensen

Title: Adjustable foot for setting up equipment in alignment
Patent Number: 7,438,274 Issued on 10/21/2008 to Vermeulen

Color imaging processing method with boundary detection and enhancement Number:6,778,296 from the United States Patent and Trademark Office (PTO) owispatent

Home    Author Login    Submit Article    Article Search    Add Your Link    Edit Your Link    Contact Us    Advertising    Disclaimer

   

 
Web LinkGrinder.com

Top Breaking News
     Greek, Cypriot Leaders Resume Unification Talks in Nicosia by Nathan Morley
     Indonesia Tobacco Sales Grow, Raising Health Fears
     South Korea Allows Top Defector to Travel Overseas by VOA News

Title: Color imaging processing method with boundary detection and enhancement

Abstract: A color image processing provides a thin-line enhancement module for a color image for finding and keeping thin lines in the color image. A boundary enhancement module is provided for finding and keeping the boundary in the color image. A de-background module is provided for removing noise pixels from the white background. The color image is processed to avoid missing and/or twisting the thin lines, boundary, background, and texts in the color image after the scanning procedure.

Patent Number: 6,778,296 Issued on 08/17/2004 to Yang


Inventors: Yang; Keven (Taipei Hsien, TW)
Assignee: Destiny Technology Corporation (Taipei, TW)
Appl. No.: 09/536,512
Filed: March 27, 2000


Current U.S. Class: 358/1.9 ; 358/2.1; 358/462; 358/463; 382/164; 382/165; 382/176; 382/256
Current International Class: H04N 1/56 (20060101); H04N 1/58 (20060101)
Field of Search: 358/463,462,464,461,465,456,1.9 382/164,165,176


References Cited [Referenced By]

U.S. Patent Documents
4053737 October 1977 Lafevers et al.
4733252 March 1988 Daniele et al.
4823151 April 1989 Miura
4989019 January 1991 Loce et al.
5014124 May 1991 Fujisawa
5029108 July 1991 Lung
5274428 December 1993 Wong et al.
5335292 August 1994 Lovelady et al.
5387983 February 1995 Sugiura et al.
5390262 February 1995 Pope
5396584 March 1995 Lee et al.
5422736 June 1995 Katayama
5430497 July 1995 Strolle et al.
5432535 July 1995 Andrews et al.
5438651 August 1995 Suzuki et al.
5459587 October 1995 Fukushima
5473444 December 1995 Sakano et al.
5548415 August 1996 Tanaka et al.
5619334 April 1997 Adams et al.
5619592 April 1997 Bloomberg et al.
5696842 December 1997 Shirasawa et al.
5745153 April 1998 Kessler et al.
5764377 June 1998 Nacman et al.
5781659 July 1998 Melen et al.
5859928 January 1999 Noh
5872573 February 1999 Adegeest
5911004 June 1999 Ohuchi et al.
5956156 September 1999 Fukushima
6014462 January 2000 Yamakawa
6026184 February 2000 Fukushima
6038340 March 2000 Ancin et al.
6118895 September 2000 Hirota et al.
6167163 December 2000 Fukushima
6227725 May 2001 Ancin et al.
6272240 August 2001 Li et al.
6360009 March 2002 Li et al.
6480196 November 2002 Harrington
6519362 February 2003 Cusmariu
6529643 March 2003 Loce et al.
6556311 April 2003 Benear et al.
2002/0031263 March 2002 Yamakawa
Foreign Patent Documents
6 1157161 Jul., 1986 JP
6 2100884 Nov., 1987 JP
02084879 Mar., 1990 JP
04362870 Dec., 1992 JP
05006438 Jan., 1993 JP
05091312 Apr., 1993 JP
08051538 Feb., 1996 JP
11305752 Nov., 1999 JP
11355576 Dec., 1999 JP
20 0011188 Jan., 2000 JP
2001-307113 Feb., 2001 JP
2001 309092 Nov., 2001 JP
Primary Examiner: Williams; Kimberly
Assistant Examiner: Burleson; Michael
Attorney, Agent or Firm: Kamrath; Alan D. Nikolai & Mersereau, P.A.

Claims



What is claimed is:

1. A method for processing a color image that is generated as a result of scanning a picture, the method comprising detecting whether a boundary exists in the color image, wherein detecting whether a boundary exists includes creating a 5.times.5 pixel window and a 3.times.5 pixel window that are based on and centered on a selected pixel in the color image, wherein for the 5.times.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.times.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 boundary exists if any one of the following Equations (13), (14), and (15) is fulfilled:

wherein T25 and T26 are predetermined thresholds for a red channel;

wherein T27 and T28 are predetermined thresholds for a green channel;

wherein T29 and T30 are predetermined thresholds for a blue channel.

2. The method as claimed in claim 1, further comprising detecting whether a black-white boundary exists in the color image if a boundary exists in the color image.

3. The method as claimed in claim 2, wherein two thresholds (T45 and T46) are selected and located in a range of 0.about.255 for determining the values for two parameters (txcount and bgcount), and wherein for each of twenty-five points in the 5.times.5 pixel window, the txcount is added by one (1) if all of the hue values of the red, green, and blue channels fall in a range of 0.about.T45, the txcount is reset to be zero when considering another pixel in the color image based on which another pixel window is created, the bgcount is added by one (1) if all of the hue values of the red, green, and blue channels fall in a range of T46.about.255, the bgcount is reset to be zero when considering another pixel in the color image based on which another pixel window is created, and wherein a weak sharpness filter is activated if any one of Equations (13), (14) and (15) is fulfilled, and wherein a strong sharpness filter is activated if any one of Equations (13), (14) and (15) is fulfilled and the following Equation (19) is fulfilled:

wherein T37 and T38 are predetermined values and wherein 0.ltoreq.txcount.ltoreq.25, 0.ltoreq.bgcount.ltoreq.25, and 0.ltoreq.(txcount+bgcount).ltoreq.25.

4. A method for processing a color image that is generated as a result of scanning a picture, the method comprising detecting whether a boundary exists in the color image, wherein detecting whether a boundary exists includes creating a 5.times.5 pixel window and a 5.times.3 pixel window that are based on and centered on a selected pixel in the color image, wherein for the 5.times.5 pixel window, the sum of hue values of an upper two rows is defined as U55, the sum of hue values of a middle row is defined as H5, and H55=2*H5, and the sum of hue values of a lower two rows is defined as D55, and wherein for the 5.times.3 pixel window, the sum of hue values of an upper row is defined as U3, and U53=2*U3, the sum of hue values of a middle row is defined as H3, and H53=2*H3, and the sum of hue values of a lower row is defined as D3, and D53=2*D3; and wherein it is discriminated that a horizontal boundary exists if any one of Equations (16), (17), and (18) is fulfilled:

wherein T31 and T32 are predetermined values for a red channel;

wherein T33 and T34 are predetermined values for a green channel;

wherein T35 and T36 are predetermined values for a blue channel.

5. The method as claimed in claim 4, further comprising detecting whether a black-white boundary exists in the color image if a boundary exists in the color image.

6. The method as claimed in claim 5, wherein two thresholds (T45 and T46) are selected and located in a range of 0.about.255 for determining the values for two parameters (txcount and bgcount), and wherein for each of twenty-five points in the 5.times.5 pixel window, the txcount is added by one (1) if all of the hue values of the red, green, and blue channels fall in a range of 0.about.T45, the txcount is reset to be zero when considering another point, the bgcount is added by one (1) if all of the hue values of the red, green, and blue channels fall in a range of T46.about.255, the bgcount is reset to be zero when considering another point, and wherein a weak sharpness filter is activated if any one of Equations (16), (17) and (18) is fulfilled, and wherein a strong sharpness filter is activated if any one of Equations (16), (17) and (18) is fulfilled and the following Equation (19) is fulfilled:

wherein T37 and T38 are predetermined values and wherein 0.ltoreq.txcount.ltoreq.25, 0.ltoreq.bgcount.ltoreq.25, and 0.ltoreq.(txcount+bgcount).ltoreq.25.

7. A method for processing a color image that is generated as a result of scanning a picture, the method comprising detecting whether a boundary exists in the color image; detecting whether a black-white boundary exists in the color image if a boundary exists; and using a weak sharpness filter if no black-white boundary exists in the color image.

8. The method as claimed in claim 7, further comprising using a strong sharpness filter if a black-white boundary exists in the color image.

9. A method for processing a color image that is generated as a result of scanning a picture, the method comprising detecting whether a boundary exists in the color image; and detecting whether a white background exists in the color image if no boundary exists in the color image.

10. The method as claimed in claim 9, further comprising detecting whether black data exists on the white background.

11. The method as claimed in claim 10, further comprising removing noise pixels from the white background if black data exists on the white background.

12. The method as claimed in claim 11, wherein the noise pixels are removed from the white background if either one of the following Equations (20) and (21) is fulfilled while all of the hue values of red, green, and blue channels of a center point for a 5.times.5 pixel window are greater than a first predetermined threshold (T43) or smaller than a second predetermined threshold (T44):

wherein T39, T40, T41, and T42 are predetermined thresholds.
Description



BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a color image processing method with boundary detection and enhancement.

2. Description of the Related Art

Nowadays, computers are widely used to process color images generated as a result of scanning pictures by scanners. A normal procedure includes scanning a picture by a scanner and then using image-editing software(s) to edit the color image generated as a result of scanning. Nevertheless, it is often found that the color image is not clear and in disagreement with the picture in a certain degree, particularly in thin lines, boundary, background, and texts. More specifically, thin lines, boundary, background, and texts in the picture are often missing or twisted in the color image after the scanning procedure. This provides a poor ground for the subsequent color image editing.

The present invention is intended to provide a color image processing method that mitigates and/or obviates the above problems.

SUMMARY OF THE INVENTION

It is the primary object of the present invention to provide a color image processing that provides a boundary enhancement module for a color image, thereby finding and keeping the boundary in the color image.

Other objects, advantages, and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow chart illustrating a method in accordance with the present invention for processing a color image as a result of scanning a picture.

FIG. 2 is a 5.times.5 pixel window generated for discriminating purposes.

FIG. 3 is a 3.times.5 pixel window generated for discriminating purposes.

FIG. 4 is a 5.times.3 pixel window generated for discriminating purposes.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring to FIG. 1, a method in accordance with the present invention is provided for enhancing a color image generated as a result of scanning a picture. Namely, a picture is scanned by a scanner connected to a computer to generate a color image. A first step of the method in accordance with the present invention includes detecting thin lines in the color image by a thin-line enhancement module 10. In this step, a 3.times.5 (or 5.times.3) pixel window (or array) and a 5.times.5 pixel window are created for each pixel in the color image. The 3.times.5 (or 5.times.3) pixel window and the 5.times.5 pixel window are based and centered on a selected pixel in the color image.

Definition

For a 5.times.5 pixel window shown in FIG. 2, the sum of color values of the left two columns (P1, P6, P11, P16, P21, P2, P7, P12, P17, P22) is defined as L55, the sum of color values of the middle column (P3, P8, P13, P18, P23) is defined as V5, and V55=2*V5, and the sum of color values of the right two columns (P4, P9, P14, P19, P24, P5, P10, P15, P20, P25) is defined as R55. It is noted that the selected pixel on which the 5.times.5 pixel window is based is located in the center of the middle column. The sum of color values of the upper two rows (P1.about.P10) is defined as U55, the sum of color values of the middle row (P11.about.P15) is defined as H5, and H55=2*H5, and the sum of color values of the lower two rows (P16.about.P25) is defined as D55. The term "color value" referred to herein means the hue value for each pixel.

For a 3.times.5 pixel window shown in FIG. 3, the sum of color values of the left column (P1, P4, P7, P10, P13) is defined as L3, and L35=2*L3, the sum of color values of the middle column (P2, P5, P8, P11, P14) is defined as V3, and V35=2*V3, and the sum of color values of the right column (P3, P6, P9, P12, P15) is defined as R3, and R35=2*R3. It is noted that the selected pixel on which the 3.times.5 pixel window is based is located in the center of the middle column. For a 5.times.3 pixel window shown in FIG. 4, the sum of color values of the upper row (P1.about.P5) is defined as U3, and U53=2*U3, the sum of color values of the middle row (P6.about.P10) is defined as H3, and H53=2*H3, and the sum of color values of the lower row (P11.about.P15) is defined as D3, and D53=2*D3.

For a 5.times.5 pixel window, the sum of color values of three pixels P3, P7, P11 (FIG. 2) is defined as LU45_3; the sum of color values of three pixels P9, P13, P17 is defined as LV45_3; and the sum of color values of three pixels P15, P19, P23 is defined as LD45_3. In addition, the sum of color values of three pixels P3, P9, P15 is defined as RV45_3; the sum of color values of three pixels P7, P13, P19 is defined as RU45_3; and the sum of color values of three pixels P11, P17, P23 is defined as RD45_3.

A thin line is defined as a line with a one (1)-pixel width.

Since the red, green, and blue channels are digitized and thus all fall in the range of 0.about.255, two thresholds, e.g., 30 (T45) and 225 (T46) are selected for determining the values for txcount and bgcount (both of which will be described later). For the twenty-five points in the 5.times.5 pixel window, distribution of each of the 25 points is considered. The txcount is added by one (1) if all of the hue values of the red, green, and blue channels fall in a range of 0.about.30. The txcount is reset to be zero when considering another pixel in the color image based on which another pixel window is created. The bgcount is added by one (1) if all of the hue values of the red, green, and blue channels fall in a range of 225.about.255. The bgcount is reset to be zero when considering another pixel in the color image based on which another pixel window is created.

Thin-Line Detection

Since there are three primary colors (red, green and blue, the so-called three channels), separate considerations are required. Namely, the hue value for each primary color for each pixel must be considered. For the red channel of each pixel, the maximum hue value is 255 for red and 0 for black. Equation (1) is given below to determine whether a thin-line exists when taking the red channel into considerations.

wherein T1 and T2 are predetermined thresholds.

Similarly, Equation (2) is given below to determine whether a thin-line exists when taking the green channel into consideration.

wherein T3 and T4 are predetermined thresholds.

Similarly, Equation (3) is given below to determine whether a thin-line exists when taking the blue channel into consideration.

wherein T5 and T6 are predetermined thresholds.

It is discriminated that a vertical thin line exists if any one of Equations (1), (2), and (3) is fulfilled.

Similarly, it is discriminated that a horizontal line exists if any one of the following Equations (4), (5), and (6) is fulfilled.

wherein T7 and T8 are predetermined thresholds for the red channel.

wherein T9 and T10 are predetermined thresholds for the green channel.

wherein T11 and T12 are predetermined thresholds for the blue channel.

It is appreciated that T1.about.T12 are preferably of the same value, e.g., 512.

The following Equations (7), (8) (9) are used to discriminate existence of a thin-line of a slope of 1.

wherein T13 and T14 are predetermined thresholds for the red channel.

wherein T15 and T16 are predetermined thresholds for the green channel.

wherein T17 and T18 are predetermined thresholds for the blue channel.

It is discriminated that a thin line having a slope of 1 exists if any one of Equations (7), (8), and (9) is fulfilled.

The following Equations (10), (11) (12) are used to discriminate existence of a thin-line of a slope of -1.

wherein T19 and T20 are predetermined thresholds for the red channel.

wherein T21 and T22 are predetermined thresholds for the green channel.

wherein T23 and T24 are predetermined thresholds for the blue channel.

It is discriminated that a thin line having a slope of -1 exists if any one of Equations (10), (11), and (12) is fulfilled.

It is appreciated that T13.about.T24 are preferably of the same value.

If a thin line is detected, then a thin-line enhancing procedure is applied to the data inspected to thereby make the thin line vivid; if not, the data is then passed to a boundary enhancement module. The thin-line enhancing procedure is accomplished by a thin-line enhancement means 12. If no thin line is detected, the data is passed to a boundary enhancement module 20.

Black and White Boundary Detection

A boundary is defined as a transition between two blocks of different colors that has no thin-line. The following Equations (13), (14), and (15) are used to detect whether a vertical boundary exists.

wherein T25 and T26 are predetermined thresholds for the red channel.

wherein T27 and T28 are predetermined thresholds for the green channel.

wherein T29 and T30 are predetermined thresholds for the blue channel.

It is discriminated that a vertical boundary exists if any one of Equations (13), (14), and (15) is fulfilled.

Similarly, Equations (16), (17), (18) are used to detect whether a horizontal boundary exists.

wherein T31 and T32 are predetermined values for the red channel.

wherein T33 and T34 are predetermined values for the green channel.

wherein T35 and T36 are predetermined values for the blue channel.

If any one of Equations (16), (17), and (18) is fulfilled, it is discriminated as existence of a horizontal boundary.

Preferably, T25.about.T36 are of the same value, e.g., 192.

In Equations (13).about.(15), both 5.times.5 and 3.times.5 pixel windows are used to discriminate existence of a vertical boundary. It is noted that it is possible to discriminate existence of a vertical boundary by only one pixel window (5.times.5 or 3.times.5), i.e., Equation (13) becomes

Equations (14) and (15) may be modified similarly. Nevertheless, it is found that misdiscrimination of the vertical boundary can be avoided by means of using Equations (13).about.(15). The same situations exist in Equations (16).about.(18), which will not be described in detail to avoid redundancy.

If a boundary is detected, then the boundary enhancement module 20 checks if it is a black-white boundary (i.e., one side is black and the other side is white). If a black-white boundary is detected, then a strong sharpness filter 22 is applied; otherwise, a weak sharpness filter 24 is used. The strong sharpness filter 22 causes the output to be sharper than that by the weak sharpness filter 24. If no boundary is detected, the data are then passed to a de-background module 30. Discrimination standards for the black-white boundary for a 5.times.5 pixel window are as follows:

If any one of Equations (13).about.(15) is fulfilled, the weak sharpness filter 24 is activated. If all of Equations (13).about.(15) are fulfilled, the strong sharpness filter 22 is activated if the following Equation (19) is fulfilled (i.e., a black-white vertical boundary is detected):

wherein T37 (e.g., 0) and T38 (e.g., 15) are predetermined values and wherein 0.ltoreq.txcount.ltoreq.25, 0.ltoreq.bgcount.ltoreq.25, and 0.ltoreq.(txcount+bgcount).ltoreq.25.

If the bgcount is greater than T37 and the txcount is greater than T38, the strong sharpness filter 22 is activated. T37 and T38 are both adjustable.

Similarly, if any one of Equations (16).about.(18) is fulfilled, the weak sharpness filter 24 is activated. If all of Equations (16).about.(18) and Equation (19) are fulfilled (i.e., a black-white horizontal boundary is detected), the strong sharpness filter 22 is activated.

White or Black Background Detection

The de-background module 30 deals with black texts on white backgrounds for removing noise pixels from a white background. If a white background is detected, it is checked whether there are black data on the white background. If yes, a de-background filter 32 is applied for removing the noise pixel from the white background; otherwise, nothing is done. If the background is not white, the data are then passed to a de-screen module 40.

Equations (20) and (21) are used to determine whether to activate the de-background filter 32:

In an embodiment of the invention, T39=10; T40=15; T41=8; and T42=8.

The de-background filter is activated if either one of Equations (20) and (21) is fulfilled while all of the hue values of the red, green, and blue channels of the center point for the 5.times.5 pixel window are greater than a predetermined threshold T43 or smaller than a predetermined threshold T44. T43 and T44 are both adjustable.

De-Screen Module

The de-screen module 40 deals with non-black-and-white data. It removes artificial white lines on the color picture caused by screening. A smoothing filter 42 is applied to the data for smoothing the data.

Conclusion

According to the above description, it is appreciated that the thin-lines, boundary, background, and texts in the color image may be well processed to be as true as the color picture. Although a certain sequence is mentioned in the embodiment, it is appreciated that the steps of the method in accordance with the present invention can be arranged in a different sequence. Namely, the method for enhancing color images in accordance with the present invention includes any optional combinations of the above-mentioned steps. In addition, the Equations (1).about.(21) may be optionally modified according to needs.

Although the invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.

*


Free Web Sudoku Puzzles.
Solve with your browser.
      6         7
  9     5   4    
      9     1    
  5     1 6 2   4
  4 8       3 5  
6   7 5 3     9  
    4     9      
    9   7     8  
8         1      
What is it?



Add Your Site · Terms Of Service · Privacy Policy


DISCLAIMER
Linkgrinder is a free service that searches the Internet and indexes all files found so that you may search quickly and easily for shared files. These files are created and made available individually by users whose identity we are not aware of and who we have no control over. In essence we function like a search engine tool; these files ARE NOT STORED OR SERVED BY OUR NETWORK. We are not responsible for any materials obtained by using our service. We do not monitor any of the contents of these files. These files may contain viruses, illegal materials, materials inappropriate for minors, offensive files and the like. BY USING OUR SERVICE, YOU ASSUME FULL RESPONSIBILITY FOR DOWNLOADING THESE MATERIALS AND WILL INDEMNIFY US FOR ANY DAMAGES THAT MAY BE INCURRED.

For More Specific Information VIEW OUR TERMS OF SERVICE.

Thank you and Enjoy!