JPH0390967A - Picture data storage - Google Patents

Picture data storage

Info

Publication number
JPH0390967A
JPH0390967A JP22703389A JP22703389A JPH0390967A JP H0390967 A JPH0390967 A JP H0390967A JP 22703389 A JP22703389 A JP 22703389A JP 22703389 A JP22703389 A JP 22703389A JP H0390967 A JPH0390967 A JP H0390967A
Authority
JP
Japan
Prior art keywords
data
image data
register
stored
image
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
JP22703389A
Other languages
Japanese (ja)
Inventor
Toru Yamada
亨 山田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP22703389A priority Critical patent/JPH0390967A/en
Publication of JPH0390967A publication Critical patent/JPH0390967A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To store a large quantity of picture data with effective use of the storage capacity by storing only a valid part excluding the bland parts of the picture data. CONSTITUTION:A read circuit 25 sends a drive signal to a line sensor 27 of a read part in response to a command of a control part 22. Thus the sensor 27 reads the subject picture data, and this read data is fetched into the part 22 via the circuit 25 and stored in a RAM 24. Then the stored picture data is read out and displayed so that a valid picture part of the obtained picture data is written and stored together with its position information. In this case, the valid picture stored in a position set based on the position information are also displayed. Thus it is possible to effectively use the storage capacity and to store a large quantity of picture data.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、画像データを読取って記憶させ、必要に応
じてこれを光学的表示装置に表示させたり、あるいは印
刷によって表示させたりする画像データ記憶装置に関す
る。
[Detailed Description of the Invention] [Industrial Application Field] This invention relates to image data that is read and stored, and displayed on an optical display device or printed as necessary. Regarding storage devices.

[従来の技術] 一般にパーソナルコンピュータやワードプロセッサ等に
おいて、イメージスキャナを用いて例えば文書などの画
像データを読取り、読取った画像データをインデックス
データを付してメモリや磁気ディスク等の記憶手段に複
数記憶させておき、必要に応じてインデックスデータを
指定することにより任意の画像データを読出して表示あ
るいは印刷出力する画像データ記憶装置が知られている
[Prior Art] Generally, in a personal computer, a word processor, etc., image data such as a document is read using an image scanner, and a plurality of read image data are stored in storage means such as a memory or a magnetic disk with index data attached. An image data storage device is known that reads out arbitrary image data and displays or prints it by specifying index data as necessary.

この種の画像データ記憶装置では、記憶手段の容量に応
じて複数の画像データを記憶できるようになっている。
This type of image data storage device is capable of storing a plurality of pieces of image data depending on the capacity of the storage means.

しかして、上記画像データはデータの多少にかかわらず
空白領域も含めてそのまま記憶されるようになっている
ものであり、例えば読み取ったデータが空白の場合には
、値「0」のビットが記憶され、有効画像、すなわち、
黒字印刷等がなされている場合には値「1」のビットが
記憶されるものである。データを呼出す際には記憶手段
に記憶された「0」及び「1」からなる画像データをそ
のまま呼び出して表示あるいは印刷出力するようになっ
ていた。
However, the above image data is stored as is, including blank areas, regardless of the amount of data. For example, if the read data is blank, a bit with a value of "0" is stored. and the effective image, i.e.
If black characters are printed, a bit of value "1" is stored. When recalling data, the image data consisting of "0" and "1" stored in the storage means is directly recalled and displayed or printed out.

[発明が解決しようとする課題] 上記のように画像データをそのまま記憶してしまうと、
記憶に要する画像のデータ量が多くなり、記憶手段の記
憶容量は限度があるために、限られた枚数骨のデータし
か記憶させることができない。
[Problem to be solved by the invention] If image data is stored as is as described above,
Since the amount of image data required for storage is large and the storage capacity of the storage means is limited, only data for a limited number of bones can be stored.

この発明は上記のような実情に鑑みてなされたもので、
画像データを記憶する記憶手段の容量を有効に利用し、
よりたくさんの画像データを記憶させることが可能な画
像データ記憶装置を提供することを目的とする。
This invention was made in view of the above circumstances,
Effectively utilizes the capacity of the storage means for storing image data,
An object of the present invention is to provide an image data storage device capable of storing more image data.

[課題を解決するための手段及び作用]この発明は、画
像データの読取りを行なう例えばイメージスキャナ等に
よる画像読取手段と、この画像読取手段で得られた画像
データのうち有効画像部分をその位置情報と共に記憶手
段に書込み記憶させるようにし、記憶された画像データ
を読出して表示させる際にはその位置情報に基づく位置
に記憶された有効画像を表示させるようにしたものであ
り、画像データ中の空白部分を除いて有効部分のみを記
憶させるため、記憶容量を有効に利用でき、多数の画像
データを記憶させることができる。なお、上述した表示
の意味は、光学的な表示装置に表示させるのみならず、
印刷等による表示も含むものである。
[Means and effects for solving the problem] The present invention provides an image reading means, for example, an image scanner, which reads image data, and a valid image portion of the image data obtained by the image reading means, and its position information. When the stored image data is read out and displayed, the stored valid image is displayed at a position based on the position information, and the blank space in the image data is Since only the valid parts are stored, the storage capacity can be used effectively and a large amount of image data can be stored. The meaning of the above-mentioned display is not only to be displayed on an optical display device, but also to
This also includes display by printing, etc.

