JPH06168323A - Image data reducing display device - Google Patents

Image data reducing display device

Info

Publication number
JPH06168323A
JPH06168323A JP4341362A JP34136292A JPH06168323A JP H06168323 A JPH06168323 A JP H06168323A JP 4341362 A JP4341362 A JP 4341362A JP 34136292 A JP34136292 A JP 34136292A JP H06168323 A JPH06168323 A JP H06168323A
Authority
JP
Japan
Prior art keywords
line
image
image data
data
storage device
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
JP4341362A
Other languages
Japanese (ja)
Inventor
Tatsumi Tokumura
龍省 徳村
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4341362A priority Critical patent/JPH06168323A/en
Publication of JPH06168323A publication Critical patent/JPH06168323A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To simplify display processing in an image data reducing display device capable of simultaneously displaying plural reduced image on the same screen and enabling a retriever to easily specify an image. CONSTITUTION:The figure shows a case that an image having 8 lines is displayed by a 1/2 reduction factor. In the case of storing original image data shown in (a) in a storage device, the line data of line number 0 are stored like (b) at first, and then line number 4 to be the intermediate position of the image and line number 2 to be an intermediate position between the stored line 0 and line 4 are successively stored. In the case of displaying an image, the data of a line number corresponding to a specified reduction rate are successively read out from the storage device in each line and picture elements corresponding to the reduction rate are thinned as in (c). The thinned line data are displayed on the positions in the original order of line numbers as shown in (d). Since data are processed in each line, the processing can be simplified.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、磁気ディスク等の記憶
装置に格納された画像データを、縮小して画面に表示で
きる画像データ縮小表示装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data reduction display device capable of reducing image data stored in a storage device such as a magnetic disk and displaying it on a screen.

【0002】[0002]

【従来の技術】画像データ縮小表示装置の例としては、
特定の画像を検索する画像データベースシステムにおい
て、図7に示すように、画像を縮小して複数個の画像を
同時に画面表示することで検索者が容易に画像を指定で
きるようにしたものがある。また、画像を縮小して表示
する技術としては、従来、図8に示すようなものがあ
る。この従来技術においては、画像データを同じ形状,
同じ大きさの複数個(図8では1536個)のブロック
0,1,・・・に分割し、さらに、それぞれのブロック
を所定の画素G0 (G0 は1個の画素より成るグルー
プ)を囲む複数個(図8では16個)の帯状のグループ
0,1,・・・に分割する。そして、この画像データを
記憶装置に格納する際に、図9に示すように、全ブロッ
クについて同じグループのものをひとまとめにして直列
なデータフォーマットを形成し、そのフォーマットで記
憶装置に格納する。
2. Description of the Related Art As an example of a reduced image data display device,
In some image database systems for searching for a specific image, as shown in FIG. 7, a searcher can easily specify an image by reducing the image and displaying a plurality of images on the screen at the same time. Further, as a technique for reducing and displaying an image, there is conventionally a technique as shown in FIG. In this conventional technique, image data having the same shape,
It is divided into a plurality of blocks (1536 in FIG. 8) of the same size B 0, B 1, ... And each block is further divided into a predetermined pixel G 0 (G 0 is a group of one pixel). ) Are divided into a plurality (16 in FIG. 8) of band-shaped groups G 0, G 1 , . Then, when this image data is stored in the storage device, as shown in FIG. 9, all blocks of the same group are grouped together to form a serial data format, and the serial data format is stored in the storage device.

【0003】記憶装置から画像データを読み出して表示
する際には、縮小率に応じた範囲までのグループを、グ
ループG0 から順に記憶装置から読み出し、VRAMに
展開して表示させる。例えば、図8,図9に示す例にお
いて、面積で1/16に縮小した縮小画像を表示させる
場合は、グループG0 〜G3 までの各ブロックの画素デ
ータを読み出して表示させる。すなわち、各ブロックに
おける16×16の画素の内、左上隅の16画素のみを
抽出し、他の画素は間引いて表示させる。従来技術では
このようにして、記憶装置に格納した画像データの縮小
画像を表示させるようにしていた。
When the image data is read from the storage device and displayed, groups up to a range corresponding to the reduction ratio are read from the storage device in order from the group G 0 and expanded and displayed in the VRAM. For example, in the example shown in FIGS. 8 and 9, when displaying a reduced image reduced in size to 1/16, the pixel data of each block of groups G 0 to G 3 is read and displayed. That is, of the 16 × 16 pixels in each block, only the 16 pixels in the upper left corner are extracted and the other pixels are thinned out and displayed. In the conventional technique, the reduced image of the image data stored in the storage device is displayed in this manner.

