# US 2001/0043759 A1 · Image size transforming apparatus, method and record medium storing image size transform program therein

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

- Number: US 2001/0043759 A1
- Document ID: US20010043759A1
- Status: Published application
- Kind: A1
- Application number: 09/760,880
- Filed: 2001-01-17
- Published: 2001-11-22
- Earliest claimed: 2000-03-30
- Assignees: Fujitsu Limited
- Inventors: Toru Eguchi
- Web page: https://patentgrep.com/patent/US20010043759A1

## CPC

- G06T 3/4023: based on decimating pixels or lines of pixels; based on inserting pixels or lines of pixels
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image size transforming apparatus of the present invention comprises a DDA processing unit which expands or contracts an original image by the digital differential analysis (DDA) to create an expanded or contracted image, and an initial value setting unit which uses a random number based initial value as the sum total initial value for the digital differential analysis. Upon the image contraction, the DDA processing unit figures out the DDA sum total at the current pixel position by adding a contracted image size to the initialized DDA sum total, at the original image pixel initializing position, but to the DDA sum total figured out at the immediately previous pixel position, at the other pixel positions. If the DDA sum total is not less than the original image size, then the DDA processing unit copies pixels at the current pixel position onto a contracted image and defines the result of subtraction of the image size from the current DDA value as the DDA sum total at the next pixel position. If the DDA sum total is less than the original image size, then the DDA processing unit thins out the pixels at the current pixel position without copying them and defines the current DDA sum total as the DDA sum total at the next pixel position. The above processings are iterated.

## Claims

### Claim 1

An image size transforming apparatus comprising:
a DDA processing unit which creates an image expanded or contracted from an original image by a digital differential analysis; and
an initial value setting unit which sets a random number based initial value as a sum total initial value of said digital differential analysis.

### Claim 2 (depends on 1)

An apparatus according to claim 1, wherein
upon the image contraction, said DDA processing unit figures out a DDA sum total at a current pixel position by adding a contracted image size to an initialized DDA sum total, at an original image pixel initial position, but to a DDA sum total figured out at an immediately previous pixel position, at the other pixel positions, said DDA processing unit, if said DDA sum total is not less than the original image size, copying pixels at the current pixel position onto a contracted image and defining the result of subtraction of the image size from the current DDA sum total as the DDA sum total at the next pixel position, said DDA processing unit, if said DDA sum total is less than the original image size, thinning out pixels at the current pixel position without copy thereof and defining the current DDA sum total as the DDA sum total at the next pixel position, said DDA processing unit iterating the above processings, and wherein
said initial value setting unit determines a random number for each pixel initial position of said original image and defines the remainder when said random number is divided by the original image size as a DDA sum total initial value.

### Claim 3 (depends on 2)

An apparatus according to claim 2, wherein
said initial value setting unit generates said random numbers by use of a random number table.

### Claim 4

An image size transforming apparatus comprising:
a DDA processing unit which from the array of a predetermined number of pixels of an original image, creates a bit pattern indicative of the execution or nonexecution of a pixel copy onto a contracted image or of an overlapping pixel copy onto an expanded image, by a digital differential analysis;
a pattern table which stores therein a plurality of different bit patterns obtained by shifting said bit pattern created by said DDA processing unit in series by a predetermined number of bits; and
a copy processing unit which when extracting a pixel string of said bit pattern length from said original image to transform it into a contracted image or an expanded image, iterates processing for selecting a specific bit pattern from said pattern table by use of a random number to transform pixels of said original image into pixels of said contracted image or of said expanded image.

### Claim 5 (depends on 4)

An apparatus according to claim 4, wherein
said DDA processing unit upon the image contraction figures out a DDA sum total at a current pixel position by adding a contracted image size to an initialized DDA sum total, at an original image pixel initial position, but to a DDA sum total figured out at an immediately previous pixel position, at the other pixel positions,
said DDA processing unit, if said DDA sum total is not less than the original image size, imparting bit information indicative of a pixel copy to said bit pattern and defining the result of subtraction of the image size from the current DDA sum total as the DDA sum total at the next pixel position,
said DDA processing unit, if said DDA sum total is less than the original image size, imparting the other bit information indicative of thinning in place of the copy to said bit pattern and defining the current DDA sum total as the DDA sum total at the next pixel position, said DDA processing unit iterating the above processings to thereby create said plurality of different bit patterns.

### Claim 6 (depends on 4)

An apparatus according to claim 4, wherein
said copy processing unit defines the remainder when said random number is divided by the number of bit patterns, as a pattern selection value.

### Claim 7 (depends on 4)

An apparatus according to claim 4, wherein
said copy processing unit generates said random numbers for selecting said bit patterns, by use of a random number table.

### Claim 8 (depends on 4)

An apparatus according to claim 4, further comprising:
a bit/byte converting unit which converts binary pixel 1-bit data of said original image into 1-byte data, which are stored in an intermediate buffer to allow said copy processing unit to make image size transform byte processing; and
a byte/bit converting unit which inversely converts said intermediate buffer image 1-byte data after copy processing into original 1-bit data to create a contracted image.

### Claim 9

