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: Display bar assembly for merchandising displays
Patent Number: 7,438,268 Issued on 10/21/2008 to Kologe

Title: Paint bucket ladder hook with closed grip design handle
Patent Number: 7,438,267 Issued on 10/21/2008 to Bardill,   et al.

Title: Stackable instrument stadium hardware stand
Patent Number: 7,438,266 Issued on 10/21/2008 to May

Title: Single and double electrical cable holder strip
Patent Number: 7,438,265 Issued on 10/21/2008 to Urzua

Title: Method and associated apparatus for capturing, servicing and de-orbiting earth satellites using robotics
Patent Number: 7,438,264 Issued on 10/21/2008 to Cepollina,   et al.

Title: Optimal aircraft window shape for noise control
Patent Number: 7,438,263 Issued on 10/21/2008 to Rassaian,   et al.

Title: Redundant gas turbine engine mounting arrangement
Patent Number: 7,438,262 Issued on 10/21/2008 to Chamberlain

Title: Stratospheric balloon utilizing electrostatic inflation of walls
Patent Number: 7,438,261 Issued on 10/21/2008 to Porter

Title: Vertical take-off aircraft--C
Patent Number: 7,438,260 Issued on 10/21/2008 to Kusic

Title: Compound aircraft control system and method
Patent Number: 7,438,259 Issued on 10/21/2008 to Piasecki,   et al.

Title: Reel device for winding an electrical cable thereon
Patent Number: 7,438,258 Issued on 10/21/2008 to Chen

Title: Toilet paper dispenser
Patent Number: 7,438,257 Issued on 10/21/2008 to Kennard

Title: Rolled product dispenser
Patent Number: 7,438,256 Issued on 10/21/2008 to Nip,   et al.

Title: Suspended toilet tissue roll holder with auxiliary toilet tissue
Patent Number: 7,438,255 Issued on 10/21/2008 to Burnett

Title: Wind-off device
Patent Number: 7,438,254 Issued on 10/21/2008 to Oettershagen

Title: Spool support system
Patent Number: 7,438,253 Issued on 10/21/2008 to Schunck

Title: Winding device
Patent Number: 7,438,252 Issued on 10/21/2008 to Kusel

Title: Web tensioning device with plural control inputs
Patent Number: 7,438,251 Issued on 10/21/2008 to St. Germain,   et al.

Title: Low entry hose reel device with elevated point of operation
Patent Number: 7,438,250 Issued on 10/21/2008 to Anderson,   et al.

Title: Recording medium cartridge and fabrication method thereof
Patent Number: 7,438,249 Issued on 10/21/2008 to Hiraguchi

Title: Modularized fishing reel spool
Patent Number: 7,438,248 Issued on 10/21/2008 to Tao

Title: Grinding rollers for a vertical crusher
Patent Number: 7,438,247 Issued on 10/21/2008 to Leclercq

Title: Casting runner crushing device
Patent Number: 7,438,246 Issued on 10/21/2008 to Saito

Title: Milling and classifying apparatus, collision mill, air classifier, toner, and method for producing toner
Patent Number: 7,438,245 Issued on 10/21/2008 to Kawamoto,   et al.

Title: Method and apparatus for separation and recycling plastic
Patent Number: 7,438,244 Issued on 10/21/2008 to Rozema,   et al.

Title: Tie-down anchor for a self-propelled irrigation system
Patent Number: 7,438,243 Issued on 10/21/2008 to Erickson

Title: Electromagnetically actuated fuel injector
Patent Number: 7,438,242 Issued on 10/21/2008 to Ciampolini

Title: Low pressure fuel injector nozzle
Patent Number: 7,438,241 Issued on 10/21/2008 to Goenka,   et al.

Title: Hand-held sprayer for hose rollers
Patent Number: 7,438,240 Issued on 10/21/2008 to Rabe

Title: Fire fighting piercing nozzle device
Patent Number: 7,438,239 Issued on 10/21/2008 to Woodson

Title: Gaseous fuel injector
Patent Number: 7,438,238 Issued on 10/21/2008 to Date,   et al.

Title: Method for identification and authenticating without specific reader an identifier
Patent Number: 7,438,237 Issued on 10/21/2008 to Bourrieres,   et al.

