# US 2006/0153446 A1 · Black/white stretching system using R G B information in an image and method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0153446 A1
- Document ID: US20060153446A1
- Status: Published application
- Kind: A1
- Application number: 11/290,591
- Filed: 2005-12-01
- Published: 2006-07-13
- Earliest claimed: 2005-01-10
- Inventors: Jae-hwan Oh; Jae-seung Kim; Dong-soo Koo
- Web page: https://patentgrep.com/patent/US20060153446A1

## CPC

- G06T 5/40: using histogram techniques
- G06T 5/92: based on global image properties
- G06T 2207/10024: Color image
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A black/white stretching system using R, G, B information and a method thereof. The black/white stretching system includes a first transformer to transform a luminance value and a color difference value of an input image to R, G, B values of each pixel, a histogram estimator to estimate a histogram distribution by accumulating each of the transformed R, G, B values of each pixel of the input image with a same weight, a mapper to generate mapped R′, G′, B′ values by mapping the transformed R, G, B values according to a mapping function generated based on the estimated histogram distribution, and a second transformer to generate an output image by reverse-transforming the mapped R′, G′, B′ values from the mapper to an updated luminance signal and an updated color difference signal. Therefore, the black/white stretching system prevents color distortion generated in a primary color image using only luminance information.

## Claims

### Claim 1

A black/white stretching system that uses red (R), green (G), blue (B) information of an image, the stretching system comprising:
a first transformer to transform a luminance value (Y) and a color difference value of an input image to R, G, B values of each pixel;
a histogram distribution estimator to estimate a histogram distribution by accumulating each of the transformed R, G, B values of each pixel in the input image with a same weight;
a mapper to generate mapped R′, G′, B′ values by mapping the transformed R, G, B values to the mapped R, G′, B′ values using a predetermined mapping function generated based on the estimated histogram distribution; and
a second transformer to generate an output image by reverse-transforming the mapped R′, G′, B′ values from the mapper to an updated luminance signal and an updated color difference signal.

### Claim 2 (depends on 1)

The black/white stretching system of claim 1, further comprising:
a black/white area calculator to calculate a black area to be stretched to a 0 pixel value and a white area to be stretched to a 255 pixel value by using the estimated histogram distribution; and
a mapping function calculator to calculate the mapping function based on a maximum value of the calculated black area, a minimum value of the calculated white area, and a plurality of predetermined thresholds.

### Claim 3 (depends on 2)

The black/white stretching system of claim 2, wherein each of the black area and the white area occupies 1.5 to 1.6% of an entire area of the estimated histogram distribution.

### Claim 4 (depends on 2)

The black/white stretching system of claim 2, wherein the plurality of predetermined thresholds have a value between the maximum value of the black area and the minimum value of the white area, and are variable according to an input.

### Claim 5

An apparatus to stretch a black/white contrast range, comprising:
a transformer to convert a luminance and a color difference of at least one pixel of an image signal to a plurality of gray levels that correspond to a plurality of color components in the at least one pixel, and the plurality of gray levels are between a black value and a white value;
a mapper to adjust gray levels outside an intermediate gray level range to one of the black value and the white value; and
an output unit to output an image signal including the at least one pixel having the adjusted gray levels.

### Claim 6 (depends on 5)

The apparatus of claim 5, further comprising:
a black white area calculator to set a first percentage of input gray levels to be set to the black value and a second percentage of the input gray levels to be set to the white value,
wherein the mapper adjusts the gray levels outside the intermediate gray level range by setting boundaries of the intermediate gray level range such that the first percentage of the input gray levels fall below the intermediate gray level range and the second percentage of the input gray levels fall above the intermediate gray level range.

### Claim 7 (depends on 5)

The apparatus of claim 5, wherein the plurality of color components of the at least one pixel comprise red, green, and blue components and the gray levels range between a 0-black value and a 255-white value.

### Claim 8

An apparatus to increase contrast in a black and white image obtained from a color image signal, comprising:
a gray level determination unit to determine gray levels of pixels based on a luminance signal of the pixels and a color difference signal of the pixels; and
a mapper to map the determined gray levels to increase the contrast of the black and white image containing the pixels.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the mapper compares the determined gray levels to a plurality of thresholds and maps a first plurality of gray levels to a black gray level, a second plurality of gray levels to a white gray level, and outputs a third plurality of gray levels without changing them.

### Claim 10 (depends on 9)