[実施例コ 以下この発明を名刺ファイル装置に適応した場合の一実
施例について図面を参照して説明する。
[Embodiment 1] An embodiment in which the present invention is applied to a business card filing device will be described below with reference to the drawings.

第1図及び第2図はその外観構成を示すもので、11が
本体ケースである。この本体ケース11は、上ケースl
laと下ケースllbとが接続されて一体となり、折り
畳んだ時に手に持てる程度の大きさとなるもので、第1
図はその開いた状態を示すものである。本体ケース11
の上ケースlla内側には、読み取った画像データや後
述するインデックスデータ等を表示するドツトマトリッ
クスによる液晶表示パネル12、電源の0N10FFを
行なう電源キー13.2接点スライドスイッチによる「
登録」モードと「検索」モードとを切換えるためのモー
ド切換スイッチ14、種々の指示を実行させるための実
行キー15が備えられる。また、下ケースllbの内側
には、インデックスデータ等を人力するための文字/数
値キー16が備えられる。さらに、上ケースllaの側
面部には、その一方に名刺の画像データを読取るための
読取り部17が、他方に読取りを指示する読取りスイッ
チ(8が設けられる。読取り部17は、その詳細は説明
しないが、例えば名刺の幅に対応して8〜16ドツト/
ml11の読取り画素を有するラインセンサ、光源、及
び読取移動速度から読取りタイミング信号を生成するエ
ンコーダ等から構成されるもので、第2図に示すように
上ケースIlaと下ケース11bとを折り畳み、読取り
部22を読取り対象である名刺19上面の一端部に当接
して立てた状態で、読取りスイッチ18を押したまま名
刺19上を矢印Aに示す方向に走査することにより名刺
19上に印刷された画像データが読取られることとなる
FIGS. 1 and 2 show its external structure, and numeral 11 is the main body case. This main case 11 is an upper case l.
The lower case lla and the lower case llb are connected and integrated, and the size is large enough to be held in the hand when folded.
The figure shows its open state. Main body case 11
Inside the upper case lla, there is a dot matrix liquid crystal display panel 12 that displays read image data and index data (described later), and a power key 13.2 that uses a contact slide switch to turn the power on and off.
A mode changeover switch 14 for switching between "registration" mode and "search" mode, and an execution key 15 for executing various instructions are provided. Further, the inside of the lower case llb is provided with character/numeric keys 16 for manually inputting index data and the like. Further, on the side surface of the upper case lla, a reading section 17 for reading the image data of the business card is provided on one side, and a reading switch (8) for instructing reading on the other side. However, for example, 8 to 16 dots/corresponding to the width of a business card.
It is composed of a line sensor with 11 reading pixels, a light source, an encoder that generates a reading timing signal from the reading movement speed, etc. As shown in FIG. 2, the upper case Ila and lower case 11b are folded and the reading Printing on the business card 19 is performed by scanning the business card 19 in the direction shown by arrow A while holding down the reading switch 18 while holding the part 22 in contact with one end of the top surface of the business card 19 to be read. The image data will be read.

次に第3図により上記本体ケースli内に設けられる電
子回路の構成について説明する。同図で、電源キー13
、モード切換スイッチ14、実行キー15、文字/数値
キー(6からなるキー人力部21でのキー操作によるキ
ー人力信号はすべてCPUで構成される制御部22に送
られる。制御部22はキー人力部2Iからの信号に従っ
て他の各回路の動作制御を行なうものであり、動作制御
のためのマイクロプロ25に制御指令を、表示制御部2
6に表示データを出力する。読取回路25は、制御部2
2の指令に応じて上記読取り部17のラインセンサ27
に駆動信号を送出し、対象となる画像データを読取らせ
る。ラインセンサ27で読取られた画像データは読取回
路25を介して制御部22に取込まれ、RAM24に記
憶される。上記表示制御部26は、制御部22から送ら
れてきた表示データをデコードして駆動信号を得、この
駆動信号により上記液晶表示パネルi2からなる表示部
28を駆動制御して画像データ等を表示出力させる。
Next, the configuration of the electronic circuit provided in the main body case li will be explained with reference to FIG. In the same figure, power key 13
, a mode changeover switch 14, an execution key 15, and character/numeric keys (6).All key human signals resulting from key operations in the key human power section 21 are sent to a control section 22 composed of a CPU. It controls the operation of other circuits according to signals from the section 2I, and sends control commands to the micro-pro 25 for operation control, and the display control section 2I.
Display data is output to 6. The reading circuit 25 is connected to the control unit 2
2, the line sensor 27 of the reading section 17
A drive signal is sent to the device to read the target image data. Image data read by the line sensor 27 is taken into the control unit 22 via the reading circuit 25 and stored in the RAM 24. The display control section 26 decodes the display data sent from the control section 22 to obtain a drive signal, and uses this drive signal to drive and control the display section 28 consisting of the liquid crystal display panel i2 to display image data, etc. Output.

上記RAM24は、第4図に示すように表示レジスタ2
4a1画像データ記憶エリア24b1インデックスエリ
ア24c及びワークエリア24dから構成される。表示
レジスタ24aは読取った1枚の名刺の画像データの全
ビットマツプに対応した数のビットメモリを少なくとも
有し、表示部28に表示する表示データを記憶するエリ
アであり、画像データ記憶エリア24bは後述するブロ
ック化された有効画像領域の画像データを記憶するエリ
アである。
The RAM 24 has a display register 2 as shown in FIG.
It is composed of 4a1 image data storage area 24b1 index area 24c and work area 24d. The display register 24a has at least a number of bit memories corresponding to the entire bitmap of image data of one read business card, and is an area for storing display data to be displayed on the display unit 28, and the image data storage area 24b will be described later. This is an area for storing image data of a blocked effective image area.

また、インデックスエリア24cは、画像データ記憶エ
リア24bに記憶される画像データに対応した文字/数
値キー16によるインデックスデータを記憶するインデ
ックスデータ記憶部J。と、ブロック化された各有効画
像ブロックのコーナー4点が読み取った全体の画像デー
タのうちのどの位置にあるかを示す位置情報であるとこ
ろの座標データを記憶する複数の座標データ記憶部J1
及びこの座標データ記憶部で指定される画像ブロックが
画像データ記憶エリア24b上のどのアドレス位置に記
憶されているかを記憶する複数のアドレスポインタ部J
2を1組とし、た複数組の領域■。、Il・・・からな
る。さらに、ワークエリア24dは画像データのブロッ
ク化に用いるX。レジスタ、Y0レジスタ、Yルジスタ
、X、レジスタ等からなる。
Furthermore, the index area 24c is an index data storage section J that stores index data based on the character/numeric keys 16 corresponding to the image data stored in the image data storage area 24b. and a plurality of coordinate data storage units J1 for storing coordinate data, which is positional information indicating where the four corner points of each of the divided valid image blocks are located in the entire read image data.
and a plurality of address pointer sections J for storing at which address position on the image data storage area 24b the image block designated by this coordinate data storage section is stored.
2 is one set, and the area of multiple sets ■. , Il... Furthermore, the work area 24d is used for dividing image data into blocks. It consists of registers, Y0 registers, Y registers, X registers, etc.

Y レジスタは上段のyffiレジスタ及び下段のy、
、レジスタの2段構成となっており、同様にXルジスタ
は上段のxルジスタ及び下段のxnレジスタの2段構成
となっている。
The Y registers are the upper yffi register and the lower y,
, and has a two-stage configuration of registers. Similarly, the X register has a two-stage configuration of an x register in the upper stage and an xn register in the lower stage.

次いで上記実施例の動作について説明する。Next, the operation of the above embodiment will be explained.

第5図は制御部22による総合的な動作内容のフローチ
ャートを示すものであり、その当初にはステップAOI
に示すようにモードキー19の操作位置が「登録」 「
検索」のいずれのモード設定位置となっているかを判断
する。
FIG. 5 shows a flowchart of the overall operation contents by the control unit 22, and at the beginning, the step AOI
As shown in the figure, the operating position of the mode key 19 is "Register" and "
"Search" mode setting position is determined.

「登録」モードの位置となっている場合には次にステッ
プAO2に進み、実際に画像データの読取りを行なう。
If it is in the "registration" mode, the process proceeds to step AO2 to actually read the image data.

これは、上記第2図に示すように読取り部17を読取り
対象である名刺19上面に当接し読取りスイッチ18を
押したままの状態で名刺19上を走査するもので、名刺
19の画像データはラインセンサ27によって1ライン
単位で読み取られ、読取回路25を介して順次制御部2
2に送られる。制御部22では、順次送られてくるライ
ン単位の画像データを一旦RA M 24の表示レジス
タ24aに保持すると同峙にこれを表示データとして順
次表示制御部26に送出し、表示部28で表示させる。
As shown in FIG. 2 above, this scans the business card 19 with the reader 17 in contact with the top surface of the business card 19 to be read and the read switch 18 held down, and the image data of the business card 19 is scanned. The line sensor 27 reads each line, and the control unit 2
Sent to 2. In the control section 22, the sequentially sent line-by-line image data is once stored in the display register 24a of the RAM 24, and then sequentially sent as display data to the display control section 26 to be displayed on the display section 28. .

1枚分の名刺24の全画像データを表示レジスタ24a
に保持した後、制御部22はキー人力部2Iの文字/数
値キー1Bによるインデックスデータの人力を待機する
インデックスデータの人力がなされたら、そのインデッ
クスデータも表示レジスタ24aの所定位置すなわち、
上記画像データの記憶領域とは異なる記憶領域に一旦保
持し、表示させる。次にステップAO3での実行キー1
5の操作による登録の確認指示を待機する。実行キー1
5が操作されると、次にステップAO4に進んで、表示
レジスタ24aに記憶されている画像データ中の空白領
域を除いた有効画像領域、すなわち、有効な画像ブロッ
ク部分の座標を検出して画像データ記憶エリア24bに
記憶する。
Display register 24a for all image data of one business card 24
After holding the index data, the control unit 22 waits for input of the index data using the character/numeric keys 1B of the key input unit 2I. When the index data is input manually, the index data is also stored at a predetermined position of the display register 24a, that is,
The image data is temporarily stored in a storage area different from the storage area of the image data, and then displayed. Next, execute key 1 in step AO3
Wait for the registration confirmation instruction from step 5. Execution key 1
5 is operated, the process proceeds to step AO4, where the coordinates of the valid image area excluding the blank area in the image data stored in the display register 24a, that is, the valid image block part are detected and the image is displayed. It is stored in the data storage area 24b.

第6図はそのブロック座標の検出記憶の処理内容のフロ
ーチャートを示すもので、まずステップBOIに示すよ
うに表示レジスタ24aに記憶されている画像データの
ビットマツプにより画像データのある行を検出する。す
なわち、表示レジスタ24aに記憶されている画像デー
タは空白ビットが「0」、黒画素(印刷あり)が「1」
で記憶されている。
FIG. 6 shows a flowchart of the process of detecting and storing block coordinates. First, as shown in step BOI, a line with image data is detected from the bit map of the image data stored in the display register 24a. That is, in the image data stored in the display register 24a, the blank bit is "0" and the black pixel (printed) is "1".
is remembered in

しかして、第12図に示すように表示レジスタ24aの
ビットマツプの横方向の座標をX。+XIx2 +  
” 3 +  ・・、縦方向の座標y。+YI+Y2+
y3.・・・とした場合に、同一のy座標を有する横方
向を行、同一のX座標を有する縦方向を列として、各行
に少なくとも1つの画素データ「1」を有しているか否
かを判断するもので、その検出手段は第7図に示すよう
になる。
As shown in FIG. 12, the horizontal coordinate of the bitmap of the display register 24a is set to X. +XIx2 +
" 3 + ..., vertical coordinate y. + YI + Y2 +
y3. ..., then it is determined whether each row has at least one pixel data "1", with rows in the horizontal direction having the same y-coordinate and columns in the vertical direction having the same X-coordinate. The detection means is shown in FIG.

すなわち、第7図はこのデータ有行検出の処理内容を示
すもので、処理の初めにはステップCOIで初期化とし
て制御部22がRAM24のワークエリア24dの図示
しないXレジスタ及びYレジスタを共に「0」とする。
That is, FIG. 7 shows the processing content of this data presence detection. At the beginning of the process, in step COI, the control unit 22 initializes both the X register and Y register (not shown) in the work area 24d of the RAM 24. 0".

次いでステップCO2でXレジスタを「+1」更新設定
する。続くステップCO3でこのXレジスタの内容に対
応する列位置がビットマツプ上の最終列であるか否か判
断する。ここではXレジスタは「2」であるので判断結
果はNoとなり、次にステップCO4に至ってXレジス
タ、Yレジスタの内容で指示される座標位置に画素デー
タのビットが「1」があるか否か判断する。
Next, in step CO2, the X register is updated and set to "+1". In the following step CO3, it is determined whether the column position corresponding to the contents of this X register is the last column on the bitmap. Here, since the X register is "2", the judgment result is No, and then the process goes to step CO4, where it is determined whether or not the pixel data bit is "1" at the coordinate position specified by the contents of the X register and Y register. to decide.

「1」でない場合は再び上記ステップCO2に戻り、X
レジスタの内容を再度r+IJして再び上記処理を繰返
す。
If it is not "1", return to step CO2 above again, and
The contents of the register are r+IJ again and the above process is repeated again.

ステップCO4で画素データ“1″があると判断される
と、その行には少なくとも1つの画素データ“1°があ
ることとなり、ステップCO4からステップCO5に進
んでその時のYレジスタの内容、すなわち、データのあ
るy座標データをワークエリア24dのY0レジスタに
記憶する。その後、ステップC06でYレジスタの内容
を「+1」更新設定し、Xレジスタをクリアして「0」
とする。ここで、更新設定したYレジスタの内容に対応
する行位置がビットマツプ上の最終行であるか否かをス
テップCO7で判断し、違うと判断された後に、次の行
にデータがあるか否かを検出するために再び上記ステッ
プCO2からの処理を行なう。こうして各行に少なくと
も1つの画素データ″1”があるか否かを判断し、あれ
ばそのy座標データを順次ワークエリア24dのY0レ
ジスタに記憶していく 。
If it is determined in step CO4 that there is pixel data "1", it means that there is at least one pixel data "1°" in that row, and the process proceeds from step CO4 to step CO5 to check the contents of the Y register at that time, that is, The y-coordinate data with data is stored in the Y0 register of the work area 24d.After that, in step C06, the contents of the Y register are updated by "+1", and the X register is cleared and set to "0".
shall be. Here, it is determined in step CO7 whether the row position corresponding to the contents of the updated Y register is the last row on the bitmap, and after it is determined that it is not, it is determined whether there is data in the next row. In order to detect this, the process from step CO2 is performed again. In this way, it is determined whether or not there is at least one pixel data "1" in each row, and if so, the y-coordinate data is sequentially stored in the Y0 register of the work area 24d.

そして、ステップCO7でYレジスタの内容に対応する
行位置がビットマツプ上の最終行であると判断されると
、以上で第7図による表示レジスタ24aのビットマツ
プ上のデータ有行検出を完了したこととなる。
When it is determined in step CO7 that the row position corresponding to the contents of the Y register is the last row on the bitmap, it is considered that the detection of data presence on the bitmap of the display register 24a according to FIG. 7 is completed. Become.

こうして第6図のステップBOIでのデータ有行検出を
終えると、次にステップBQ2に進み、今度は各列に少
なくとも1つの画素データ“1”を有しているか否かを
検出判断する。その検出手段は上記第7図とほぼ同様で
あり、行と列の制御を入替えて行なうようにしたもので
、ここではその詳細な記述は省略するが、少なくとも1
つの画素データ“1“がある列のX座標データを順次ワ
ークエリア24dのX。レジスタに記憶していく。
After completing the data presence detection in step BOI in FIG. 6, the process proceeds to step BQ2, where it is detected and determined whether each column has at least one pixel data "1". The detection means is almost the same as that shown in FIG.
The X coordinate data of the column containing the pixel data "1" is sequentially transferred to the X coordinate data of the work area 24d. Store it in the register.

第9図は、第12図の如きビットマツプの場合にデータ
有行のy座標データを記憶したワークエリア24dのY
。レジスタとデータ有列のX座標データを記憶した同X
。レジスタの記憶状態を例示するものである。このよう
にステップBOL及びBO2で表示レジスタ24aのビ
ットマツプを縦横両方向から走査して得られた座標デー
タにより、ステップBO3に示す有効ブロック座標の検
出処理が行われる。
FIG. 9 shows the Y coordinate data of the work area 24d in which data-bearing y-coordinate data is stored in the case of a bitmap as shown in FIG.
. The same X that stores the X coordinate data of the register and data array
. This is an example of a storage state of a register. Using the coordinate data obtained by scanning the bit map of the display register 24a both vertically and horizontally in steps BOL and BO2, effective block coordinate detection processing shown in step BO3 is performed.

DOIに示す如くワークエリア24dのYルジスタのy
、、lレジスタ、y、lレジスタに、第9図に示した同
ワークエリア24dのY。レジスタに記憶された最初の
行座標データ「y、」を記憶設定する。
As shown in DOI, y of Y register in work area 24d
, , L register, y, Y of the same work area 24d shown in FIG. 9 in the l register. Store and set the first row coordinate data "y," stored in the register.

次のステップDO2でブロック間の距離をカウントする
ためのワークエリア24d内の図示しないGレジスタに
初期値「0」を設定した後、ステップDO3でy。レジ
スタの値を「+1」更新設定して「y4」とし、続くス
テップDO4でその値が表示レジスタ24aのビットマ
ツプ上の最終行であるか否かを判断する。NOと判断さ
れると次にステップDO5に進み、y、、レジスタの値
「y4」と一致する座標データがY。レジスタに記憶さ
れているか否か判断される。ここでは記憶されているた
めに判断結果はYESとなり、続くステップDO6で上
記Gレジスタをクリアして再度上記ステップSO3から
の処理を繰返す。
In the next step DO2, an initial value "0" is set in the G register (not shown) in the work area 24d for counting the distance between blocks, and then y is set in step DO3. The value of the register is updated by "+1" to "y4", and in the following step DO4 it is determined whether the value is the last row on the bitmap of the display register 24a. If the answer is NO, the process proceeds to step DO5, and the coordinate data that matches the register value "y4" is Y. It is determined whether or not it is stored in the register. Here, since it is stored, the determination result is YES, and in the following step DO6, the G register is cleared and the processing from step SO3 is repeated again.

こうしてy。レジスタの値を順次更新設定しながら、同
一ブロック内の最終行アドレスをサーチしていく。y。
Thus y. The last row address within the same block is searched for while sequentially updating the register values. y.

レジスタの値に一致する座標データがY。レジスタに記
憶されていないと判断されると、ステップDO5からス
テップDO7に進み、Gレジスタの内容を「+1」更新
設定する。その後、ステップDO8でGレジスタの内容
が「40」となったか否か判断し、なっていない場合は
再び上記ステップDO3からの処理を繰返す。以後、y
、レジスタの値を順次更新設定しながらデータのない行
の座標の連続数をGカウンタによりカウンタしていく。
The coordinate data that matches the register value is Y. If it is determined that it is not stored in the register, the process proceeds from step DO5 to step DO7, and the contents of the G register are updated and set by "+1". Thereafter, in step DO8, it is determined whether the contents of the G register have become "40" or not, and if not, the processing from step DO3 is repeated again. From now on, y
, while sequentially updating and setting the register values, the G counter counts the number of consecutive coordinates of rows with no data.

Gレジスタは、連続するデータのない行座標をカウント
し、そのカウント値が一定数「40」に達した場合に、
画像ブロックがとぎれ、空白領域になったと認識するた
めのものである。ここで、一定数「40」とは、上記ラ
インセンサ27の分解能が例えば8ドツト/lll11
であったとすれば、5IIl1mに渡って画像のない行
が連続することを示す値である。例えば第15図に示す
名刺画像のrAJと「開」という文字の位置において第
13図に示すようにy座標アドレス「y5□」の行とr
 Y 59Jの行との間にデータのない行r Y 53
J〜r Y saJが連続した場合、その連続数は「6
」となり、「40」に達していないので、空白領域とは
みなされず、同一ブロック内であると判断される。また
、第14図に示すようにy座標アドレスrys□」の行
とrYzoJの行との間にデータのない行r Y 93
J〜r Y 109 Jが連続した場合、その連続数は
「57」であり、「40」を越えているため、Gレジス
タのカウント値が「40」となった時点で空白領域とみ
なされ、y座標アドレスr y s2Jまでの行の画像
ブロックとy座標アドレスr)’++oJからの行の画
像ブロックとは別のブロックであると判断される。
The G register counts the row coordinates with no consecutive data, and when the count value reaches a certain number "40",
This is to recognize that an image block is broken and becomes a blank area. Here, the constant number "40" means that the resolution of the line sensor 27 is, for example, 8 dots/llll11.
If so, this value indicates that there are consecutive rows without images for 5II1m. For example, at the position of rAJ and the character "open" in the business card image shown in FIG. 15, the line with the y coordinate address "y5□" and r
Row with no data between row Y 59J r Y 53
If J~r Y saJ is consecutive, the consecutive number is "6"
'' and does not reach ``40'', it is not considered a blank area and is determined to be within the same block. In addition, as shown in FIG. 14, there is a row r Y 93 where there is no data between the row with the y-coordinate address rys
When J~r Y 109 J is consecutive, the consecutive number is "57" and exceeds "40", so when the count value of the G register reaches "40", it is considered a blank area, It is determined that the image block in the row up to the y-coordinate address ry s2J and the image block in the row from the y-coordinate address r)'++oJ are different blocks.

しかして、Gレジスタのカウント値が「40」であると
判断されると、次にステップDO9てynレジスタの値
がr−40」され、データのある行座標データに戻され
る。その後、Yoレジスタに記憶された次のデータ前行
の座標データがYルジスタのy、、レジスタ、yllレ
ジスタに新たに追加設定され、この追加設定されたy、
レジスタの内容について再び上記ステップDO2からの
処理が繰返し実行される。
When it is determined that the count value of the G register is "40", the value of the yn register is incremented to "r-40" in step DO9, and the data is returned to the row coordinate data. After that, the coordinate data of the previous row of the next data stored in the Yo register is newly added and set to the y, register, and yll register of the Y register, and this additionally set y,
The processing from step DO2 is repeated for the contents of the register.

こうして、ワークエリア24dのYl レジスタに、デ
ータのある行の領域を示す行座標データの組が順次記憶
されていく。第15図及び第16図は名刺19の画像デ
ータを例示するもので、共に破線で示されるブロックの
行の領域を示す行座標データの組が順次Y、レジスタに
記憶されていく。第10図はワークエリア24dのYル
ジスタに記憶された、有効な画像ブロックの行座標の領
域を示すもので、例えば第16図に示すような画像デー
タの、4点Z。−2,をコーナーとする第1番目のブロ
ックに対応して、その行座標の領域「y、」r y 9
2Jが記憶されるものである。
In this way, a set of row coordinate data indicating the area of a row with data is sequentially stored in the Yl register of the work area 24d. 15 and 16 illustrate image data of the business card 19, in which sets of row coordinate data indicating the area of rows of blocks indicated by broken lines are sequentially stored in Y registers. FIG. 10 shows the area of row coordinates of valid image blocks stored in the Y register of the work area 24d, for example, four points Z of image data as shown in FIG. Corresponding to the first block whose corner is −2, the area of its row coordinates “y,” r y 9
2J is stored.

上記ステップD02〜DIOの処理を繰返し実行し、Y
ルジスタに有効な画像ブロックの行座標の領域をすべて
記憶させた後、ステップDO4でy、レジスタの値が最
終行であると判断されると、次にステップDllに進み
、上記で検出された各行領域ry3〜y92」1「y1
10〜Y2+oJ\ r Y 330〜Y42゜」、・
・・における画像データのある列座漂を上述した行座標
の検出と同様の方法でサーチし、それぞれその最小座標
データと最大座標データとをワークエリア24dのXル
ジスタのx7レジスタ及びXルジスタに記憶する。
Repeat steps D02 to DIO above, and Y
After storing all the valid row coordinate areas of the image block in the register, if it is determined in step DO4 that the value of the y register is the last row, the process proceeds to step Dll, and each row detected above is Area ry3 to y92"1"y1
10~Y2+oJ\r Y 330~Y42゜'',・
. . . Search for a certain row and location of image data in the same manner as the row coordinate detection described above, and store the minimum coordinate data and maximum coordinate data in the x7 register and the X register of the X register in the work area 24d, respectively. do.

こうしてワークエリア24dのYルジスタに記憶された
各行領域の座標データとXルジスタに記憶された各列領
域の座標データとを組合わせることによりブロック領域
の座標データが検出可能となるものである。例えば第1
6図の4点Z。〜Z、をコーナーとする第1番目のブロ
ックでは、4点Z。−Z、の座標は各行領域の座標デー
タ「y3」 「y92」と各列領域の座標データ「x2
」rX320JによりZO(y3.X2)  Zl(y
3 +  X320 ) SZ2 0’921  X2
 ) 5Z3(V9□+X3□0)として検出される。
In this way, the coordinate data of the block area can be detected by combining the coordinate data of each row area stored in the Y register of the work area 24d and the coordinate data of each column area stored in the X register. For example, the first
4 points Z in Figure 6. In the first block whose corner is ~Z, there are 4 points Z. The coordinates of -Z are the coordinate data “y3” and “y92” of each row area and the coordinate data “x2” of each column area.
” rX320J allows ZO(y3.X2) Zl(y
3 + X320) SZ2 0'921 X2
) 5Z3 (V9□+X3□0) is detected.

このようにして得られた各ブロックの座標データが、続
くステップDI2でRAM24のインデックスエリア2
4cに記憶される。第11図はその記憶状態を示すもの
で、インデックスエリア24cではそのブロックの4点
を1組とした座標データがブロックの数に対応した粗分
だけ記憶設定され、以上でこの第8図による有効ブロッ
クの座標検出処理を終了すると同時に、第6図のブロッ
ク座標の検出記憶処理を終了する。
The coordinate data of each block obtained in this way is stored in the index area 2 of the RAM 24 in the subsequent step DI2.
4c. FIG. 11 shows the storage state. In the index area 24c, the coordinate data of a set of four points of the block is stored and set in a rough amount corresponding to the number of blocks. At the same time as the block coordinate detection process ends, the block coordinate detection storage process shown in FIG. 6 ends.

