CA1249364A - Image processing system - Google Patents

Image processing system

Info

Publication number
CA1249364A
CA1249364A CA000462060A CA462060A CA1249364A CA 1249364 A CA1249364 A CA 1249364A CA 000462060 A CA000462060 A CA 000462060A CA 462060 A CA462060 A CA 462060A CA 1249364 A CA1249364 A CA 1249364A
Authority
CA
Canada
Prior art keywords
data
image data
bus line
compressed image
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
CA000462060A
Other languages
French (fr)
Inventor
Shinobu Arimoto
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP58158454A external-priority patent/JPS6051075A/en
Priority claimed from JP58158452A external-priority patent/JPS6051076A/en
Priority claimed from JP58158456A external-priority patent/JPS6051060A/en
Application filed by Canon Inc filed Critical Canon Inc
Application granted granted Critical
Publication of CA1249364A publication Critical patent/CA1249364A/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00912Arrangements for controlling a still picture apparatus or components thereof not otherwise provided for
    • H04N1/00915Assigning priority to, or interrupting, a particular operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/002Specific input/output arrangements not covered by G06F3/01 - G06F3/16
    • G06F3/005Input arrangements through a video camera
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32561Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using a programmed control device, e.g. a microprocessor
    • H04N1/32566Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using a programmed control device, e.g. a microprocessor at the transmitter or at the receiver

Abstract

ABSTRACT OF THE DISCLOSURE:
An image processing system has a computer bus line to which a communication controller or the like is connected, an image processor, an RP adapter including a data compressor unit, a serial-to-parallel converter, a data restoration unit and a parallel-to-serial converter, and a CPU and a controller for selecting the data from the image processor or the communication controller. While no image data is transferred on the bus line, data transfer from the communication controller or the like via the bus can be performed.

Description

3~

The present invention relates to a digital image processing system.

An image processing system, such as a digital copier or a facsimile system has been recently proposed, having an accumulating transducer element such as a solid state imaye pick-up device, e.g., a CCD for reading an image and converting an analog signal into a digital signal.
The digital signal obtained is processed and is trans-mitted through a digital transmission line or is used to reproduce an image through a laser beam printer or the like.

In order to transmit and accumulate image signals, such a digital image processing apparatus requires special processor, transmitter and storage elements, which re-quires image processing equipment additional to otherinformation processing equipment for word processing or other computer functions, thus increasing the amount of hardware competing for limited narrow office space, complicating installation, and increasing costs.

Methods are known for compressing and expanding digital image data so as to reduce the amount of data to be transmitted. In a digital recording apparatus, requirements for high speed and high image quality to-gether with an increase in the amount of data to be handled, mean that high speed image signal processing 3~

must be performed, and it is therefore technically difficult to compress, expand, transmit and read the digital image signals in real time.

Furthermore, depending upon particular patterns being processed, it is possible for the amount of image data to be actually increased upon data compression.
For example, in Modified Huffman one dimensional run length coding, 2 adjacent bits of data representing 1 black bit and 1 white bit are converted into 9 bits of data upon coding. This increased amount of data may ex-ceed the transfer capacity of a transmission line or occupy the line for an excessive time.

When the pel density or image processing speed differs as between an image reader and an image recorder, connection of the image reader with the image recorder for exchange of the digital image data becomes very dif-ficult or impossible.

It is an object of the present invention to provide an image processing system which addresses certain prob-lems described above, so as to provide an informationprocessing apparatus which can perform both image proces-sing and other information processing, which information processing is not necessarily associated with the image processing, thus providing the functions of a computer system; and so as to provide an image processing P~L

system in which the occupation time of the bus by image data is minimized.

According to the invention there is provided an image processing system comprising a computer bus line;
image conversion means for carrying out a conversion between an image and expanded image data; data conversion means for converting data between expanded image data and compressed image data; storing means associated with said data conversion means for storing compressed image data;
processor means connected to said bus line for processing compressed image data; and means for controlling transfer of image data between said storing means and said processor means via said computer bus line; wherein said transfer control means is operable to transfar compressed image data between said storing means and said computer bus line responsive to conversion of a predetermined amount of image data by said image conversion means.

The invention also extends to an image processing system comprising a computer bus line; means for reading an original image to produce image data; means for compressing the image data from s~id reading means; means for storing the compressed image data from said compressing means; processor means connected to said bus line for processing the compressed image data; and means for transmitting the compressed image data stored in said storing means to said processor means via said computer bus line; wherein said transmitting means is oparable to transmit the compressed image data from said storing means to said computer bus line whenever a predetermined amount of compressed image data is stored in said storing means.

The invention also extends to an image processing system comprising a computer bus line; processing means connected to said bus line for processing image data and supplying compressed image data; means for storing compressed image data from said computer bus line; means for expanding the compressed image data stored in said storing means; means for reproducing an image in accordance with the expanded image data; and means for transmitting the compressed image data supplied by said processing means to said storing means via said computer bus line; wherein said transmitting means is operable to transmit the compressed image data from said computer bus line to said storing means whenever a predetermined amount of compressed image data is expanded by said expanding means.

The above and other features of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings, in which:

Fig. 1 is a system block diagram showing an image processing system according to the present...............

1 invention;
Fig. 2 composed of Figs. 2A, 2B and 2C is a detailed circuit diagram of the RP adapter in the system according to the present invention;
Figs. 3, 4 and 6 are timing charts for explain-ing the operation in the system of the present invention;
Figs. 5a, 5b and 5c are diagram showing the transmission data;
Figs. 7-l to 7-3 are flow charts for explain-ing the data transmission in the system according to the present invention; and Figs. 8-l and 8-2 are representations for explainingthe use states of the bus in the system according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
The preferred embodiment of the present invention will be described below.
Fig. l is a system block diagram to which an image processing system according to the present invention can be applied.
A reader l reads an original with a CCD image sensor, performs an A/D conversion, a shading correction, and a digitizing processing and the like, and produces a digital image signal to an external circuit.

A printer 2 forms on a printing paper sheet a digital image and is, for example, a laser beam printer (LBP).
The reader 1 and the printer 2 can be directly coupled to each other to constitute a copier. According to -the embodiment of the present invention, the reader 1 and the printer 2 are connected through an interface to additionally provide a facsimile function without requiring much modification in the reader 1 or the printer 2.
An RP adapter 3 is a converter which converts the digital image signal exchanged between the reader 1 and the printer 2 into a signal which can be easily handled by a computer bus 1-11. The computer bus 1-11 can be the MULTIBUS (Trade Mark) bus system available from Intel Corporation and has a maximum transmission rate of several Mwords/sec. A main CPU ~, a memory 5, a disc controller 6, a line control circuit 9, and the RP adapter 3 in the forms of boards are connected to each other through the computer bus 11.
Original image data read by the reader 1 is converted by the RP adapter 3 and is stored in the memory 5. The data is, if required, stored in a magnetic disc 7 or floppy disc 8 through the disc controller 6. The stored data is sent onto the communication line through the line control circuit 9 (modem or the like) and a coupler 10.
The original data received through the ~2~36~

1 communication line is stored in the memory 5 through the coupler 10 and the line control circuit 9 and is then stored, if required, in the magnetic disc 7 or the floppy disc 8 through the disc controller 6. The stored data is sent to the printer 2 through the RP
adapter 3 to print an image on a printing paper sheet.
A series of facsimile operations as described above is controlled by the main CPU 4 in a concent-rated manner.
Fig. 2 is a circuit diagram of the RP
adapter 3 of the system shown in Fig. 1. A reader 1-1 transmits serial digital image data for each read line together with a sync signal. The reader 1-1 performs a main scan with a l-line CCD and a sub scan by moving one of the CCD and an imaging system at a predetermined speed relative to the other. The reading operation is performed at a resolution of 400 bpi (bit/inch) in both of the main and sub scan directions.
A data compressor unit or data compression unit 1-2 compresses image data Video of the bit format from the reader 1-1 by a coding or the like.
In this embodiment, a known run length coding circuit is used. A seriai-to-parallel converter (to be referred to as an S ~ P converter hereinafter) 1-3 converts the bit serial image data Video into parallel data. Double buffer memories (RAMs) 1-4 c;~

1 and 1-5 and 1-6 and ]-7 have capacities to store one line image data obtained through the data compressor unit 1-2 and the S ~ P converter 1-3.
The buffer memories are operated such that while the image data is written inthe memory 1-4 (1-6), the image data is read out from the memory 1-5 (1-7).
Write address counters 1-8 and 1-9 count data write addresses for the respective double buffer memories.
A comparator 1-10 compares the magnitudes of the data from the image compressor unit 1-2 with the conversion data from the S ~ P converter 1-3. An output from the comparator 1-10 controls selector 1-26 so as to supply the converted image data from a conversion logic having a smaller data amount to a MULTIBUS (computer bus) 1-11. The converted image data is supplied to the memories and the like shown in Fig. 1 through the computer bus at a predetermined computer system speed.
The decoding or restoration section of the compressed image data has the following configura-tion. Double buffers 1-30 and 1-31 are for synchro-nizing the data transfer from the computer bus 1-11 as a compressed data source and readout of the compressed data by a restoration logic. A data request is generated onto the computer bus 1-11 in synchronism with a read address counter 1-41. A
decoder select logic 1-32 discriminates the properties ~ 0-- ~ L~;~3~i!fil 1 of the compressed data read out from the double buffer and selects a restoration logic to be used.
A data restoration unit 1-33 corresponds to the data compressor unit 1-2. A parallel-to-serial converter (to be referred to as a P ~ S converter) 1-34 corresponds to the S ~ P converter 1-3.
In accordance with the restoration unit described above, a RAM 1-35 allows readout of the bit serial image signal and conversion of pel density in the sub scan direction. An output from the RAM 1-35 is reproduced by a printer 1-45.
In this embodiment, compression of the image data is performed in synchronism with a sync signal HSYNC corresponding to a l-line read signal from the reader 1-1. Restoration of the image is performed in synchronism with a sync signal D-HSYNC (corresponding to a 1-line beam scan end in an LB printer) from the printer 1-45. When the sync signal supplied to the compressor or restoration unit is gated and is supplied thereto, pel density conversion, image enlargement and reduction can be performed. The sync signal gate means for this purpose is an HSYNC video enable gate logic 1-12 or a D-HSYNC gate logic 1-36.
The mode of operation of the system of this embodiment will be described below.
Compression Circuit The circuit portion at the left side of the - l-r- ~2~3~