Title: Contactless activation systems and methods
Patent Number: 7,438,236 Issued on 10/21/2008 to Top

Title: Non-contact information medium and communication system using non-contact information medium
Patent Number: 7,438,235 Issued on 10/21/2008 to Miura,   et al.

Title: System for biometric security using a smartcard
Patent Number: 7,438,234 Issued on 10/21/2008 to Bonalle,   et al.

Title: Blinded electronic medical records
Patent Number: 7,438,233 Issued on 10/21/2008 to Leiper

Title: Two-dimensional code and information processing method
Patent Number: 7,438,232 Issued on 10/21/2008 to Uchiyama

Title: Method for detecting forged barcodes
Patent Number: 7,438,231 Issued on 10/21/2008 to Cordery,   et al.

Title: Image processing apparatus, image processing method, and image processing program
Patent Number: 7,438,230 Issued on 10/21/2008 to Saijo,   et al.

Title: Combined magnetic shield member and pressure pad for a magnetic reader
Patent Number: 7,438,229 Issued on 10/21/2008 to Harris,   et al.

Title: Systems and methods for managing electronic prescriptions
Patent Number: 7,438,228 Issued on 10/21/2008 to Robertson,   et al.

Title: System and method to determine the prices and order quantities that maximize a retailer's total profit
Patent Number: 7,438,227 Issued on 10/21/2008 to Keser,   et al.

Title: Fraud risk advisor
Patent Number: 7,438,226 Issued on 10/21/2008 to Helsper,   et al.

Title: Biometric authentication device and method
Patent Number: 7,438,225 Issued on 10/21/2008 to Schneider,   et al.

Title: Transaction card with stake
Patent Number: 7,438,224 Issued on 10/21/2008 to Jensen,   et al.

Title: Rechargeable smart card blood pressure recording method and apparatus
Patent Number: 7,438,223 Issued on 10/21/2008 to Sarkis,   et al.

Title: Card reading arrangement including robotic card handling responsive to card sensing
Patent Number: 7,438,222 Issued on 10/21/2008 to Green,   et al.

Title: Automated banking machine currency cassette with RFID tag
Patent Number: 7,438,221 Issued on 10/21/2008 to Washington,   et al.

Title: Automated banking machine including deposit storage chest and card reader cooling device
Patent Number: 7,438,220 Issued on 10/21/2008 to Magee,   et al.

Title: Check accepting and cash dispensing automated banking machine system and method
Patent Number: 7,438,219 Issued on 10/21/2008 to Crews,   et al.

Title: Systems and methods for pharmacy reimbursement claim resubmission
Patent Number: 7,438,218 Issued on 10/21/2008 to Dooley,   et al.

Title: System and method for configuring a computing device
Patent Number: 7,438,217 Issued on 10/21/2008 to Bhella,   et al.

Title: Medical information access and processing system
Patent Number: 7,438,216 Issued on 10/21/2008 to Ambekar,   et al.

Title: Printing location-based information using a mobile device
Patent Number: 7,438,215 Issued on 10/21/2008 to Silverbrook,   et al.

Title: Mailbox post bracket
Patent Number: 7,438,214 Issued on 10/21/2008 to Riker,   et al.

Title: Voting ballot envelope
Patent Number: 7,438,213 Issued on 10/21/2008 to Ackley,   et al.

Title: Container
Patent Number: 7,438,212 Issued on 10/21/2008 to Barthel,   et al.

Title: Retractable and extendable material loader apparatus for directing material onto a conveyor
Patent Number: 7,438,171 Issued on 10/21/2008 to Clark,   et al.

Title: Coupling device and improved method of assembly thereof
Patent Number: 7,438,167 Issued on 10/21/2008 to Morgensai,   et al.

Title: Flywheel assembly
Patent Number: 7,438,166 Issued on 10/21/2008 to Tsuruta,   et al.

Title: Quick release removable bridge caliper
Patent Number: 7,438,161 Issued on 10/21/2008 to Burgoon,   et al.

Title: Diaphragm, spherical-shell diaphragm and electroacoustic transducer, and method of manufacturing electroacoustic transducer
Patent Number: 7,438,156 Issued on 10/21/2008 to Inagaki,   et al.

Title: Axial heat exchanger
Patent Number: 7,438,122 Issued on 10/21/2008 to Hawranek