上記のようにしてブロック座標の検出記憶処理を終了す
ると、次には第5図でステップAO5に進み、上記有効
ブロックの座標データで規定される領域内の画像データ
のみをRAM24の画像データ記憶エリア24bに記憶
設定すると共にインデックスエリア24cにはアドレス
ポインタが設定される。
When the block coordinate detection and storage process is completed as described above, the process proceeds to step AO5 in FIG. 24b and an address pointer is set in the index area 24c.

次いでステップAO6でキー人力部21の文字/数値キ
ー16によるインデックスデータの入力を行なうと、そ
のインデックスデータもRAM24のインデックスエリ
ア24cのインデックスデータ記憶部Joに記憶設定さ
れる。
Next, in step AO6, when index data is input using the character/numeric keys 16 of the key input section 21, the index data is also stored and set in the index data storage section Jo of the index area 24c of the RAM 24.

以上に示した登録処理により1枚の名刺の画像データが
画像データ記憶エリア24bに記憶され、そのアドレス
ポインタ及び座標データがそのインデックスデータと共
にインデックスエリア24cの画像データ記憶エリア2
4bに記憶され、そのインデックス、アドレスポインタ
座標データが領域II、I2.I3.・・・に記憶され
る。次いでそれら多数の画像データの中から任意の画像
データを検索する場合の処理について示す。
Through the registration process described above, the image data of one business card is stored in the image data storage area 24b, and its address pointer and coordinate data are stored in the image data storage area 2 of the index area 24c along with its index data.
4b, and its index and address pointer coordinate data are stored in areas II, I2. I3. ...is stored in... Next, processing for searching for arbitrary image data from among a large number of image data will be described.

画像データの検索を行なう場合には上記モード切換スイ
ッチL4を「検索」モードに設定した上で、所望する画
像データのインデックスデータを文字/数値キー18に
よりキー人力する。このキー人ツノにより再び上記第5
図の処理が実行されるもので、その当初にステップAO
Iでモードが「検索」モードであると判断され、続くス
テップAO7で人力されたインデックスデータをRAM
24のワークエリア24dに一時保持する。続くステッ
プAO8て実行キー15が操作されるのを待機した後、
インデックスエリア24cの各領域I。l  !+  
’2+ ・・・のインデックスデータ記憶部J。の中か
ら一致するインデックスデータを記憶したものを順に検
索する。
When searching for image data, the mode changeover switch L4 is set to the "search" mode, and the index data of the desired image data is entered manually using the character/numeric keys 18. Due to this key person horn, the fifth above
The process shown in the figure is executed, and at the beginning, step AO
It is determined that the mode is "search" mode at step I, and the manually entered index data is stored in the RAM at step AO7.
It is temporarily held in the work area 24d of No. 24. After waiting for the execution key 15 to be operated in the following step AO8,
Each area I of the index area 24c. l! +
'2+... index data storage section J. Search in order for those that have matching index data stored in them.

そして、ステップAO9で一致したものがあったか否か
を判断するもので、あった場合には次にステップAIO
に進み、そのインデックスデータに対応する有効ブロッ
クの座標データをインデックスエリア24cから読出し
、また、アドレスポインタに従って画像データを画像デ
ータ記憶エリア24bから読出し、座標データに従って
読出させた画像データが表示レジスタ24aの元の位置
となるように、これを表示部28で表示出力させて処理
を終了する。
Then, it is judged whether or not there is a match in step AO9, and if there is, the next step AIO
The coordinate data of the effective block corresponding to the index data is read from the index area 24c, and the image data is read from the image data storage area 24b according to the address pointer, and the image data read according to the coordinate data is stored in the display register 24a. This is displayed on the display unit 28 so as to return to the original position, and the process ends.

また、上記ステップAO9で入力したインデックスデー
タと一致するインデックスデータを有する画像データが
ないと判断された場合は、次にステップA12で一致す
るデータがなかったことを示すエラー表示を表示部28
で行ない、処理を終了する。
If it is determined in step AO9 that there is no image data having index data that matches the input index data, then in step A12 an error message indicating that there is no matching data is displayed on the display section 28.
to complete the process.

なお、上記実施例では画像データとして名刺の画像を読
込んで記憶し、これを表示出力させる例を示したが、名
刺画像に限ることなく、他のいかなる画像であっても同
様の処理により記憶可能なことは言うまでもない。
In addition, in the above embodiment, an example was shown in which a business card image is read and stored as image data, and this is displayed and output, but it is not limited to business card images, and any other image can be stored by similar processing. Needless to say.

また、上記実施例では、表示レジスタ24aのビット内
容をそのまま表示部28で表示させるようにしたが、例
えば、表示部28のドツト表示数を表示レジスタ24の
ビット内容の半分にしておき、表示レジスタ24aの内
容を1行、1列おきに表示させ、表示された内容が読み
にくい場合には、表示レジスタ24aのビット内容全て
を例えば表示切換等により表示させるようにしてもよい
ものである。すなわち、この場合には拡大表示が可能と
なるものである。
Further, in the above embodiment, the bit contents of the display register 24a are displayed as they are on the display section 28, but for example, the number of dots displayed on the display section 28 is set to be half of the bit contents of the display register 24, and the bit contents of the display register 24a are displayed as is. The contents of the display register 24a may be displayed every other row and every other column, and if the displayed contents are difficult to read, the entire bit contents of the display register 24a may be displayed by, for example, display switching. That is, in this case, enlarged display is possible.

