USPatent applicationPatented

Method for converting monochrome images

Granted 1 Nov 2005 · no office action yet

Current assignee: Inventec Appliances Corp. · originally Inventec Corporation

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Shih-Kuang Tsai, Tai-Shui Ho, Jian-Feng Tu, Xin-Ke Shi +1 · Examiner: Matthew Luu · AU 2676 · TC 2600

Life of the application

6 dated events
⤢ drag to zoom20042006200820102012201420162018202020222024ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A method for converting monochrome images to color images. A monochrome image is blocked first, and pixel values of monochrome image blocks are obtained by statistical analysis. The monochrome image is then processed by layered mapping and color values of equal grayscale layers thereof are obtained. Finally, each monochrome image block is matched to a color of a corresponding equal grayscale layer.

Description

4 parts
›BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a method for image processing, and in particular to a method for converting monochrome images, such as grayscale or bitmap images, to color images, using in color systems.

2. Description of the Related Art

Images can be displayed in monochrome or color, in which monochrome images may comprise several black and white pixels, with each pixel being represented by a logical bit. In practice, monochrome images are widely used in industry, and are convenient for identifying characteristics and models, because of their smaller file size.

To display monochrome signals on color monitors, a computer system may convert monochrome pixel data to corresponding color pixel data. For example, a computer system may convert each logical bit of a monochrome signal to color pixel data in RGB 888 format. The computer system may then generate color display signals to a color display monitor based on the converted color pixel data.

Thus, it is necessary to develop a method for converting monochrome images for use in color systems while maintaining features thereof.

›SUMMARY OF THE INVENTION

Accordingly, an object of the present invention is to provide a method for converting monochrome images to color images.

According to the object described, the present invention provides a method for converting monochrome images to color images. First, a monochrome image is blocked in accordance with a minimum calculating unit (MCU) of 2×2, 4×4 or 8×8, pixel values of which are obtained by statistical analysis. The monochrome image is then processed by layered mapping to obtain equal grayscale layers thereof, color values of which are obtained according to a fixed grayscale level. Next, the monochrome image blocks match colors corresponding to the equal grayscale layers according to the color values and the pixel values, such that a color image is obtained.

A detailed description is given in the following embodiments with reference to the accompanying drawings.

›BRIEF DESCRIPTION OF THE DRAWINGS

The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:

FIG. 1 is a schematic diagram of the method for converting monochrome images to color images according to the present invention;

FIG. 2 A˜ 2 C are schematic diagrams showing a monochrome image blocked in accordance with a minimum calculating unit of 2×2, 4×4 or 8×8 according to the present invention;

FIG. 3 is a schematic diagram of pixel values of a calculating unit obtained by statistical analysis according to the present invention;

FIG. 4 is a schematic diagram of a pixel bit table with pixel values of monochrome image blocks according to the present invention;

FIG. 5 is a schematic diagram showing the method for obtaining color values of monochrome image blocks by layered mapping according to the present invention; and

FIG. 6 is a color contrast table for transforming monochrome pixels into corresponding colors according to the present invention.

›DETAILED DESCRIPTION OF THE INVENTION

The invention disclosure provides a method for coloring monochrome images.

FIG. 1 is a schematic diagram of the method for converting monochrome images to color images according to the present invention.

In step S 1 , a desired monochrome image is blocked by 4×4 blocks, a minimum calculating unit, shown in FIG. 2B. A monochrome image can be blocked by a minimum calculating unit of 2×2, 4×4 or 8×8 as shown in FIG. 2 A˜ 2 C, to which the embodiment of the present invention is not limited.

In step S 2 , it is determined whether the monochrome image blocks comprise a multiplier of the minimum calculating unit. If so, the process goes to step S 3 , and, if not, to step S 4 .

In step S 3 , additional blocks P are added to the monochrome image blocks, becoming a multiplier of the minimum calculating unit. As shown in FIG. 3 , the monochrome image is blocked in accordance with the minimum calculating unit M by 4×4 blocks, and additional blocks P are added if the monochrome image blocks do not comprise a multiplier of the minimum calculating unit.

In step S 4 , it is determined whether each monochrome image block has been processed, such that each block is assigned a corresponding color. If so, the process is ended, and, if not, the process goes to step S 5 .

In step S 5 , pixel values of the monochrome image blocks are obtained by statistical analysis, defined in accordance with the number of the minimum calculating unit. According to the embodiment of the present invention, the monochrome image is blocked by 4×4 blocks (block 1 , block 2 , . . . , block 16 ) requiring selection of sixteen colors for mapping, in which the 4×4 blocks are further blocked of 2×2 blocks for better accuracy, and blocks B 1 , B 2 , B 3 and B 4 of block 1 are obtained, as shown in FIG. 3 . Next, block B 1 , having four sub-blocks, each referring to a pixel, obtains pixel values thereof. Thus, the pixel value of the block B 1 is obtained by averaging the four pixel values of the four sub-blocks and then pixel values of the block B 2 , B 3 and B 4 are obtained using the same method. Thus, the pixel value of the 4×4 block, the block 1 , is obtained using the above method, as well as blocks 2 to 16 , shown in FIG. 4 .

In step S 6 , color values of the monochrome image layers are obtained by layered mapping. As shown in FIG. 5 , a monochrome image can be represented by a brightness function f(x, y) in a 2D coordinate system, and layer C parallel to the xy-plane is obtained when f(x, y) refers to height in the 2D coordinate system. Layer C intersects the brightness function f(x, y), whose intersection is a contour line referring to an equal grayscale line D, in which the layer number is defined by desired image quality.

Sixteen colors are thus chosen for mapping and sixteen layers C, referring to equal grayscale layers, are obtained as well according to the chosen colors. Next, color values of the equal grayscale layers are obtained based on a fixed grayscale level and compared with color values listed in a color contrast table as shown in FIG. 6 . For example, the color value of layer 6 is 0101, corresponding to pinkish red. Further, the color value of layer 12 is 1011 corresponding to dim cyan.

In step S 7 , each monochrome image block matches the color of corresponding equal grayscale layer, such that a color image converted from the monochrome image is obtained.

While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.

Claims as granted

10 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

3 codes
IPC · International Patent Classification
Section H — Electricity
  • H04N9/43
USPC · US Patent Classification
345/600345/589

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomOct 2003Jan 2004Apr 2004Jul 2004Oct 2004Jan 2005Apr 2005Jul 2005Oct 2005Jan 2006USPTOApplicantNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
2.0 y
742 days filing → grant
Office actions
0
none on record
Examiner
Matthew Luu
art unit 2676 · TC 2600
Citations: 7 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20042006200820102012201420162018202020222024Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock