JPH08241404A - Image processor - Google Patents

Image processor

Info

Publication number
JPH08241404A
JPH08241404A JP4733095A JP4733095A JPH08241404A JP H08241404 A JPH08241404 A JP H08241404A JP 4733095 A JP4733095 A JP 4733095A JP 4733095 A JP4733095 A JP 4733095A JP H08241404 A JPH08241404 A JP H08241404A
Authority
JP
Japan
Prior art keywords
image data
image
rotation
processing
address
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.)
Pending
Application number
JP4733095A
Other languages
Japanese (ja)
Inventor
Hajime Hojo
元 北條
Original Assignee
Ricoh Co Ltd
株式会社リコー
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
Application filed by Ricoh Co Ltd, 株式会社リコー filed Critical Ricoh Co Ltd
Priority to JP4733095A priority Critical patent/JPH08241404A/en
Publication of JPH08241404A publication Critical patent/JPH08241404A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide an image processor which can turn the image data simultaneously with its extension. CONSTITUTION: The image data equivalent to one word that is extended by a DCR are inputted to a bit I/O detection part 403 which decides whether the image data are black (1) or white (0). This deciding result is outputted to a DMAC 404. If the image data are black (1), the DMAC 404 operates an address to be set on a page memory when the image data are turned and replaces the image data on the address with black (1). If the image data are white (0), the DMAC 404 does not especially perform the read/write operations to the image memory. Then the DMAC 404 performs a hexadecimal counting operation to increase the output value by one to a 1st selector 402.

Description

Detailed Description of the Invention

BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a rotation process of an image processing device for compressing or expanding image data in units of one line.

[0002]

2. Description of the Related Art For the rotation of an image composed of image data, it is general to use a two-dimensional memory for rotating an area of 16 × 16 bits as one unit. A dedicated LSI (rotation chip) for this rotation has also been developed. Further, since the image data generally has a large amount of data, it is compressed and stored in the memory. Therefore, conventionally, the compressed image data stored in the memory is input to the decompression circuit to decompress the decompressed image.
The image is rotated by inputting the data into the previous LSI.

[0003]

SUMMARY OF THE INVENTION It is an object of the present invention to provide an image processing apparatus capable of rotating an image data at the same time as extending the image data.

[0004]

SUMMARY OF THE INVENTION In order to solve the above problems, the present invention is an image processing apparatus for compressing or expanding image data in units of one line, compressing or expanding the image data. It is characterized in that the image data is rotated at the time of carrying out.

[0005]

According to the present invention, in the image processing apparatus for compressing or expanding the image data in one line unit, the image data is rotated when the image data is compressed or expanded. Since the processing is performed, the image data can be rotated at the same time as the image data is extended.

[0006]

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The overall structure of an image processing system according to the present invention will be described with reference to FIG. The image processing system has G3 standard specifications.

This system includes a scanner 101, a printer 102, a page memory 103, a rotation controller 104, and a DC.
R105, CPU 106, program ROM 107, work memory 108, SAF memory 109, G3 FAX controller 110, NCU 111, image bus 11
2, DCR bus 113, system bus 114, operation unit 1
It consists of 15. The scanner 101 scans an image on a document by moving line-type CCDs arranged in the main scanning direction in the sub-scanning direction, and scans one line per line.
Outputs image data serially as a unit. The printer 102 forms an image by recording image data input line by line on a transfer paper line by line. The page memory 103 stores image data for one page as a document when reading with the scanner 101 and recording with the printer 102. Rotation control unit 10
Reference numeral 4 has a built-in DMAC (page memory address generation unit) for rotating the image data stored in the page memory 103. The DCR 105 compresses and expands the image data in units of one line. SAF memory 1
09 stores the compressed image data. The G3FAX controller 110 receives the compressed image data received from the public line via the NCU 111 and the SAF memory 109.
Compressed image data that is also input to be stored in
Data is transmitted to the public line via the NCU 111. The CPU 103 controls each block by using the work memory 108 according to the program stored in the program ROM 107. The operation unit 112 is
The operator's instruction input is accepted. Image bus 113
The page memory 103 and the rotation control unit 104 are connected to each other to transmit image data. The DCR bus 114 is
The rotation control unit 104 and the DCR 105 are connected to each other and transmit image data. The system bus 115 includes the rotation control unit 104, the DCR 105, the CPU 106, and the program RO.
M107, work memory 108, SAF memory 109,
The G3 FAX controller 110 and the operation unit 112 are connected to transmit control data and compression image data. In such a structure, when the image data is rotationally compressed, the DCR 105 is imaged in units of one word.
It is necessary to hand over the data. Therefore, the image data for 16 words is taken into the rotation control unit 104, and the image data corresponding to the same bit position in the 16 words is obtained.
By collecting 16 data (for one word), the image data in which the rotation of one word is completed is created.
The word image data is transferred to the DCR 105.