Title: Heat exchanger and method for manufacturing the same
Patent Number: 7,438,121 Issued on 10/21/2008 to Minami,   et al.

Title: Cylinder block casting bulkhead window formation
Patent Number: 7,438,117 Issued on 10/21/2008 to Douro,   et al.

Title: Aligning-positioning mechanism and aligning-positioning method
Patent Number: 7,438,116 Issued on 10/21/2008 to Tsuji

Title: Attachment of an architectural covering
Patent Number: 7,438,115 Issued on 10/21/2008 to Bohlen

Title: Tire mounting apparatus
Patent Number: 7,438,110 Issued on 10/21/2008 to Kim

Title: Separating and transporting flexible two-dimensional (sheet-like) products
Patent Number: 7,438,108 Issued on 10/21/2008 to Hansch

Title: Method and device for attaching a supplementary product that is at least approximately flat to a side of a printed product
Patent Number: 7,438,107 Issued on 10/21/2008 to Kost

Title: Production of shaped rubber body
Patent Number: 7,438,106 Issued on 10/21/2008 to Ogawa

Title: Method for serial production of secure documents and machine therefor
Patent Number: 7,438,105 Issued on 10/21/2008 to Guionnet,   et al.

Title: Radial tire
Patent Number: 7,438,104 Issued on 10/21/2008 to Morii,   et al.

Title: Pneumatic tire with side reinforcement rubber layer and tread reinforcement rubber layer
Patent Number: 7,438,103 Issued on 10/21/2008 to Akiyama

Title: Pneumatic tire with specified bead portion profile
Patent Number: 7,438,102 Issued on 10/21/2008 to Yoshinaka

Apparatus and method to enhance a contrast using histogram matching Number:7,142,724 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: Apparatus and method to enhance a contrast using histogram matching

Abstract: An apparatus and method to enhance a contrast includes a first operation part, a second operation part, and a mapping part. The first operation part calculates an average and a standard deviation of an input image. The second operation part calculates an average and a standard deviation of a target image based on the average and the standard deviation of the input image. The mapping part converts a pixel value of the input image by a mapping function generated by receiving the averages and the standard deviations of the input image and the target image from the first operation part and the second operation part, respectively, and outputs a pixel value of an output image.

Patent Number: 7,142,724 Issued on 11/28/2006 to Oh,   et al.


Inventors: Oh; Jae-hwan (Suwon, KR), Yang; Seung-joon (Suwon, KR)
Assignee: Samsung Electronics Co., Ltd. (Suwon-Si, KR)
Appl. No.: 10/359,304
Filed: February 6, 2003


Foreign Application Priority Data

Feb 06, 2002 [KR] 2002-6832

Current U.S. Class: 382/274
Current International Class: G06K 9/40 (20060101)
Field of Search: 382/274,286,288


References Cited [Referenced By]

U.S. Patent Documents
6594388 July 2003 Gindele et al.
2004/0136570 July 2004 Ullman et al.
Foreign Patent Documents
05-244508 Sep., 1993 JP
08-195903 Jul., 1996 JP
2000-506284 May., 2000 JP

Other References

Japanese Office Action in Patent Application No. 2003-027655, filed Feb. 4, 2003. cited by other.

Primary Examiner: Tran; Phuoc
Attorney, Agent or Firm: Staas & Halsey LLP

Claims



What is claimed is:

1. An apparatus enhancing a contrast, the apparatus comprising: a first operation part calculating an average and a standard deviation of an input image; a second operation part calculating an average and a standard deviation of a target image based o n the average and the standard deviation of the input image; and a mapping part converting a pixel value of the input image by a mapping function generated by receiving the averages and the standard deviations of the input image and the target image from the first operation part and the second operation part, respectively, and outputting a pixel value of an output image.

2. The apparatus as claimed in claim 1, further comprising: a mapping range designation part providing a mapping part with a lowest upper bound and a highest lower bound with respect to the pixel value of the input image, wherein the mapping part converts the pixel value of the input image, which exists between the lowest upper bound and the highest lower bound, using the mapping function.

3. The apparatus as claimed in claim 2, wherein the mapping part converts the pixel value of the input image using the mapping function selected from a plurality of mapping functions of respective lower regions formed by dividing a mapping region between the lowest upper bound and the highest lower bound based on the average of the input image.

