JPS627264A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPS627264A
JPS627264A JP60146017A JP14601785A JPS627264A JP S627264 A JPS627264 A JP S627264A JP 60146017 A JP60146017 A JP 60146017A JP 14601785 A JP14601785 A JP 14601785A JP S627264 A JPS627264 A JP S627264A
Authority
JP
Japan
Prior art keywords
image
processing
picture
enlarging
output
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
JP60146017A
Other languages
Japanese (ja)
Inventor
Yasushi Waki
康 脇
Toru Yokoe
横江 亨
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60146017A priority Critical patent/JPS627264A/en
Publication of JPS627264A publication Critical patent/JPS627264A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the amount of processing on the unit of one picture element, to speed the processing and to simplify the hardwares by generating a bit selecting pattern to correlate an input picture and an output picture after enlarging/contracting processing based on the magnification of the enlarging and the contraction. CONSTITUTION:A picture to be converted which is inputted through a picture inputting part 1 is inputted to a bit selecting pattern generating part 6 via an image memory 2 and an enlarging/contracting processing part 3. The part 6 generates, based on the enlarging/contracting ratio, the bit pattern to correlate the input picture and the output picture after the enlarging/contraction, and outputs it to a bit selecting pattern register 7. The part 3 rotates the register 7 for each of the input picture elements, and if a carry results from it, outputs it as one output picture element, but does nothing if the carry does not result. That means that the enlarging/contracting processing is executed only by a shifting operation, so the amount of the processing for one picture element is reduced, and the processing is speedified and further, the circuit is simplified.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、入力された画像を自由に編集し、表示するた
めに画像の拡大・縮小を行う画像処理装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image processing apparatus that freely edits an input image and enlarges or reduces the image for display.

従来の技術 従来の画像の拡大・縮小処理装置では、画像入力部より
入力された画像に対して、ディジタル微分解析機を用い
て拡大φ縮小処理を行なっている(周上、島崎、広上、
鈴木、″事務処理分野をねらった2値画像プロセサLS
I”、「日経エレクトロニクスJ、1983年12月1
9日号、pp。
BACKGROUND OF THE INVENTION Conventional image enlargement/reduction processing devices use a digital differential analyzer to perform enlargement/reduction processing on images input from an image input unit (Shukami, Shimazaki, Hirokami,
Suzuki, ``Binary image processor LS aimed at the office processing field''
I”, “Nikkei Electronics J, December 1983
9th issue, pp.

195−216.)。195-216. ).

これは拡大・縮小倍率を出力画面Bの始点座標に逐次加
算することにより入力画面Aの座標lを対応する出力画
面Bの座標1へ変換している。第4図(a) 、 (b
)に示すように縮小時、入力画面Aに対応する出力画面
Bをもとめるには、入力画面Aの座標iを1画素ずつ移
動させる度に残差Rに拡大・縮小倍率m / n (第
4図伽)ではS/a )を加え、加算の結果桁上げが発
生すれば、入力画面Aの座標iの内容を出力画面Bの座
標jに出力しjを1画素移動させ、桁上げがなければ何
も行わない。入力画面Aの座標iと出力画面Bの関係は
、次式のようになる。
This converts the coordinate 1 of the input screen A to the corresponding coordinate 1 of the output screen B by sequentially adding the enlargement/reduction magnification to the starting point coordinates of the output screen B. Figure 4 (a), (b
), in order to obtain the output screen B corresponding to the input screen A during reduction, the residual R is given the enlargement/reduction magnification m/n (4th In Figure 3), S/a) is added, and if a carry occurs as a result of the addition, output the contents of coordinate i on input screen A to coordinate j on output screen B, move j by 1 pixel, and check if there is no carry. do nothing. The relationship between the coordinate i of the input screen A and the output screen B is as shown in the following equation.

j=c−・(i −1)+RO〕+1 ただし、〔X)はXを超えない最大整数、ROは残差の
初期値を表わす。
j=c-.(i-1)+RO]+1 However, [X] is the maximum integer not exceeding X, and RO represents the initial value of the residual.