【0004】なお、このような画像データ縮小表示装置
に関連する従来の文献としては、例えば、特開平2−1
04071号公報がある。
Incidentally, as a conventional document relating to such an image data reduction display device, for example, Japanese Patent Laid-Open No. 2-1 is used.
There is a 04071 publication.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前記し
た従来の技術では、画像データを画素単位で処理するた
め、VRAMに展開する画素の位置を画素単位で求めな
ければならず、処理が複雑になって処理速度が遅くなる
という問題点があった。その上、処理する原画像のサイ
ズがブロックサイズの整数倍でない場合は、画像の端部
にはみ出し部分が生じてしまい、その部分にある画素は
特殊処理をしなければならなくなり、処理がさらに複雑
になるという問題点もあった。本発明は、以上のような
問題点を解決することを課題とするものである。
However, in the above-mentioned conventional technique, since the image data is processed in pixel units, the positions of pixels to be expanded in the VRAM must be obtained in pixel units, which complicates the processing. Therefore, there is a problem that the processing speed becomes slow. In addition, if the size of the original image to be processed is not an integral multiple of the block size, there will be a protruding portion at the edge of the image, and the pixels at that portion will have to undergo special processing, making the processing more complicated. There was also a problem that became. An object of the present invention is to solve the above problems.

【0006】[0006]

【課題を解決するための手段】前記課題を解決するた
め、本発明の画像データ縮小表示装置では、次式、 a0 =0 ai =[2×(i−2k-1 )+1]×N/2k ただし、 Nは、N=2n の数で、画像の総ライン数以上の直近の
数 iは、2k-1 ≦i<2k (k=1〜n)の範囲の整数 で得られるライン番号順に、画像データをライン毎に記
憶装置に格納する画像データ格納手段と、上記記憶装置
から画像データを、指定された縮小率に応じたライン数
のデータをライン毎に順次読み出して、上記縮小率に応
じた画素の間引きを行い、上式で得られるライン番号に
上記縮小率を掛けて得られるライン番号位置に表示する
画像データ表示手段とを具えることとした。
In order to solve the above-mentioned problems, in the image data reduction display device of the present invention, the following equation: a 0 = 0 a i = [2 × (i−2 k−1 ) +1] × N / 2 k where N is the number N = 2 n , and the most recent number equal to or larger than the total number of lines of the image i is an integer in the range of 2 k-1 ≦ i <2 k (k = 1 to n) The image data storage means for storing the image data line by line in the storage device in the order of the line numbers obtained in step 1, and the image data from the storage device are sequentially read out line by line in accordance with the designated reduction ratio. Then, the image data display means is provided for thinning pixels according to the reduction ratio and displaying the line number obtained by the above formula at the line number position obtained by multiplying the reduction ratio.

【0007】[0007]