また、座標データの検出は、読み取った内容を全てを表
示レジスタ24Hに一旦記憶した後に行ったが、例えば
、ワークエリア24dに一時記憶メモリを設けて検出し
てもよい。
Although the coordinate data was detected after all read contents were temporarily stored in the display register 24H, the coordinate data may be detected by providing a temporary storage memory in the work area 24d, for example.

さらに、上記実施例では位置情報としてx、  yの座
標データを検出記憶するようにしたか、位置情報として
は座標データの形をとらなくてもよいもので、例えば各
ブロックの西欧のアドレスをそのまま記憶しておくだけ
でもよく、また、最初のアドレス及びこのアドレスから
他の3隅まてのビット数を記憶することによっても位置
情報として用いることができるものである。
Furthermore, in the above embodiment, x and y coordinate data is detected and stored as location information, or the location information does not need to be in the form of coordinate data; for example, the Western European address of each block may be used as is. It is sufficient to simply store it, or it can also be used as position information by storing the first address and the number of bits from this address to the other three corners.

また、上記実施例では画像読み取りにラインセンサを用
いたが、全画像データを同時に読み取るドツトマトリッ
クスタイプのフルセンサを用いてもよいことは勿論であ
り、本発明の要旨を逸脱しない範囲で種々変形及び応用
が可能である。
Furthermore, although a line sensor is used for image reading in the above embodiment, it is of course possible to use a dot matrix type full sensor that reads all image data at the same time, and various modifications and variations can be made without departing from the gist of the present invention. Application is possible.

