JPH04147386A - Image processing method - Google Patents

Image processing method

Info

Publication number
JPH04147386A
JPH04147386A JP2271826A JP27182690A JPH04147386A JP H04147386 A JPH04147386 A JP H04147386A JP 2271826 A JP2271826 A JP 2271826A JP 27182690 A JP27182690 A JP 27182690A JP H04147386 A JPH04147386 A JP H04147386A
Authority
JP
Japan
Prior art keywords
density conversion
size
original image
image data
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2271826A
Other languages
Japanese (ja)
Inventor
Takamasa Ito
伊藤 隆征
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.)
NEC Office Systems Ltd
Original Assignee
NEC Office Systems 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 NEC Office Systems Ltd filed Critical NEC Office Systems Ltd
Priority to JP2271826A priority Critical patent/JPH04147386A/en
Publication of JPH04147386A publication Critical patent/JPH04147386A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten time required for image conversion processing by providing an address corresponding to each of a density conversion parameter and a size of original image data with a table where a value of the size of image data whose density has been converted is stored in advance. CONSTITUTION:When a value of density conversion parameter and a file name of original image are externally input to a control section 4, the control section 4 can extract a relevant size of original image from a function parameter storage section 5. The control section 4 uses a size of original image and density conversion parameter to refer to a memory address of in a density conversion table 6 where a relevant size of original image to be converted is in store, and reads a size of converted image from this memory address, and provides a density conversion processing section 1 with a file name of original image and its size, thereby making the density conversion processing section 1 possible to carry out density conversion processing. For this reason, image data of converted image density can be obtained in a short period of time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像処理方式に関し、特に画像データとして記
憶している原画像の密度の変換処理を行い、密度が変換
された画像データを生成する画像処理方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an image processing method, and in particular, performs density conversion processing of an original image stored as image data to generate density-converted image data. Regarding image processing methods.

〔従来の技術〕[Conventional technology]

従来、この種の画像処理方式は、第4図に構成の一例を
ブロック図として示したように、図示されていない画像
の取得装置から画像データを取得し原画像データ記憶部
2に記憶しておくと共に原画像の画像のサイズ、すなわ
ち、原画像の縦および横方向の最大画素数を原画像のフ
ァイル名と対応づけて機能パラメータ記憶部5に記憶し
ておき、たとえば、図示されていない、キーボードから
の原画像のファイル名と密度変換パラメータを含む画像
処理命令を制御部4が受取ると、制御部4によって制御
されて原画像のファイル名に対応する原画像のサイズを
機能パラメータ記憶部5より読み出す。
Conventionally, this type of image processing method acquires image data from an image acquisition device (not shown) and stores it in an original image data storage unit 2, as shown in FIG. 4 as an example of the configuration as a block diagram. At the same time, the size of the original image, that is, the maximum number of pixels in the vertical and horizontal directions of the original image, is stored in the functional parameter storage unit 5 in association with the file name of the original image. When the control unit 4 receives an image processing command including the file name of the original image and the density conversion parameter from the keyboard, the size of the original image corresponding to the file name of the original image is stored in the function parameter storage unit 5 under the control of the control unit 4. Read more.

なお、密度変換パラメータは、一定数、たとえば、16
を前述した密度変換パラメータで除した値が、これから
変換されるべき画像のサイズを原画像のサイズで除した
値、すなわち、画像の密度変換率となる値である。また
、密度変換率は原画像に対して変換されるべき画像のサ
イズが何倍に拡大されたかを示す比率を表す値である。
Note that the density conversion parameter is a constant number, for example, 16
The value obtained by dividing . Further, the density conversion rate is a value representing a ratio indicating how many times the size of the image to be converted is enlarged relative to the original image.

