Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3084178B2 - Recording method of image data - Google Patents
[go: Go Back, main page]

JP3084178B2 - Recording method of image data - Google Patents

Recording method of image data

Info

Publication number
JP3084178B2
JP3084178B2 JP05171651A JP17165193A JP3084178B2 JP 3084178 B2 JP3084178 B2 JP 3084178B2 JP 05171651 A JP05171651 A JP 05171651A JP 17165193 A JP17165193 A JP 17165193A JP 3084178 B2 JP3084178 B2 JP 3084178B2
Authority
JP
Japan
Prior art keywords
image data
data
original image
editing
edited
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.)
Expired - Fee Related
Application number
JP05171651A
Other languages
Japanese (ja)
Other versions
JPH0728982A (en
Inventor
宗平 芝崎
裕人 長島
行男 沢野
幸一 杉山
修一 荒津
久一 藤沢
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

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、画像データの記録方法
に係り、特に、画像入力装置で読取った原稿から所望の
領域を読取って、色彩およびパターンの変更などの編集
をし、編集後の画像を出力する画像処理装置に好適な画
像データの記録方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for recording image data, and more particularly to a method for reading a desired area from a document read by an image input device, editing colors and patterns, and performing editing. The present invention relates to a method for recording image data 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) document such as a line image read by an image input device such as a scanner is edited such as a change in color and pattern based on an editing command, and the edited image is output to a printer or the like. An image processing device configured to output to an external output device has been considered.

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

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

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

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

【0007】[0007]

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

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

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

【0010】[0010]

【課題を解決するための手段】前述した目的を達成する
ため本発明の画像データの記録方法は、ライン単位のビ
ットマップデータとされた原画像の画像データを、ビッ
トの属性変化点の座標値と前記属性変化点における付帯
属性とを対としたライン単位の圧縮原画像データとし、
この圧縮原画像データを編集指令データに基づいて編集
画像データに変換し、その後、前記編集画像データを前
記圧縮原画像データより圧縮した再圧縮画像データと
し、前記編集指令データと前記再圧縮画像データとを外
部記憶装置に記録することを特徴としている。
According to the present invention, there is provided a method for recording image data, comprising the steps of: converting image data of an original image, which is bitmap data in line units, into coordinate values of bit attribute change points; And line-by-line compressed original image data with the attribute and the attribute at the attribute change point,
The compressed original image data is converted into edited image data based on the edit command data, and then the edited image data is converted into recompressed image data obtained by compressing the compressed original image data, and the edit command data and the recompressed image data are converted. 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 original image data is converted into small-capacity recompressed image data, and the recompressed image data and the edit 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]

【実施例】以下、本発明の一実施例について作用ととも
に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below together 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 flowchart, 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) FIG. 6 is a schematic diagram illustrating image data, FIG. 6 is a schematic diagram illustrating data in which an editing area is omitted, and FIG. 7 is a schematic diagram illustrating recompressed data.

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

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

【0016】つぎに、ステップST11において、読み込
んだ原画像の画像データに対して圧縮をして圧縮原画像
データとし、次のステップST12に進行する。
Next, in step ST11, the read image data of the 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 is converted into bit attribute change points (hereinafter, referred to as change points, also referred to as change points in the figure) as shown in FIG. Compressed original image data in line units, which is a pair of the attribute and the attribute at the change point.

【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 of the line unit shown in FIG. 2, since the dot at the end of the line (left end in the figure, coordinate value 0) is white, the attribute (white, 0) and the coordinate value of the X coordinate are given. A pair of data, that is, data of a change point 1 of (Z1, X1) consisting of (white, 0) is first created, where the attribute is Z and the coordinate value is X. Next, since the color has changed to black at the coordinate value 4 in the traveling direction of the line, (black,
4), data of the attribute change point 2 of (Z2, X2) is created. Similarly, data of the attribute change point 3 (Z3, X3) consisting of (white, A), (black, A)
F), data of the attribute change point 4 of (Z4, X4), (white, 12) data of the attribute change point 5 of (Z5, X5)... The compressed original image data of (Zn, Xn) in line units of two words, in which the value X and the attribute Z at the attribute change point are paired.