【作 用】画像データを記憶装置に格納するときは、
上式により得られるライン番号順にラインデータを格納
し、表示するときは、記憶装置から画像データを、指定
された縮小率に応じたライン数のデータをライン毎に順
次読み出して、縮小率に応じた画素の間引きを行いなが
ら、上式により得られるライン番号に縮小率を掛けて得
られるライン番号位置にそれを表示する。そのため、基
本的にライン単位の処理になり、表示する位置はライン
先頭の1画素分のみを求めればよいので、全て画素毎に
処理をする従来技術より、処理が単純になる。また、画
像の総ライン数が丁度2n でない場合でも、上式で得ら
れるライン番号が画像の総ライン数より大のときは、ラ
インデータの格納及び表示を行わないという簡単な判断
により処理することができるので、画像のサイズによっ
て処理が特に複雑になるということもない。
[Operation] When storing image data in a storage device,
When the line data is stored and displayed in the order of the line numbers obtained by the above equation, the image data is read out from the storage device for each line sequentially according to the specified reduction ratio, and the line data is read according to the reduction ratio. While thinning out the pixels, the line number obtained by the above equation is multiplied by the reduction ratio and displayed at the line number position obtained. Therefore, the processing is basically performed in units of lines, and since the display position only needs to obtain one pixel at the beginning of the line, the processing becomes simpler than the conventional technique in which all the processing is performed for each pixel. Even if the total number of lines of the image is not exactly 2 n , if the line number obtained by the above equation is larger than the total number of lines of the image, the line data is not stored and displayed. Therefore, the processing does not become particularly complicated depending on the size of the image.

【0008】[0008]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、本発明の画像データ縮小表示装置
の概要を示すブロック図である。図1において、1はC
PU(中央処理装置)及び各種プログラムを格納したメ
モリ等より成る制御装置、1−1は画像データ格納手
段、1−2は画像データ表示手段、2はキーボード、3
はイメージスキャナ等の画像入力装置、4は磁気ディス
ク,光磁気ディスク等の記憶装置、5はCRT等の表示
装置、6は表示画像をイメージデータとして展開するV
RAMである。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an outline of an image data reduction display device of the present invention. In FIG. 1, 1 is C
A control device including a PU (Central Processing Unit) and a memory storing various programs, 1-1 is an image data storage unit, 1-2 is an image data display unit, 2 is a keyboard, 3
Is an image input device such as an image scanner, 4 is a storage device such as a magnetic disk or a magneto-optical disk, 5 is a display device such as a CRT, and 6 is a V for developing a display image as image data.
RAM.

【0009】図2は、本発明における記憶装置の内容を
示す図である。図2において、4aは画像データを特定
するためのインデックス情報、4bは各画像データ毎の
インデックス情報、4cは記憶装置4の画像データ記憶
エリアに格納された1つの画像データ、4dは画像デー
タに付加されたヘッダである。
FIG. 2 is a diagram showing the contents of the storage device according to the present invention. In FIG. 2, 4a is index information for specifying image data, 4b is index information for each image data, 4c is one image data stored in the image data storage area of the storage device 4, and 4d is image data. It is an added header.

【0010】記憶装置4に画像データを追加する場合
は、インデックス情報4a内の画像データ総数をインク
リメントし、当該画像の画像名,データ格納位置情報等
をインデックス情報4aに追加する。そして、記憶装置
4内のデータ格納位置情報が示す位置に画像の幅,ライ
ン数,後述する2n のライン数等を持つヘッダを付加し
て画像データを格納する。なお、各画像データ毎のイン
デックス情報4bとしては、画像名,データ格納位置情
報の他にリンク情報等を入れることもできる。また、ヘ
ッダ4dとしては、画像の幅,ライン数等の他にカラー
情報等を入れることもできる。
When adding image data to the storage device 4, the total number of image data in the index information 4a is incremented, and the image name of the image, data storage position information and the like are added to the index information 4a. Then, the image data is stored by adding a header having the width of the image, the number of lines, the number of lines of 2 n described later, and the like to the position indicated by the data storage position information in the storage device 4. As the index information 4b for each image data, link information or the like can be inserted in addition to the image name and data storage position information. Further, as the header 4d, color information and the like can be put in addition to the image width and the number of lines.

【0011】一方、画像を表示する場合は、図1に示す
キーボード2等から画像名を入力し、記憶装置4中のイ
ンデックス情報4aを検索して、そのデータ格納位置情
報に基づいて記憶装置4から画像データを読み出す。
On the other hand, when displaying an image, the image name is input from the keyboard 2 shown in FIG. 1, the index information 4a in the storage device 4 is searched, and the storage device 4 is searched based on the data storage position information. Read image data from.