[発明の効果コ 以上詳記した如くこの発明によれば、画像データの読取
りを行なうイメージスキャナ等による画像読取り手段で
得られた画像データ中の有効画像部分を位置情報と共に
記憶手段に書込み記憶させ、記憶された画像データが指
定された際にはその指定画像データ及び位置情報を上記
記憶手段より読出して画像データを位置情報に従って表
示させるようにしたので、画像データ中の空白部分を除
いて有効部分のみを記憶させるため、記憶容量を有効に
利用でき、多数の画像データを記憶させることが可能で
あるばかりか、有効部分のみを記憶させるにもかかわら
ず元の画像が再現できる画像データ記憶装置を提供する
ことができる。
[Effects of the Invention] As described in detail above, according to the present invention, a valid image portion of image data obtained by an image reading means such as an image scanner that reads image data is written and stored in a storage means together with position information. When stored image data is specified, the specified image data and position information are read from the storage means and the image data is displayed according to the position information, so that the image data is valid except for blank areas in the image data. An image data storage device that not only stores only a portion of the image, but can effectively utilize the storage capacity and store a large amount of image data, as well as reproduce the original image even though only the effective portion is stored. can be provided.

【図面の簡単な説明】[Brief explanation of drawings]

図面はこの発明の一実施例を示すものであり、第1図は
外観構成を示す平面図、第2図は画像読込み時の外観構
成を示す側面図、第3図は電子回路の構成を示すブロッ
ク図、第4図は第3図のRAMの領域構成を示す図、第
5図はデータ処理の内容を示すフローチャート、第6図
は第5図のブロック座標の検出処理の内容を示すフロー
チャート、第7図は第6図のデータ前行の検出処理の内
容を示すフローチャート、第8図は第6図の有効ブロッ
クの座標検出の処理内容を示すフローチャート、第9図
乃至第11図はワークエリア及びインデックスエリアで
の記憶状態を例示する図、第12図乃至第14図は読取
った画像データを部分的に示す図、第15図及び第16
図はそれぞれ読取った画像データ中の有効ブロックを示
す図である。 11・・・本体ケース、lla・・・上ケース、11b
・・・下ケース、12・・・液晶表示パネル、13・・
・電源キー 14・・・モード切換スイッチ、15・・
・実行キー 16・・・文字/数値キー、17・・・読
取り部、18・・・読取りスイッチ、19・・・名刺、
2ト・・キー人力部、22・・・制御部、23・・・R
OM 、 24−= RA M 、 24a−−−表示
レジスタ、24b・・・画像データ記憶エリア、24c
・・・インデックスエリア、24d・・・ワークエリア
、25・・・読取回路、26・・・表示制御部、27・
・・ラインセンサ、28・・・表示部。
The drawings show one embodiment of the present invention; FIG. 1 is a plan view showing the external configuration, FIG. 2 is a side view showing the external configuration when reading an image, and FIG. 3 is a diagram showing the configuration of an electronic circuit. A block diagram, FIG. 4 is a diagram showing the area configuration of the RAM in FIG. 3, FIG. 5 is a flowchart showing the contents of data processing, and FIG. 6 is a flowchart showing the contents of the block coordinate detection process in FIG. FIG. 7 is a flowchart showing the process of detecting the previous row of data in FIG. 6, FIG. 8 is a flowchart showing the process of detecting the coordinates of the effective block in FIG. 6, and FIGS. 9 to 11 are the work area FIGS. 12 to 14 are diagrams partially showing read image data, and FIGS. 15 and 16 are diagrams illustrating the storage state in the index area.
Each figure shows valid blocks in read image data. 11...Main case, lla...Upper case, 11b
...Lower case, 12...LCD display panel, 13...
・Power key 14...Mode selector switch, 15...
・Execution key 16...Character/numeric key, 17...Reading section, 18...Reading switch, 19...Business card,
2... Key human power section, 22... Control section, 23... R
OM, 24-=RAM, 24a---display register, 24b...image data storage area, 24c
... Index area, 24d... Work area, 25... Reading circuit, 26... Display control section, 27.
...Line sensor, 28...Display section.

Claims (1)

【特許請求の範囲】 画像データの読取りを行なう画像読取手段と、この画像
読取手段で得られた画像データ中の有効画像データ部分
の位置情報を得る位置情報検出手段と、 前記有効画像データ及び前記位置情報を記憶する画像デ
ータ記憶手段と、 この画像データ記憶手段に記憶された有効画像データを
前記位置情報に従った位置に表示させる表示制御手段と を具備したことを特徴とする画像データ記憶装置。
[Scope of Claims] Image reading means for reading image data; position information detection means for obtaining position information of a valid image data portion in the image data obtained by the image reading means; An image data storage device comprising an image data storage means for storing position information, and a display control means for displaying valid image data stored in the image data storage means at a position according to the position information. .
JP22703389A 1989-09-01 1989-09-01 Picture data storage Pending JPH0390967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22703389A JPH0390967A (en) 1989-09-01 1989-09-01 Picture data storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22703389A JPH0390967A (en) 1989-09-01 1989-09-01 Picture data storage

Publications (1)

Publication Number Publication Date
JPH0390967A true JPH0390967A (en) 1991-04-16

Family

ID=16854472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22703389A Pending JPH0390967A (en) 1989-09-01 1989-09-01 Picture data storage

Country Status (1)

Country Link
JP (1) JPH0390967A (en)

Similar Documents

Publication Publication Date Title
KR930009159B1 (en) Flat display system sinchronizing input
JP3485438B2 (en) Electronic calculator with graph display function
JP3127966B2 (en) Character input device and method
JPH0390967A (en) Picture data storage
JPS644189B2 (en)
JP2526043Y2 (en) Image data storage device
JP2995764B2 (en) Image storage device
JP2833061B2 (en) Image data storage device
JP2995765B2 (en) Image storage device
JP2579233Y2 (en) Image data recording device
JPH04127310A (en) Character input system
JP2579232Y2 (en) Image data reading device
JP2589810Y2 (en) Image data storage device
JP2562558Y2 (en) Image display control device
JP2526044Y2 (en) Image data processing device
JP2958780B2 (en) Image data storage device
JPS6139677B2 (en)
JPH04290176A (en) Image accumulating device and image processing device provided therewith
JPH0363720A (en) Input display device
JP2560357Y2 (en) Image data storage device
KR930005809B1 (en) Display system for compact electronic apparatus
JPH05113842A (en) Touch panel input device
JPS63172572A (en) Image filing device
JPH0550013B2 (en)
JPH04354069A (en) Picture processor