The apparatus of claim 9, further comprising:
a black/white area calculator to enable a user to set the plurality of thresholds.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein the plurality of thresholds are set to a gray level of 100 and a gray level of 192 such that the first plurality of gray levels are less than or equal to 100, the second plurality of gray levels are greater than or equal to 192, and the third plurality of gray levels are between 100 and 192.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the mapper maps gray levels that are close to a black gray level to the black gray level and maps gray levels that are close to a white gray level to the white gray level.

### Claim 13

A method of improving contrast in a two tone image reproducing apparatus, the method comprising:
receiving an input image signal having a plurality of pixels with a plurality of color component values and deriving a plurality of gray level values in a predetermined range to correspond with the plurality of pixels from the plurality of color component values;
mapping first gray level values among the derived plurality of gray level values that are less than a first threshold to a minimum gray level value and mapping second gray level values among the derived plurality of gray level values that are greater than a second threshold to a maximum gray level value; and
outputting an image signal having the plurality of pixels including pixels having the mapped gray level values.

### Claim 14

A method of stretching a black/white contrast range, the method comprising:
converting a luminance and a color difference of at least one pixel of an image signal to a plurality of gray levels that correspond to a plurality of color components in the at least one pixel, and the plurality of gray levels are between a black value and a white value;
adjusting gray levels outside an intermediate gray level range to one of the black value and the white value; and
outputting an image signal including the at least one pixel having the adjusted gray levels.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
setting a first percentage of input gray levels to be set to the black value and a second percentage of the input gray levels to be set to the white value,
wherein the adjusting of the gray levels outside the intermediate gray level range comprises setting boundaries of the intermediate gray level range such that the first percentage of the input gray levels fall below the intermediate gray level range and the second percentage of the input gray levels fall above the intermediate gray level range.

### Claim 16 (depends on 14)

The method of claim 14, wherein the plurality of color components of the at least one pixel comprise red, green, and blue components and the gray levels range between a 0-black value and a 255-white value.

### Claim 17

A method of increasing contrast in a black and white image derived from a color image signal, the method comprising:
determining gray levels of pixels based on a luminance signal of the pixels and a color difference signal of the pixels; and
mapping the determined gray levels to increase the contrast of the black and white image containing the pixels.

### Claim 18 (depends on 17)

The method of claim 17, wherein the mapping of the determined gray levels comprises comparing the determined gray levels to a plurality of thresholds and mapping a first plurality of gray levels to a black gray level, a second plurality of gray levels to a white gray level, and outputting a third plurality of gray levels without changing them.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
enabling a user to set the plurality of thresholds.

### Claim 20 (depends on 18)

The method of claim 18, wherein the plurality of thresholds are set to a gray level of 100 and a gray level of 192 such that the first plurality of gray levels are less than or equal to 100, the second plurality of gray levels are greater than or equal to 192, and the third plurality of gray levels are between 100 and 192.

### Claim 21 (depends on 17)

The method of claim 17, wherein the mapping of the determined gray levels comprises mapping gray levels that are close to a black gray level to the black gray level and maps gray levels that are close to a white gray level to the white gray level.

### Claim 22

A black/white stretching method using R, G, B information of an image, the method comprising:
transforming a luminance value (Y) and a color difference value of an input image to R, G, B values of each pixel;
estimating a histogram distribution by accumulating each of the transformed R, G, B values of each pixel in the input image with a same weight;
generating mapped R′, G′, B′ values by mapping the transformed R, G, B values according to a predetermined mapping function generated based on the estimated histogram distribution; and
generating an output image by reverse-transforming the mapped R′, G′, B′ values to an updated luminance signal and an updated color difference signal.

### Claim 23 (depends on 22)

The black/white stretching method of claim 22, further comprising:
calculating a black area to be stretched to a 0 pixel value and a white area to be stretched to a 255 pixel value by using the estimated histogram distribution; and
calculating the mapping function based on a maximum value of the calculated black area, a minimum value of the calculated white area, and a plurality of predetermined thresholds.

### Claim 24 (depends on 23)

The black/white stretching method of claim 23, wherein each of the black area and the white area occupies 1.5 to 1.6% of an entire area of the estimated histogram distribution.

### Claim 25 (depends on 23)

The black/white stretching method of claim 23, wherein the plurality of predetermined thresholds have a value between the maximum value of the calculated black area and the minimum value of the calculated white area, and are variable according to an input.

### Claim 26

A computer readable medium containing executable code to increase contrast in a black and white image derived from a color image signal, the medium comprising:
a first executable code to determine gray levels of pixels based on a luminance signal of the pixels and a color difference signal of the pixels; and
a second executable code to map the determined gray levels to increase the contrast of the black and white image containing the pixels.