1 alternate two long and one short dashed line in Fig. 2 is a compression circuit. A digital image signal from the reader 1-l is processed and transferred to the computer bus 1-11. Fig. 3 shows an output signal from the reader 1-1 and a signal format thereof.
The signal from the reader 1-l consists of a signal HSYNC as an internal signal for each line, an image data transfer clock Video Clock, a serial image signal Video, and a signal Video Enable which indicates that the image signal is effective in a 1-line interval between the current and next signals HSYNC.
The signal HSYNC corresponding to one clock time is generated in synchronism with the signal Video Clock. The reader used inthis embodiment has a maximum main scan length of 8(1/2) inches and a resolution of 400 bps. Therefore, 3,400-bit image data is transmitted as 1-line image data. Therefore, ! 20 the invertal (image effective interval) of high level of the signal Video Enable corresponds to 3,400 clocks Video Clock.
These signals are supplied to the data compressor unit 1-2 and the S ~ P converter 1-3 which independently prepare parallel data. The coded data from the data compressor unit 1-2 is written in the double buffer memories 1-4 and 1-5, while the ~ ~L~i ~
- ~-2 -l parallel data from the S ~ P converter 1-3 is written in the double buffer memories 1-6 and 1-7. The write address counters 1-8 an 1-9 control the write operation in the double buffer memories 1-4 to 1-7.
Each counter is initialized by the signal Video Enable. The counter 1-8 is operated by the clocks synchronized with the image coding by the data compressor unit 102. The counter 1-9 is operated by the clocks synchronized with the conversion operation of the S ~ P converter 1-3. The switching operation of the double buffers is performed by the address selectors or data selectors 1-18, 1-19, 1-20, 1-21, 1-22 and 1-23 when a toggle flip-flop 1-13 changes lts state for each line. The read address data is supplied from the computer bus through an address buffer 1-29. Each buffer is thus read in synchronism with data onthe computer bus and the readout data is transmitted.

The circuit operation of the compressor unit described above is illustrated in the timing chart shown in Fig. 4. The S ~ P convel-ter 1-3 converts an image signal into a 14-bit parallel signal. There-fore, the S ~ P converter 1-3 supplies one clock signal to the write address counter 1-9 upon receiving 14 clocks Video Clock. In this case, the address counter counts from 0 to 42 in accordance with 3,400 clocks Video Clock per line. The 3,400 3~
-- 1~ --1 clocks Video Clock correspond to a memory capacity of 256 words. When the resolution is reduced to half, and a serial-to-parallel conversion at a rate of 200 bpi is performed, the count of the address counter is S changed upon reception of 28 clocks and is incremented to 122 upon reception of 3,400 clocks Video Clock.
In this manner, the S ~ P conversion address counter 1-9 performs a normal counting operation within one main scan period. However, the write address counter 1-8 for run length compression data operates in a different manner. The image compressor unit 1-2 encodes the number of clocks Video Clock which were held in one state and supplies a corresponding signal.
Therefore, the clock input to the write address counter 1-8 changes every time the state of the clock Video Clock changes. Therefore, when a 3,400-bit image signal of one line is received, 3,400 clocks are received in the address counter 1-8. In other words, while the output from the address counter 1-9 is kept at a predetermined value, the output from the counter 1-8 changes from 1 to 3,400. Which one of the conversion data from the unit 1-2 and the converter 1-3 is smaller than the other is discriminated by comparing the counts of these address counters. The conversion data amount is determined by the trailing edge of the Video Enable. Therefore, the counts from the address counters are latched in flip-flop 1-14 1 and 1-15. The values from the respective flip-flops 1-14 and 1-15 are compared by the comparator 1-10, an output from which is latched in a flip-flop 1-25 in response to a line sync signal HSYNC. Depending upon the output state of the flip-flop 1-25, the selection of the data to be read onto the computer bus 1-11 is performed by a selector 1-26. When the number of clocks received by the address counter 1-8 counting the run length exceeds a capacity (256 words)on the memory, the selector 1-26 is set to select data from the S ~ P converter 1-3 in accordance with the other input signal to an OR gate 1-24.
The data written inthe buffer RAMs 1-4 to 1-7 will be described with reference to Fig. 5. One-line data from the unit 1-2 and the converter 1-3 are sequentially written at addresses 2, 3 and so on in 16-bit parallel data starting from address 1 of the RAMs 1-4 to 1-7. The data has the following format.
In the case of the run length coded data from the compressor unit 1-2, the data is written as shown in Fig. 5a. The data from the S ~ P converter 1-3 is written in the RAMs 1-6 and 1-7, as shown in Fig. 5b. In this case, "00" at the 14th and 15th bits indicate that bits 0 to 13 are image data.
When write of one line data is completed, an i rt ~~ ~;~6~
1~