【0012】本発明では、画像入力装置3から入力した
原画像データをライン毎に処理して、記憶装置4に格納
していく。その格納する順序と、記憶装置4から読み出
して表示する際の手順は、図3のようにする。図3
(イ)は、画像のライン数が8の原画像データを示し、
図3(ロ)は、ラインデータの格納順序を示し、図3
(ハ)は、それを読み出して1/2の縮小率でVRAM
6に展開するための処理内容を示し、図3(ニ)は、縮
小ラインデータのVRAM6上の展開位置を示してい
る。なお、実際の画像のライン数は、8よりずっと多い
が、ここでは説明を簡単にするためこのようにした。
In the present invention, the original image data input from the image input device 3 is processed line by line and stored in the storage device 4. The order of storing and the procedure of reading from the storage device 4 and displaying are as shown in FIG. Figure 3
(A) shows the original image data in which the number of lines of the image is 8,
FIG. 3B shows the storage order of the line data.
(C) reads it and VRAM at a reduction ratio of 1/2
6 shows the contents of the processing for expansion, and FIG. 3D shows the expansion position on the VRAM 6 of the reduced line data. Note that the number of lines in an actual image is much larger than 8, but this is done here to simplify the explanation.

【0013】ラインデータの格納順序は、図3(イ),
(ロ)に示すように、まず、原画像データのライン番号
0のラインデータを格納し、次に画像の中間位置にある
ライン番号4のラインデータを格納する。その次は格納
済のライン0とライン4との中間位置及びライン4と最
終ラインであるライン7との中間位置にあるライン番号
2,6のラインデータを格納し、さらにその次はそれら
の中間にあるライン番号1,3,5を格納し、最後に最
終ラインであるライン番号7のラインデータを格納す
る。
The storage order of the line data is as shown in FIG.
As shown in (b), first, the line data of line number 0 of the original image data is stored, and then the line data of line number 4 at the intermediate position of the image is stored. Next, the line data of line numbers 2 and 6 at the intermediate position between the stored line 0 and line 4 and the intermediate position between line 4 and the final line 7 are stored. Line numbers 1, 3 and 5 are stored, and finally the line data of line number 7 which is the final line is stored.

【0014】ラインデータの展開順序は、図3(ハ)に
示すように、記憶装置4に格納されている順序で指定さ
れた縮小率に応じたライン数のデータをライン毎に順次
読み出して、縮小率に応じた画素の間引きを行った後、
VRAM6上に展開していく。その展開位置は、図3
(ニ)に示すように、元のライン番号順の位置となるよ
うにする。すなわち、1/2の縮小率の場合、記憶装置
4に格納された8ライン分のラインデータの内、ライン
0からライン6までの4ライン分のラインデータを読み
出し、それらの各ラインデータの内、半分の画素を均等
に間引く。そして、半分の画素を間引いた残りのライン
データを、ライン0,ライン2,ライン4,ライン6の
順になるように、VRAM6に順次展開していく。な
お、各ラインデータは、VRAM6に展開されるのと同
時に表示装置5に表示される。
As for the development order of the line data, as shown in FIG. 3C, the data of the number of lines corresponding to the reduction ratio designated in the order stored in the storage device 4 is sequentially read out line by line, After thinning out pixels according to the reduction ratio,
It develops on VRAM6. The deployed position is shown in FIG.
As shown in (d), the positions are arranged in the original line number order. That is, in the case of the reduction ratio of 1/2, out of the line data of 8 lines stored in the storage device 4, the line data of 4 lines from line 0 to line 6 is read out, and the line data of each of them is read out. , Equalize half the pixels evenly. Then, the remaining line data obtained by thinning out half the pixels is sequentially developed in the VRAM 6 in the order of line 0, line 2, line 4, and line 6. It should be noted that each line data is displayed on the display device 5 at the same time as being expanded in the VRAM 6.