4. The apparatus as claimed in claim 3, wherein the mapping part selects the mapping function used in converting the pixel value of the input image from the plurality of mapping functions using a following equation: .function..function..times..times..times..ltoreq..times..function..times.- .times.> ##EQU00010## where, line 1=a(x-threshold_low)+threshold_low .times..times..sigma..sigma..times..times. ##EQU00011## line 3=b(x-threshold_high)+threshold_high.

5. The apparatus as claimed in claim 2, wherein the mapping function is expressed by a following equation: .sigma..sigma..times. ##EQU00012## where, x is the pixel value of the input image, y is the pixel value of the output image, .sigma..sub.a is the standard deviation of the input image, .sigma..sub.b is the standard deviation of the target image, p.sub.a is the average of the input image, and p.sub.b is the average of the target image.

6. The apparatus as claimed in claim 2, wherein the second operation part calculates the standard deviation of the target image using a following equation: .sigma..sub.b=m(1-k)+k.sigma..sub.a k=g(p.sub.a-128) where, .sigma..sub.a is the standard deviation of the input image, p.sub.a is the average of the input image, m is a predetermined variable of a standard deviation, k is a parameter between 0 and 1, and g( ) is a function to determine the parameter k, wherein the parameter k converges to 0 as the average of the input image approaches 128, which is an average of a Gausian distribution, and the parameter k converges to 1 as the average of the input image is distant from the average of the Gausian distribution.

7. The apparatus as claimed in claim 1, wherein the mapping function is expressed using a following equation: .sigma..sigma..times. ##EQU00013## where, x is the pixel value of the input image, y is the pixel value of the output image, .sigma..sub.a is the standard deviation of the input image, .sigma..sub.b is the standard deviation of the target image, p.sub.a is the average of the input image, and p.sub.b is the average of the target image.

8. The apparatus as claimed in claim 1, wherein the second operation part calculates the standard deviation of the target image using a following equation: .sigma..sub.b=m(1-k)+k.sigma..sub.a k=g(p.sub.a-128) where, .sigma..sub.a is the standard deviation of the input image, p.sub.a is the average of the input image, m is a predetermined variable of a standard deviation, k is a parameter between 0 and 1, and g( ) is a function to determine the parameter k, wherein the parameter k converges to 0 as the average of the input image approaches 128, which is an average of a Gaussian distribution, and the parameter k converges to 1 as the average of the input image is distant from the average of the Gaussian distribution.

9. A method to enhance a contrast, the method comprising: calculating an average and a standard deviation of an input image; calculating an average and a standard deviation of a target image based on the average and the standard deviation of the input image; generating a mapping function based on the average and the standard deviation of the input image and the average and the standard deviation of the target image; and converting a pixel value of the input image using the generated mapping function and outputting a pixel value of an output image.

10. The method as claimed in claim 9, prior to converting the pixel value of the input image, the method further comprising: designating a lowest upper bound and a highest lower bound with respect to the pixel value of the input image, wherein the generation of the mapping function converts the pixel value of the input image, which exists between the lowest upper bound and the highest lower bound, using the mapping function.

11. The method as claimed in claim 10, wherein the pixel value of the input image is converted by the mapping function selected from a plurality of mapping functions of respective lower regions formed by dividing a mapping region between the lowest upper bound and the highest lower bound based on the average of the input image.

12. The method as claimed in claim 11, wherein the mapping function used in converting the pixel value of the input image from the plurality of mapping functions is selected using a following equation: .function..function..times..times..times..ltoreq..function..times..times.- .times.> ##EQU00014## where, line 1=a(x-threshold_low)+threshold_low .times..times..sigma..sigma..times..times. ##EQU00015## line 3=b(x-threshold_high)+threshold_high.

13. The method as claimed in claim 10, wherein the mapping function is expressed by a following equation: .sigma..sigma..times. ##EQU00016## where, x is the pixel value of the input image, y is the pixel value of the output image, .sigma..sub.a is the standard deviation of the input image, .sigma..sub.b is the standard deviation of the target image, p.sub.a is the average of the input image, and p.sub.b is the average of the target image.