l identification code for a start of one line is added to the counts of the addresses latched in the flip-flops 1-14 and 1-15, and the results are written at address 0 of the RAMs. The format for this data is as shown in Fig. 5c. More specifically, "1" is written at the 13th bit of the data written at address 0 of the RAMs 14 and 15, and "0" is written at the 13th bit of the RAMs 1-6 and 1-7. The 15th and 14th bits are identification code which identifies if the data is data at the boundary between lines or actual image data.
In this manner, the unit 1-2 and the converter 1-3 independently write the conversion data in the RAMs in response to the sync signal generated for each line. However, only one of these data is read out, and selection between these data is determined in accordance with the counts of the address counters 1-8 and 1-9 during the write operation.
In response to an interrupt signal generated by the sinal HSYNC, the computer bus 1-11 starts reading the conversion data (one-line previous data) of one line written in the RAMs. The read rate must be fast enough to allow read out of the effective data in the RAMs within one interval of the signal HSYNC. The computer bus 1-11 sends a data read request signal from an interrupt request 1 logic 1-27 tG the main CPU 4 or the disc controller 6 which discriminates the received signal and produces -the read address data. Thus data read from address 0 of the RAMs is started. At the address 0, the type of data of one line at the addresses following address 0 is written. Thus,the data corresponding to this length is read, and the read data is supplied to the memory devices 5 to 8 or the line control circuit 9. In this case, the data length is discriminated by the CPU or the disc controller 6 to control the output of the read address data. Then, unnecessary data need not be read from the RAMs, and the occupying time of the computer bus by the image data can be minimized.
Thus, an empty time can be obtained for each one line during transmission of compressed data, and the computer bus can be released for such a time.
Thus, the computer bus can be utilized for such an empty time for communication of the data of the disc controller 6 by the line control circuit 9.
This will be described in more detail below.
Fig. 7 is a flow chart showing data processing by the main CPU 4 shown in Fig. 1. Fig. 7-1 shows a main routine for storing the computer data or word-processing data from the communication line to the disc through the computer bus. The main CPU 4 has a DMA controller. When the DMA controller is connected, data received from the communication line - l-r-1 is stored in the discs 7 and 8 or the memory 5 without going through the CPU 4 or the data is sent from the discs 7 and 8 and the memory 5 to the communication line without going through the CPU.
In the flow chart shown in Fig. 7-l, in step S-l, it is discriminated if the data received from the communication line is stored to the full capacity in the buffer in the line control circuit 9. When it is determined in step S-l that the buffer is full, the DMA controller is o~erated to transfer the line data in the buffer to the disc controller 6 through the bus l-ll. The line data is thus written in the discs 7 and 8, in step S-2. Thereafter, steps S-l and S-2 are repeated to sequentially store the data received through the line in the discs.
Furthermore, since the buffer is used, no problem occurs even if the data transfer rate on the bus is different from the data transfer rate onthe communi-cation line. When data is transferred from the disc to the communication line th~ugh the bus, it can be easily achieve~ with the buffer of the disc controller 6 and the DMA transfer, as shown in Fig.
7-l. Note that word data from a wordprocessor or the like (not shown) connected to the bus l-ll can be stored in the discs and memory.
In this manner, the computer bus l-ll can transfer image data between the reader l and the - 18 ~ 3~

1 printer 2 while it transfers other information not related to the image data or word processing data to the discs or to the line modulator.
Fig. 7-2 shows an inter:rupt routine for fetching the image data from the reader 1 onto the bus l-11. That is, in this routine, the bus is occupied for this purpose and is then released.
When the interrupt request logic 1-27 shown in Fig. 2 generates an interrupt request signal, the CPU 4 controls the DMA controller and interrupts data transfer as shown in Fig. 7-1 between the communication line and the discs through the bus 1-11 (step S-3). Next, the CPU 4 supplies the read address data for reading out data from the RAMs 1-4 to 1-7 shown in Fig. 2 to the buffe- 1-29 so as to read out data at address 0 of the RAMs and recognize the amount of the 1 line image data stored in the RAMs (step S-4). The recognized amount of the 1 line image data is set in the DMA controller, and the data transfer from the RAMs of the RP adapter 3 by DMA is started (step S-5). It is then discriminated (step S-6) in accordance with the data amount set in the DMA controller if the data transfer of the 1 line image data has been completed. Therefore, data transfer between the communication line and the discs is resumed in step S-7, as shown in Fig. 7-1.
Fig. 8 shows the state of use of the compu er - k~ -1 bus. Fig. 8-1 shows the state of bus in the flow shown in Fig. 7-2. "A" represents the bus occupy period by data transfer between the communication line and the disc, and "B" represents the bus occupy period by the data transfer between the RP adapter 3 and the memory 5.
Note that the memory 5 can store data of several pages of normal documnets. Therefore, the main CPU 4 can perform editing such as partial cancellation or synthesis of the data of the memory 5.
It is also possible to release the bus for data transfer of the RP adapter only after a pre-determined data transfer between the communication line and the disc is completed. This may be achieved by giving a low priority to the interrupt requestlogic 1-27 so that no interrupt is allowed during the "A" bus occupy period. In this case,the reader 1 displays that the bus is in the period "A" and the read input is inhibited, so that the operator may not perform a further read scan of the document.
When the RAMs shown in Fig. 2 are page memories capable of storing all the information onthe document, further input of the document in,~ormation can also be allowed in the period "A", a scan operation of the document by the reader 1 is allowed, and the 1 page data is stored in the RAMs. However, readout of 1 the data from the RAMs onto the bus is inhibited.
In the period "A" or "B", the transfer will not be interrupted. Therefore, data which requires continuous transmission can be transmitted with convenience.
The configuration of the RP adapter shown in ~ig. 2 ls suitable when the image read speed of the reader l is substantially the same as the data transfer speed of the bus but is slightly slower than it. When the read speed of the reader is very fast, RAMs having a capacity to store one page data must be used as RAMs 1-1 to 1-7.