【0015】上記ラインデータの格納順序及びVRAM
6への展開順序は、次に示す(1)式によって得られ
る。 a0 =0 ai =[2×(i−2k-1 )+1]×N/2k ・・・・(1) ただし、 Nは、N=2n の数で、画像の総ライン数以上の直近の
数 iは、2k-1 ≦i<2k (k=1〜n)の範囲の整数
Storage order of the line data and VRAM
The expansion order to 6 is obtained by the following expression (1). a 0 = 0 a i = [2 × (i−2 k−1 ) +1] × N / 2 k (1) where N is the number of N = 2 n and the total number of lines of the image The most recent number i is an integer in the range of 2 k-1 ≦ i <2 k (k = 1 to n)

【0016】画像入力装置3で画像を読み取ると、画像
の総ライン数が得られるので、その値に基づいて上記の
数N,nが得られる。そこで、kを0からnまで順次増
やしていき、kの各値において取りうるiの値を順次上
記(1)式に代入していくと、上記したような関係でラ
イン番号ai が得られる。そのことを図4に示す。図4
(イ)は、N=8(すなわち、n=3)の場合を示して
おり、図4(ロ)は、N=16(すなわち、n=4)の
場合を示している。
When the image is read by the image input device 3, the total number of lines of the image is obtained, and the above-mentioned numbers N and n are obtained based on the value. Therefore, when k is sequentially increased from 0 to n, and possible values of i at each value of k are sequentially substituted into the above equation (1), the line number a i is obtained in the above relationship. . This is shown in FIG. Figure 4
FIG. 4B shows the case of N = 8 (that is, n = 3), and FIG. 4B shows the case of N = 16 (that is, n = 4).

【0017】次に、画像データの格納処理の手順をフロ
ーチャートを使って説明する。図5は、記憶装置への画
像データの格納処理手順を示すフローチャートである。
この処理は、制御装置1の画像データ格納手段1−1
(図1参照)により実行される。 ステップ1…キーボード2から画像名を入力すると共
に、画像入力装置3から画像データを入力する。それら
のデータは、制御装置1のメモリ中にあるワークエリア
に保持される。 ステップ2…図2のインデックス情報4aの画像データ
総数に1を加え、今から格納しようとしている画像デー
タの画像名,データ格納位置情報等を書き込む。 ステップ3…上記ワークエリア上で、画像入力装置3か
ら入力した画像データの画像の幅W,ライン数L及びラ
イン数L以上で、かつライン数Lに最も近い2n のライ
ン数Nを、画像ヘッダとして編集する。 ステップ4…編集した画像ヘッダを記憶装置4のデータ
格納位置に格納する。
Next, the procedure of image data storage processing will be described using a flow chart. FIG. 5 is a flowchart showing the procedure for storing image data in the storage device.
This processing is performed by the image data storage means 1-1 of the control device 1.
(See FIG. 1). Step 1: The image name is input from the keyboard 2 and the image data is input from the image input device 3. Those data are held in the work area in the memory of the control device 1. Step 2 ... Add 1 to the total number of image data of the index information 4a in FIG. 2 and write the image name, data storage position information, etc. of the image data to be stored now. Step 3 ... In the work area, the width W of the image of the image data input from the image input device 3, the number of lines L, and the number of lines N of 2 n that is the number of lines L or more and is closest to the number of lines L Edit as header. Step 4 ... The edited image header is stored in the data storage position of the storage device 4.

【0018】ステップ5…前記(1)式によって、次に
格納すべきライン番号ai を算出する。 ステップ6…算出したライン番号ai が画像データの実
際のライン数Lを超えたか否か、すなわち算出したライ
ン番号ai が実際に存在するか否かを判別する。 ステップ7…ライン数Lを超えておらず、算出したライ
ン番号ai が実際に存在するときは、ワークエリアに保
持している画像データのライン番号ai に該当するライ
ンデータを抽出して、記憶装置4に格納する。 ステップ8…ワークエリアに保持している画像データの
全てのラインを処理したか否かを判別し、処理すべきラ
インが残っていたら、ステップ5に戻って処理を続行す
る。 ステップ9…全てのラインを処理したら、他の画像を処
理するか否かを判別し、他の画像を処理するのであれ
ば、ステップ1に戻る。
Step 5: The line number a i to be stored next is calculated by the equation (1). Step 6 ... whether the calculated line number a i has exceeded the actual number of lines L of the image data, i.e. the calculated line number a i is determined actually whether there. Step 7 ... If the calculated line number a i does not exceed the number of lines L, the line data corresponding to the line number a i of the image data held in the work area is extracted, It is stored in the storage device 4. Step 8 ... It is determined whether or not all the lines of the image data held in the work area have been processed. If there are lines to be processed, the process returns to step 5 to continue the processing. Step 9 ... After processing all the lines, it is judged whether or not another image is to be processed, and if another image is to be processed, the process returns to step 1.