拡大時には、画面Aが出力画面となシ画面Bが入力画面
となるので座標lと座標jの対応関係が逆になるだけで
縮小の場合と同様である。
At the time of enlargement, screen A is the output screen and screen B is the input screen, so it is the same as in the case of reduction, except that the correspondence between coordinates l and j is reversed.

発明が解決しようとする問題点 前記のような拡大・縮小処理方法では、入力された画像
の各画素単位にアドレス及び残余の計算を行うので、大
容量の画像データに対しては処理速度が問題となる。ま
た、ハード化を考えた場合、基本処理単位が1画素なの
で複数画素単位の処理を行なわせようとすると回路が複
雑化する。
Problems to be Solved by the Invention In the above-mentioned enlargement/reduction processing method, addresses and residuals are calculated for each pixel of the input image, so processing speed is a problem for large amounts of image data. becomes. Furthermore, when considering hardware, since the basic processing unit is one pixel, the circuit becomes complicated if processing is performed in units of multiple pixels.

問題点を解決するだめの手段 本発明は、前記問題点を解決するために予め指定された
拡大・縮小倍率に基づき入力画像と拡大・縮小処理後の
出力画像を対応づけるビットセレクトパターンを生成し
ておき、画像入力部の出力である入力画像に対して、ビ
ットセレクトパターンレジスタをローテートしながら参
照し前記出力画像を求めることにより1画素当たシの処
理量を軽減すると共に、処理内容を簡素化するものであ
る。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention generates a bit selection pattern that associates an input image with an output image after enlargement/reduction processing based on a prespecified enlargement/reduction ratio. Then, by rotating and referring to the bit select pattern register for the input image that is the output of the image input unit to obtain the output image, the amount of processing per pixel is reduced and the processing content is simplified. It is something that becomes.

作  用 本発明は、前記の技術的手段により1画素当たりの処理
量を軽減し、処理内容を簡素化することによって、拡大
・縮小処理の高速化及びハード化への柔軟な対応を図る
ものである。
Function The present invention aims to speed up the enlargement/reduction process and flexibly respond to the need for hardware by reducing the amount of processing per pixel and simplifying the processing content using the above-mentioned technical means. be.

実施例 以下、本発明の実施例について図面を参照しながら説明
する。
EXAMPLES Hereinafter, examples of the present invention will be described with reference to the drawings.

第1図は、本発明における画像処理装置の一実施例の構
成図である。1は、画像入力部であり変換対象画像を入
力する。イメージメモリ2に、画像入力部1の出力であ
る入力画像を格納する。ビットセレクトパターン生成部
6において前記入力画像と拡大・縮小変換後の出力画像
を対応づけるビットセレクトパターンを生成し、ビット
セレクトパターンレジスタ7に格納する。拡犬争縮小処
理部3では、ビットセレクトパターンレジスタ7を参照
しながら前記出力画像を求め、ビデオメモI74に格納
して表示部6で表示する。
FIG. 1 is a configuration diagram of an embodiment of an image processing apparatus according to the present invention. Reference numeral 1 denotes an image input unit which inputs an image to be converted. An input image, which is the output of the image input section 1, is stored in the image memory 2. A bit select pattern generation unit 6 generates a bit select pattern that associates the input image with the output image after the enlargement/reduction conversion, and stores it in the bit select pattern register 7. The enlargement/reduction processing section 3 obtains the output image while referring to the bit select pattern register 7, stores it in the video memo I74, and displays it on the display section 6.

以上のように構成された画像処理装置において、拡大・
縮小変換倍率13/1 eの場合について説明をおこな
う。
In the image processing device configured as described above, magnification and
A case where the reduction conversion magnification is 13/1e will be explained.