,~

~ c ~ 36~

1 Pel Density Conversion I
Conversion of pel density of compressed data will be described below. Reduction of image data can be performed, and a recording apparatus having a small recording pel density can be used for an image reader.
When an original image to be read is a character image or the like, a high resolution of 400 bpi is not required. In such a case, if the resolution is lowered, the transfer time is shortened, the occupy 1() time of the computer bus can be reduced, and the use efficiencty of the intermediate buffer memory such discs and memories is improved, resulting in an economical advantage. When the image reduction function is not included in an image recorder, the data must 15 be compressed and then be transmitted by the transmitter.
If the recorder has an enlarging function and the transmitter reduces the data and sends it, the amount of data transmitted can be reduced.
The resolution in the main scan direction can 20 be decreased by a conventional method. According to this method, the frequency of image sampling clocks is changed. More specifically, the frequency of the clock Video Clock corresponding to serial data Video before conversion at the unit 1-2 and the converter 1-3 is 25 controlled. The clock rate is set as EMl in this case.
An H-SYNC video enable gate logic 1-12 is used to reduce the image in the main scan direction (to lower - ~2\ ~

1 the resolution). The image data compression circuit described above is controlled by signals HSYNC and Video Enable. Therefore, when these signals corre-sponding to data of predetermined lines corresponding to a desired rate are gated and not supplied, the data of these lines are not processed, thereby sampling the data. Since a data read request Data Req corresponding to these lines is not supplied to the bus 1-11, the data of the gated lines will not be read nor sent 1() onto the bus.
In order to obtain data of a desired resolution, the gate logic 1-12 has the following configuration. The gate comprises a clock sampling means such as 7479TT¢ which receives a signal HSYNC
as a 1 line sync signal at a clock terminal and generates a gate signal, thereby sampling the signals HSYNC and Video Enable. The samling rate for determining the resolution (reduction ratio) is set as EM2 by a setting means such as a switch (not shown).
The pel density and reduction ratio in the vertical and horizontal directions can be arbitrarily set by independently setting EMl and EM2.

Restoration or Expanding Circut The method of restoring the compressed data into original data (expanding) will be described below.
The restorlng unit restores the data supplied through
- 2~3 _ ~L2 e -~ -. e ~-~
1 the computer bus 1-11. The e~m~r~sseed data is supplid from the compression circuit described above but need not be that from the compressor unit 1-2 connected to the same computer bus to which the restoration unit is connected. The data stored in the memory 5 can be data from the coupler 10.
First, the computer bus 1-11 writes data of a predetermined amount in one of RAMs 1-30 and 1-31. In this embodiment, the RAM has a capacity of 1() 256 words. The RAMs 1-30 and 1-31 comprise double buffers. ThUs~ the RAMs operate such that when data is being written in one RAM, the data is read out from the other. The decoder select logic 1-32 supplies a clock to the read address counter 1-41 so as to find an interval signal for each line from data stored in the RAMs. When the interval signal of one line is found, since the data format (Fig. 5) of the subsequent data is written therein, a signal is supplied to a selector 1-44 so as to select a corresponding decoder. Data restoration is started in synchronism with a sync signal 5-HSYNC (to be described later) from a printer 1-45. The data restoration circuit has, in correspondence with the data compressor unit 1-2 and the P ~ S converter 1-3, a data restoration unit 1-33 and a parallel-to-serial converter (to be referred to as a P ~ S converter) 1-34 for converting the parallel data into serial data.
3~
- 2~-1 The unit 1-33 and the converter 1-34 are normally operated in response to the sync signal G-HSYNC. Each of the unit and the converter generates a data request signal Data Req requesting the next data in response to the restoration operation. The decoder select logic 1-32 sends the request signal from the r-estlaL~
circuit designated by the line inteval signal as a clock for the read address counter 1-41. In this manner, a line serial video signal is supplied to the 1() printer 1-45. This is shown in Fig. 4. A clock D-Video Clock from a clock generating means 1-42 is generated in response to a sync signal D-HSYNC from the printer 1-45, and a serial image signal a D-Video and a D-Video Enable are produced in response thereto.
The decoder select logic 1-32 sends a data request signal from the restoration unit to the read address counter 1-41 to fetch the next data. However, if the received data is a line interval signal, the data is not supplied to the restoration unit and the next line sync signal D-HSYNC is awaited. Then, the data selector 1-40 is set in a predetermined state and the next data is supplied to the restoration unit.
When data read out from one of the double buffers is completed (empty), the counter 1-41 supplies a count up signal to a toggle flip-flop 1-37 so as to switch the read and write operations of the two RAMs. At the same time, in order to transfer 256 1 word data, the counter 1-41 supplies a count up signal for256 addresses to the interrupt request logic 1-27.
Since a maximum data amount per line is abou-t 256 words, the period of the interrupt signal supplied to the computer bus 1-11 becomes longer than the interval of the one-line sync signal D-HSYNC from the printer 1-45. Therefore, a computer bus system having a minimum transfer speed of 256 words per line period must be used. Therefore, the faster the bus speed, the 1() longer the empty time per line after transfer of the 256-word data. Therefore, other information processing and transmission can be performed during such empty time.
This will be described with reference to 15 Figs. 7 and 8. Fig. 7-3 is a flow chart of an interrupt routine for transferring image data to the printer 2.
When the interrupt request logic 1-27 produces an interrupt request signal, the CPU 4 interrupts the data transfer as shown in Fig. 7-1 between the 20 communication line and the disc Via the control bus 1-11 by controlling the DMA controller (step S-8).
Then, 256-word data to be stored in the RAMs 1-30 and 1-31 is set in the DMA controller. The write address data for writing the image data in the RAMs 1-30 and 25 1-31 next is supplied to the address buffer 1-29, shown in Fig. 2. Then, data transfer from the memory 5 to the RAMs of the RP adapter 3 by DMA is initiated (step 'L ~ ~L2~336;f~

1 S-9). Completion of 256-word data transfer is discriminated from the amount of data set in the DMA
controller and the transfer of data from the memory 5 to the RAMs is then s-topped (step S-lO). Data transfer between the communication line and the disc is then resumed (step S-ll).
Fig. 8-2 shows the use state of the bus in the flow chart shown in Fig. 7-3. A period A
corresponds to data transfer between the communication 1() line and the disc, and a period C corresponds to transfer of printing data from the memory 5 to the RP
adapter 3.
When the data transfer between the communication line and the disc is completed, the interrupt request logic 1-27 is enabled and the bus can be released for transferring the printing data.
In this case, the busy period "A" is displayed at the printer display section of the main CPU 4 to inhibit an input of a printing instruction. When the bus is thus in the period A or C, the data transfer is not interrupted, resulting in convenient communication and printing.
It is also possible to produce data stored in the RAM 1-35 to a display such as a CRT so as to display an image in accordance with data stored in the memory 5.
The above operation can be conveniently - 2~r~ g~