制御部4は、密度変換パラメータより密度変換率を算出
する、与えられた密度変換パラメータが8であるとすれ
ば、密度変換率=18/8、すなわち、2となる。続い
て、制御部4は原画像のサイズと上述の密度変換率とか
ら変換後の画像のサイズを算出する。原画像の横方向の
サイズを200、すなわち、画素数が200であるとし
、縦方向のサイズを300とし密度変換率が上述のよう
に2でるとすると変換後の画像の横方向のサイズと縦方
向のサイズはそれぞれ400と800になる。
The control unit 4 calculates the density conversion rate from the density conversion parameter.If the given density conversion parameter is 8, the density conversion rate=18/8, that is, 2. Subsequently, the control unit 4 calculates the size of the converted image from the size of the original image and the above-mentioned density conversion rate. If the horizontal size of the original image is 200, that is, the number of pixels is 200, the vertical size is 300, and the density conversion rate is 2 as described above, then the horizontal size and vertical size of the converted image are The sizes in the directions are 400 and 800, respectively.

制御部4は密度変換処理部1に上述した密度変換率、原
画像および変換後の画像のサイズの値を与えて密度変換
処理を開始させる。密度変換処理部1は原画像データ記
録部2から原画像データを縦方向300サイズ分、横方
向200サイズ分取込んで密度変換処理を行ない変換後
の画像データを密度変換後の画像データ記憶部3に転送
し記憶させる。
The control unit 4 gives the density conversion processing unit 1 the above-described density conversion rate and the values of the sizes of the original image and the converted image to start the density conversion process. The density conversion processing unit 1 takes in original image data for 300 sizes in the vertical direction and 200 sizes in the horizontal direction from the original image data storage unit 2, performs density conversion processing, and stores the converted image data in the density-converted image data storage unit. 3 and store it.

この変換された画像データは、たとえば、図示されてい
ないキーボードからの印刷の指定命令が入力されると制
御部4がこの指定命令に従って図示されていないプリン
タにより上述した変換後の画像データの画像を印刷する
ことになる。
For example, when a printing designation command is input from a keyboard (not shown), the control unit 4 prints the converted image data using a printer (not shown) in accordance with this designation command. It will be printed.

なお、密度変換処理部1は、たとえば、密度変換率が、
1より大きいときには、原画像データを構成する画素間
に拡大率に応じた数の画素を適切な位置に追加挿入する
、また追加装入される画素の値は装入されるべき原画像
の隣接する画素の値を考慮して予め密度変換処理部に組
み込まれたプログラムによって処理され決定される。
Note that the density conversion processing unit 1 has a density conversion rate of, for example,
If it is larger than 1, the number of pixels corresponding to the enlargement rate is additionally inserted at appropriate positions between the pixels composing the original image data, and the value of the additionally inserted pixel is determined by the value adjacent to the original image to be inserted. It is processed and determined by a program installed in the density conversion processing unit in advance, taking into consideration the value of the pixel.

また、密度変換処理部1は、密度変換率が1より小なる
ときには原画像データの画素の内から密度変換率の値に
応じた適切な画素成分を消去する。この場合、どの画素
成分を消去するかは、予め密度変換処理部1が持つプロ
グラムによって原画像データの画素の値とその分布が考
慮され決定される。
Furthermore, when the density conversion rate is less than 1, the density conversion processing unit 1 erases appropriate pixel components from among the pixels of the original image data according to the value of the density conversion rate. In this case, which pixel component is to be erased is determined in advance by a program included in the density conversion processing section 1, taking into consideration the pixel values of the original image data and their distribution.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の画像処理方式においては、制御部が原画
像のサイズと密度変換パラメータをもとに変換されるべ
き画像のサイズを求める演算を行う必要がある。
In the conventional image processing method described above, it is necessary for the control unit to perform calculations to determine the size of the image to be converted based on the size of the original image and the density conversion parameter.