The operation unit 115 will be described with reference to FIG.

The operation unit 115 is provided with a reading start switch 201, a rotation processing mode switch 202, and a display instruction panel 203. Start switch 2
When 01 is turned on, the scanner 101 starts reading the image of the document. When the rotation processing mode switch 202 is turned on, the rotation processing mode is set. When the rotation processing mode switch 202 is turned off (if nothing is done), the normal mode is set. And in the case of rotation processing mode,
Rotation angles of 90 degrees right, 90 degrees left, and 180 degrees are displayed on the display instruction panel 203, and the rotation angle can be selected by touching the display of the desired angle.

The manner in which image data is stored in the page memory 103 will be schematically described with reference to FIGS. 3 (a), 3 (b) and 3 (c).

FIG. 3 (a) shows an image of a document. FIG. 3B shows the state stored in the page memory 103 in the normal mode. At this time, the image data is further handled in units of 1 word (16 bits) in the main scanning direction. Because the image
This is because the data is 1-bit data of white or black, and the input / output of image data in the page memory 103 is performed in 16-bit parallel. FIG. 3C shows the page memory 1 in the case of the rotation processing mode of 90 degrees to the right.
The state stored in 03 is shown. At this time,
Image data for one word is
The image data for 16 words is made 1 bit each.

The rotation control unit 104 will be described in detail with reference to FIG.

The rotation controller 104 includes a first latch 40.
1, first selector 402, bit 1/0 detector 40
3, DMAC 404, second latch 405, second selector 406, third latch 407, fourth latch 40
8, a third selector 409, a 4-bit counter 410,
Decoder 411, 16th fourth selector 412, 5th
Latch 413, fifth selector 414, 3 state 41
It is composed of 5.

First, the decoded image data read from the DCR 105 is rotated, and the page memory 1 is rotated.
The decompression rotation mode for transferring to 03 will be described. This extension rotation mode is set to the rotation processing mode in the operation unit in advance, and the G3F is selected in the state where the rotation angle is also selected.
When the AX controller 110 detects that the compressed image data is received from the public line, the CPU 106 automatically starts. Then, the CPU 106 causes the DMAC
It is instructed to the extension rotation mode 404.

The image data for one word expanded by the DCR 105 is latched by the first latch 401 via the 16-bit DCR bus 114. The output of the first latch 401 is input to the first selector 402 as 16 bits. The first selector 402 is a 16-bit image data input from the first latch 401 and outputs a bit image corresponding to the output of the DMAC 404.
Select the data and output only 1 bit. This image data is input to the bit 1/0 detection unit 403,
Whether it is black (1) or white (0) is detected, and the result is output to the DMAC 404. When the image data is black (1), the DMAC 404 calculates the image address (24 bits) on the page memory 103 when the image data is rotated, and Image
Replace the image data of the address with black (1).
When the image data is white (0), DMAC404
Performs hexadecimal count operation without performing read / write operation of the page memory 103, and the first selector 4
The value of the output to 02 is incremented by 1. Then, when the counting operation for 16 bits (1 word) is completed, DCR1 is output so as to output the image data for the next 1 word.
Tell 05. When one page of image data is received, one page of image data is output to the printer 102 and recorded on the transfer paper.

The operation control of the DMAC 404 in the left 90 ° extension rotation mode will be described with reference to FIG. For simplicity of explanation, the 24-bit image address is an (x, y) image address.