1 performed when the data transfer rate of the bus is equivalent to or is slower than the printintg speed of the printer 2. When the printing spee~ of the printer 2 is significantly faster than the transfer rate of the bus, the RAMs 1-30 and 1-31 must have a capacity to store l-page data.
Pel Density Conversion II

.

The pel density converting means in the restoration unit operates in the following manner.
1() Conversion of the pel density in the main scan direction is performed by sampling basic clocks from the clock generating means 1-42 so as to sample the image data. In this case, sampling the output and serial data from the data restoration unit 1-33 and the P ~ S converter 1-34. Then density conversion data is set as DMl by a preset switch or the like.
Conversion of the pel density in the sub scan direction is performed by the following means. When an image is produced in one-to-one magnification with a printer 2n having a resolution higher than the transferred data or is produced with a printer of the same resolution of the transferred data, the same restored line data is produced a plurality of times. For this purpose, a line memory is used as the RAM 1-35 after the data selector 1-44. The RAM 1-35 is operated in response to an output from a RAM address counter 1-43 which operates in synchronism with a sync signal D-HSYNC

2~
- 2~ -1 (beam detection signal BD) from the printer. After the output from the selector 1-44 is stored once in this RAM, it can be read out therefrom. When the data of the same line is to be produced a plurality of times, a select signal DS is kept supplied to the selector 1-44 by the D-HSYNC gate logic 1-36 so that the output signal from the RAM 1-35 becomes the data input signal to the selector 1-44. When the same data is produced, the data from the data restoration unit 1() 1-33 is not used. Therefore, the D-HSYNC gate circuit 1-36 is gated such that the sync signal G-HSYNC to be supplied to the data restoration unit 1-33 otherwise is stopped. The select signal DS to be supplied to the selector 1-44 is produced in synchronism with the gate operation. The gate period is proportional to an enlargement conversion data DM2 which is preset.
DM2 can be preset independently of DMl so as to change the enlargement ratio of the length to the width of the original. The D-HSYNC gate logic 1-36 for obtain-ing a desired resolutin (enlarging magnification) hasthe same configuration as that of the H-SYNC gate logic 1-36. Since a signal G-HSYNC is not supplied to the decoder select logic 1-32 during this gate period, the clock input to the read address counter 1-41 is stopped. Therefore, readout from the buffer RAMs is not performed and the apparatus is set in the standby mode while the data is kept stored therein.

3~i~
,~