An image size transforming method comprising:
an initial value setting step which includes setting a random number based initial value as a sum total initial value of a digital differential analysis (DDA); and
a DDA processing step which includes creating an image expanded or contracted from an original image by said digital differential analysis;
said initial value setting step including determining a random number for each pixel initial position of said original image and defining the remainder when said random number is divided by the original image size as a DDA sum total initial value;
said DDA processing step including, upon the image contraction, figuring out a DDA sum total at a current pixel position by adding a contracted image size to an initialized DDA sum total, at an original image pixel initial position, but to a DDA sum total figured out at an immediately previous pixel position, at the other pixel positions, said DDA processing step including, if said DDA sum total is not less than the original image size, copying pixels at the current pixel position onto a contracted image and defining the result of subtraction of the image size from the current DDA sum total as the DDA sum total at the next pixel position, said DDA processing step including, if said DDA sum total is less than the original image size, thinning out pixels at the current pixel position without copy thereof and defining the current DDA sum total as the DDA sum total at the next pixel position, said DDA processing step including iterating the above processings.

### Claim 10

An image size transforming method comprising:
a DDA processing step which includes, from the array of a predetermined number of pixels of an original image, creating a bit pattern indicative of the execution or nonexecution of a pixel copy onto a contracted image or of an overlapping pixel copy onto an expanded image, by a digital differential analysis (DDA);
a table creating step which includes creating a pattern table that stores therein a plurality of different bit patterns obtained by shifting said bit pattern created in said DDA processing step in series by a predetermined number of bits; and
a copy processing step which includes, when extracting a pixel string of said bit pattern length from said original image to transform it into a contracted image or an expanded image, iterating processing for selecting a specific bit pattern from said pattern table by use of a random number to transform pixels of said original image into pixels of said contracted image or of said expanded image.

### Claim 11 (depends on 10)

A method according to claim 10, wherein
said DDA processing step includes, upon the image contraction, figuring out a DDA sum total at a current pixel position by adding a contracted image size to an initialized DDA sum total, at an original image pixel initial position, but to a DDA sum total figured out at an immediately previous pixel position, at the other pixel positions,
said DDA processing step includes, if said DDA sum total is not less than the original image size, imparting bit information indicative of a pixel copy to said bit pattern and defining the result of subtraction of the image size from the current DDA sum total as the DDA sum total at the next pixel position,
said DDA processing step includes, if said DDA sum total is less than the original image size, imparting the other bit information indicative of thinning in place of the copy to said bit pattern and defining the current DDA sum total as the DDA sum total at the next pixel position, said DDA processing unit iterating the above processings to thereby create said plurality of different bit patterns.

### Claim 12

A computer readable record medium storing an image size transforming program therein, said image size transforming program comprising:
an initial value setting step which includes setting a random number based initial value as a sum total initial value of a digital differential analysis (DDA); and
a DDA processing step which includes creating an image expanded or contracted from an original image by said digital differential analysis;
said initial value setting step including determining a random number for each pixel initial position of said original image and defining the remainder when said random number is divided by the original image size as a DDA sum total initial value;
said DDA processing step including, upon the image contraction, figuring out a DDA sum total at a current pixel position by adding a contracted image size to an initialized DDA sum total, at an original image pixel initial position, but to a DDA sum total figured out at an immediately previous pixel position, at the other pixel positions, said DDA processing step including, if said DDA sum total is not less than the original image size, copying pixels at the current pixel position onto a contracted image and defining the result of subtraction of the image size from the current DDA sum total as the DDA sum total at the next pixel position, said DDA processing step including, if said DDA sum total is less than the original image size, thinning out pixels at the current pixel position without copy thereof and defining the current DDA sum total as the DDA sum total at the next pixel position, said DDA processing step including iterating the above processings.

### Claim 13

A computer readable record medium storing an image size transforming program therein, said image size transforming program comprising:
a DDA processing step which includes, from the array of a predetermined number of pixels of an original image, creating a bit pattern indicative of the execution or nonexecution of a pixel copy onto a contracted image or of an overlapping pixel copy onto an expanded image, by a digital differential analysis (DDA);
a table creating step which includes creating a pattern table that stores therein a plurality of different bit patterns obtained by shifting said bit pattern created in said DDA processing step in series by a predetermined number of bits; and
a copy processing step which includes, when extracting a pixel string of said bit pattern length from said original image to transform it into a contracted image or an expanded image, iterating processing for selecting a specific bit pattern from said pattern table by use of a random number to transform pixels of said original image into pixels of said contracted image or of said expanded image.

### Claim 14 (depends on 13)

A record medium according to claim 13, wherein
said DDA processing step of said image size transforming program includes, upon the image contraction, figuring out a DDA sum total at a current pixel position by adding a contracted image size to an initialized DDA sum total, at an original image pixel initial position, but to a DDA sum total figured out at an immediately previous pixel position, at the other pixel positions,
said DDA processing step includes, if said DDA sum total is not less than the original image size, imparting bit information indicative of a pixel copy to said bit pattern and defining the result of subtraction of the image size from the current DDA sum total as the DDA sum total at the next pixel position,
said DDA processing step includes, if said DDA sum total is less than the original image size, imparting the other bit information indicative of thinning in place of the copy to said bit pattern and defining the current DDA sum total as the DDA sum total at the next pixel position, said DDA processing unit iterating the above processings to thereby create said plurality of different bit patterns.