In this embodiment, the number of image data (bit number) in the main scanning direction of the image data output from the DCR 105 is N and the number of lines in the sub scanning direction is M, and the data is stored in the page memory 103. Let the write address of (x, y).
First, the page memory 103 is refreshed (50
0). N and M are read (501). L = 1 is set (502). x = 0 is set (503). Set y = N (504). The L is output to the first selector 402 (505). It is confirmed whether the bit 1/0 detection unit 403 has detected black (506). In the case of Yes, the image address (x, y) of the page memory is set to black (50
7). In the case of No and after (507), it is confirmed whether L = 16 (508). In the case of Yes, the DCR 105 is instructed to output the next one-word image data (509). It is set to L = 0 (510). In the case of No and after (510), L = L + 1 is set (511). y =
It is confirmed whether it is 0 (512). If No, y = y-
1 (513). In the case of Yes, it is confirmed whether x> M (514). If No, x = x + 1
(515). If yes, end.
In this way, the image data to be written to the address (0,0) is written to the address (0, N), and the image data to be written to the address (N, 0) is written to the address (0,0). To the address (0, M) and the image data to be written to the address (0, M) to the address (M, N),
Image data to be written to the address (N, M) can be written to the address (M, 0).

In the above embodiment, at 504, N
Is set to 0, 512 is set to 0, N is set to 513, and y = y + is set to 513.
By setting it to 1, the image data rotates 90 degrees to the left and is mirrored. At this time, the mirror ring is displayed on the display instruction panel 203 of the operation unit 115 so that the instruction can be made. When the mirror ring is turned on, the mirror ring is controlled as described above. . Further, rotation of 90 degrees to the right and rotation of 180 degrees can be easily performed by those skilled in the art by similar control.

Next, the compression / rotation mode for performing rotation processing when the image data read from the page memory 103 is transferred to the DCR 105 will be described. The compression / rotation mode is set to the rotation processing mode by the operation unit 115, and after the rotation angle is also selected, the start switch 201 for causing the scanner 101 to start reading the original is turned on. Started by

The image data for one word read from the page memory 103 is latched in 16 bits by the second latch 405 via the image bus 112. 1
For which bit position of the image data of the word, the image data is to be taken out is referred to the compression line input via the system bus 114 for each line processing start of the DCR 105. It is determined by the second selector 406 according to the line data. The compressed line data from the system bus 114 is latched in the third latch 407, and the reference line data is latched in the fourth latch 408.
Then, the third selector 409 uses the third latch 407.
And one of the outputs of the fourth latch 408 and
Of the selector 409 of the second selector 406
Is determined (selected). The image data output from the second selector 406 is input in parallel to 16 fourth selectors 412 (412d in the figure).
412o are omitted, but these are also connected in the same manner as 412a and the like). The 16th fourth selectors 412 are arranged in order by the 4-bit counter 410 and the selection data by the decoder 411, respectively.
6 output is selected. The second selector 405 that does not select the output from the second selector 406 selects the output of the fifth latch 413. The fifth latch 413 is the fourth selector 41 having the same output from the fourth selector 412.
It is connected so that it becomes the input of 2. Therefore, if the fifth latch 413 repeats latching 16 times, the image data of the same bit (position) of the 16-word image data is collected and made into one word. -You can get data. If there is one word of image data, D
Output to the CR bus 113. However, the fifth selector 4
14 and 3 state 415, DCR is used as the first reference line for the image data of all white (0).
Output to the bus 113. The image data output to the DCR bus 113 is transferred to the DCR 105.

The operation of the DMAC 404 in the case of the compression rotation mode of 90 degrees right will be schematically described with reference to FIG.

By setting the start address and the rotation width of the rotation process, the address of the page memory 103 to be read next can be calculated. It is an address obtained by adding or subtracting the rotation width to the start address. The position of the processing bit is D
During the line processing of CR105, 1 at the same bit position
The position is shifted bit by bit for each line processing. The request for image data from the DCR 105 is MR
Alternatively, since the reference line and compressed line data are output separately during MMR compression, it is necessary to transfer the rotated image data accordingly. Further, rotation by 90 degrees to the left and rotation by 180 degrees can be easily performed in the same manner by those skilled in the art.

[0023]

According to the present invention, in the image processing apparatus for compressing or expanding the image data in units of one line, when the image data is compressed or expanded, the image is processed.
Since the rotation of the data is performed, the image data can be rotated at the same time as the expansion of the image data.

[0024]

[Brief description of drawings]

