JPS59133681A - Picture editing device - Google Patents
Picture editing deviceInfo
- Publication number
- JPS59133681A JPS59133681A JP58005932A JP593283A JPS59133681A JP S59133681 A JPS59133681 A JP S59133681A JP 58005932 A JP58005932 A JP 58005932A JP 593283 A JP593283 A JP 593283A JP S59133681 A JPS59133681 A JP S59133681A
- Authority
- JP
- Japan
- Prior art keywords
- original
- image
- input
- document
- section
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 abstract description 8
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Landscapes
- Image Input (AREA)
- Image Processing (AREA)
Abstract
Description
【発明の詳細な説明】
〔利用分野〕
本発明は、帳票等の原稿が上下反対に画像編集装置に入
力されても、所定の画像処理又は編集が可能であるよう
にした画像編集装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Application] The present invention relates to an image editing device that is capable of performing predetermined image processing or editing even if a document such as a form is inputted into the image editing device upside down.
従来、帳票等の原稿内の画像をディジタル的にサンプリ
ングし、このサンプリングされた画像に各種の処理及び
編集を行なう画像編集装置に於ては、画像入力部は、原
稿を所定の方向に向けて入力するように定められている
。Conventionally, in an image editing device that digitally samples an image in a document such as a form and performs various processing and editing on the sampled image, an image input section is used to orient the document in a predetermined direction. required to be entered.
・例えば、第1図(a)に示されているような方向に原
稿1を向けて画像入力部に入れれば、画像領域の抽出が
正しく行なわれるようになっている。これを、第1図(
b)に示されているように、逆の方向に原稿1を向けて
画像入力部に入力すると、正しい画像領域の抽出が行な
われず、このため画像編集又は画像処理も正しく行なわ
れない。- For example, if the document 1 is placed in the image input section with the document 1 facing in the direction shown in FIG. 1(a), the image area will be correctly extracted. This is shown in Figure 1 (
As shown in b), if the original 1 is inputted into the image input unit with the document 1 facing in the opposite direction, the correct image area will not be extracted, and therefore the image editing or image processing will not be performed correctly.
以上のように、従来の画像編集装置においては、帳票等
の原稿を正しい方向に向けて画像入力部に入れないと、
正しい画像編集又は画像処理が行なわれないという欠点
があった。As mentioned above, in conventional image editing devices, documents such as forms must be input into the image input section with the correct orientation.
There was a drawback that correct image editing or image processing was not performed.
C目 的〕
この発明の目的は、前記した従来技術の欠点を除去し、
原稿の入力方向が上下逆であっても、原稿のデータが正
しく入力されるようにすることにある。C. Purpose] The purpose of the present invention is to eliminate the drawbacks of the prior art described above,
To enable data on a document to be input correctly even if the input direction of the document is upside down.
本発明の4′4?徴は、原稿内の画像をディジタル的に
サンプリングして得られる画像データ(こ各種の処理又
は編集を行なう画像編集装置に於いて、原稿内に記載さ
れたマークを認識し、その入力された原稿の向きを識別
して、上記の入力された原稿が反対向きでも正常に画像
処理又はlll1I像編集が行なわれるようにした点に
ある。4'4 of the present invention? The mark is image data obtained by digitally sampling the image in the manuscript (an image editing device that performs various types of processing or editing recognizes the mark written in the manuscript and uses the input manuscript The present invention is configured to identify the orientation of the image so that image processing or image editing can be performed normally even if the input document is oriented in the opposite direction.
以下に、本発明を実施例によって説明する。先ず、本実
施例に用いられる帳票等の原稿(こついて説明する。入
力部に入力される原稿2は、第2図に示されているよう
に、原稿2の左上方6右下方の部分に原稿2の向きを示
すマーク3と4が記載されている。このマーク3と4は
、それぞれ、1組の太い線と細い線から構成されている
。このため、第2図のように、原稿が正常な方向から入
力されると、マーク3および4は、太い線、細い線のI
Uζ読み出される。−カ、原稿が逆方向から入力される
と、第3図から明らかなように、細い線、太い線の順に
なる。したがって、マーク3と4の読み出された結果を
検査することにより、原稿が正方向から入力されたか、
逆方向から入力されたかがわかる。The present invention will be explained below by way of examples. First, a document such as a form used in this embodiment (I will explain the details.The document 2 input to the input section is placed in the upper left 6 lower right portion of the document 2, as shown in FIG. Marks 3 and 4 are written to indicate the orientation of the original 2. These marks 3 and 4 each consist of a set of thick lines and thin lines.Therefore, as shown in FIG. When input from the normal direction, marks 3 and 4 are
Uζ is read out. - F. When a document is input from the opposite direction, as is clear from FIG. 3, the lines become thinner and then thicker. Therefore, by checking the read results of marks 3 and 4, it is possible to determine whether the original was input from the forward direction.
You can see if input was made from the opposite direction.
次に本発明の一実施例の構成を第4図で説明する。図に
おいて、1oは原稿画像をディジタル的にサンプリング
して画素の時系列データとする入力部、11は原稿に記
載されている前記マークを検出するマーク検出部、12
は原稿画像を記憶する少なくとも原稿1頁分の容量を有
する画像メモリ部、13は編集処理された画像を出力す
る出力部、および14は上記各部分を制御すると共に画
像の編集も行なう処理制御部である。Next, the configuration of an embodiment of the present invention will be explained with reference to FIG. In the figure, 1o is an input unit that digitally samples the original image to generate pixel time series data, 11 is a mark detection unit that detects the mark written on the original, and 12
1 is an image memory unit having a capacity for at least one page of the original document for storing the original image; 13 is an output unit for outputting the edited image; and 14 is a processing control unit that controls each of the above parts and also edits the image. It is.
次に、上記した構成を有する本実施例の動作を、第5図
のフローチャートを参照して説明する。Next, the operation of this embodiment having the above-described configuration will be explained with reference to the flowchart shown in FIG.
ステップS1・・・先ず、第2図に示されているような
、原稿2の始めと終シの部分に原稿の向きを示すマーク
が付された原稿2が入力一部10に入力される。これに
よシサンプリングされた時系列の画像データはマーク検
出部11に導かれる。Step S1: First, a document 2 with marks indicating the direction of the document at the beginning and end of the document 2 as shown in FIG. 2 is input into the input section 10. The time-series image data sampled thereby is guided to the mark detection section 11.
ステップ$2・・・マークの有無が検査される。そして
、マークがなければエラーになる。マークがあると次の
ステップS3に進む。Step $2...The presence or absence of a mark is checked. And if there is no mark, an error will occur. If there is a mark, the process advances to the next step S3.
ステップS3・・・読まれた最初のマークが太いか否か
の判断がなされる。太ければ、ステップS4に進み、細
ければステップs5に進む。Step S3: It is determined whether the first mark read is thick or not. If it is thick, the process proceeds to step S4, and if it is thin, the process proceeds to step s5.
ステップS4・・・次のマークが細いか否かの判断がな
され、ノーであればエラーになる。イエスであれば次の
ステップS6に進む。Step S4... It is determined whether the next mark is thin or not, and if no, an error occurs. If yes, proceed to the next step S6.
ステップS5・・・次のマークが太いか否かの判断がな
され、ノーであればエラーになる。−力、イエスであれ
ば、ステップSllへ進む。Step S5: It is determined whether the next mark is thick or not, and if no, an error occurs. - power, if yes, proceed to step Sll.
ステップS6・・・原稿は正常方向に向いているので、
画像メモリ部12にある画像メモリカウンタを最小値に
初期設定する。Step S6...Since the original is facing in the normal direction,
The image memory counter in the image memory section 12 is initialized to the minimum value.
ステップS7・・・入力部10よシ原稿画像の読込みが
行なわれる。Step S7: The input unit 10 reads the original image.
ステップS8・・・画像メモリ部12の最小の番地に、
画像データが格納される。Step S8... At the smallest address of the image memory section 12,
Image data is stored.
ステップS9・・・画像メモリカウンタに1をプラスす
る。Step S9...Add 1 to the image memory counter.
ステップS10・・・原稿1負分の容量をもつ画像メモ
リに全部のデータが入ったか否かの判断がなされる。ノ
ーであれば、ステップS7へ戻る。そして、ステップS
IOでイエスになるまで、ステップ87〜ステツプS9
が繰シ返される。これによって、読取られた画像データ
が、画像メモリの小さな番地から大きな番地に向けて順
次格納される。Step S10: It is determined whether all the data has been stored in the image memory, which has a capacity equal to the negative value of one document. If no, the process returns to step S7. And step S
Step 87 to step S9 until IO becomes YES
is repeated. As a result, the read image data is stored sequentially from the smallest address to the largest address in the image memory.
そしてステップ810でイエスになったら、終了する。If the result in step 810 is YES, the process ends.
ステップSll・・・ステップS5でイエスになると、
原稿は反対方向に入力されたことになるので、画像メモ
リ部12にある画像メモリカウンタは最大値に初期設定
される。Step Sll...If the answer is yes in step S5,
Since the original is input in the opposite direction, the image memory counter in the image memory section 12 is initialized to the maximum value.
ステップ812・・・入力部10より原稿画像の読込み
が行なわれる。Step 812: A document image is read from the input unit 10.
ステップ813・・・画像メモリ部12の最大の番地に
画像データが格納される。Step 813: Image data is stored at the maximum address of the image memory section 12.
ステップ814・・・画像メモリカウンタから1が減じ
られる。Step 814: 1 is subtracted from the image memory counter.
ステップ815・・・画像データの全部が画像メモリに
全部格納されたか否かの判断がなされる。Step 815: It is determined whether all of the image data has been stored in the image memory.
ノーであれば、ステップS 12に戻る。If no, the process returns to step S12.
そして、ステップS15でイエスになるまで1.ステッ
プ812〜ステツプS14 までの手順が繰シ返される
。これによって、読取られた画像データが、画像メモリ
の大きな番地から小さな番地に向けて順次格納される。1 until the answer is YES in step S15. The procedure from step 812 to step S14 is repeated. As a result, the read image data is sequentially stored in the image memory from large addresses to small addresses.
ステップS 15でイエスになると、入力部10よυの
画像の読み込みは終了する。If the answer is YES in step S15, the reading of the image υ by the input unit 10 ends.
以上の説明から明らかなように、本実施例によれば、画
像メモリ部に格納される画像データは、たとえ原稿が逆
方向に置かれても正常な方向に原稿が置かれた時に読み
込まれる状態と同じことになる。また、もし原稿が裏返
えしで入力された場合には、所定の位置に所定のマーク
が存在しないので、操作者に原稿が、異常な状態で置か
れていることを知らせることも可能である。As is clear from the above description, according to this embodiment, the image data stored in the image memory section is in a state where it is read when the original is placed in the normal direction even if the original is placed in the opposite direction. The same thing will happen. Furthermore, if the document is input upside down, there will be no predetermined mark at the predetermined position, so it is possible to notify the operator that the document is placed in an abnormal state. .
画像メモリ部12への書き込みが終ると、処理制御部1
4は上記のようにして入力された画像データに対して所
定の画像編集又は画像処理が行なわれる。その後、必要
であれば、出力部13よシ、その結果がプリントされる
。When the writing to the image memory section 12 is completed, the processing control section 1
4, predetermined image editing or image processing is performed on the image data input as described above. Thereafter, if necessary, the output section 13 prints the results.
本発明は上記の実施例に一限定されず、以下のような変
形も可能である。The present invention is not limited to the above embodiment, and the following modifications are also possible.
(1) 使われるマークに関しては、どんなものでも
よく、要は原稿の方向が識別できるようなものであれば
よい。(1) Any mark may be used, as long as it can identify the direction of the document.
(2)上記の実施例に於いては原稿を入力する時にマー
クを検出していたが、原稿画像の向きに関係なく画像メ
モリ部に一員分を一旦読込んだ後で、画像メモリ部から
マーク検出部に画像データ又は前記マークを送シ原稿の
向きを検出してもよい。そして原稿の向きが反対である
なら処理制御部は画像メモリ内の画像データの入れ換え
を行ない正常方向のデータ並びとすることができる。(2) In the above embodiment, the marks were detected when inputting the original, but after reading one part of the original image into the image memory section, regardless of the orientation of the original image, the mark is detected from the image memory section. The orientation of the original may be detected by sending the image data or the mark to the detection unit. If the orientation of the document is reversed, the processing control section can rearrange the image data in the image memory to arrange the data in the normal direction.
(3)上記(2)の変形として、原稿の向きが反対であ
る時、画像メモリ内の画像データの入れ換えは行なわず
そのままにして、画像処理又は画像編集を行なうに必要
なパラメータ類の変換を行なえば、正常方向の原稿の場
合と等価な画像処理又は編集を行なうことが可能である
。(3) As a modification of (2) above, when the orientation of the original is reversed, the image data in the image memory is not replaced, but the parameters necessary for image processing or image editing are converted. If this is done, it is possible to perform image processing or editing equivalent to that for a document in the normal orientation.
〔効 果〕
以」二のように、本発明によれば、画像絢集又は処理装
置イに於いて、入力される帳票類の原稿の特定の領域に
原稿の向きを示すマークが記載されているので、原稿が
反対向きに入力されても正常な編集又は処理を行なうこ
とができる。[Effects] As described in Section 2 below, according to the present invention, in the image collection or processing device A, a mark indicating the orientation of the document is written in a specific area of the document of the input form. Therefore, even if the original is input in the opposite direction, normal editing or processing can be performed.
第1図は従来の原稿の一例を示す図、第2図および第3
図は本発明の一実施例に使用される原稿を示す図、第4
図は本発明の一実施例のブロック図、第5図は本発明の
一実施例のフローチャートを示す。
2・・・原稿、3,4・・・マーク、 10・・・入力
部、11 ・マーク検出部、 12・・・画像メモリ
部、13 ・・・出力部、 14・・・処理制御部代理
人弁理士平木道人
外1名Figure 1 shows an example of a conventional manuscript, Figures 2 and 3
Figure 4 shows a manuscript used in an embodiment of the present invention.
The figure shows a block diagram of an embodiment of the invention, and FIG. 5 shows a flowchart of an embodiment of the invention. 2... Original, 3, 4... Mark, 10... Input section, 11 - Mark detection section, 12... Image memory section, 13... Output section, 14... Processing control section substitute 1 non-individual patent attorney, Michi Hiraki
Claims (1)
列データとして入力する入力部、入力された原稿画像デ
ータを記憶する画像メモリ部、画像の編集処理を行う処
理制御部および編集処理された画像を出力する出力部を
有する画像編集装置において、原稿に付された原稿方向
判別用のマークを検出するマーク検出部を具備したこと
を特徴きする画像編集装置。(1) An input section that converts a manuscript image into an electrical digital quantity and inputs it as time series data, an image memory section that stores the input manuscript image data, a processing control section that performs image editing processing, and a processing control section that performs image editing processing. What is claimed is: 1. An image editing device having an output section for outputting a document image, characterized in that the image editing device includes a mark detection section for detecting a mark attached to a document for determining document orientation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58005932A JPS59133681A (en) | 1983-01-19 | 1983-01-19 | Picture editing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58005932A JPS59133681A (en) | 1983-01-19 | 1983-01-19 | Picture editing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS59133681A true JPS59133681A (en) | 1984-08-01 |
Family
ID=11624664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58005932A Pending JPS59133681A (en) | 1983-01-19 | 1983-01-19 | Picture editing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59133681A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6177974A (en) * | 1984-09-25 | 1986-04-21 | Canon Inc | Document picture processor |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5667483A (en) * | 1979-11-08 | 1981-06-06 | Toshiba Corp | Detection system for original supply direction |
-
1983
- 1983-01-19 JP JP58005932A patent/JPS59133681A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5667483A (en) * | 1979-11-08 | 1981-06-06 | Toshiba Corp | Detection system for original supply direction |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6177974A (en) * | 1984-09-25 | 1986-04-21 | Canon Inc | Document picture processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3086151B2 (en) | Information processing device with two-dimensional barcode processing function | |
US5412485A (en) | Image processing apparatus capable of processing images on both side original | |
JPS59133681A (en) | Picture editing device | |
JPS62227260A (en) | Picture processing system | |
US4839747A (en) | Image processing method and apparatus | |
JP2876073B2 (en) | Image storage method for image file device | |
JP2666931B2 (en) | Optical character reader | |
JP2720433B2 (en) | Image data storage device | |
JP3354676B2 (en) | Electronic file device | |
JP2515290B2 (en) | Image processing mode storage device | |
JPH02257762A (en) | Document file method in digital copying machine | |
JPS60230757A (en) | Picture checking system | |
JPS62135968A (en) | Image filing system | |
JPS61224558A (en) | Picture processor | |
JPH04318754A (en) | Communication function check method in picture data recorder | |
JPS634371A (en) | Image processing method | |
JPS62137677A (en) | Mark reader | |
JPH0589219A (en) | Image recorder | |
JPH05143598A (en) | Name output system for slips | |
JPS61224557A (en) | Picture processor | |
JPS6369374A (en) | Facsimile equipment | |
JPH05122472A (en) | Image processing device | |
JPS60121879A (en) | Facsimile device | |
JPH05342267A (en) | Automatic grocery/index preparation system in document processing system | |
JPS6232759A (en) | Image processor |