上記の演算は積または商の演算であるため、この演算に
多くの時間を必要とするため画像の変換を指示する指令
を図示されていない入力部を介して制御部4に指示して
から所望の画像の密度変換処理が密度変換処理部1で開
始されるまでに多くの時間を要するため上述の画像の変
換処理指令を制御部4が受取ってから所望の画像データ
の密度変換処理が終了するまでに長時間を要するという
欠点があった。
Since the above calculation is a product or quotient calculation, this calculation requires a lot of time. Therefore, a command for instructing image conversion is given to the control unit 4 via an input unit (not shown), and then the desired image conversion is performed. Since it takes a long time for the density conversion processing of the image to start in the density conversion processing section 1, the density conversion processing of the desired image data is completed after the control section 4 receives the above-mentioned image conversion processing command. The drawback was that it took a long time to complete.

本発明の目的は、密度変換パラメータと原画像データの
サイズに個別に対応したアドレスに密度変換された後の
画像データのサイズの値を予め記憶したテーブルを設け
ておき、画像データの密度変換についての処理を行う前
にこのテーブルを参照することによって、これから変換
されようとする画像のサイズをこのテーブルから読み出
すことによって前述の変換されるべき画像のサイズを制
御部が演算することを不要として、画像変換処理につい
ての命令がなされてから所要の画像変換が行われるまで
の所要時間が従来のこの種の画像処理方式にくらべて短
時間とすることのできる画像処理方式を提供することに
ある。
An object of the present invention is to provide a table in which the size of image data after density conversion is stored in addresses individually corresponding to density conversion parameters and the size of original image data, and to perform density conversion of image data. By referring to this table before carrying out the processing, the control unit does not need to calculate the size of the image to be converted by reading the size of the image to be converted from this table. An object of the present invention is to provide an image processing method that can shorten the time required from issuing a command for image conversion processing to performing a required image conversion compared to conventional image processing methods of this type.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の画像処理方式は、外部から原画像データを取得
し記憶すると共に前記原画像データのファイル名とその
原画像のサイズとを対応させて記憶しておき予め設定さ
れている1以」二の異なる密−〇− 度変換パラメータの内の一つと前記原画像データのファ
イル名とが指定されたとき前記原画像データを前記密度
変換パラメータに対応する画像密度に変換した画像デー
タを出力する密度変換処理部を備えた画像処理方式にお
いて、前記密度変換処理部は前記原画像データと前記原
画像データのサイズと指定された前記密度変換パラメー
タと画像密度変換後の画像データのサイズとを入力とし
ており、前記原画像のサイズと前記密度変換パラメータ
に対応づけたアドレスに前記密度変換処理部が入力とす
る密度変換後の画像データのサイズの値を予め記憶した
密度変換テーブルを備えたことを特徴としている。
The image processing method of the present invention acquires and stores original image data from the outside, and also stores the file name of the original image data in correspondence with the size of the original image, and stores the file name of the original image data in correspondence with the size of the original image. density for outputting image data obtained by converting the original image data into an image density corresponding to the density conversion parameter when one of the different density conversion parameters and the file name of the original image data are specified; In the image processing method including a conversion processing section, the density conversion processing section receives as input the original image data, the size of the original image data, the specified density conversion parameter, and the size of the image data after image density conversion. and a density conversion table that stores in advance a value of the size of the image data after density conversion to be input by the density conversion processing unit at an address corresponding to the size of the original image and the density conversion parameter. It is said that

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図であり、第2図
および第3図は第1図の実施例に記載の密度変換テーブ
ルの一実施例の記憶内容の説明図である。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIGS. 2 and 3 are explanatory diagrams of the stored contents of an embodiment of the density conversion table described in the embodiment of FIG. 1.

第1図中の密度変換処理部1と原画像データ記憶部2と
密度変換後の画像データ記憶部3および機能パラメータ
記憶部5は、すてに第4図において説明した従来のこの
種の画像データ処理方式のブロック図中の同名のものと
同じであるので以後の説明は省略する。
The density conversion processing section 1, the original image data storage section 2, the image data storage section 3 after density conversion, and the functional parameter storage section 5 in FIG. Since it is the same as the one with the same name in the block diagram of the data processing method, further explanation will be omitted.