FIG. 1 is an overall configuration diagram of an image processing system according to the present invention.

FIG. 2 is a schematic diagram showing an operation unit

FIG. 3 is a schematic diagram of image data.

FIG. 4 is a diagram showing a configuration of a rotation control unit.

FIG. 5 is a diagram showing control of a 90 ° left extension rotation mode.

FIG. 6 is a diagram schematically showing a compression rotation mode of 90 degrees right.

[Explanation of symbols]

 401 first latch 402 first selector 403 bit 1/0 detection unit 404 DMAC

Claims (5)

[Claims]
1. An image processing apparatus for compressing or expanding image data in units of one line, wherein the image data is rotated when the image data is compressed or expanded. An image processing device characterized by:
2. The image processing method according to claim 1, wherein the rotation processing is performed by image data in units of one word.
Processing equipment.
3. A page memory for storing the expanded image data for one page, and when the image data is expanded, the rotation processing is performed by black image data. When the image data is detected, the image data at the address of the page memory corresponding to the position when the image data is rotated is made black. Image processing device.
4. A page memory for storing image data expanded by one page, wherein the rotation process is performed by one word for storing the image memory when the image data is compressed. The image processing device according to claim 1, wherein the image processing device is performed by repeatedly reading the data for the number of read times.
5. A page memory for storing image data expanded by one page, wherein the rotation process is performed by one word for storing the image memory when the image data is compressed. -Read the same number of times as the number of read times, and read the image data for the reference line repeatedly for the number of times of one word,
An image according to claim 1, wherein the image data for the first reference line is entirely white.
Processing equipment. [0001]
JP4733095A 1995-03-07 1995-03-07 Image processor Pending JPH08241404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4733095A JPH08241404A (en) 1995-03-07 1995-03-07 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4733095A JPH08241404A (en) 1995-03-07 1995-03-07 Image processor

Publications (1)

Publication Number Publication Date
JPH08241404A true JPH08241404A (en) 1996-09-17

Family

ID=12772228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4733095A Pending JPH08241404A (en) 1995-03-07 1995-03-07 Image processor

Country Status (1)

Country Link
JP (1) JPH08241404A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008257685A (en) * 2007-03-12 2008-10-23 Seiko Epson Corp Image processor, image processing method, and electronic equipment
US8233003B2 (en) 2007-03-12 2012-07-31 Seiko Epson Corporation Image processing device, image processing method, and electronic instrument

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008257685A (en) * 2007-03-12 2008-10-23 Seiko Epson Corp Image processor, image processing method, and electronic equipment
US8233003B2 (en) 2007-03-12 2012-07-31 Seiko Epson Corporation Image processing device, image processing method, and electronic instrument

Similar Documents

Publication Publication Date Title
US5038218A (en) Image processing assembly with conversion and rotation of input image data or predetermined data to match data resolution and orientation
US4124871A (en) Image data resolution change apparatus and process utilizing boundary compression coding of objects
JP2007129741A (en) Image forming method, image combining method, image forming system and image combining system
US4918541A (en) Image processing method and apparatus
EP0570146A1 (en) Full color image output terminal interface
US4942479A (en) Image information processing apparatus
EP1892947B1 (en) Multifunction printer and image processing method
JPH0793559A (en) Method for storage of compressed image of high-resolution computer graphics
US5239388A (en) Image processing system
US20030151759A1 (en) Multifunction system, image processing method, computer program and memory medium
JP3104868B2 (en) Image processing device
JP2006129471A (en) Image processing method and image processing apparatus
JP2006121347A (en) Image processor
US7167263B2 (en) Multifunction peripheral apparatus, external controller for the same, and their control method
US6643415B1 (en) Method and apparatus for rotating image data
JPH08307618A (en) Image recorder
EP0229659B1 (en) Information processing system having decod; write and read means
JPH07105892B2 (en) Data communication device
US5867612A (en) Method and apparatus for the fast scaling of an image
US4644409A (en) Document resolution-adaption method and apparatus
JP4717570B2 (en) Data transfer device, display device, and data transfer method
US5576846A (en) Document processing apparatus
JP3003319B2 (en) Image processing device
US20060215200A1 (en) Printing control system and method
DE3711201A1 (en) Binary data compression and expansion processing device