14. The method as claimed in claim 10, wherein the standard deviation of the target image is calculated using a following equation: .sigma..sub.b=m(1-k)+k.sigma..sub.a k=g(p.sub.a-128) where, .sigma..sub.a is the standard deviation of the input image, p.sub.a is the average of the input image, m is a predetermined variable of a standard deviation, k is a parameter between 0 and 1, and g( ) is a function to determine the parameter k, wherein the parameter k converges to 0 as the average of the input image approaches 128, which is an average of a Gaussian distribution, and the parameter k converges to 1 as the average of the input image is distant from the average of the Gaussian distribution.

15. The method as claimed in claim 9, wherein the mapping function is expressed using a following equation: .sigma..sigma..times. ##EQU00017## where, x is the pixel value of the input image, y is the pixel value of the output image, .sigma..sub.a is the standard deviation of the input image, .sigma..sub.b is the standard deviation of the target image, p.sub.a is the average of the input image, and p.sub.b is the average of the target image.

16. The method as claimed in claim 9, wherein the standard deviation of the target image is calculated using a following equation: .sigma..sub.b=m(1-k)+k.sigma..sub.a k=g(p.sub.a-128) where, .sigma..sub.a is the standard deviation of the input image, p.sub.a is the average of the input image, m is a predetermined variable of a standard deviation, k is a parameter between 0 and 1, and g( ) is a function to determine the parameter k, wherein the parameter k converges to 0 as the average of the input image approaches 128, which is an average of a Gausian distribution, and the parameter k converges to 1 as the average of the input image is distant from the average of the Gausian distribution.
Description



CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the priority of Korean Patent Application No. 2002-6832, filed Feb. 6, 2002 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an apparatus and method to enhance a contrast using a histogram matching, and more particularly, to an apparatus and method to enhance a contrast of an output image using a mapping table written based on a distribution of an input image and a target image.

2. Description of the Related Art

A histogram is to express a distribution of contrast values of pixels of an image. In other words, the histogram expresses a distribution range and values of light points and dark points existing in the image. A smoothness of the histogram makes uniform the distribution of the contrast values with a biased image or a non-uniform image, to thereby enhance the image. Through the smoothness of the histogram, a dark image becomes light, and a too light image becomes dark slightly, thereby maintaining a proper lightness. In other words, by correcting the distribution of the lightness values after the conversion, a contrast balance of the image is improved.

FIG. 1A is a block diagram of a conventional histogram smoothing apparatus 100. Referring to FIG. 1A, the conventional histogram smoothing apparatus 100 includes a distribution operation part 110 and a smoothing part 120.

The distribution operation part 110 counts a lightness level from an input image to thereby obtain a histogram value or a probability density function, and calculates a cumulative distribution function from the obtained histogram value and the probability density function. The smoothing part 120 makes uniform the histogram of a given image using the cumulative distribution function calculated by the distribution operation part 110. As a consequence, the cumulative distribution function is non-linearly mapped with the given image, so that the contrast of the image is enhanced.

FIG. 1B is a block diagram of a conventional contrast stretching apparatus 150. Referring to FIG. 1B, the conventional contrast stretching apparatus 150 includes a distribution operation part 160 and a stretching part 170.

The distribution operation part 160 counts a lightness level from the image to thereby obtain the histogram value or the probability density function. The stretching part 170 obtains a pixel value having a lowest value and a highest value using the probability density function obtained by the distribution operation part 160, and displays the histogram using the obtained pixel values so as to utilize the distribution of the contrast values of the image to a maximum extent.

By performing a subtraction operation using the pixel value having the lowest value in the image, the histogram is moved toward a left of the image. At this time, the respective pixel values of the image are extended so as to include the entire contrast values. Accordingly, the image comes to have the contrast values from 0 to 255, so that the contrast of the image increases.

However, the conventional histogram smoothing has drawbacks such as being difficult to control a degree of the contrast enhancement. The conventional histogram utilizes the probability density function and the cumulative distribution function obtained from the given image as a mapping to enhance the contrast. Thus, in case that the given image has a special property or is damaged due to noises, it is not easy to obtain a desired result.