前記ビットセレクトパターンを詳細に説明した図が第2
図である。ビットセレクトパターンは、ビットセレクト
パターン生成部6においてディジタル微分解析機を用い
て出力画像の各画素の座標に対応する入力画像の画素の
座標を求め、出力画像の隣接画素間で差分をとることに
よって生成されるものである。ビットセレクトパターン
は16ビツト長で、縮小時は前記入力画像の各画素と、
拡大時は前記出力画像の各画素と1対1に対応している
。縮小の場合は、ビットセレクトパターンの”1”に対
応する入力画像の各画素は選択され、′0″に対応する
画素は、間引かれることを意味する。拡大の場合は、入
力画像の各画素と出力画像の各画素の対応が縮小の場合
と逆になるだけで同様である。ビットセレクトパターン
生成部6によって生成されタヒットセレクトパターンは
、16ビツトのビットセレクトパターンレジスタ7に格
納される。以上のようなビットセレクトパターンを用い
て拡大・縮小処理部3では第3図に示すように、画像入
力部1の出力である入力画像の各画素に対して、ビット
セレクトパターンレジスタ7をローテートしてその結果
桁上がシが生じた場合、出力画像の1画素として出力す
る。桁上げが生じない場合は、何も行わない。すなわち
、シフト操作のみで拡大・縮小処理を行うので、1画素
当たりの処理量を軽減し回路を簡素化することが容易に
なる。
The second diagram is a diagram explaining the bit selection pattern in detail.
It is a diagram. The bit select pattern is generated by using a digital differential analyzer in the bit select pattern generation unit 6 to find the coordinates of pixels in the input image that correspond to the coordinates of each pixel in the output image, and by taking the difference between adjacent pixels in the output image. It is generated. The bit selection pattern is 16 bits long, and when reduced, each pixel of the input image and
When enlarging, there is a one-to-one correspondence with each pixel of the output image. In the case of reduction, each pixel of the input image corresponding to "1" in the bit select pattern is selected, and the pixels corresponding to '0' are thinned out.In the case of enlargement, each pixel of the input image corresponding to "1" in the bit selection pattern is selected It is the same as in the case of reduction, except that the correspondence between pixels and each pixel of the output image is reversed.The hit select pattern generated by the bit select pattern generation unit 6 is stored in the 16-bit bit select pattern register 7. Using the bit select pattern described above, the enlargement/reduction processing unit 3 rotates the bit select pattern register 7 for each pixel of the input image that is the output of the image input unit 1, as shown in FIG. If a carry occurs as a result, it is output as one pixel of the output image.If no carry occurs, nothing is done.In other words, since the enlargement/reduction process is performed only by shift operations, It becomes easy to reduce the amount of processing per pixel and simplify the circuit.

発明の効果 本発明によれば、拡大・縮小倍率に基づき入力画像と拡
大・縮小処理後の出力画像を対応づけるビットセレクト
パターンを生成し・、画像入力部の出力である入力画像
に対してローテート操作のみで拡大・縮小処理を行うこ
とにより1画素単位の地理量を減少し高速化を図ると共
にハード化が容易とな石。
Effects of the Invention According to the present invention, a bit selection pattern is generated that associates an input image with an output image after enlargement/reduction processing based on the enlargement/reduction magnification, and the bit selection pattern is rotated with respect to the input image that is the output of the image input section. A stone that reduces the geographical amount of each pixel by performing enlargement/reduction processing only by operation, increasing speed and making it easy to make hardware.

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

第1図は本発明における一実施例の画像処理装置の構成
図、第2図はビットセレクトパターンの説明図、第3図
はビットセレクトパターンを用いた場合の拡大・縮小処
理のフロー示した図、第4図は従来の拡大・縮小処理方
法を説明した図である。 1・・・・・・画像入力部、2・・・・・・イメージメ
モリ、3・・・・・・拡大・縮小処理部、4・・・・・
・ビデオメモリ、5・・・・・・表示部、6・・・・・
・ビットセレクトパターン生成部、7・・・・・・ビッ
トセレクトパターンレジスタ。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名入 ト   −   ← シ ー   ノ   羽 」 区 第3図
Fig. 1 is a block diagram of an image processing device according to an embodiment of the present invention, Fig. 2 is an explanatory diagram of a bit select pattern, and Fig. 3 is a diagram showing the flow of enlargement/reduction processing when using the bit select pattern. , FIG. 4 is a diagram illustrating a conventional enlargement/reduction processing method. 1... Image input section, 2... Image memory, 3... Enlargement/reduction processing section, 4...
・Video memory, 5...Display section, 6...
-Bit select pattern generation unit, 7...Bit select pattern register. Name of agent: Patent attorney Toshio Nakao and 1 other person - ← Shi-no-ha” Ward Figure 3