密度変換テーブル6は予め想定される密度変換パラメー
タ(第2図中では4から32までの等差1の等差数列)
別に記憶領域をブロック1.ブロック2.・・・、ブロ
ック29のように29領域に分割されている。
The density conversion table 6 is a density conversion parameter assumed in advance (in Fig. 2, an arithmetic progression from 4 to 32 with an arithmetic difference of 1)
Separately block storage space 1. Block 2. . . , is divided into 29 areas such as block 29.

これらの各ブロックは、たとえば、ブロック1は画像密
度を変換するときに与えられた密度変換パラメータの値
が4であるときに制御部4によって参照される。
Each of these blocks is referred to by the control unit 4 when, for example, block 1 has a density conversion parameter value of 4 when converting the image density.

第3図は第2図に示したブロック1(密度パラメータ4
に対応)とブロック2(密度パラメータ5に対応)の内
容の詳細を説明した図であって第2図中に示されている
1から29までの各ブロックはそれぞれ16ビツト毎の
記憶領域に分割され、それぞれ一つの記憶内容を持ち、
原画像が持つ画像のサイズのそれぞれに対応してサイズ
の大きさが小なるものから大なるものの順に上述した1
6ビツトの記憶領域にそれぞれOからIFFH(以後、
末尾のHは16進数を表わすものとする)のアドレスが
与えられている。
Figure 3 shows block 1 (density parameter 4) shown in Figure 2.
This figure explains the details of the contents of block 2 (corresponding to density parameter 5) and block 2 (corresponding to density parameter 5), and each block from 1 to 29 shown in Fig. 2 is divided into storage areas of 16 bits each. each has one memory content,
1 described above in order of size from smallest to largest corresponding to each image size of the original image.
Each 6-bit storage area has data from O to IFFH (hereinafter,
(H at the end represents a hexadecimal number) is given.

上述した16ビツトの記憶領域、たとえば、ブロック1
のメモリ・アドレス0にある16ビツトの記憶領域には
原画像の画像サイズが8で密度変換パラメータ4すなわ
ち密度変換率がI E3/4=4であるときの変換後の
画像のサイズ、すなわち、8X4=32 (16進数で
0020H)が予め記憶されている。
The 16-bit storage area mentioned above, for example, block 1
The 16-bit storage area at memory address 0 stores the converted image size when the original image size is 8 and the density conversion parameter is 4, that is, the density conversion rate is IE3/4 = 4. 8X4=32 (0020H in hexadecimal) is stored in advance.

第3図の原画像サイズは8Hで始まり1000Hで終る
等差が8の等差数列として与えられている。従って密度
変換パラメータ、たとえば、N(Nは整数で4から32
までの数)が与えられたときには、密度変換テーブル6
内の所要の数値すなわち、変換された後の画像のサイズ
の値が記憶されているブロックの先頭のメモリーアドレ
スは(N−4)X200Hで与えられる。次に、該当す
る原画像のサイズを8で除した値から1を減じた値を上
述した先頭のメモリ・アドレスの値に加算することによ
り変換されるべき画像のサイズの値が記憶されているメ
モリ・アドレスの値を求めることができる。すなわち、
密度変換パラメータの値と変換対象である原画像のファ
イル名とが外部より制御部4に入力されれば機能パラメ
ータ記憶部5より制御部は該当する原画像のサイズを取
出すことができるので、制御部4は原画像のサイズと密
度変換パラメータによって密度変換テーブル6内の該当
する変換されるべき画像のサイズが記憶されているメモ
リ・アドレスを上述の手順によって参照し、このメモリ
・アドレス中から変換後の画像のサイズの値を読み出し
て密度変換処理部1に原画像のファイル名とそのサイズ
と共に与えることによって密度変換処理を行わせること
ができる。
The original image size in FIG. 3 is given as an arithmetic progression of 8, starting with 8H and ending with 1000H. Therefore, the density conversion parameter, for example, N (N is an integer from 4 to 32
) is given, density conversion table 6
The memory address at the beginning of the block where the required numerical value in , that is, the value of the size of the image after conversion is stored, is given by (N-4)×200H. Next, the value of the size of the image to be converted is stored by adding the value obtained by dividing the size of the corresponding original image by 8 minus 1 to the value of the above-mentioned first memory address. The value of a memory address can be determined. That is,
If the value of the density conversion parameter and the file name of the original image to be converted are input to the control unit 4 from the outside, the control unit can retrieve the size of the corresponding original image from the function parameter storage unit 5. The unit 4 uses the size of the original image and the density conversion parameter to refer to the memory address in the density conversion table 6 in which the size of the image to be converted is stored, and performs the conversion from this memory address. By reading out the value of the size of the subsequent image and giving it to the density conversion processing section 1 along with the file name and size of the original image, the density conversion process can be performed.

今まで説明した第2図および第3図の実施例においては
、原画像サイズが8Hから100OHまでの等差8の数
列で、密度変換パラメータが4から、32までの等差1
の等差数列の場合であったが、原画のサイズと密度変換
パラメータとはこのような値に限定されることはなく、
必要に応じて適切に設定しておき、これら設定した原画
像のサイズの値と密度変換パラメータの値に応じて、予
め、適切な変換後の画像に対するサイズの値とそのメモ
リ・アドレスを設定し、密度変換テーブル6内に記憶さ
せておけばよい。
In the embodiments of FIGS. 2 and 3 described so far, the original image size is an arithmetic progression of 8 from 8H to 100OH, and the density conversion parameter is an arithmetic progression of 8 from 4 to 32.
However, the size of the original image and the density conversion parameter are not limited to these values;
Make appropriate settings as necessary, and set the size value and memory address for the appropriate converted image in advance according to the original image size value and density conversion parameter value that have been set. , may be stored in the density conversion table 6.

また、前述の説明においては、密度変換テーブル6の各
メモリーアドレスの記憶容量は16ビツトを単位として
いるが、16ビツトに限定されることはなく、記憶され
るべきサイズの値に応じて設定することができることは
明らかである。
Furthermore, in the above explanation, the storage capacity of each memory address in the density conversion table 6 is set in units of 16 bits, but it is not limited to 16 bits, and can be set according to the value of the size to be stored. It is clear that it can be done.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、予め、密度変換パ
ラメータ別に区分された密度変換テーブルのブロック内
に原画像サイズ毎に細分されたメモリ領域毎に変換後の
画像のサイズの値を記憶させておき、密度変換すべき画
像のファイル名と、密度変換パラメータが与えられると
、原画像のサイズと密度変換パラメータの値に対応して
密度変換テーブルから変換後の画像のサイズを従来のこ
の種の画像変換方式よりも短時間で求め、画像処理を開
始させることができるので、従来のこの種の画像処理方
式よりも画像変換要求の指示を入力してから短時間で画
像密度を変換した画像データを得ることができる効果が
ある。
As explained above, according to the present invention, the value of the size of the converted image is stored in advance for each memory area subdivided according to the original image size in the block of the density conversion table divided according to the density conversion parameter. Then, when the file name of the image to be density-converted and the density conversion parameter are given, the size of the converted image is calculated from the density conversion table according to the size of the original image and the value of the density conversion parameter. Since it is possible to calculate the image density and start image processing in a shorter time than with the conventional image processing method, it is possible to convert the image density in a shorter time after inputting an image conversion request instruction than with conventional image processing methods of this type. It has the effect of being able to obtain data.

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

第1図は本発明の一実施例のブロック図、第2図および
第3図は第1図の実施例に記載の密度変換テーブルの一
実施例の記憶内容の説明図、第4図は従来のこの種の画
像処理方式の一例を示すブロック図である。 1・・・密度変換処理部、2・・・原画像データ記憶部
、3・・・密度変換後の画像データ記憶部、4・・・制
御部、5・・・機能パラメータ記憶部、6・・・密度変
換テーブル。
FIG. 1 is a block diagram of an embodiment of the present invention, FIGS. 2 and 3 are explanatory diagrams of the storage contents of an embodiment of the density conversion table described in the embodiment of FIG. 1, and FIG. 4 is a conventional diagram. FIG. 2 is a block diagram showing an example of this type of image processing method. DESCRIPTION OF SYMBOLS 1...Density conversion processing unit, 2...Original image data storage unit, 3...Image data storage unit after density conversion, 4...Control unit, 5...Function parameter storage unit, 6. ...Density conversion table.

Claims (1)

【特許請求の範囲】[Claims] 外部から原画像データを取得し記憶すると共に前記原画
像データのファイル名とその原画像のサイズとを対応さ
せて記憶しておき予め設定されている1以上の異なる密
度変換パラメータの内の一つと前記原画像データのファ
イル名とが指定されたとき前記原画像データを前記密度
変換パラメータに対応する画像密度に変換した画像デー
タを出力する密度変換処理部を備えた画像処理方式にお
いて、前記密度変換処理部は前記原画像データと前記原
画像データのサイズと指定された前記密度変換パラメー
タと画像密度変換後の画像データのサイズとを入力とし
ており、前記原画像のサイズと前記密度変換パラメータ
に対応づけたアドレスに前記密度変換処理部が入力とす
る密度変換後の画像データのサイズの値を予め記憶した
密度変換テーブルを備えたことを特徴とする画像処理方
式。
Acquire and store original image data from the outside, store the file name of the original image data in correspondence with the size of the original image, and store the file name of the original image data in correspondence with one of one or more different density conversion parameters set in advance. In the image processing method, the image processing method includes a density conversion processing unit that outputs image data obtained by converting the original image data into an image density corresponding to the density conversion parameter when the file name of the original image data is specified. The processing unit receives as input the original image data, the size of the original image data, the specified density conversion parameter, and the size of the image data after image density conversion, and corresponds to the size of the original image and the density conversion parameter. An image processing method comprising: a density conversion table that stores in advance a value of the size of image data after density conversion to be input by the density conversion processing unit at the assigned address.
JP2271826A 1990-10-09 1990-10-09 Image processing method Pending JPH04147386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2271826A JPH04147386A (en) 1990-10-09 1990-10-09 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2271826A JPH04147386A (en) 1990-10-09 1990-10-09 Image processing method

Publications (1)

Publication Number Publication Date
JPH04147386A true JPH04147386A (en) 1992-05-20

Family

ID=17505395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2271826A Pending JPH04147386A (en) 1990-10-09 1990-10-09 Image processing method

Country Status (1)

Country Link
JP (1) JPH04147386A (en)

Similar Documents

Publication Publication Date Title
US5086497A (en) Image output command method for image processing system
JPH04147386A (en) Image processing method
JPS59104854A (en) Method for outputting picture layout in picture inputting/outputting device
JPS63139751A (en) Printing method in printing system
JPH0256874B2 (en)
JP2825273B2 (en) Drawing management method and apparatus
JP3153481B2 (en) Circuit diagram management system
JP2767810B2 (en) Editing area specification method
JP4253077B2 (en) Raster data editing device
JPH08123956A (en) Image processing device
JPS6062778A (en) Method for designating specific point of original in picture input scanner
JPH01221748A (en) Layout device
JP2611971B2 (en) Output device
JP2652435B2 (en) Image display method
JPH01147777A (en) Image processor
JPH08335249A (en) Document reader
JPH07250248A (en) Image data compressing/plotting device
JPH0778259A (en) Image output method and image output device
JPH05304613A (en) Compressing/expanding method and device for picture data
JPH079705A (en) Method of printing designated page in one lump and apparatus thereof
JPS60181975A (en) Control method of picture data
JPH06161881A (en) Memory access system and image memory device
JPH08274976A (en) Character information processing unit
JPH05333835A (en) Image display method
JPH04238464A (en) Gradation correction curve input method