Also, the conventional histogram smoothing fails to maintain a relative brightness. The brightness of the image obtained through the histogram smoothing has no relation with the brightness of the given image. So, in case that the conventional histogram smoothing is applied to a video sequence, a discrimination of a light scene and a dark scene disappears. The conventional histogram smoothing can be effectively performed when it is applied to the image having fineness in a dark portion of the image. On the contrary, the image having a good quality becomes bad. In order to overcome the aforementioned drawbacks, complicated algorithms have been provided making it difficult to realize such a device.

Meanwhile, in case of the conventional contrast stretching technology, if there exists a light portion or a dark portion in the image, a margin of the stretching is not secured, making it difficult to anticipate a good result.

SUMMARY OF THE INVENTION

Various aspects and advantages of the invention will be set forth in part in the description that follows and, in part, will be obvious from the description, or may be learned by practice of the invention.

Accordingly, it is an aspect of the invention to provide an apparatus and method to enhance a contrast, in which an enhancement degree of the contrast can be controlled and a relative brightness can be maintained upon controlling the contrast.

To accomplish the above aspect and other advantages, there is provided an apparatus to enhance a contrast. The apparatus includes: a first operation part calculating an average and a standard deviation of an input image; a second operation part calculating an average and a standard deviation of a target image based on the average and the standard deviation of the input image; and a mapping part converting a pixel value of the input image by a mapping function generated by receiving the averages and the standard deviations of the input image and the target image from the first operation part and the second operation part, respectively, and outputting a pixel value of an output image.

In accordance with an aspect of the present invention, the apparatus further includes a mapping range designation part providing the mapping part with a lowest upper bound and a highest lower bound with respect to the pixel value of the input image. The mapping part converts the pixel value of the input image, which exists between the lowest upper bound and the highest lower bound, by the mapping function.

Selectively, the mapping part converts the pixel value of the input image using the mapping function selected from a plurality of mapping functions for respective lower regions formed, by dividing a mapping region between the lowest upper bound and the highest lower bound based on an average of the input image.

In accordance with an aspect of the present invention, the mapping part selects the mapping function used in converting the pixel value of the input image from the plurality of mapping functions using a following equation:

.function..function..times..times..times..ltoreq..times..function..times..- times.> ##EQU00001##

where, line 1=a(x-threshold_low)+threshold_low

.times..times..sigma..sigma..times..times. ##EQU00002##

line 3=b(x-threshold_high)+threshold_high.

Also, the mapping function is expressed by a following equation:

.sigma..sigma..times. ##EQU00003##

where, x is the pixel value of the input image, y is the pixel value of the output image, .sigma..sub.a is the standard deviation of the input image, .sigma..sub.b is the standard deviation of the target image, p.sub.a is the average of the input image, and p.sub.b is the average of the target image.

In accordance with an aspect of the present invention, the second operation part calculates the standard deviation of the target image using a following equation: .sigma..sub.b=m(1-k)+k.sigma..sub.a k=g(p.sub.a-128)

where, x is the pixel value of the input image, y is the pixel value of the output image, .sigma..sub.a is the standard deviation of the input image, .sigma..sub.b is the standard deviation of the target image, p.sub.a is the average of the input image, and p.sub.b is the average of the target image,

According to another aspect of the present invention, there is provided a method to enhance a contrast. The method includes: calculating an average and a standard deviation of an input image; calculating an average and a standard deviation of a target image based on the average and the standard deviation of the input image; generating a mapping function based on the average and the standard deviation of the input image and the average and the standard deviation of the target image; and converting a pixel value of the input image using the generated mapping function and outputting a pixel value of an output image.

In an aspect of the present invention, the method, prior to the conversion of the pixel value, further includes designating a lowest upper bound and a highest lower bound with respect to the pixel value of the input image. The generation of the mapping function converts the pixel value of the input image exists between the lowest upper bound and the highest lower bound.

In an aspect according to the present invention, the conversion of the pixel value of the input image using the mapping function selected from a plurality of mapping functions for respective lower regions is formed by dividing a mapping region between the lowest upper bound and the highest lower bound based on the average of the input image.

Here, the conversion of the pixel value selects the mapping function used in converting the pixel value of the input image from the plurality of mapping functions using a following equation:

.function..function..times..times..times..ltoreq..times..function..times..- times.> ##EQU00004##

where, line 1=a(x-threshold_low)+threshold_low

.times..times..sigma..sigma..times..times. ##EQU00005##

line 3=b(x-threshold_high)+threshold_high.