【0019】次に、画像データの表示処理の手順をフロ
ーチャートを使って説明する。図6は、画像データの表
示処理手順を示すフローチャートである。この処理は、
制御装置1の画像データ表示手段1−2(図1参照)に
より実行される。 ステップ1…制御装置1のワークエリア内に設けた表示
画像数カウンタを0にクリアする。 ステップ2…表示画像数カウンタをインクリメントす
る。 ステップ3…キーボード2から、表示する画像名を入力
する。 ステップ4…図2のインデックス情報4aを参照して、
入力された画像名の画像データの格納位置を求める。 ステップ5…表示に必要な画像パラメータを画像データ
に付加されているヘッダ(図2参照)より取得する。 ステップ6…縮小率1/mを入力する。ただし、mは1
〜2n
Next, the procedure of image data display processing will be described with reference to a flowchart. FIG. 6 is a flowchart showing the procedure for displaying image data. This process
This is executed by the image data display means 1-2 (see FIG. 1) of the control device 1. Step 1 ... Clears the display image number counter provided in the work area of the control device 1 to zero. Step 2 ... Increment the display image number counter. Step 3 ... Input the image name to be displayed from the keyboard 2. Step 4 ... Referring to the index information 4a in FIG.
The storage position of the image data of the input image name is obtained. Step 5 ... Acquire image parameters required for display from the header (see FIG. 2) added to the image data. Step 6 ... Input the reduction ratio 1 / m. However, m is 1
~ 2 n .

【0020】ステップ7…前記(1)式によって、次に
展開すべきライン番号ai を算出する。 ステップ8…算出したライン番号ai が画像データの実
際のライン数Lを超えたか否か、すなわち算出したライ
ン番号ai が実際に存在するか否かを判別する。 ステップ9…ライン数Lを超えておらず、算出したライ
ン番号ai が実際に存在するときは、ライン番号ai
上記mで割った値ai /mと、上記表示画像数カウンタ
の値に基づいて、当該ラインデータを実際に展開すべ
き、VRAM6上のアドレスを算出する。この場合、当
該ラインデータの縮小画像内でのライン番号は、上記値
i /mから求めるが、ai /mが割り切れないとき
は、少数点以下の切り捨て等を行って整数化する。さら
に、当該ラインデータの先頭画素のVRAM上のアドレ
スを、当該画像と同一画面に表示する他の画像とが重な
らないように、上記表示画像数カウンタの値に基づいて
オフセット値を算出し、それを上記縮小画像内でのライ
ン番号等に加算して求める。
Step 7: The line number a i to be developed next is calculated by the equation (1). Step 8 ... whether the calculated line number a i has exceeded the actual number of lines L of the image data, i.e. the calculated line number a i is determined actually whether there. Step 9 ... If the calculated line number a i does not exceed the number L of lines and the calculated line number a i actually exists, the value a i / m obtained by dividing the line number a i by the value m and the value of the display image number counter Based on the above, the address on the VRAM 6 at which the line data should be actually developed is calculated. In this case, the line number in the reduced image of the line data is obtained from the value a i / m. If a i / m is not divisible, the decimal point or less is rounded down to an integer. Further, an offset value is calculated based on the value of the display image number counter so that the address of the head pixel of the line data on the VRAM does not overlap with another image displayed on the same screen as that image, and Is added to the line number in the reduced image to obtain it.

