JPH088649B2 - Color print signal generator - Google Patents
Color print signal generatorInfo
- Publication number
- JPH088649B2 JPH088649B2 JP59242789A JP24278984A JPH088649B2 JP H088649 B2 JPH088649 B2 JP H088649B2 JP 59242789 A JP59242789 A JP 59242789A JP 24278984 A JP24278984 A JP 24278984A JP H088649 B2 JPH088649 B2 JP H088649B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- matrix
- dots
- value
- line
- 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 - Lifetime
Links
Landscapes
- Ink Jet (AREA)
- Dot-Matrix Printers And Others (AREA)
- Color, Gradation (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【発明の詳細な説明】 (a) 技術分野 この発明はY(Yellow),M(Magenta),C(Cyan)の
3色を使用してインクジェット方式や熱転写方式等によ
って多量,多色印刷するときのカラー印刷信号を作成す
るカラー印刷作成装置に関する。DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field The present invention is applicable to a large amount of multi-color printing by an inkjet method or a thermal transfer method using three colors of Y (Yellow), M (Magenta), and C (Cyan). The present invention relates to a color print creating apparatus for creating a color print signal of the above.
(b) 発明の背景 カラーモニタに表示されている画像をハードコピーす
る従来の典型的な印刷方法は、カラー表示画面の各画素
のR,G,BデータをB,G,RデータとY,M,Cとがそれぞれ補色
の関係にあるという性質を利用してY,M,Cデータに変換
し、また各画素毎にY,M,C各色に対応してm×mドット
・マトリックスを配列し、そのマトリックスの占有値を
決めることで(m×m+1)3の多色表現をできるよう
にしていた。しかしながら、R,G,BデータからY,M,Cデー
タへの変換は単にその補色関係を利用して行うに過ぎな
かったために、実際のカラーモニタ上の色とハードコピ
ー上の色とで相当なずれを生じ、特に青系統(Green,Ma
genta,Cyan)の色が非常に濃くなってしまう欠点があっ
た。そこで本出願人は先に特願昭58-210200号において
R,G,BデータをY,M,Cデータに変換した後、さらに変換後
のデータを補正し、またマトリックスの占有値が少なく
てもより自然な感じに印刷できるようにしたカラープリ
ンタの印刷方法を提案した。(B) Background of the Invention A typical conventional printing method for making a hard copy of an image displayed on a color monitor is to convert R, G, B data of each pixel of a color display screen into B, G, R data and Y, Converted to Y, M, C data by utilizing the property that M and C have complementary colors respectively, and array m × m dot matrix corresponding to each color of Y, M, C for each pixel. However, the occupancy value of the matrix is determined so that (m × m + 1) 3 multicolor expression can be performed. However, since the conversion from R, G, B data to Y, M, C data was performed only by using the complementary color relationship, the actual colors on the color monitor and the colors on the hard copy are equivalent. Deviation occurs, especially in the blue system (Green, Ma
genta, Cyan) had the drawback that the color became very dark. Therefore, the applicant previously filed Japanese Patent Application No. 58-210200.
Printing of a color printer that converts R, G, B data to Y, M, C data, then corrects the converted data, and makes it possible to print more naturally even if the occupied value of the matrix is small. Suggested a method.
(c) 発明の目的 この発明の目的は、Y,M,Cデータを補正し、且つマト
リックスの占有値が少なくてもより自然な感じに印刷で
きるようにするとともに、出力装置であるカラー印刷装
置がどのようなタイプのものであってもその印刷装置に
適合した適切なカラー印刷信号を任意に作成することの
できるカラー印刷信号作成装置を提供することにある。(C) Object of the Invention An object of the present invention is to correct Y, M, and C data and to print more naturally even if the occupied value of the matrix is small. SUMMARY OF THE INVENTION It is an object of the present invention to provide a color print signal producing apparatus capable of arbitrarily producing an appropriate color print signal suitable for the printing apparatus of any type.
(d) 発明の構成および効果 この発明は、映像信号を受けマトリックス演算のため
のR,G,Bデータを出力する入力信号処理回路と、 前記R,G,Bデータをマトリックス演算してY,M,C占有値
データに変換するマトリックス演算手段と、 各画素毎に、前記Y,M,C占有値データに対応した数の
ビットが、各画素のY,M,C毎に配列されている記憶エリ
アの全領域に分散して書き込まれるマトリックスメモリ
と、 前記Y,M,C占有値データをフィルタ等を通して適宜調
整する画像処理手段と、 印刷機の1ラインドット数と拡大,縮小データである
倍率データとを含む印刷仕様データの入力を受け付ける
手段と、 前記画像処理手段の出力データまたは前記Y,M,C占有
値データを、該データの1ライン分のドット数を印刷機
の1ライン分のドット数に一致させた後に、このデータ
について拡大,縮小等の処理を行うことで前記印刷仕様
データに応じたサイズに適合するデータに変換する出力
画素サイズ演算手段と、 を備えてなることを特徴とし、 入力手段によって印刷機の仕様データを入力しその仕
様データに基づいてY,M,C占有値データまたはそのデー
タを適宜調整したデータを任意のサイズに適合するよう
に変換できるようにしたものである。(D) Configuration and Effect of the Invention The present invention relates to an input signal processing circuit for receiving a video signal and outputting R, G, B data for matrix calculation, and a matrix calculation of the R, G, B data for Y, Matrix calculation means for converting to M, C occupied value data, and for each pixel, the number of bits corresponding to the Y, M, C occupied value data are arranged for each Y, M, C of each pixel. A matrix memory that is distributed and written in all areas of the storage area, an image processing unit that appropriately adjusts the Y, M, and C occupied value data through a filter or the like, and the number of dots per line of the printing machine and enlargement / reduction data. Means for receiving input of print specification data including magnification data; output data of the image processing means or the Y, M, C occupation value data, the number of dots for one line of the data, and the number of dots for one line of the printing machine. After matching the number of dots of Output pixel size calculation means for converting the data into data suitable for the size according to the print specification data by performing processing such as enlarging and reducing. The data is input, and based on the specification data, Y, M, C occupation value data or data obtained by appropriately adjusting the data can be converted so as to fit to an arbitrary size.
上記のように構成することによってこの発明によれ
ば、マトリックス群中の1ラインのドット数と印刷機の
1ラインのドット数とが異なっていてもマトリックス群
中の1ラインのドット数を印刷機の1ラインドット数に
合うようにデータ変換できるために、どのような印刷機
を接続してもその印刷機の能力に応じたカラー印刷を行
うことができる。また、拡大,縮小データ等を入力する
こともできるため、印刷状態を様々な形態にすることが
任意にできる利点がある。さらに、マトリックスメモリ
へのY,M,C占有値データ対応ビットの書き込みを、エリ
ア全領域に分散するように行うために、特に上記占有値
が少なくてもより自然な印刷を行うことができる。According to the present invention configured as described above, even if the number of dots of one line in the matrix group and the number of dots of one line of the printing machine are different, the number of dots of one line in the matrix group is determined by the printing machine. Since the data can be converted so as to match the number of 1-line dots, it is possible to perform color printing according to the ability of the printing machine, whatever the printing machine is connected to. Further, since it is possible to input enlargement / reduction data or the like, there is an advantage that the printing state can be arbitrarily set in various forms. Furthermore, since writing of the Y, M, and C occupied value data corresponding bits to the matrix memory is performed so as to be distributed over the entire area, more natural printing can be performed even if the occupied value is small.
(e) 実施例 (Y,M,Cデータの作成原理) 第1図はこの発明に係るカラー印刷信号作成装置で実
施するY,M,Cデータの作成原理を説明する図である。(E) Embodiment (Y, M, C data creation principle) FIG. 1 is a diagram for explaining the Y, M, C data creation principle implemented by the color print signal creation device according to the present invention.
本実施例では、表示画面の映像情報をY,M,Cデータに
変換する例を説明する。In this embodiment, an example in which the video information on the display screen is converted into Y, M, C data will be described.
表示画面Cのi列j行のカラー画像データM(i,j)
はデータ変換手段10によってY,M,CデータからなるM′
(i,j)データに変換される。変換の方法は、最初にR,
G,Bデータを全ての画素分について下記の(1)式によ
りY,M,Cデータに変換する。Color image data M (i, j) at column i and row j of display screen C
Is M'comprised of Y, M, C data by the data conversion means 10.
Converted to (i, j) data. The conversion method is first R,
G, B data is converted into Y, M, C data by the following equation (1) for all pixels.
dY=n−dB(0≦dB<n,0<dY≦n) dM=n−dG(0≦dG<n,0<dM≦n) ……(1) dC=n−dR(0≦dR<n,0<dC≦n) (但しnは画像データのR,G,Bの表現可能な階調数を表
し、dB,dG,dRはそれぞれY,M,Cの割合を表す。) 上記のデータ変換を行うと次に占有値変換手段11によ
ってY,M,Cデータをマトリックス占有値変換する。今、
画像データ1画素に対してm×mドットのマトリックス
を対応させると、第2図に示すように印刷の3原色であ
るY,M,Cから合計7色の基本色を出すことができるか
ら、1画素に対して最大(m2+1)3色の表現が可能にな
る。即ち、m×mドットのマトリックスにおいて、Y,M,
Cのそれぞれのマトリックスの占有値の数はm2+1とな
るから、Y,M,Cそれぞれの組み合わせによって(m2+1)3色
の理論的な表現色数が得られる。占有値変換手段11はY,
M,Cデータのそれぞれの値をマトリックス占有値に変換
し、(m2+1)3色の中の1色を設定する。変換の方法は下
記(2)式によって行う。dY = n-dB (0≤dB <n, 0 <dY≤n) dM = n-dG (0≤dG <n, 0 <dM≤n) (1) dC = n-dR (0≤dR <N, 0 <dC ≦ n) (However, n represents the number of gradations R, G, and B that can be represented in the image data, and dB, dG, and dR represent the ratios of Y, M, and C.) When the data conversion is performed, the occupancy value conversion means 11 converts the Y, M, and C data into the matrix occupancy value. now,
When a matrix of m × m dots is made to correspond to one pixel of image data, a total of seven basic colors can be output from Y, M, and C, which are the three primary colors of printing, as shown in FIG. A maximum of (m 2 +1) 3 colors can be expressed for one pixel. That is, in a matrix of m × m dots, Y, M,
Since the number of occupied values of each matrix of C is m 2 +1, the theoretical number of expressed colors of (m 2 +1) 3 colors can be obtained by each combination of Y, M, and C. Occupation value conversion means 11 is Y,
Each value of M and C data is converted into a matrix occupation value, and one of the (m 2 +1) 3 colors is set. The conversion method is performed by the following equation (2).
mY=(dY−1)*(m2+1)/n mM=(dM−1)*(m2+1)/n ……(2) mC=(dC−1)*(m2+1)/n (但し、小数点以下は切り捨てる。) 上記のようにして占有値変換手段11によって得られた
占有値は、さらに補正手段12において補正される。mY = (dY-1) * (m 2 +1) / n mM = (dM-1) * (m 2 +1) / n ...... (2) mC = (dC-1) * (m 2 +1) / n (However, the fractional part is discarded.) The occupation value obtained by the occupation value conversion means 11 as described above is further corrected by the correction means 12.
R,G,Bデータを前述のように単に上記(1)式によっ
てY,M,Cデータに変換し、そのデータを直接印刷用の3
原色データとして利用すると、特に青系統において印刷
色が非常に濃くなる傾向がある。補正手段12は特に青系
統のズレを補正するもので、各Y,M,Cデータに対してそ
れぞれ1以下の数値x,y,zを乗じ、Y,M,Cの占有値をより
小さな値に補正する。即ち、補正後の占有値mY′,mM′,
mC′はそれぞれ下記(3)式によって求める。As described above, R, G, B data is simply converted to Y, M, C data by the above equation (1), and the data is directly printed by the 3
When used as primary color data, the print color tends to be very dark, especially in the blue system. The correction means 12 is particularly for correcting the deviation in the blue system, and multiplies each Y, M, C data by a numerical value x, y, z of 1 or less, and makes the occupied value of Y, M, C a smaller value. Correct to. That is, the corrected occupation values mY ′, mM ′,
mC 'is calculated by the following equation (3).
mY′=mY*x(0<x<1.0) mM′=mM*y(0<y<1.0) ……(3) mC′=mC*z(0<z<1.0) 上記占有値変換手段11によって得られたY占有値、お
よび補正手段12にて補正されたY占有値、M占有値、C
占有値の数は、それぞれY,M,C各色に対応して配列され
ているm×mドット・マトリックスメモリMRに所定の方
法でセットされていく。m×mドット・マトリックスメ
モリの配列数は全画素数、即ち(1+1)*(l2+
1)の数に一致する。マトリックスメモリMY(i,j)、M
N(i,j)、MC(i,j)はそれぞれi列j行の画素のY,M,C
占有値を記憶する。各マトリックスメモリへの占有値の
セットは、セットされるビットがマトリックス全領域に
分散されるようにして行う。分散する方法は任意であっ
てよいが、望ましくは前回にセットされたビットと今回
セットされたビットが一定の間隔をおいて対向するパタ
ーンとなるのがよい。mY ′ = mY * x (0 <x <1.0) mM ′ = mM * y (0 <y <1.0) (3) mC ′ = mC * z (0 <z <1.0) The occupied value conversion means 11 Y occupancy value obtained by the above, and the Y occupancy value, M occupancy value, C corrected by the correction means 12
The number of occupied values is set by a predetermined method in the m × m dot matrix memory MR arranged corresponding to each color of Y, M and C. The array number of m × m dot matrix memory is the total number of pixels, that is, (1 + 1) * (l2 +
Match the number in 1). Matrix memory MY (i, j), M
N (i, j) and MC (i, j) are Y, M, and C of the pixel at column i and row j, respectively.
Store the occupancy value. The occupancy value is set in each matrix memory so that the set bits are distributed over the entire matrix area. The method of dispersion may be arbitrary, but it is desirable that the bit set last time and the bit set this time face each other with a constant interval.
以上のようにしてメモリMRの全てのマトリックスメモ
リに対し、得られた占有値にしたがって各ビットをマト
リックス全領域に分散するようにして順次セットしてい
き、それが終了するとメモリMRのデータをY,M,C別に1
行ずつバッファBY,BM,BCに転送する。バッファBY,BM,BC
に記憶されているデータは印刷画像に対応したビットパ
ターンデータとなっている。このデータが後述する出力
画素サイズ演算手段によって予め入力されている印刷仕
様データに応じて変換され、カラー印刷信号作成装置に
接続されている印刷機に出力される。As described above, all the matrix memories of the memory MR are sequentially set according to the obtained occupation value so that each bit is distributed over the entire matrix area, and when that is completed, the data of the memory MR is set to Y. 1 for each of M, C
Transfer line by line to buffers BY, BM, BC. Buffer BY, BM, BC
The data stored in is the bit pattern data corresponding to the print image. This data is converted by the output pixel size calculation means, which will be described later, according to the print specification data input in advance, and is output to the printing machine connected to the color print signal generating device.
(マトリックスデータの作成例) 今、第1図の構成において、n=256(階調)、m=
4とする。(Example of creating matrix data) Now, in the configuration of FIG. 1, n = 256 (gradation), m =
Set to 4.
この場合、仮にdB=255、dG=0、dR=128とすると上
記(1)式により dY=256−255=1 dM=256−0=256 dC=256−128=128 となる。また、上記(2)式により mY=(1−1)*(42+1)/256=0 mM=(256−1)*(42+1)/256=16 mC=(128−1)*(42+1)/256=8 となる。さらに上記(3)式においてx=0、y=0.
7、z=0.5とすると mY′=0 mM′=16*0.7≒11 mC′=8*0.5=4 となる。したがって、ある位置きY,M,Cのそれぞれの
占有値は mY′=0 mM′=11 mC′=4 となる。In this case, if dB = 255, dG = 0, and dR = 128, then dY = 256-255 = 1 dM = 256-0 = 256 dC = 256-128 = 128 from the above equation (1). In addition, mY = (1-1) * (4 2 +1) / 256 = 0 mM = (256-1) * (4 2 +1) / 256 = 16 mC = (128-1) * according to the equation (2). (4 2 +1) / 256 = 8. Furthermore, in the equation (3), x = 0, y = 0.
7. If z = 0.5, then mY '= 0 mM' = 16 * 0.7≈11 mC '= 8 * 0.5 = 4. Therefore, the occupation values of Y, M, and C at a certain position are mY '= 0 mM' = 11 mC '= 4.
ここでマトリックスメモリに対する各ビットのセット
順序を第3図に示すようにした場合、マトリックス占有
値が0〜16のときのそれぞれの占有値のパターンは第4
図に示すようになる。この図から明らかなように、マト
リックス占有値の増加に対するその占有パターンの変化
は、ビットが1個所に集中する変化ではなく、マトリッ
クス全領域に分散する変化である。例えばマトリックス
占有値が1から2に増加するときには、増加するときに
新たにセットされるビットが占有値1のときの周囲から
離れた位置となる。同様に占有値が3から4に変化する
ときに新たにセットされるビットは、占有値が2から3
に増加するときにセットされたビットの周囲から離れた
位置となる。このように占有値の値にしたがってマトリ
ックスメモリの各ビットをマトリックス全領域に分散す
るように順次セットしていくことにより、Y,M,Cそれぞ
れに対する印刷を終了したときの構成色を、より自然な
状態にすることができる。第5図はm=4の場合におい
てYの占有値が0、Mの占有値が16、Cの占有値が8で
ある場合(M,Cの占有値は補正後の値)のマトリックス
の構成状態を示している。When the setting order of each bit for the matrix memory is as shown in FIG. 3, the pattern of each occupied value when the matrix occupied value is 0 to 16 is the fourth.
As shown in the figure. As is clear from this figure, the change in the occupancy pattern with respect to the increase in the matrix occupancy value is not a change in which the bits are concentrated in one place but a change in which the bits are dispersed in the entire matrix area. For example, when the matrix occupancy value increases from 1 to 2, the bit that is newly set when the matrix occupancy value increases is located away from the surroundings when the occupancy value is 1. Similarly, a bit that is newly set when the occupation value changes from 3 to 4 has an occupation value of 2 to 3
When it increases to, it is a position away from the periphery of the set bit. In this way, by sequentially setting each bit of the matrix memory according to the value of the occupation value so as to be distributed over the entire area of the matrix, the constituent colors at the end of printing for Y, M, and C can be made more natural. It can be in a different state. FIG. 5 shows the matrix structure when the occupied value of Y is 0, the occupied value of M is 16, and the occupied value of C is 8 when m = 4 (the occupied values of M and C are corrected values). It shows the state.
(画像処理) マトリックス演算手段によって求められた占有値デー
タ(補正後のデータ)はさらに画像処理手段によってフ
ィルタ等を通して適宜調整される。画像処理の種類とし
ては次の項目が含まれる。(Image processing) The occupation value data (corrected data) obtained by the matrix computing means is further adjusted by the image processing means through a filter or the like. The following items are included as types of image processing.
(1) 直交変換(一次元,二次元,順変換,逆変
換)、FET,WHT,HAAR変換,たたみ込み領域での微分フィ
ルタ。(1) Orthogonal transformation (one-dimensional, two-dimensional, forward transformation, inverse transformation), FET, WHT, HAAR transformation, differential filter in convolution domain.
(2) 位置合わせ 相関法,SSDA法,アフイン変換とパラメータ決定、一般
二次変換。(2) Registration Correlation method, SSDA method, affine transformation and parameter determination, general quadratic transformation.
(3) 強調と平滑化 ヒストグラム変換、反復による強調とノイズ除去、ヒス
テリシス平滑化、E−フィルタ、高速メディアフィル
タ、エッジ保存平滑化。(3) Enhancement and smoothing Histogram conversion, enhancement and noise removal by iteration, hysteresis smoothing, E-filter, fast media filter, edge-preserving smoothing.
(4) 復元 逆フィルタ、ウィーナフィルタ、制限付き最小2乗フィ
ルタ。(4) Restoration Inverse filter, Wiener filter, restricted least squares filter.
(5) エッジと線の検出 差分型、テンプレートマッチング型、オペレータ反復
型。(5) Edge and line detection Difference type, template matching type, operator repeating type.
(6) 弛暖法の応用 線の強調、エッジの強調、ノイズ除去。(6) Application of relaxation method Line enhancement, edge enhancement, noise removal.
(7) その他の処理 テクスチャー解析、領域分布、幾何学的特徴の処理、
線型フィルタ、正期化ヒストグラム作成、しきい値処理
としきい置選択、形状換、量子化代入等の処理。(7) Other processing Texture analysis, area distribution, geometric feature processing,
Processing such as linear filter, regularized histogram creation, threshold processing and threshold selection, shape conversion, and quantization substitution.
以上のような公知の画像処理の方法によって画像の数
値的な解析はもとより、ひずみやノイズ、さらにはマト
リックスの組み合わせを行った場合に画面上に生じる可
能性のあるドットの方向性等が取り除かれ、鮮明で良好
な階調の色彩映像情報を得ることができる。Not only the numerical analysis of the image by the known image processing method as described above, but also distortion and noise, and further, the directionality of the dots that may occur on the screen when the combination of the matrix is removed are removed. It is possible to obtain clear and good gradation color image information.
(出力画素サイズ演算) 本発明の特徴点であるこの出力画素サイズ演算は補正
後のマトリックスデータまたはそのデータを画像処理し
たデータを対象とする。(Output Pixel Size Calculation) This output pixel size calculation, which is a feature of the present invention, is applied to corrected matrix data or data obtained by image-processing the data.
演算の種類を例示すると次のようになる。 An example of the types of operations is as follows.
(1) フィルタ(逆フィルタ) マトリックス群中の1ラインのドット数=a、印刷機の
1ラインのドット数=bとすると、 a≧bの場合は n=a/bのフィルタ係数を使用し、 a≦bの場合は n=b/aのフィルタ係数を使用する。(1) Filter (inverse filter) If the number of dots in one line in the matrix group = a and the number of dots in one line in the printing machine = b, then when a ≧ b, use the filter coefficient of n = a / b , A ≦ b, use a filter coefficient of n = b / a.
(2) 拡大,縮小 (3) ドット間のAND,OR,NOR (4) 左右拡大(縮小) (5) 上下拡大(縮小) (6) カット(場所任意) (7) ミラー (8) 繋ぎ合わせ 後述するようにこれらの処理を行うために必要なデー
タ、即ち印刷仕様データはCPUに接続されているファン
クションキーから入力される。(2) Enlargement and reduction (3) AND, OR, NOR between dots (4) Horizontal enlargement (reduction) (5) Vertical enlargement (reduction) (6) Cut (arbitrary location) (7) Mirror (8) Joining As will be described later, data necessary for performing these processes, that is, print specification data, is input from the function keys connected to the CPU.
(装置の具体例) 第6図は本実施例のカラー印刷信号作成装置のブロッ
ク図である。(Specific Example of Apparatus) FIG. 6 is a block diagram of a color print signal generating apparatus of this embodiment.
CPU1にはメモリ2,外部メモリ3,入力信号制御部4,出力
信号制御部5,ファンションキー6がそれぞれバスを介し
て接続されている。また入力信号制御部4にはA/D変換
器7が接続され、出力信号制御部5にはD/A変換器8が
接続されている。A memory 2, an external memory 3, an input signal control unit 4, an output signal control unit 5, and a function key 6 are connected to the CPU 1 via buses. An A / D converter 7 is connected to the input signal control unit 4, and a D / A converter 8 is connected to the output signal control unit 5.
TVカメラやその他の映像機器からの映像情報は入力信
号制御部4に入力される。この場合、映像情報がパラレ
ル信号(PIO(セントロニクス信号)を含む。),シリ
アル信号(SIO)の場合には直接入力し、アナログ信号
(AIO(ビデオ信号を含む。))の場合はA/D変換器7を
介して入力する。入力データはCPU1によって上述したマ
トリックス演算が施されメモリ2に格納される。メモリ
2に格納された情報はさらにCPU1によって上記画像処理
および出力画素サイズ演算の処理が施され、出力信号制
御部5を介して外部に印刷信号として出力される。この
場合、印刷装置の入力規格がSIO,PIOの場合は直接出力
され、AIOの場合にはD/A変換器8を介して出力される。
外部メモリ3は演算中の途中の結果や最終結果を格納す
るために使用される。Video information from a TV camera or other video equipment is input to the input signal control unit 4. In this case, if the video information is a parallel signal (including PIO (Centronics signal)) or serial signal (SIO), it is directly input, and if it is an analog signal (AIO (including video signal)), A / D Input through the converter 7. The input data is subjected to the above matrix calculation by the CPU 1 and stored in the memory 2. The information stored in the memory 2 is further subjected to the above-mentioned image processing and output pixel size calculation processing by the CPU 1, and is output to the outside as a print signal via the output signal control unit 5. In this case, when the input standard of the printing device is SIO or PIO, it is directly output, and when it is AIO, it is output via the D / A converter 8.
The external memory 3 is used to store the intermediate result and the final result during the calculation.
(CPU1の動作) 第7図〜第9図は上記CPU1の動作を示すフローチャー
トである。(Operation of CPU1) FIGS. 7 to 9 are flowcharts showing the operation of the CPU1.
第7図はメインルーチンを示している。 FIG. 7 shows the main routine.
最初にステップn1(以下ステップniを単にniとい
う。)にてRAMクリア等各種のイニシャライズを行い、n
2に進む。n2では入力信号制御部4にて映像情報の信号
を受信する。次にn3で上述したマトリックス演算を行
う。さらにn4で1単位のマトリックスデータの演算が終
了したかどうかを判断し、単位データの演算を終了すれ
ばn5に進む。n5では出力サイズ演算サブルーチンをコー
ルする。出力サイズ演算が終了するとn6に進み、演算後
のデータを出力信号制御部5を介して印刷信号として外
部に出力する。以上の処理を全ての入力映像信号に対し
て行ってから終了する。First, at step n1 (hereinafter step ni is simply referred to as ni), various initializations such as RAM clear are performed, and n
Go to 2. At n2, the input signal control unit 4 receives a video information signal. Then, the matrix operation described above is performed with n3. Further, at n4, it is judged whether or not the calculation of the matrix data of one unit is completed, and if the calculation of the unit data is completed, the process proceeds to n5. In n5, the output size calculation subroutine is called. When the output size calculation is completed, the process proceeds to n6 to output the calculated data as a print signal to the outside through the output signal control unit 5. The above process is performed for all input video signals, and then the process is terminated.
尚、本実施例ではY,M,C占有値データをフィルタ等を
通して適宜調整する画像処理ステップを第8図以下の出
力サイズ演算ルーチンに含めるようにしている。In this embodiment, the image processing step of appropriately adjusting the Y, M, C occupied value data through a filter or the like is included in the output size calculation routine shown in FIG.
第8図は上記出力サイズ演算処理ルーチンを示してい
る。最初にn10でファンクションキー6からコマンドや
印刷仕様を決定するその他のデータを受け付ける。n11
ではコマンドの内容を解析するために入力データをメモ
リに格納する。n12〜n15においてその入力されたコマン
ドの種類を判定する。入力されたコマンドが拡大(縮
小)要求コマンドである場合にはn16に進み、画像コン
デンス要求コマンドであればn17に進み、ミラー要求コ
マンドであればn18に進み、画像処理要求コマンドであ
ればn19に進む。n16では拡大(縮小)ルーチンをコール
する。n17では画像コンデンスルーチンをコールする。n
18ではミラールーチンをコールする。またn19では画像
処理ルーチンをコールする。入力されたコマンドに対す
る全ての処理が終了するとn20から抜けてメインルーチ
ンにリターンする。FIG. 8 shows the output size calculation processing routine. First, at n10, commands and other data for determining printing specifications are accepted from the function key 6. n11
Then, the input data is stored in the memory in order to analyze the content of the command. At n12 to n15, the type of the input command is determined. If the input command is an enlargement (reduction) request command, proceed to n16. If it is an image condensation request command, proceed to n17. If it is a mirror request command, proceed to n18. If it is an image processing request command, proceed to n19. move on. In n16, call the enlargement (reduction) routine. In n17, the image condensation routine is called. n
In step 18, the mirror routine is called. In n19, the image processing routine is called. When all the processing for the input command is completed, the process exits n20 and returns to the main routine.
第9図(A)は上記n16での拡大(縮小)ルーチンを
示している。最初にn30で拡大(縮小)を計算する。こ
の率の計算に必要なデータはファンクションキー6によ
ってすでに入力されている。コマンドが拡大要求コマン
ドであればn31→n34へ進み、縮小要求コマンドであれば
n32→n35へ進む。また左,右,上,下の何れかの方向へ
の拡大(縮小)要求コマンドである場合にはn33→n37へ
進む。またカット要求コマンドである場合にはn36→n38
へ進む。n34ではb=a*nの演算を行い、n35ではb=
a/nの演算を行う。またn37ではb=a*n(x,y)また
はb=a/n(x,y)の演算を行う。続いてn40で印刷機の
1ライン分の演算を行い、n42で全てのラインに対する
演算が終了するまでn40を実行してリターンする。以上
の処理によって通常の拡大または縮小要求コマンド、
左,右,上,下への拡大または縮小コマンド、カット要
求コマンドのそれぞれに対応した出力サイズ演算を行う
ことができる。FIG. 9A shows the enlargement (reduction) routine at n16. First calculate the enlargement (reduction) with n30. The data required to calculate this rate have already been entered by function key 6. If the command is an enlargement request command, proceed to n31 → n34, and if it is a reduction request command,
Go to n32 → n35. If the command is an enlargement (reduction) request command in any of the left, right, up, and down directions, the process proceeds from n33 to n37. If it is a cut request command, n36 → n38
Go to. In n34, b = a * n is calculated, and in n35, b = a * n
Calculates a / n. In n37, b = a * n (x, y) or b = a / n (x, y) is calculated. Then, at n40, the calculation for one line of the printing press is performed, and at n42, n40 is executed until the calculation for all the lines is completed, and the process returns. By the above processing, normal enlargement or reduction request command,
It is possible to perform output size calculation corresponding to each of the left, right, up, and down enlargement or reduction commands and the cut request command.
第9図(B)は画像コンデンスルーチンを示す。 FIG. 9B shows an image condensation routine.
このルーチンではn50〜n52でコマンドがAND要求コマ
ンドかOR要求コマンドかNOR要求コマンドかを判定し、n
53〜n55でそれぞれのコマンドに応じた処理を行う。そ
してn56,n57で印刷機の1ライン毎に全てのラインに対
する演算を行い、リターンする。In this routine, n50 to n52 determine whether the command is an AND request command, an OR request command, or a NOR request command, and n
The processing corresponding to each command is performed at 53 to n55. Then, at n56 and n57, all lines are calculated for each line of the printing press, and the process returns.
第9図(C)はミラールーチンを示している。最初に
n60でミラー位置を演算し、n61でミラー画素を演算し、
n62でリピート要求があるかどうかを判定する。無い場
合にはそのままリターンし、リピート要求がある場合に
はn63でリピート演算をしてリターンする。FIG. 9C shows the mirror routine. At first
n60 calculates the mirror position, n61 calculates the mirror pixel,
At n62, it is determined whether there is a repeat request. If there is no repeat request, it returns as it is. If there is a repeat request, the repeat operation is performed in n63 and returns.
第9図(D)は画像処理ルーチンを示している。n70
〜n75でコマンドの内容を判定し、n77〜n82でそれぞれ
のコマンドに応じた処理を行ってリターンする。FIG. 9D shows an image processing routine. n70
The contents of the command are judged in ~ n75, and the processing corresponding to each command is executed in n77 ~ n82 and the process returns.
以上の動作によってマトリックス演算によって得られ
たY,M,C占有値データを印刷仕様データに応じたサイズ
に適合するデータに自動的に変換して出力することがで
きる。By the above operation, the Y, M, and C occupation value data obtained by the matrix calculation can be automatically converted into the data conforming to the size according to the print specification data and output.
第1図はこの発明に係るカラー印刷信号作成装置でY,M,
C占有値データを得る原理を説明する図である。第2図
はR,G,BデータとY,M,Cデータとの関係を示す図、第3図
はm=4のときのマトリックスへのビットのセット順序
を示す図であり、第4図はその順序に従った場合のマト
リックス占有値に対する占有パターン図である。第5図
はm=4の場合のマトリックスの合成状態の一例を示す
図である。第6図は本発明の実施例のブロック図、第7
図〜第9図(A)〜(D)は本実施例の動作を示すフロ
ーチャートである。FIG. 1 shows a Y, M,
It is a figure explaining the principle which acquires C occupation value data. FIG. 2 is a diagram showing the relationship between R, G, B data and Y, M, C data, and FIG. 3 is a diagram showing the order of setting bits in a matrix when m = 4. FIG. 6 is an occupation pattern diagram for matrix occupation values when the order is followed. FIG. 5 is a diagram showing an example of a combined state of the matrix when m = 4. FIG. 6 is a block diagram of an embodiment of the present invention, FIG.
9A to 9D are flowcharts showing the operation of this embodiment.
Claims (1)
R,G,Bデータを出力する入力信号処理回路と、 前記R,G,Bデータをマトリックス演算してY,M,C占有値デ
ータに変換するマトリックス演算手段と、 各画素毎に、前記Y,M,C占有値データに対応した数のビ
ットが、各画素のY,M,C毎に配列されている記憶エリア
の全領域に分散して書き込まれるマトリックスメモリ
と、 前記Y,M,C占有値データをフィルタ等を通して適宜調整
する画像処理手段と、 印刷機の1ラインドット数と拡大,縮小データである倍
率データとを含む印刷仕様データの入力を受け付ける手
段と、 前記画像処理手段の出力データまたは前記Y,M,C占有値
データを、該データの1ライン分のドット数を印刷機の
1ライン分のドット数に一致させた後に、このデータに
ついて拡大,縮小等の処理を行うことで前記印刷仕様デ
ータに応じたサイズに適合するデータに変換する出力画
素サイズ演算手段と、 を備えてなるカラー印刷信号作成装置。1. A video signal for receiving matrix operation
An input signal processing circuit for outputting R, G, B data, a matrix operation means for performing matrix operation on the R, G, B data to convert it into Y, M, C occupation value data, and Y for each pixel. , M, C matrix memory in which a number of bits corresponding to the occupied value data are distributed and written in all areas of the storage area arranged for each Y, M, C of each pixel, and the Y, M, C An image processing unit that appropriately adjusts the occupation value data through a filter, a unit that receives input of print specification data including the number of 1-line dots of the printing machine and magnification data that is enlargement / reduction data, and an output of the image processing unit. After matching the data or the Y, M, C occupied value data with the number of dots for one line of the data to the number of dots for one line of the printing machine, enlarge or reduce the data. Suitable for the size according to the print specification data An output pixel size calculation means for converting into combined data, and a color print signal generation device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59242789A JPH088649B2 (en) | 1984-11-16 | 1984-11-16 | Color print signal generator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59242789A JPH088649B2 (en) | 1984-11-16 | 1984-11-16 | Color print signal generator |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61121570A JPS61121570A (en) | 1986-06-09 |
| JPH088649B2 true JPH088649B2 (en) | 1996-01-29 |
Family
ID=17094313
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59242789A Expired - Lifetime JPH088649B2 (en) | 1984-11-16 | 1984-11-16 | Color print signal generator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH088649B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5224701A (en) * | 1975-08-20 | 1977-02-24 | Dainippon Screen Mfg | Method of correcting color of image signal |
-
1984
- 1984-11-16 JP JP59242789A patent/JPH088649B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 「画像技術の35年−写真製版機器便覧と応用展開−」,昭和53年10月,大日本スクリーン製造(株)発行,P.121〜137 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61121570A (en) | 1986-06-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| DE69521166T2 (en) | Subsystem and method for correcting data for image processing | |
| DE69522284T2 (en) | Adaptive filtering device and threshold processing to reduce granularity | |
| DE69426658T2 (en) | Imaging device and method | |
| DE69829019T2 (en) | Configurable data processing pipeline | |
| DE68927701T2 (en) | Image processing device and method | |
| DE69125414T2 (en) | Image processing device | |
| JP2001283219A (en) | Template fitting method | |
| DE60225761T2 (en) | METHOD FOR PRINTING DIGITAL PICTURES MULTI-STAGE PRINTING WITH REDUCED COLOR VOLUME QUANTITIES | |
| US7102789B2 (en) | Method for rendering an image comprising multi-level pixels | |
| US5612795A (en) | HSL corrections in CMY color space | |
| US20130215436A1 (en) | Image processing device and image processing method | |
| DE69931128T2 (en) | Color correction method with multi-level halftone screening | |
| JP2009071831A (en) | Image processing apparatus, image processing method, and image forming apparatus | |
| CN100405813C (en) | Image processing for gray scale representation | |
| JPH088649B2 (en) | Color print signal generator | |
| US7756353B2 (en) | Edge enhancement method for halftone image | |
| JPH03259193A (en) | Gray scale character display device | |
| US7434906B2 (en) | Method for converting printing data and device using the same | |
| JP4792893B2 (en) | Image processing apparatus and program | |
| DE102018113423A1 (en) | IMAGE PROCESSING DEVICE AND IMAGE PROCESSING METHOD | |
| JP2001309188A (en) | Image processing apparatus and image processing method | |
| JP3897947B2 (en) | Image data processing method | |
| JP3501533B2 (en) | Color image forming equipment | |
| JP2532177B2 (en) | Image forming device | |
| DE102004005270B4 (en) | Color image forming apparatus, color image forming method and color image data processing method |