Also, the mapping function is expressed by a following equation:

.sigma..sigma..times. ##EQU00006##

where, x is the pixel value of the input image, y is the pixel value of the output image, .sigma..sub.a is the standard deviation of the input image, .sigma..sub.b is the standard deviation of the target image, p.sub.a is the average of the input image, and p.sub.b is the average of the target image.

In an aspect according to the present invention, the calculation of the average and the standard deviation of the target image calculates the standard deviation of the target image using a following equation: .sigma..sub.b=m(1-k)+k.sigma..sub.a k=g(P.sub.a-128)

where, .sigma..sub.a is the standard deviation of the input image, p.sub.a is the average of the input image, m is a predetermined variable of a standard deviation, k is a parameter between 0 and 1, and g( ) is a function to determine the parameter k, wherein the parameter k converges to 0 as the average of the input image approaches 128 that is an average of a Gaussian distribution, and the parameter k converges to 1 as the average of the input image is distant from the average of the Gaussian distribution.

According to an aspect of the present invention, a contrast enhancement apparatus can be easily realized. Also, by correcting parameters of the target image, an enhancement degree in a contrast of an entire image can be controlled, and by using multiple mapping functions, there can be prevented a phenomenon in which a dark portion and a light portion are overemphasized.

These together with other aspects and advantages which will be subsequently apparent, reside in the details of construction and operation as more fully hereinafter described and claimed, reference being had to the accompanying drawings forming a part thereof, wherein like numerals refer to like parts throughout.

BRIEF DESCRIPTION OF THE DRAWINGS

These and/or other aspects and advantages of the invention will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

FIG. 1A is a block diagram of a conventional histogram smoothing apparatus;

FIG. 1B is a block diagram of a conventional contrast stretching apparatus;

FIG. 2 is a block diagram of a contrast enhancement apparatus, in accordance with an aspect of the present invention;

FIG. 3 is a schematic view showing one example of a function, g( ) to determine a parameter to approach a proper standard deviation depending on an average of an input image;

FIG. 4 is a graph illustrating a method using a mapping function by selecting one line among multiple lines representing the mapping function to prevent a number of pixel values from being mapped to one value; and

FIG. 5 is a flow chart illustrating a contrast enhancement method, in accordance with another aspect of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Reference will now be made in detail to the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout. The embodiments are described below in order to explain the present invention by referring to the figures.

FIG. 2 is a block diagram of a contrast enhancement apparatus 200, in accordance with an aspect of the present invention.

Referring to FIG. 2, the contrast enhancement apparatus 200 includes a first operation part 210, a second operation part 220, a mapping part 230, and a mapping range designation part 240.

The first operation part 210 calculates an average and a standard deviation of an input image. The second operation part 220 calculates an average and a standard deviation of a target image based on the average and the standard deviation of the input image. The second operation part 220 calculates the standard deviation of the target image using the following Equation 1: .sigma..sub.b=m(1-k)+k.sigma..sub.a, k=g(p.sub.a-128) Equation 1,

where, .sigma..sub.a is the standard deviation of the input image and p.sub.a is the average of the input image. Further, m is a variable of a standard deviation, and a change of m enables control of a contrast level. According to an aspect of the present invention, when a value of m is 56, the best image is output. The value of m may be changed from an outside source depending on a user's selection.

When the standard deviation of a histogram obtained from the input image is small, that indicates that a distribution of pixels leans toward one region and that a contrast of the image is not high as a whole. Hence, elevating the standard deviation of the target image using a histogram matching provides an effect in which the distribution of the pixels is made uniform.

Further, according to Equation 1, the standard deviation of the target image is varied with the value of k, which is calculated by the function of g( ). The parameter k converges to zero (0) as the average of the input image approaches 128, which is an average of a Gaussian distribution, and the parameter k converges to 1 as the average of the input image is distant from the average of the Gaussian distribution. In a case that the parameter k is 0, the variable standard deviation becomes the standard deviation of the target image, and in case that the parameter k is 1, the standard deviation of the input image becomes the standard deviation of the target image. In FIG. 3, there is shown one example of the function g( ), which is used to express variations of k.

The mapping part 230 converts a pixel value of the input image by a mapping function generated by receiving the averages and the standard deviations of the input image and the target image from the first operation part 210 and the second operation part 220, and outputs the pixel value of an output image.