【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, the attribute data Z of this embodiment is configured such that one word is composed of 16 bits, the first one bit is an empty area, and the next one bit is white. Is assigned to the original color with 0 as black and 1 as black, the pattern code numbers for editing (32 types from 0 to 31) are assigned to the next 5 bits, and the color code for editing is assigned to the next 9 bits. (512 colors from 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 such that one word is composed of 16 bits, the first 4 bits are empty, and the remaining 12 bits are changed. Point coordinate values X (0 to 4091) are assigned. The empty area is formed to facilitate data processing with one word being 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 having the coordinate value X of the bit change point and the attribute Z at the change point as a pair (Zn, Xn) is represented by 1 (d) as shown in FIG.
It is hexadecimal data.

【0024】このように、原画像の画像データを、ビッ
トの変化点の座標値Xと前記変化点における付帯属性Z
とを対(Zn,Xn)としたライン単位の圧縮原画像デ
ータに圧縮するのは、原稿を読み取るときの分解能が優
れているほど効率が向上する。例えば、原画像の画像デ
ータを構成するドットの数はスキャナの分解能の2乗に
比例する。これに対して、圧縮後の圧縮原画像データ
は、ラインの数はスキャナの分解能に比例するが、1ラ
イン中のビットの変化点の座標値Xと前記変化点におけ
る付帯属性Zとを対(Zn,Xn)とした組の数は変化
しない。従って、分解能を2乗とするとドットの数は4
倍となるが、圧縮原画像データの数はラインの数が増加
した2倍にしかならない。
As described above, the image data of the original image is represented by the coordinate value X of the bit change point and the attribute Z at the change point.
The efficiency of compressing the original image data into a pair of (Zn, Xn) line-by-line compressed original image data is improved as the resolution when reading the document is improved. 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 changing point of the bit in one line and the attribute Z at the changing point are paired ( 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 large as the number of lines is increased.

【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 editing command data by an 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 and a Y coordinate to be edited.
It is composed of X and Y addresses each having a coordinate value of one word as a coordinate value, and a one-word pattern code number / color code number.

【0028】前記編集モードとは、例えば、タブレット
上に載置された原稿に対して色替え(色変換)またはパ
ターン変更したい領域を指定する方法をあらわすもので
あり、いわゆる1点指定、2点指定、多点指定等の各種
の予め付与した指定方法(モード)である。また、X,
Yアドレスは編集モードにより異なるが、本実施例にお
いては、最小1点指定、最大多点指定で100以下とさ
れており、画像編集データ全体の大きさを12KBとし
ている。
The editing mode represents a method of designating an area where color change (color conversion) or pattern change is desired for a document placed on a tablet, for example, so-called one-point designation, two-point designation. Various pre-assigned designation methods (modes) such as designation and multi-point designation. Also, X,
Although the Y address varies depending on the editing mode, in the present embodiment, the minimum one-point specification and the maximum multi-point specification are set to 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進のデータとされる。
The image editing is performed as follows. For example, if the edit mode is 2 points and the X address is
9 (the Y address is omitted), the color code is C, and the editing instruction data of “color change of the original color is black” is shown in FIG.
When the compressed original image data shown in (a) is edited (color changed), the compressed original image data becomes a change point 2 (Z2, X2) consisting of (black, 4) as shown in FIG.
(Z2a, X2)
a) is added, and as a whole, (Z1, X1), (Z2, X2), (Z2a, X2)
a), (Z3, X3), (Z4, X4), (Z5, X
5) is converted into the edited image data, and becomes the hexadecimal data shown in FIG.

【0030】その後、この編集された編集画像データ
は、所望の復元手段によりビットマップデータに戻さ
れ、プリンタ等の外部出力機器に出力されて所望のプリ
ントが得られる。
Thereafter, the edited image data is returned to bitmap data by a 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についてさらに詳しく
説明する。
Step ST13 will be described in more detail.

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

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

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

【0036】すなわち、それぞれが16ビットとされた
付帯属性Zと座標値Xからなる2ワードの圧縮原画像デ
ータから、編集領域(模様コードの番号、色コードの番
号)を除くとともに、16ビットからなる1ワード構成
の、図6に示すような、編集領域を省略したデータに変
換する。図6の空き領域は、図3の空き領域と同様のも
のである。
That is, the edit area (pattern code number and color code number) is excluded from the 2-word compressed original image data consisting of the attribute Z and the coordinate value X each having 16 bits. The data is converted into data of a one-word configuration, 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 alternately repeated from the characteristics of the compressed data.
Since the original color at another attribute change point can be easily restored, unnecessary original color portions and empty areas are omitted from the data in which the editing area is omitted shown in FIG. 6, and as shown in FIG. Compressed image data is stored by storing the original color of the head change point and the number of change points in a 16-bit line header part and storing only the X coordinate value of each change point in 12-bit units in the other data part following the line header part. Recompressed image data that is further compressed can be obtained.

【0038】すなわち、前記再圧縮画像データの16ビ
ットのラインヘッダ部には、先頭に先頭変化点(変化点
1)の原稿色が割り当てられ、残りの15ビットに変化
点の個数(0〜32767の32768個)が割り当て
られている。そして、12ビット単位のデータ部には、
変化点1以降のX座標値(0〜4095の4096箇
所)が順次割り当てられている。
That is, the original color of the head change point (change point 1) is assigned to the head of the 16-bit line header portion of the recompressed image data, and the number of change points (0 to 32767) is allocated to the remaining 15 bits. 32768) are allocated. And, in the data part of the 12-bit unit,
The 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 serving 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 small-capacity recompressed image data, and the recompressed image data and the edit command data can be stored in the external storage device. Because it is possible, unlike the past,
The image data of the original image can be easily and quickly stored in a small-capacity external storage device such as an FD, and the positional deviation of reediting can be reliably prevented.