【0021】ステップ10…表示すべき1ライン分のデ
ータを、記憶装置4からワークエリア内に入力する。 ステップ11…入力したラインデータから、m画素中m
−1画素の割合で画素を間引く。すなわち、ラインの先
頭から画素数を数えていき、m個数える毎に、その内の
1個の画素を残して、他のm−1個の画素を間引く。 ステップ12…間引いた後のラインデータを、VRAM
6に展開して表示装置5に表示する。 ステップ13…記憶装置4に格納されている当該画像デ
ータの全てのラインを処理したか否かを判別し、処理す
べきラインが残っていたら、ステップ5に戻って処理を
続行する。 ステップ14…全てのラインを処理したら、他の画像を
表示するか否かを判別し、他の画像を表示するのであれ
ば、ステップ1に戻る。
Step 10 ... Input data for one line to be displayed from the storage device 4 into the work area. Step 11 ... From the input line data, m out of m pixels
Pixels are thinned out at a rate of -1 pixel. That is, the number of pixels is counted from the beginning of the line, and every time the number of m is counted, one pixel is left and the other m-1 pixels are thinned out. Step 12 ... The line data after thinning is stored in the VRAM.
6 is displayed and displayed on the display device 5. Step 13 ... It is determined whether or not all the lines of the image data stored in the storage device 4 have been processed. If there are lines to be processed, the process returns to step 5 to continue the process. Step 14 ... After processing all the lines, it is determined whether or not another image is displayed. If another image is to be displayed, the process returns to step 1.

【0022】[0022]

【発明の効果】以上述べた如く、本発明の画像データ縮
小表示装置によれば、基本的にライン単位で処理するの
で、表示する位置はライン先頭の1画素分のみを求めれ
ばよく、表示位置の算出回数が少なくてすむ。その結
果、処理速度を向上させることができるようになった。
また、画像の総ライン数が丁度2n でない場合でも、前
記(1)式で得られるライン番号が画像の総ライン数よ
り大のときは、ラインデータの格納及び表示を行わない
という簡単な判断により処理することができるので、画
像のサイズによって処理が特に複雑になるということも
なくなった。
As described above, according to the image data reduction display device of the present invention, since the processing is basically performed on a line-by-line basis, it is sufficient to obtain only one pixel at the beginning of the line as the display position. The number of times of calculation is small. As a result, the processing speed can be improved.
Even if the total number of lines in the image is not exactly 2 n , if the line number obtained by the equation (1) is larger than the total number of lines in the image, a simple judgment is made that the line data is not stored and displayed. Since it can be processed by, the size of the image does not make the processing particularly complicated.

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

【図1】 本発明の画像データ縮小表示装置の概要を示
すブロック図
FIG. 1 is a block diagram showing an outline of an image data reduction display device of the present invention.

【図2】 本発明における記憶装置の内容を示す図FIG. 2 is a diagram showing the contents of a storage device according to the present invention.

【図3】 画像データの格納順序と表示手順を説明する
ための図
FIG. 3 is a diagram for explaining a storage order of image data and a display procedure.

【図4】 本発明で用いる数式から得られるライン数の
一例を示す図
FIG. 4 is a diagram showing an example of the number of lines obtained from a mathematical formula used in the present invention.

【図5】 記憶装置への画像データの格納処理手順を示
すフローチャート
FIG. 5 is a flowchart showing a procedure for storing image data in a storage device.

【図6】 画像データの表示処理手順を示すフローチャ
ート
FIG. 6 is a flowchart showing a display processing procedure of image data.

【図7】 画像データ縮小表示装置の表示状態を示す図FIG. 7 is a diagram showing a display state of an image data reduction display device.

【図8】 従来の画像データ縮小表示装置の処理を説明
するための図
FIG. 8 is a diagram for explaining processing of a conventional image data reduction display device.

【符号の説明】[Explanation of symbols]