The mapping part 230 converts the input image into the output image using the mapping function expressed by the following Equation 2:

.sigma..sigma..times..times..times. ##EQU00007##

where, x is the pixel value of the input image, y is the pixel value of the output image, .sigma..sub.a is the standard deviation of the input image, .sigma..sub.b is the standard deviation of the target image, p.sub.a is the average of the input image, and p.sub.b is the average of the target image.

According to Equation 2, when the input image has a Gaussian distribution of (P.sub.a, .sigma..sub.a), the output image comes to have a Gaussian distribution of (P.sub.b, .sigma..sub.b).

Also, according to Equations 1 and 2, the average of the target image uses the average of the input image without a change. In order to increase the brightness of the target image, the average of the target image needs to be increased, and in order to increase the contrast level, the standard deviation of the target image needs to be increased.

The mapping range designation part 240 provides the mapping part with a lowest upper bound and a the highest lower bound with respect to the pixel value of the input image to which the mapping function is applied. Depending on a device as used, there may exist a case in which the pixel values of a very dark portion and a very light portion are not changed. In this case, the mapping range designation part 240 designates critical values as a threshold low and a threshold high, and provides the mapping part 230 with the designated critical values. The mapping part 230 does not apply the mapping with a value in excess of the provided critical value.

Furthermore, for the mapping used in the mapping part 230, a case may occur in which many pixel values are mapped to a single value, which is prevented by an example to be described in FIG. 4. In other words, a relationship in which three lines representing the mapping function and one line by a relational expression used in respective regions are selected, the selected lines are used in the mapping function. In FIG. 4, an example is illustrated in which the relationship is embodied.

Referring to FIG. 4, when the pixel value "x" is greater than the average P.sub.a of the input image, the smallest of line 2 or line 3 is selected. Also, when the pixel value "x" is equal to or less than the average P.sub.a of the input image, the largest of line 1 or line 2 is selected. The selections are expressed by the following Equation 3:

.function..function..times..times..times..ltoreq..times..function..times..- times.> ##EQU00008##

where, line 1=a(x-threshold_low)+threshold_low

.times..times..sigma..sigma..times..times. ##EQU00009##

line 3=b(x-threshold_high)+threshold_high.

The mapping part 230 applies the mapping function obtained by the example illustrated in FIG. 4 to the pixel value of the input image, thereby enhancing the contrast of the image.

FIG. 5 is a flow chart illustrating a contrast enhancement method, in accordance with an aspect of the present invention.

Referring to FIG. 5, at operation S500, the first operation part 210 calculates the average and the standard deviation for the pixel values of the input image. At operation S510, the second operation part 220 calculates the average and the standard deviation of the target image based on the average and the standard deviation of the input image. At operation S510, the average of the target image uses the average of the input image.

At operation S520, the mapping part 230 generates the mapping function based on the average and the standard deviation of the input image inputted from the first operation part 210 and the average and the standard deviation of the target image inputted from the second operation part 220. Furthermore, at operation S530, the mapping range designation part 240 designates the lowest upper bound and the highest lower bound with respect to the pixel value of the input image to which the mapping function is applied, and provides the mapping part 230 with the lowest upper bound and the highest lower bound. At operation S540, the mapping part 230 applies the mapping function to the pixel existing between the lowest upper bound and the highest lower bound provided from the mapping range designation part 240 among the pixels of the input image, thereby generating the output image.

As described previously, the present invention provides for an easy embodiment of a contrast enhancement apparatus. Also, by correcting parameters of a target image, an enhancement degree in a contrast of entire images can be controlled, and by using multiple mapping functions, a phenomenon in which a dark portion and a light portion of the image are overemphasized can be prevented.

The many features and advantages of the invention are apparent from the detailed specification and, thus, it is intended by the appended claims to cover all such features and advantages of the invention that fall within the true spirit and scope of the invention. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and operation illustrated and described, and accordingly all suitable modifications and equivalents may be resorted to, falling within the scope of the invention.

*


Free Web Sudoku Puzzles.
Solve with your browser.
        1 3     6
  7 4            
      4     8 5  
  4 5     6      
  1   8   4   2  
      3     4 6  
  6 3     8      
            7 8  
9     5 2        
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!