【0041】なお、外部記憶装置としては、FDばかり
でなく、小容量の安価なHDD等を用いることができ
る。
As the external storage device, not only the FD but also a small-capacity inexpensive HDD 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 original is read by the scanner.

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

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

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

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

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

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

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

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

【0052】[0052]

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

【図面の簡単な説明】[Brief description of the 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, and FIG.
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 editing command data.

【図5】編集画像データを示す模式図であり、(a)は
編集画像データを示す模式図、(b)は16進の編集画
像データを示す模式図
5A and 5B are schematic diagrams illustrating edited image data, FIG. 5A is a schematic diagram illustrating edited image data, and FIG. 5B is a schematic diagram illustrating 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, and FIG.
Is a schematic diagram showing a change point, and (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, in which FIG. 9A shows a change point and is similar to FIG. 8, and FIG. 9B shows hexadecimal edited image data similar to FIG.

【図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 notation;

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

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

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

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

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

───────────────────────────────────────────────────── フロントページの続き (72)発明者 沢野 行男 東京都港区西麻布2丁目26番30号 富士 写真フィルム株式会社内 (72)発明者 杉山 幸一 東京都大田区雪谷大塚町1番7号 アル プス電気株式会社内 (72)発明者 荒津 修一 東京都大田区雪谷大塚町1番7号 アル プス電気株式会社内 (72)発明者 藤沢 久一 東京都大田区雪谷大塚町1番7号 アル プス電気株式会社内 (56)参考文献 特開 平2−240772(JP,A) 特開 平2−301873(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 - 17/50 H04N 1/38 - 1/419 H04N 1/46 - 1/64 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Yukio Sawano 2-26-30 Nishiazabu, Minato-ku, Tokyo Fuji Photo Film Co., Ltd. (72) Koichi Sugiyama 1-7, Yutani-Otsuka-cho, Ota-ku, Tokyo Alps Electric Co., Ltd. (72) Inventor Shuichi Aratsu 1-7 Yukitani Otsukacho, Ota-ku, Tokyo Alps Electric Co., Ltd. (72) Inventor Hisaichi Fujisawa 1-7 Yukitani Otsukacho, Ota-ku, Tokyo Al (56) References JP-A-2-240772 (JP, A) JP-A-2-301873 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06T 1 / 00-17/50 H04N 1/38-1/419 H04N 1/46-1/64

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ライン単位のビットマップデータとされ
た原画像の画像データを、ビットの属性変化点の座標値
と前記属性変化点における付帯属性とを対としたライン
単位の圧縮原画像データとし、この圧縮原画像データを
編集指令データに基づいて編集画像データに変換し、そ
の後、前記編集画像データを前記圧縮原画像データより
圧縮した再圧縮画像データとし、前記編集指令データと
前記再圧縮画像データとを外部記憶装置に記憶すること
を特徴とする画像データの記録方法。
1. An image data of an original image, which is bitmap data in line units, is compressed original image data in line units in which coordinate values of bit attribute change points and additional attributes at the attribute change points are paired. Converting the compressed original image data into edited image data based on the edit command data, and then converting the edited image data into recompressed image data obtained by compressing the compressed original image data; And storing the data 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 JPH0728982A (en) 1995-01-31
JP3084178B2 true 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7922346B2 (en) 2007-03-16 2011-04-12 J. Morita Manufacturing Corporation Medical lighting apparatus and medical imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7922346B2 (en) 2007-03-16 2011-04-12 J. Morita Manufacturing Corporation Medical lighting apparatus and medical imaging apparatus

Also Published As

Publication number Publication date
JPH0728982A (en) 1995-01-31

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
JP3194352B2 (en) How to reproduce a composite image
US5946451A (en) Method for generating a contone map
US5163122A (en) Image processing system
EP0326137A2 (en) Image processing system
JPH02286267A (en) Method and device for producing preview image from bit-map type pattern
JPH0231910B2 (en)
US6992783B1 (en) Image processing apparatus and method
JPH07288705A (en) Color image processing apparatus and method
JP3084178B2 (en) Recording method of image data
EP0542317B1 (en) Apparatus for generating a character pattern for a serial printer
JP3203660B2 (en) Image recording device
JP3581381B2 (en) Image processing method and image processing apparatus
JPH09507998A (en) How to attach sheets
JP2584893B2 (en) Image recording device
JP2547716B2 (en) Data processing system
JP3496384B2 (en) Image output device
JPS59156065A (en) Color image information storage method
JP2737883B2 (en) Output control device
JP4058157B2 (en) Image processing method, image forming apparatus, and recording medium
JP3092194B2 (en) Image synthesis device
JP3269525B2 (en) Color printing device
JPH0729448B2 (en) Printer controller
JP2614251B2 (en) Printer print control method

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