Claims (1)

【特許請求の範囲】[Claims] 処理対象となる画像を入力する画像入力部と、前記画像
入力部の出力である入力画像と拡大・縮小処理後の出力
画像を対応付けるビットセレクトパターンを生成するビ
ットセレクトパターン生成部と、前記ビットセレクトパ
ターンを格納するビットセレクトパターンレジスタと、
前記入力画像を入力とし、前記ビットセレクトパターン
レジスタを参照しながら前記出力画像を求める拡大・縮
小処理部を具備することを特徴とする画像処理装置。
an image input unit that inputs an image to be processed; a bit select pattern generation unit that generates a bit select pattern that associates an input image that is an output of the image input unit with an output image after enlargement/reduction processing; a bit select pattern register that stores the pattern;
An image processing apparatus comprising: an enlargement/reduction processing section that receives the input image and obtains the output image while referring to the bit select pattern register.
JP60146017A 1985-07-03 1985-07-03 Picture processor Pending JPS627264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60146017A JPS627264A (en) 1985-07-03 1985-07-03 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60146017A JPS627264A (en) 1985-07-03 1985-07-03 Picture processor

Publications (1)

Publication Number Publication Date
JPS627264A true JPS627264A (en) 1987-01-14

Family

ID=15398210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60146017A Pending JPS627264A (en) 1985-07-03 1985-07-03 Picture processor

Country Status (1)

Country Link
JP (1) JPS627264A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59214377A (en) * 1983-05-19 1984-12-04 Matsushita Electric Ind Co Ltd Picture data processor
JPS6064527A (en) * 1983-09-19 1985-04-13 Fujitsu Ltd Thinning-out system of serial data
JPS60213169A (en) * 1984-04-09 1985-10-25 Fuji Xerox Co Ltd Density converter of picture data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59214377A (en) * 1983-05-19 1984-12-04 Matsushita Electric Ind Co Ltd Picture data processor
JPS6064527A (en) * 1983-09-19 1985-04-13 Fujitsu Ltd Thinning-out system of serial data
JPS60213169A (en) * 1984-04-09 1985-10-25 Fuji Xerox Co Ltd Density converter of picture data

Similar Documents

Publication Publication Date Title
JPH09326958A (en) Image processing unit and processing method
JPS6255137B2 (en)
JPS62262188A (en) Picture processor
JPS627264A (en) Picture processor
JPS5935270A (en) Picture element density converter
JPS59214377A (en) Picture data processor
JPS627265A (en) Picture processor
JPS6219973A (en) Data compression method
JP2924528B2 (en) Labeling processing method and labeling processing apparatus
JP2691559B2 (en) Pixel density conversion device and method thereof
JPS60189579A (en) Processor of picture data
JPS59158666A (en) Line density converting system
JPS59200373A (en) Coordinate converting circuit
JPS6221194A (en) Bold-line information generating system for graphic display unit
JPS59214969A (en) Rotating processing system of picture
JP3004993B2 (en) Image processing device
JPS62263579A (en) Interpolation arithmetic circuit
JP2512252B2 (en) Image scaling device
JPH04101594U (en) Image processing device
JP2000270207A (en) Image processor and display device using it
JPH0762867B2 (en) Halftone image screen number conversion device
JPH11153978A (en) Magnifying method for digital display device and circuit
JPH04329482A (en) Image rotation processing method and processing device for relevant method
JPS5899886A (en) Oblique scanning method
JPH01298397A (en) Image processor