1…制御装置、1−1…画像データ格納手段、1−2…
画像データ表示手段、2…キーボード、3…画像入力装
置、4…記憶装置、4a…インデックス情報、4b…各
画像データ毎のインデックス情報、4c…画像データ、
4d…ヘッダの内容、5…表示装置、6…VRAM
DESCRIPTION OF SYMBOLS 1 ... Control device 1-1 ... Image data storage means 1-2 ...
Image data display means, 2 ... Keyboard, 3 ... Image input device, 4 ... Storage device, 4a ... Index information, 4b ... Index information for each image data, 4c ... Image data,
4d ... Contents of header, 5 ... Display device, 6 ... VRAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 次式、 a0 =0 ai =[2×(i−2k-1 )+1]×N/2k ただし、 Nは、N=2n の数で、画像の総ライン数以上の直近の
数 iは、2k-1 ≦i<2k (k=1〜n)の範囲の整数 で得られるライン番号順に、画像データをライン毎に記
憶装置に格納する画像データ格納手段と、上記記憶装置
から画像データを、指定された縮小率に応じたライン数
のデータをライン毎に順次読み出して、上記縮小率に応
じた画素の間引きを行い、上式で得られるライン番号に
上記縮小率を掛けて得られるライン番号位置に表示する
画像データ表示手段とを具えたことを特徴とする画像デ
ータ縮小表示装置。
1. The following equation: a 0 = 0 a i = [2 × (i−2 k−1 ) +1] × N / 2 k , where N is the number of N = 2 n , and is the total line of the image. Image data storage for storing the image data line by line in the storage device in the order of the line numbers obtained by integers in the range of 2 k-1 ≦ i <2 k (k = 1 to n) Means and the image data from the storage device, the data of the number of lines corresponding to the designated reduction ratio are sequentially read out for each line, the pixels are thinned according to the reduction ratio, and the line number obtained by the above formula And an image data display means for displaying the image at a line number position obtained by multiplying the reduction ratio by the image data reduction display device.
JP4341362A 1992-11-27 1992-11-27 Image data reducing display device Pending JPH06168323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4341362A JPH06168323A (en) 1992-11-27 1992-11-27 Image data reducing display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4341362A JPH06168323A (en) 1992-11-27 1992-11-27 Image data reducing display device

Publications (1)

Publication Number Publication Date
JPH06168323A true JPH06168323A (en) 1994-06-14

Family

ID=18345480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4341362A Pending JPH06168323A (en) 1992-11-27 1992-11-27 Image data reducing display device

Country Status (1)

Country Link
JP (1) JPH06168323A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990013685A1 (en) * 1989-05-10 1990-11-15 Furukawa Electric Co., Ltd. Electric contact material, method of producing said material, and electric contact produced therefrom

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990013685A1 (en) * 1989-05-10 1990-11-15 Furukawa Electric Co., Ltd. Electric contact material, method of producing said material, and electric contact produced therefrom

Similar Documents

Publication Publication Date Title
US4503427A (en) Apparatus for displaying stored picture information in association with a cursor
US6360029B1 (en) Method and apparatus for variable magnification of an image
US4607340A (en) Line smoothing circuit for graphic display units
CN105427235A (en) Image browsing method and system
EP0574245A2 (en) Method and apparatus for variable expansion and variable shrinkage of an image
JPH06168323A (en) Image data reducing display device
JP3110041B2 (en) Image information processing device
JPS5935270A (en) Picture element density converter
JPS648854B2 (en)
JP3492115B2 (en) Method and apparatus for generating local color space representative color list
JP2924528B2 (en) Labeling processing method and labeling processing apparatus
EP0404397B1 (en) Image processing system
JPH0863140A (en) Image processor
JPH06100906B2 (en) Character processing method
JPH06168282A (en) Image data multistage display device
JPH02235140A (en) Density conversion system at the time of displaying image data
JP2925716B2 (en) Image retrieval device
JPH0764524A (en) Image display device
JP3229384B2 (en) Vector shape editing device
JP2857260B2 (en) Judgment method of rectangular area
JPH07123322A (en) Image transforming system
JP2000163557A (en) Image processing method, device therefor and storage medium
JPH0721346A (en) Limited color display procession method in image processing
JPH0676051A (en) Parallel picture processor
JPH0721379A (en) Picture color area recognition device