JPH0728982A - Recording method for picture data - Google Patents

Recording method for picture data

Info

Publication number
JPH0728982A
JPH0728982A JP5171651A JP17165193A JPH0728982A JP H0728982 A JPH0728982 A JP H0728982A JP 5171651 A JP5171651 A JP 5171651A JP 17165193 A JP17165193 A JP 17165193A JP H0728982 A JPH0728982 A JP H0728982A
Authority
JP
Japan
Prior art keywords
data
image data
compressed
edited
picture data
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.)
Granted
Application number
JP5171651A
Other languages
Japanese (ja)
Other versions
JP3084178B2 (en
Inventor
Sohei Shibazaki
宗平 芝崎
Hiroto Nagashima
裕人 長島
Yukio Sawano
行男 沢野
Koichi Sugiyama
幸一 杉山
Shuichi Aratsu
修一 荒津
Kyuichi Fujisawa
久一 藤沢
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 Holdings Corp
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
Fuji Photo Film 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 Alps Electric Co Ltd, Fuji Photo Film Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP05171651A priority Critical patent/JP3084178B2/en
Publication of JPH0728982A publication Critical patent/JPH0728982A/en
Application granted granted Critical
Publication of JP3084178B2 publication Critical patent/JP3084178B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To provide the recording method of picture data for easily reproducing the same edited result with a less data capacity by a simple method. CONSTITUTION:The picture data of source pictures defined as the bit map data in the unit of line are turned to the compressed source picture data of the unit of line for which the coordinate values X of the attribute changed points of bits and appendant attributes Z in the attribute changed points are paired and the compressed source picture data are converted to edited picture data based on editing command data. Thereafter, the edited picture data are defined as recompressed picture data compressed by the compressed source picture data and the editing command data and the recompressed picture data are stored in an external storage device.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像データの記録方法
に係り、特に、画像入力装置で読取った原稿から所望の
領域を読取って、色彩およびパターンの変更などの編集
をし、編集後の画像を出力する画像処理装置に好適な画
像データの記録方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of recording image data, and more particularly, to reading a desired area from a document read by an image input device, editing the color and pattern, and the like. The present invention relates to an image data recording method suitable for an image processing apparatus that outputs an image.

【0002】[0002]

【従来の技術】スキャナ等の画像入力装置で読取った線
画等の白黒(モノトーン)原稿の画像を、編集指令に基
づいて色彩およびパターンの変更などの編集をし、編集
後の画像をプリンタ等の外部出力装置に出力するように
した画像処理装置が考えられている。
2. Description of the Related Art An image of a black-and-white (monotone) original such as a line drawing read by an image input device such as a scanner is edited based on an editing instruction, such as a change in color and pattern, and the edited image is printed by a printer or the like. An image processing device designed to output to an external output device has been considered.

【0003】この種の画像処理装置においては、文字、
図形等の原画像は、スキャナ等の画像入力装置により読
み取られて、画像の各ドットに対応したライン単位のビ
ットマップデータに変換された後、ビットの属性変化点
の座標値と前記属性変化点における付帯属性とを対とし
たライン単位の圧縮原画像データとされて画像メモリに
記憶される。
In this type of image processing apparatus, characters,
The original image such as a figure is read by an image input device such as a scanner and converted into bit line bitmap data corresponding to each dot of the image, and then the coordinate value of the attribute change point of the bit and the attribute change point. It is stored in the image memory as compressed original image data for each line with a pair of additional attributes in.

【0004】そして、原画像の所望の指定範囲に対して
色彩の変更等の編集を行う場合には、タブレットおよび
ライトペン等の外部入力機器により入力された所望の編
集指令データに基づいて前記圧縮原画像データが編集さ
れて編集画像データとされる。
When performing editing such as color change in a desired designated range of the original image, the compression is performed based on desired edit command data input by an external input device such as a tablet and a light pen. The original image data is edited into edited image data.

【0005】さらに、編集指令データに基づいて編集さ
れた編集画像データは、所望の復元手段によりビットマ
ップデータに戻され、プリンタ等の外部出力機器に出力
されて所望のプリントを得るようにされている。
Further, the edited image data edited on the basis of the edit command data is returned to bit map data by a desired restoring means and outputted to an external output device such as a printer to obtain a desired print. There is.

【0006】また、所望のプリントを得た後、編集指令
データのみをFD等の外部記憶装置に記憶させていた。
Further, after the desired print is obtained, only the edit command data is stored in the external storage device such as the FD.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、前述し
た従来の編集指令データのみをFD等の外部記憶装置に
記憶させる画像データの記録方法においては、記憶させ
るデータの容量を少なくすることはできるものの、同一
原稿を用いて複数のプリントを得る場合に、原稿をスキ
ャナ等の画像入力装置により再度読み取り、FD等の外
部記憶装置に記憶させた編集指令データを重ねていた。
しかし、このように、原稿をスキャナ等の画像入力装置
により読み取る場合には、たとえ同一原稿であっても、
読み取り毎に微妙な位置ずれが生じ、この位置ずれによ
り、記憶された編集データを用いて編集を行うと、編集
画像データの座標ずれ(ビットの属性変化点の座標値
(アドレス)のずれ)が発生し、編集指令データを記憶
した時の編集画像データと同一の編集画像データとなら
ず、結果として、編集指令データを記憶した時の編集結
果(プリント)と同一の編集結果(プリント)を得るこ
とができないという問題点があった。そして、このよう
な問題点は、前述した複数のプリントを得る場合のみで
なく、同一原稿と記憶させた編集データとを用いる再編
集時に必ず発生するという問題点があった。
However, in the image data recording method of storing only the above-mentioned conventional edit command data in the external storage device such as the FD, the capacity of the data to be stored can be reduced. When a plurality of prints are obtained using the same document, the document is read again by an image input device such as a scanner and the edit command data stored in an external storage device such as an FD is overlaid.
However, in this way, when reading an original with an image input device such as a scanner, even if the original is the same,
A slight misalignment occurs for each reading, and when this editing is performed using the stored edit data, the misalignment of the edited image data (the misalignment of the coordinate value (address) of the bit attribute change point) occurs. Occurrence does not result in the same edited image data as the edited image data when the edited command data is stored, and as a result, the same edited result (print) as the edited result (print) when the edited command data is stored is obtained. There was a problem that I could not do it. Then, such a problem occurs not only in the case of obtaining a plurality of prints described above, but also in the case of re-editing using the same document and the stored edit data.

【0008】このような問題点に対処するには、編集デ
ータのみならず、原画像のすべてのデータを記憶すれば
よいが、原画像のデータをすべて記憶させるには、多大
な容量を有する高価な外部記憶装置を適用せざるを得
ず、経済的負担が増加するとともに、データの記憶に多
大な時間が必要になるという問題点があった。
In order to deal with such a problem, not only the editing data but all the data of the original image may be stored. However, storing all the data of the original image requires a large capacity and is expensive. However, there is a problem in that a large amount of time is required to store the data as well as an increase in the economic burden because the external storage device has to be applied.

【0009】本発明はこれらの点に鑑みてなされたもの
であり、前述した従来のものにおける問題点を克服し、
簡単な方法で、少ないデータ容量で同一の編集結果を容
易に再現可能とする画像データの記録方法を提供するこ
とを目的とする。
The present invention has been made in view of these points, and overcomes the above-mentioned problems in the conventional ones.
An object of the present invention is to provide a recording method of image data that can easily reproduce the same editing result with a small data capacity by a simple method.

【0010】[0010]

【課題を解決するための手段】前述した目的を達成する
ため本発明の画像データの記録方法は、ライン単位のビ
ットマップデータとされた原画像の画像データを、ビッ
トの属性変化点の座標値と前記属性変化点における付帯
属性とを対としたライン単位の圧縮原画像データとし、
この圧縮原画像データを編集指令データに基づいて編集
画像データに変換し、その後、前記編集画像データを前
記圧縮原画像データより圧縮した再圧縮画像データと
し、前記編集指令データと前記再圧縮画像データとを外
部記憶装置に記録することを特徴としている。
In order to achieve the above-mentioned object, the image data recording method of the present invention is such that the image data of the original image, which is bit line bitmap data, is converted into the coordinate value of the bit attribute change point. And compressed original image data on a line unit basis with the incidental attribute at the attribute change point as a pair,
The compressed original image data is converted into edited image data based on the edit command data, and then the edited image data is recompressed image data compressed from the compressed original image data, and the edit command data and the recompressed image data are obtained. And are recorded in an external storage device.

【0011】[0011]

【作用】前述した構成からなる本発明の画像データの記
録方法によれば、原画像の画像データを容量の小さな再
圧縮画像データにするとともに、この再圧縮画像データ
および編集指令データを外部記憶装置に記憶することが
できるので、少ないデータ容量で同一の編集結果を容易
に再現可能とすることができる。
According to the image data recording method of the present invention having the above-described configuration, the image data of the original image is made into the recompressed image data having a small capacity, and the recompressed image data and the editing command data are stored in the external storage device. Since the same editing result can be easily reproduced with a small data capacity.

【0012】[0012]

【実施例】以下、本発明の一実施例について作用ととも
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below along with its operation.

【0013】図1から図7は、本発明に係る画像データ
の記録方法の一実施例を示すものであり、図1はフロー
チャートであり、図2は原画像の画像データを示す模式
図であり、図3(a)から図3(d)は圧縮原画像デー
タを示す模式図であり、図4は編集指令データを示す模
式図であり、図5(a)および図5(b)は編集画像デ
ータを示す模式図であり、図6は編集領域を省略したデ
ータを示す模式図であり、図7は再圧縮データを示す模
式図である。
FIGS. 1 to 7 show an embodiment of an image data recording method according to the present invention, FIG. 1 is a flow chart, and FIG. 2 is a schematic diagram showing image data of an original image. 3 (a) to 3 (d) are schematic diagrams showing compressed original image data, FIG. 4 is a schematic diagram showing edit command data, and FIGS. 5 (a) and 5 (b) are edit images. FIG. 6 is a schematic diagram showing image data, FIG. 6 is a schematic diagram showing data in which an editing area is omitted, and FIG. 7 is a schematic diagram showing recompressed data.

【0014】図1に示すように、本実施例の画像データ
の記録方法が開始されると、ステップST10において、
画像入力装置であるスキャナにより原稿を読み込み、次
のステップST11に進行する。
As shown in FIG. 1, when the image data recording method of this embodiment is started, in step ST10,
An original is read by a scanner which is an image input device, and the process proceeds to the next step ST11.

【0015】つまり、白色の用紙に黒色で所望の文字が
書かれた原稿があるとする。この原稿をスキャナで読み
込むと、スキャナの分解能、例えば、400dpiに応
じてライン単位で読み取られ、図2に示すように、ライ
ン単位のドットデータ(ビットマップデータ)とされた
原画像の画像データとなる。
That is, it is assumed that there is an original document in which desired characters are written in black on white paper. When this document is read by a scanner, it is read in line units according to the resolution of the scanner, for example, 400 dpi, and as shown in FIG. 2, image data of the original image that is dot data (bitmap data) in line units and Become.

【0016】つぎに、ステップST11において、読み込
んだ原画像の画像データに対して圧縮をして圧縮原画像
データとし、次のステップST12に進行する。
Next, in step ST11, the image data of the read original image is compressed into compressed original image data, and the process proceeds to the next step ST12.

【0017】つまり、図2に示す原画像の画像データ
を、図3(a)に示すようなビットの属性変化点(以
下、変化点といい、図においても変化点と記す。)の座
標値と前記変化点における付帯属性とを対としたライン
単位の圧縮原画像データに圧縮する。
That is, the image data of the original image shown in FIG. 2 are coordinate values of bit attribute change points (hereinafter referred to as change points, also referred to as change points in the figure) as shown in FIG. 3A. And compressed original image data in units of line in which the above-mentioned and the additional attribute at the change point are paired.

【0018】すなわち、図2に示すライン単位のドット
データは、ラインの先端(図中左端,座標値0)のドッ
トが白であるので、(白,0)の付帯属性とX座標の座
標値とを対とした1組のデータ、つまり属性をZ、座標
値をXとすると(白,0)からなる(Z1,X1)とい
う変化点1のデータがまず作成される。つぎに、ライン
の進行方向の座標値4で黒に変化しているので、(黒,
4)からなる(Z2,X2)という属性変化点2のデー
タが作成される。以下同様にして、(白,A)からなる
(Z3,X3)という属性変化点3のデータ、(黒,
F)からなる(Z4,X4)という属性変化点4のデー
タ、(白,12)からなる(Z5,X5)という属性変
化点5のデータ…が順次作成されて、ビットの属性変化
点の座標値Xと前記属性変化点における付帯属性Zとを
対とした(Zn,Xn)という2ワードのライン単位の
圧縮原画像データに圧縮される。
That is, in the dot data for each line shown in FIG. 2, since the dot at the tip of the line (the left end in the figure, coordinate value 0) is white, the incidental attribute of (white, 0) and the coordinate value of the X coordinate are used. First, a pair of data consisting of and, that is, data of a change point 1 consisting of (white, 0) and (Z1, X1) where Z is an attribute and X is a coordinate value is created. Next, since the color changes to black at the coordinate value 4 in the traveling direction of the line, (black,
The data of the attribute change point 2 of (Z2, X2) consisting of 4) is created. Similarly, the data of the attribute change point 3 (Z3, X3) consisting of (white, A), (black,
The data of the attribute change point 4 of (Z4, X4), the data of the attribute change point 5 of (Z5, X5) of (white, 12) ... It is compressed into compressed original image data in units of two words of (Zn, Xn) which is a pair of the value X and the incidental attribute Z at the attribute change point.

【0019】前記属性データについてさらに説明する。The attribute data will be further described.

【0020】本実施例の属性データZは、図3(b)に
示すように、1ワードが16ビットにて構成されてお
り、先頭の1ビットは空き領域とされ、次の1ビットに
白色を0、黒色を1とした原稿色が割り当てられ、次の
5ビットに編集のための模様コードの番号(0〜31の
32種)が割り当てられ、次の9ビットに編集のための
色コードの番号(0〜511の512色)が割り当てら
れている。
As shown in FIG. 3B, one word of the attribute data Z of this embodiment is composed of 16 bits, the first 1 bit is an empty area, and the next 1 bit is white. The original color with 0 as black and 1 as black is assigned, the pattern code number for editing (32 types of 0 to 31) is assigned to the next 5 bits, and the color code for editing is assigned to the next 9 bits. No. (512 colors of 0 to 511) are assigned.

【0021】前記座標値についてさらに説明する。The coordinate values will be further described.

【0022】本実施例の座標値Xは、図3(C)に示す
ように、1ワードが16ビットにて構成されており、先
頭から4ビットは空き領域とされ、残りの12ビットに
変化点の座標値X(0〜4091)が割り当てられてい
る。前記空き領域は、1ワードを16ビットとしてデー
タ処理を容易とさせるために形成されたものであり、ま
た、スキャナの分解能の増加に伴って使用に供される。
As shown in FIG. 3 (C), the coordinate value X of this embodiment is composed of 16 bits per word, with 4 bits from the beginning being an empty area and changing to the remaining 12 bits. The coordinate value X (0-4091) of the point is assigned. The empty area is formed to make data processing easy by setting 1 word as 16 bits, and is used as the resolution of the scanner increases.

【0023】そして、ビットの変化点の座標値Xと前記
変化点における付帯属性Zとを対(Zn,Xn)とした
前記圧縮原画像データは、図3(d)に示すような、1
6進のデータとされる。
The compressed original image data in which the coordinate value X of the bit change point and the incidental attribute Z at the change point are paired (Zn, Xn) are as shown in FIG.
The data is hexadecimal.

【0024】このように、原画像の画像データを、ビッ
トの変化点の座標値Xと前記変化点における付帯属性Z
とを対(Zn,Xn)としたライン単位の圧縮原画像デ
ータに圧縮するのは、原稿を読み取るときの分解能が優
れているほど効率が向上する。例えば、原画像の画像デ
ータを構成するドットの数はスキャナの分解能の2乗に
比例する。これに対して、圧縮後の圧縮原画像データ
は、ラインの数はスキャナの分解能に比例するが、1ラ
イン中のビットの変化点の座標値Xと前記変化点におけ
る付帯属性Zとを対(Zn,Xn)とした組の数は変化
しない。従って、分解能を2乗とするとドットの数は4
倍となるが、圧縮原画像データの数はラインの数が増加
した2倍にしかならない。
In this way, the image data of the original image is converted into the coordinate value X of the bit change point and the incidental attribute Z at the change point.
The compression of line-by-line compressed original image data in which and are paired (Zn, Xn) is more efficient as the resolution when reading a document is better. For example, the number of dots forming the image data of the original image is proportional to the square of the resolution of the scanner. On the other hand, in the compressed original image data after compression, the number of lines is proportional to the resolution of the scanner, but the coordinate value X of the change point of the bit in one line and the additional attribute Z at the change point are paired ( The number of pairs of Zn, Xn) does not change. Therefore, if the resolution is squared, the number of dots is 4
However, the number of compressed original image data is only twice as many as the number of lines.

【0025】つぎに、ステップST12において編集操作
(画像編集)が行われ、次のステップST13に進行す
る。
Next, an editing operation (image editing) is performed in step ST12, and the process proceeds to the next step ST13.

【0026】この画像編集、例えば、色づけは、タブレ
ット等の外部入力機器からの画像編集指令による編集指
令データに基づいて、前述した圧縮原画像データを所望
のCPU等をもって加工することにより行われる。
This image editing, for example, coloring is performed by processing the above-mentioned compressed original image data with a desired CPU or the like based on the editing command data by the image editing command from an external input device such as a tablet.

【0027】前記編集指令データは、図4に示すよう
に、1バイトの編集モードと、編集するX座標およびY
座標の座標値をそれぞれ1ワードとしたX,Yアドレス
と、1ワードの模様コードの番号/色コードの番号から
構成されている。
As shown in FIG. 4, the edit command data includes a 1-byte edit mode, an X coordinate to be edited, and a Y coordinate.
It is composed of an X and Y address in which each coordinate value is one word, and a one-word pattern code number / color code number.

【0028】前記編集モードとは、例えば、タブレット
上に載置された原稿に対して色替え(色変換)またはパ
ターン変更したい領域を指定する方法をあらわすもので
あり、いわゆる1点指定、2点指定、多点指定等の各種
の予め付与した指定方法(モード)である。また、X,
Yアドレスは編集モードにより異なるが、本実施例にお
いては、最小1点指定、最大多点指定で100以下とさ
れており、画像編集データ全体の大きさを12KBとし
ている。
The edit mode represents, for example, a method of designating an area for which color change (color conversion) or pattern change is desired for an original placed on a tablet, and so-called one-point designation and two-point designation. Various designation methods (modes) such as designation and multipoint designation are given in advance. Also, X,
Although the Y address differs depending on the editing mode, in the present embodiment, the minimum 1 point designation and the maximum multipoint designation are 100 or less, and the size of the entire image editing data is 12 KB.

【0029】そして、画像編集は次のようにして行われ
る。例えば、編集モードが2点指定、Xアドレスが6〜
9(Yアドレスは省略)、色コードがCという「原稿色
が黒色部分の色替え」の編集指令データにより、図3
(a)に示す圧縮原画像データを編集(色替え)する
と、この圧縮原画像データは、図5(a)に示すよう
に、(黒,4)からなる(Z2,X2)という変化点2
のデータのつぎに(C,6)からなる(Z2a,X2
a)という変化点2aのデータが追加され、全体とし
て、(Z1,X1)、(Z2,X2)、(Z2a,X2
a)、(Z3,X3)、(Z4,X4)、(Z5,X
5)…という編集画像データに変換され、図5(b)に
示す16進のデータとされる。
Then, image editing is performed as follows. For example, edit mode specifies 2 points, X address is 6 ~
9 (Y address is omitted), the color code is C, and the editing command data of "color change of the black portion of the document color" is used.
When the compressed original image data shown in (a) is edited (color-changed), the compressed original image data has a change point 2 (Z2, X2) of (black, 4) as shown in FIG. 5 (a).
(Z2a, X2) consisting of (C, 6) after the data of
The data of the change point 2a called a) is added, and as a whole, (Z1, X1), (Z2, X2), (Z2a, X2
a), (Z3, X3), (Z4, X4), (Z5, X
5) ... Is converted into edited image data to be hexadecimal data shown in FIG.

【0030】その後、この編集された編集画像データ
は、所望の復元手段によりビットマップデータに戻さ
れ、プリンタ等の外部出力機器に出力されて所望のプリ
ントが得られる。
Thereafter, the edited edited image data is returned to the bitmap data by the desired restoring means and output to an external output device such as a printer to obtain a desired print.

【0031】つぎに、ステップST13において、編集画
像データを前記圧縮原画像データより圧縮した再圧縮画
像データとし、ステップST14に進行する。
Next, in step ST13, the edited image data is recompressed image data obtained by compressing the compressed original image data, and the process proceeds to step ST14.

【0032】前記ステップST13についてさらに詳しく
説明する。
The step ST13 will be described in more detail.

【0033】ステップST13は、ステップST13aとス
テップST13bとステップST13cとから構成されてい
る。
Step ST13 is composed of step ST13a, step ST13b and step ST13c.

【0034】ステップST13aにおいては、編集指令デ
ータに基づいて編集された編集画像データを、Xアドレ
スの増加方向に隣接する2個の変化点の属性(ここでは
原稿色)を比較し、属性が変化しない場合のXアドレス
の大きい方の変化点を除くことにより、元の圧縮原画像
データに変換する。図5に示されている編集画像データ
においては、変化点2aの原稿色が変化点2の原稿色と
同一で変化していないので、削除される。この場合に、
原稿色が黒色の場合には、付帯属性Zの模様コードの番
号および色コードの番号を0とし、原稿色が白色の場合
には、付帯属性Zの模様コードの番号を0、色コードの
番号を9とする。
In step ST13a, the edit image data edited based on the edit command data is compared with the attribute (here, the document color) of two adjacent change points in the increasing direction of the X address, and the attribute is changed. If not, the change point having the larger X address is removed to convert the original compressed original image data. In the edited image data shown in FIG. 5, since the original color of the changing point 2a is the same as the original color of the changing point 2 and has not changed, it is deleted. In this case,
When the original color is black, the pattern code number and the color code number of the additional attribute Z are 0, and when the original color is white, the pattern code number of the additional attribute Z is 0 and the color code number is 0. Is set to 9.

【0035】つぎにステップST13bにおいて、編集領
域を省略した形にデータ変換をする。
Next, in step ST13b, data conversion is performed in a form in which the editing area is omitted.

【0036】すなわち、それぞれが16ビットとされた
付帯属性Zと座標値Xからなる2ワードの圧縮原画像デ
ータから、編集領域(模様コードの番号、色コードの番
号)を除くとともに、16ビットからなる1ワード構成
の、図6に示すような、編集領域を省略したデータに変
換する。図6の空き領域は、図3の空き領域と同様のも
のである。
That is, the editing area (pattern code number, color code number) is excluded from the compressed original image data of 2 words consisting of the incidental attribute Z and the coordinate value X, each of which has 16 bits, and from 16 bits. The data having the one-word structure is converted into data in which the editing area is omitted as shown in FIG. The empty area in FIG. 6 is similar to the empty area in FIG.

【0037】つぎに、ステップST13cにおいて、前記
圧縮データの特性から、変化点における原稿色は必ず交
互に繰り返されるので、先頭の原稿色を記憶させれば、
他の属性変化点における原稿色を容易に復元することが
できることから、図6に示す前記編集領域を省略したデ
ータから不要となる原稿色部分と空き領域とを省き、図
7に示すように、16ビットのラインヘッダ部に先頭変
化点の原稿色と変化点の個数を格納し、それに続く他の
データ部に各変化点のX座標値のみを12ビット単位と
して格納することにより、圧縮画像データより更に圧縮
された再圧縮画像データを得ることができる。
Next, in step ST13c, the original color at the change point is always repeated alternately due to the characteristics of the compressed data. Therefore, if the leading original color is stored,
Since the document color at other attribute change points can be easily restored, unnecessary document color portions and empty regions are omitted from the data shown in FIG. 6 in which the editing area is omitted, and as shown in FIG. The 16-bit line header section stores the original color of the leading change point and the number of change points, and the other data section that follows stores only the X coordinate value of each change point in units of 12 bits, thereby compressing the compressed image data. Further compressed recompressed image data can be obtained.

【0038】すなわち、前記再圧縮画像データの16ビ
ットのラインヘッダ部には、先頭に先頭変化点(変化点
1)の原稿色が割り当てられ、残りの15ビットに変化
点の個数(0〜32767の32768個)が割り当て
られている。そして、12ビット単位のデータ部には、
変化点1以降のX座標値(0〜4095の4096箇
所)が順次割り当てられている。
That is, in the 16-bit line header portion of the recompressed image data, the original color of the head change point (change point 1) is assigned to the head and the number of change points (0 to 32767) is assigned to the remaining 15 bits. (32,768) are allocated. And, in the 12-bit unit data part,
X coordinate values after the change point 1 (4096 points from 0 to 4095) are sequentially assigned.

【0039】つぎに、ステップST14において、外部記
憶装置としてのFDに前記再圧縮画像データと前記編集
指令データとを格納することにより終了する。
Next, in step ST14, the recompressed image data and the edit command data are stored in the FD as an external storage device, and the process ends.

【0040】このように、本実施例によれば、原画像の
画像データを、小容量の再圧縮画像データにするととも
に、この再圧縮画像データおよび編集指令データを外部
記憶装置に記憶することができるので、従来と異なり、
原画像の画像データをFD等の容量の小さな外部記憶装
置に、簡単に、かつ、素早く記憶させることができとと
もに、再編集の位置ずれを確実に防止することができ
る。
As described above, according to the present embodiment, the image data of the original image can be converted into a small volume of recompressed image data, and the recompressed image data and the edit command data can be stored in the external storage device. Because it can be done, unlike the conventional
It is possible to easily and quickly store the image data of the original image in an external storage device having a small capacity such as an FD, and it is possible to reliably prevent the position shift of re-editing.

【0041】なお、外部記憶装置としては、FDばかり
でなく、小容量の安価なHDD等を用いることができ
る。
As the external storage device, not only the FD but also an inexpensive HDD having a small capacity can be used.

【0042】つぎに、2点指定により色変換する場合に
ついて具体的に例示する。
Next, a specific example of color conversion by designating two points will be described.

【0043】まず、前述したように、原稿をスキャナに
より読み込む。
First, as described above, the document is read by the scanner.

【0044】つぎに、読み込んだ原稿の原画像の画像デ
ータを、ビットの変化点の座標値と前記変化点における
付帯属性とを対としたライン単位の圧縮原画像データに
圧縮する。この場合のX座標16ビット,Y座標10ラ
インについての変化点を示す模式図を図8(a)に、1
6進数の圧縮原画像データを示す模式図を図8(b)に
示す。
Next, the image data of the original image of the read original is compressed into line-by-line compressed original image data in which the coordinate value of the bit change point and the incidental attribute at the change point are paired. FIG. 8A is a schematic diagram showing the change points for the 16-bit X coordinate and 10-line Y coordinate in this case.
A schematic diagram showing the hexadecimal compressed original image data is shown in FIG.

【0045】つぎに、例えば、編集モードが2点指定、
Xアドレスが3〜7、Yアドレスが4〜8、色コードが
Cという編集指令データにより色変換の編集を行うと、
図8(a)および図8(b)に示す圧縮原画像データ
は、図9(a)および図9(b)に示す編集画像データ
に変換される。
Next, for example, the edit mode specifies two points,
When the color conversion is edited by the edit command data in which the X address is 3 to 7, the Y address is 4 to 8 and the color code is C,
The compressed original image data shown in FIGS. 8A and 8B is converted into the edited image data shown in FIGS. 9A and 9B.

【0046】この圧縮原画像データと編集画像データの
関係について、ライン4(Yアドレス)を16進数表示
したものを図10に例示する。
FIG. 10 illustrates the relationship between the compressed original image data and the edited image data in which line 4 (Y address) is displayed in hexadecimal.

【0047】つぎに、編集指令データに基づいて編集さ
れた編集画像データを、変化点の属性をみて変化しない
変化点を除くことにより、元の圧縮原画像データに変換
する。この場合に、原稿色が黒色の場合には、付帯属性
Zの模様コードの番号および色コードの番号を0とし、
原稿色が白色の場合には、付帯属性Zの模様コードの番
号を0、色コードの番号を9とする。この編集画像デー
タと変換した元の圧縮原画像データの関係について、ラ
イン4(Yアドレス)を16進数表示したものを図11
に例示する。
Next, the edited image data edited on the basis of the edit command data is converted into the original compressed original image data by removing the change points which do not change in view of the attributes of the change points. In this case, when the document color is black, the pattern code number and the color code number of the additional attribute Z are set to 0,
When the document color is white, the pattern code number of the additional attribute Z is 0 and the color code number is 9. FIG. 11 is a hexadecimal representation of line 4 (Y address) for the relationship between this edited image data and the original compressed original image data that has been converted.
For example.

【0048】つぎに、編集領域を省略した形にデータ変
換する。この編集領域を省略したデータについて、ライ
ン4(Yアドレス)を16進数表示したものを図12に
例示する。
Next, the data is converted into a form in which the editing area is omitted. FIG. 12 exemplifies a line 4 (Y address) represented in hexadecimal of the data in which the editing area is omitted.

【0049】つぎに、変化点における原稿色は必ず交互
(白→黒→白…)に繰り返されるので、先頭の原稿色を
記憶させれば、他の属性変化点における原稿色を容易に
復元することができることから、前記編集領域を省略し
たデータを、ラインヘッダ部に先頭変化点の原稿色と変
化点の個数を格納し、それに続く他のデータ部に変化点
のX座標値のみを格納することにより、圧縮画像データ
より更に圧縮された再圧縮画像データを得ることができ
る。この再圧縮画像データについて、ライン4(Yアド
レス)を16進数表示したものを図13に例示する。
Next, since the original color at the change point is always repeated alternately (white → black → white ...), the original color at other attribute change points can be easily restored by storing the leading original color. Therefore, the data in which the editing area is omitted is stored in the line header portion with the original color of the leading change point and the number of change points, and only the X coordinate value of the change point is stored in the other data portion. This makes it possible to obtain recompressed image data that is more compressed than the compressed image data. FIG. 13 illustrates the recompressed image data in which line 4 (Y address) is displayed in hexadecimal.

【0050】そして、前記再圧縮画像データと前記編集
指令データとをFDに格納することにより本実施例の画
像データの記録方法を終了する。
Then, the recompressed image data and the editing command data are stored in the FD, and the image data recording method of this embodiment is completed.

【0051】また、本発明は、前記実施例に限定される
ものではなく、必要に応じて変更することができる。
Further, the present invention is not limited to the above-mentioned embodiment, but can be modified as required.

【0052】[0052]

【発明の効果】以上説明したように本発明の画像データ
の記録方法によれば、原画像の画像データをFD等の容
量の小さな外部記憶装置に、簡単に、かつ、素早く記憶
させることができとともに、再編集の位置ずれを確実に
防止することができるという極めて優れた効果を奏す
る。
As described above, according to the image data recording method of the present invention, the image data of the original image can be easily and quickly stored in the external storage device having a small capacity such as FD. At the same time, an extremely excellent effect that the positional deviation of re-editing can be surely prevented is exhibited.

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

【図1】本発明に係る画像データの記録方法の一実施例
を示すフローチャート
FIG. 1 is a flowchart showing an embodiment of an image data recording method according to the present invention.

【図2】原画像の画像データを示す模式図FIG. 2 is a schematic diagram showing image data of an original image.

【図3】圧縮原画像データを示す模式図であり、(a)
は圧縮原画像データを示す模式図、(b)は属性データ
を示す模式図、(c)は座標値を示す模式図、(d)は
16進の圧縮原画像データを示す模式図
FIG. 3 is a schematic diagram showing compressed original image data, (a)
Is a schematic diagram showing compressed original image data, (b) is a schematic diagram showing attribute data, (c) is a schematic diagram showing coordinate values, and (d) is a schematic diagram showing hexadecimal compressed original image data.

【図4】編集指令データを示す模式図FIG. 4 is a schematic diagram showing edit command data.

【図5】編集画像データを示す模式図であり、(a)は
編集画像データを示す模式図、(b)は16進の編集画
像データを示す模式図
5A and 5B are schematic diagrams showing edited image data, wherein FIG. 5A is a schematic diagram showing edited image data, and FIG. 5B is a schematic diagram showing hexadecimal edited image data.

【図6】編集領域を省略したデータを示す模式図FIG. 6 is a schematic diagram showing data in which an editing area is omitted.

【図7】再圧縮データを示す模式図FIG. 7 is a schematic diagram showing recompressed data.

【図8】圧縮原画像データを示す模式図であり、(a)
は変化点を示す模式図、(b)は16進数の圧縮原画像
データを示す模式図
FIG. 8 is a schematic diagram showing compressed original image data, (a)
Is a schematic diagram showing change points, (b) is a schematic diagram showing hexadecimal compressed original image data

【図9】編集画像データを示す模式図であり、(a)は
変化点を示す図8と同様の図、(b)は16進数の編集
画像データを示す図8と同様の図
9A and 9B are schematic diagrams showing edited image data, where FIG. 9A is a diagram similar to FIG. 8 showing a change point, and FIG. 9B is a diagram similar to FIG. 8 showing hexadecimal edited image data.

【図10】圧縮原画像データと編集画像データの関係に
ついて、ライン4(Yアドレス)を16進数表示した模
式図
FIG. 10 is a schematic diagram showing the relationship between compressed original image data and edited image data, in which line 4 (Y address) is displayed in hexadecimal.

【図11】編集画像データと変換した元の圧縮原画像デ
ータの関係について、ライン4(Yアドレス)を16進
数表示した図10と同様の図
FIG. 11 is a view similar to FIG. 10 in which line 4 (Y address) is displayed in hexadecimal notation regarding the relationship between the edited image data and the original compressed original image data converted.

【図12】編集領域を省略したデータについて、ライン
4(Yアドレス)を16進数表示した図10と同様の図
FIG. 12 is a view similar to FIG. 10 in which line 4 (Y address) is displayed in hexadecimal notation for data with the editing area omitted.

【図13】再圧縮画像データについて、ライン4(Yア
ドレス)を16進数表示した図10と同様の図
13 is a diagram similar to FIG. 10 in which line 4 (Y address) is displayed in hexadecimal for recompressed image data.

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

X 座標値 Z 付帯属性 X coordinate value Z incidental attribute

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/387 4226−5C 1/60 1/419 9070−5C 1/46 8420−5L G06F 15/66 330 E 4226−5C H04N 1/40 D 4226−5C 1/46 Z (72)発明者 沢野 行男 東京都港区西麻布2丁目26番30号 富士写 真フィルム株式会社内 (72)発明者 杉山 幸一 東京都大田区雪谷大塚町1番7号 アルプ ス電気株式会社内 (72)発明者 荒津 修一 東京都大田区雪谷大塚町1番7号 アルプ ス電気株式会社内 (72)発明者 藤沢 久一 東京都大田区雪谷大塚町1番7号 アルプ ス電気株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Internal reference number FI Technical indication H04N 1/387 4226-5C 1/60 1/419 9070-5C 1/46 8420-5L G06F 15 / 66 330 E 4226-5C H04N 1/40 D 4226-5C 1/46 Z (72) Inventor Yukio Sawano 2 26-30 Nishiazabu, Minato-ku, Tokyo Fuji Shashin Film Co., Ltd. (72) Inventor Sugiyama Koichi 1-7 Yukiya Otsuka-cho, Ota-ku, Tokyo Alps Electric Co., Ltd. (72) Inventor Shuichi Aratsu 1-7 Yukiya Otsuka-cho, Ota-ku, Tokyo Alps Electric Co., Ltd. (72) Inventor Hisaichi Fujisawa Alps Electric Co., Ltd. 1-7 Otsuka-cho, Yukiya, Ota-ku, Tokyo

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ライン単位のビットマップデータとされ
た原画像の画像データを、ビットの属性変化点の座標値
と前記属性変化点における付帯属性とを対としたライン
単位の圧縮原画像データとし、この圧縮原画像データを
編集指令データに基づいて編集画像データに変換し、そ
の後、前記編集画像データを前記圧縮原画像データより
圧縮した再圧縮画像データとし、前記編集指令データと
前記再圧縮画像データとを外部記憶装置に記憶すること
を特徴とする画像データの記録方法。
1. Image data of an original image, which is bit-mapped data in units of lines, is compressed original image data in units of lines in which coordinate values of bit attribute change points and incidental attributes at the attribute change points are paired. , The compressed original image data is converted into edited image data based on the edit command data, and then the edited image data is recompressed image data compressed from the compressed original image data, and the edit command data and the recompressed image A method for recording image data, characterized in that the data and the data are stored in an external storage device.
JP05171651A 1993-07-12 1993-07-12 Recording method of image data Expired - Fee Related JP3084178B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05171651A JP3084178B2 (en) 1993-07-12 1993-07-12 Recording method of image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05171651A JP3084178B2 (en) 1993-07-12 1993-07-12 Recording method of image data

Publications (2)

Publication Number Publication Date
JPH0728982A true JPH0728982A (en) 1995-01-31
JP3084178B2 JP3084178B2 (en) 2000-09-04

Family

ID=15927169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05171651A Expired - Fee Related JP3084178B2 (en) 1993-07-12 1993-07-12 Recording method of image data

Country Status (1)

Country Link
JP (1) JP3084178B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008013764A1 (en) 2007-03-16 2008-10-23 J.Morita Manufacturing Corp. Medical lighting device and medical imaging device

Also Published As

Publication number Publication date
JP3084178B2 (en) 2000-09-04

Similar Documents

Publication Publication Date Title
US5329616A (en) Compressed image stores for high resolution computer graphics
US5018078A (en) Apparatus and method for processing huge image information at high speed
US5086497A (en) Image output command method for image processing system
JPH02286267A (en) Method and device for producing preview image from bit-map type pattern
US5163122A (en) Image processing system
JPH0231910B2 (en)
US6992783B1 (en) Image processing apparatus and method
JPH07288705A (en) Color image processing apparatus and method
JPH08331362A (en) Image forming device
JP3084178B2 (en) Recording method of image data
JP3496384B2 (en) Image output device
JP2547716B2 (en) Data processing system
JPS5931752B2 (en) printing device
JPH0729448B2 (en) Printer controller
JP4058157B2 (en) Image processing method, image forming apparatus, and recording medium
JP2902736B2 (en) Multimedia data projector device
JP3092194B2 (en) Image synthesis device
JP2614251B2 (en) Printer print control method
JPS63107269A (en) Image processing system
JPH11196246A (en) Image forming device
JP3269525B2 (en) Color printing device
JP3812211B2 (en) Image processing device
JP2827838B2 (en) Print data transmission method
JP2564521B2 (en) Computer terminal
JP2862505B2 (en) Data processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000620

LAPS Cancellation because of no payment of annual fees