Claims
- 1. A method for scaling a bitonal image produced from a digital input data stream using pixel replication comprises the steps of:
- a. generating a scale factor selection sequence;
- b. selecting a sequence of scale factors based upon said scale factor selection sequence, whereby each selected scale factor represents the number of times a pixel is to be replicated;
- c. decrementing a current scale factor from said sequence of scale factors by 1;
- d. performing a pixel replication of a current bit of the input data stream each time said current scale factor is decremented;
- e. obtaining a next current scale factor from said scale factor sequence once said current scale factor is fully decremented;
- f. obtaining a next current bit from said input data stream once said current scale factor is fully decremented;
- g. shifting said input data stream by one when scale factor is fully decremented; and
- h. reformatting the replicated pixels with a serial to parallel conversion.
- 2. The method of selecting horizontal scale factors, comprising the steps of:
- a. generating a scale factor selection sequence, by
- a.1. determining scale factor integers; and
- a.2. calculating said scale factor selection sequence of said scale factor integers, before scaling begins;
- b. storing said scale factor selection sequence, before scaling begins;
- c. loading said scale factor integers, each one integer count apart, before scaling begins;
- d. retrieving said scale factor selection sequence while horizontal scaling is in progress; and
- e. selecting said scale factor integers based upon retrieved said scale factor selection sequence.
Parent Case Info
This application is a division of application Ser. No. 07/458,059 filed Dec. 28, 1989 now U.S. Pat. No. 5,068,905.
US Referenced Citations (4)
Divisions (1)
|
Number |
Date |
Country |
Parent |
458059 |
Dec 1989 |
|