1 Durinq this time, the computer bus 1-11 is released and utilized for other devices as shown in Fig. 1.
When the gate period elapses, the decoder select logic 1-32 starts readout and decoding of the data of the next line in response to the subsequent signal G-HSYNC.
The unit 1-33 or the converter 1-34 produces a signal Data Req at every decoding end of one word, and a clock is supplied to the read address counter 1-41 to read data from the RAMs. When the decoder select logic 1() 32 determines that the data from the RAMs indicates an end of one-line data, supply of the next one-line data to the data restoration unit 1-33 or the P ~ S
converter 1-34 is prohibited, and the apparatus is set in the standby mode by the signal G-HSYNC. When data readou~ is performed until the RAM 1-30 is empty, data readout from the RAM 1-31 is then performed and storage of the data from the bus into the RAM 1-30 is started. This is performed in accordance with the write address data received from the bus.
When an image of one-to-one magnification is to be reproduced with a printer having a resolution lower than that of the data transferred through the bus 1-11 or with a printer having the same resolution as that of the transferred data, the line must be sampled.
This is performed by the decoder select logic 1-32.
More specifically, the line interval signal is skipped so as achieve the resolution represented by the data 1 DM2. When an image reproduction is to be performed with a printer having a resolution half that of the transferred data, when decodiny of one line data is completed (this can be confirmed when the next line interval signal is supplied to the decoder select logic 1-32), the next line is skipped. Clocks are supplied to the read address counter 1-41 until the next line boundary signal is received. Then, the data ofl-line intervals can be supplied to the data 1() restoration unit 1-33.
In the above embodiment, the compressor unit 1-2 and the converter l-3 are operated in accordance with the image data. However, a selection between the first and second differenct compression or coding methods (e.g., the MH conversion method and the MR
conversion method) may be performed in accordance with the amount of data to be converted.
It is to be noted, in this case, corresponding converters must be included at the restoration circuit. The operation at the data compressor unit 1-2 and the converter 1-3 can be performed manually.
In this case, a select input key to instruct this operation may be arranged at the control section of the main CPU.
In the above embodiment, the computer bus is released after the one line processing is completed when data is coded and decoded. However, the bus can ~ 3 6 ~

1 be released upon transmission of data of a plurality of lines or transmission of one page data. Complex exchange of control signals between the main CPU and the like through the bus can be reduced. In this case, an interrupt request signal is supplied to the computer bus in the released state to prevent the bus use by other equipment having a lower priority so as to transfer data of higher priority. Therefore, substantially continuously with the readout of the 1() original image, image data is transmitted and can be stored in a file apparatus. Therefore, the system s \~ O ~
processing time can be rhrotcncd. The embodiment of the present invention can be applied to storage of all the data of the read image in a memory. The data stored in the memory can be compressed or decoded as needed.

Claims (9)

THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE
PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. An image processing system comprising:
a computer bus line;
means for reading an original image to produce image data;
means for compressing the image data from said reading means;
means for storing the compressed image data from said compressing means;
processor means connected to said bus line for processing the compressed image data; and means for transmitting the compressed image data stored in said storing means to said processor means via said computer bus line;
wherein said transmitting means is operable to transmit the compressed image data from said storing means to said computer bus line whenever a predetermined amount of compressed image data is stored in said storing means.
2. A system according to Claim 1, wherein the processing means is also operable to receive or store compressed image data from the bus line.
3. A system according to Claim 1, further comprising means for reproducing an image in accordance with image data and expanding means for expanding compressed image data from the bus line and supplying the expanded image data to the reproducing means.
4. A system according to Claim 1, further comprising at least one of a disc file controller, a communication line controller, and a word processor connected to the bus line.
5. An image processing system comprising:
a computer bus line;
processing means connected to said bus line for processing image data and supplying compressed image data;
means for storing compressed image data from said computer bus line;
means for expanding the compressed image data stored in said storing means;
means for reproducing an image in accordance with the expanded image data; and means for transmitting the compressed image data supplied by said processing means to said storing means via said computer bus line;
wherein said transmitting means is operable to transmit the compressed image data from said computer bus line to said storing means whenever a predetermined amount of compressed image data is expanded by said expanding means.
6. A system as claimed in Claim 5, wherein the processing means is also operable to transmit compressed image data to the bus line.
7. A system as claimed in Claim 5, further comprising means for reading an original image to produce image data and compression means for compressing image data and supplying the compressed image data to the bus line.
8. A system as claimed in Claim 5, further comprising at least one of a disc file controller, a communication line controller, and a word processor connected to the bus line.
9. An image processing system comprising:
a computer bus line;
image conversion means for carrying out a conversion between an image and expanded image data;
data conversion means for converting data between expanded image data and compressed image data;
storing means associated with said data conversion means for storing compressed image data;
processor means connected to said bus line for processing compressed image data; and means for controlling transfer of image data between said storing means and said processor means via said computer bus line;
wherein said transfer control means is operable to transfer compressed image data between said storing means and said computer bus line responsive to conversion of a predetermined amount of image data by said image conversion means.
CA000462060A 1983-08-30 1984-08-29 Image processing system Expired CA1249364A (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP158454/1983 1983-08-30
JP158452/1983 1983-08-30
JP58158454A JPS6051075A (en) 1983-08-30 1983-08-30 Picture processing method
JP58158452A JPS6051076A (en) 1983-08-30 1983-08-30 Picture processing method
JP58158456A JPS6051060A (en) 1983-08-30 1983-08-30 Picture processing method
JP158456/1983 1983-08-30

Publications (1)

Publication Number Publication Date
CA1249364A true CA1249364A (en) 1989-01-24

Family

ID=27321349

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000462060A Expired CA1249364A (en) 1983-08-30 1984-08-29 Image processing system

Country Status (5)

Country Link
US (1) US5008949A (en)
CA (1) CA1249364A (en)
DE (1) DE3431985C2 (en)
FR (1) FR2551282B1 (en)
GB (1) GB2148561B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61294587A (en) * 1985-06-24 1986-12-25 Toshiba Corp Picture processor
FR2601474A1 (en) * 1986-07-08 1988-01-15 Pragma Device for exchange of information between a fax machine and a microcomputer
JPH07106652B2 (en) * 1988-08-13 1995-11-15 キヤノン株式会社 Printer
JPH0591313A (en) * 1991-09-27 1993-04-09 Minolta Camera Co Ltd Facsimile equipment
FR2682788B1 (en) * 1991-10-18 1993-12-31 Visi Solutions VIDEO SURVEILLANCE SYSTEM.
JP3109939B2 (en) * 1993-04-22 2000-11-20 キヤノン株式会社 Image communication apparatus and method
US6094453A (en) * 1996-10-11 2000-07-25 Digital Accelerator Corporation Digital data compression with quad-tree coding of header file
US7120167B1 (en) * 1999-06-03 2006-10-10 Matsushita Electric Industrial Co., Ltd. Broadcasting system and its method
US7869462B2 (en) * 1999-06-03 2011-01-11 Panasonic Corporation Broadcast system and method therefor

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3394352A (en) * 1965-07-22 1968-07-23 Electronic Image Systems Corp Method of and apparatus for code communication
US3751582A (en) * 1971-12-08 1973-08-07 Addressograph Multigraph Stored program facsimile control system
DE2756640A1 (en) * 1976-12-19 1978-06-22 Ricoh Kk FACSIMILE SEND RECEIVER
US4394774A (en) * 1978-12-15 1983-07-19 Compression Labs, Inc. Digital video compression system and methods utilizing scene adaptive coding with rate buffer feedback
US4376933A (en) * 1979-02-22 1983-03-15 Xerox Corporation Circuit for compacting data
US4442543A (en) * 1979-09-10 1984-04-10 Environmental Research Institute Bit enable circuitry for an image analyzer system
FR2465273B1 (en) * 1979-09-11 1985-12-13 Anvar INTERACTIVE MULTIPROCESSOR FOR INPUT AND PROCESSING OF IMAGES
SE448922B (en) * 1980-10-21 1987-03-23 Ibm Svenska Ab METHOD FOR PROCESSING VIDEO DATA BY AN OPTICAL SIGN IDENTIFICATION SYSTEM WITH A CHARACTER IDENTIFICATION DEVICE IN AN OPTICAL DOCUMENT READER
JPS5771063A (en) * 1980-10-22 1982-05-01 Toshiba Corp Conversion and storage system for picture information
CA1184310A (en) * 1981-02-25 1985-03-19 Mize Johnson, Jr. Multi-processor office system complex
JPH0693738B2 (en) * 1981-10-09 1994-11-16 株式会社東芝 Document image recognition editing device
IT1155650B (en) * 1982-03-19 1987-01-28 Olivetti & Co Spa METHOD AND EQUIPMENT FOR COMPRESSION AND DECOMPRESSION OF DIGITAL IMAGE INFORMATION
GB2120429B (en) * 1982-04-29 1985-10-09 Honeywell Inf Systems Computer system with bus cycle sharing
JPS5911063A (en) * 1982-07-12 1984-01-20 Ricoh Co Ltd Facsimile device
JPS5930363A (en) * 1982-08-11 1984-02-17 Ricoh Co Ltd Transmission control system of facsimile
US4533956A (en) * 1982-09-17 1985-08-06 Minnesota Mining And Manufacturing Co. Apparatus for converting facsimile coded data to video data

Also Published As

Publication number Publication date
FR2551282B1 (en) 1994-05-13
DE3431985A1 (en) 1985-03-14
GB8421879D0 (en) 1984-10-03
DE3431985C2 (en) 2001-11-08
GB2148561A (en) 1985-05-30
US5008949A (en) 1991-04-16
FR2551282A1 (en) 1985-03-01
GB2148561B (en) 1988-04-20

Similar Documents

Publication Publication Date Title
CA1249364A (en) Image processing system
US5485287A (en) High-speed image signal processing system
CA1266524A (en) Image processing system
US4700234A (en) Image processing system
JPH05244367A (en) Image processor
JP2626773B2 (en) Facsimile machine
JPH0763172B2 (en) Data processing system
JPH0815299B2 (en) Image processing system
JP2825002B2 (en) Facsimile apparatus and data transfer method thereof
JP2941836B2 (en) Image processing device
JP2983353B2 (en) High-speed image signal processing system
JP3232623B2 (en) Image processing device
JPH0574264B2 (en)
JPH07298016A (en) Image forming device
JPH0563986B2 (en)
JPH0312826B2 (en)
JPH06205224A (en) Picture reading method
JPS6157167A (en) Image processing system
JP2574817B2 (en) Image communication device
JP3154245B2 (en) Image processing device
JPS6051075A (en) Picture processing method
JPS6051072A (en) Picture processing method
JPH07193702A (en) Facsimile equipment
JPH0775394B2 (en) Image transmission equipment
JPH0832814A (en) Facsimile equipment

Legal Events

Date Code Title Description
MKEX Expiry