JP2015089115A - 画像の拡大縮小処理装置および画像の拡大縮小処理方法 - Google Patents
画像の拡大縮小処理装置および画像の拡大縮小処理方法 Download PDFInfo
- Publication number
- JP2015089115A JP2015089115A JP2014178713A JP2014178713A JP2015089115A JP 2015089115 A JP2015089115 A JP 2015089115A JP 2014178713 A JP2014178713 A JP 2014178713A JP 2014178713 A JP2014178713 A JP 2014178713A JP 2015089115 A JP2015089115 A JP 2015089115A
- Authority
- JP
- Japan
- Prior art keywords
- interpolation
- coefficient
- input
- image
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000009467 reduction Effects 0.000 title claims abstract description 43
- 238000003672 processing method Methods 0.000 title claims description 4
- 238000012545 processing Methods 0.000 claims abstract description 38
- 238000004364 calculation method Methods 0.000 claims description 104
- 238000000034 method Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 description 38
- 239000000872 buffer Substances 0.000 description 15
- 238000010586 diagram Methods 0.000 description 15
- 238000012546 transfer Methods 0.000 description 15
- 230000004044 response Effects 0.000 description 10
- 238000011946 reduction process Methods 0.000 description 5
- 230000001186 cumulative effect Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000009977 dual effect Effects 0.000 description 2
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
Description
実施の形態の説明に先立って、本発明の前提となる画像の拡大縮小処理について説明する。
まず、伝達関数を用いた画像の拡大縮小処理の例として、冗長性を排除したU/D倍任意拡大縮小処理の手順について説明する。
伝達関数を用いて、画像の拡大縮小を行う方法の他に、キュービックコンボリューションや線形補間、3次補間、ラグランジュ補間、スプライン補間、ランツォシュ補間などの補間関数を用いて画像データを内挿(補間)し、画像の拡大縮小を行う方法がある。
<拡大縮小処理装置の基本構成>
図7は本発明に係る実施の形態の画像の拡大縮小処理装置100の基本構成を示すブロック図である。なお、以下においては、拡大縮小処理装置100は、図1に示したU/D倍任意拡大縮小処理を行うものとして説明する。
このようにして得られた出力画像データy(n)は、予め設定された画素数分の入力画像データに基づいて作成された1画素分の画像データであり、同じ処理を異なる選択範囲の予め設定された画素数分の画素に対して行い、次の出力画像データy(n)を得る。
補間係数の算出には種々の方法が考えられるが、例えば、キュービックコンボリューションを用いた内挿法を説明する数式(4)を、整数の乗算と加減算とデータのシフトのみで実現できるように下記の数式(12)のように変形することができる。
なお、上記の説明では、数式(12)に示されるように、h(ti)’、h(ti+1)’およびh(ti+2)’を個々に求めた後、2nからh(ti)’、h(ti+1)’およびh(ti+2)’を差し引いた値をh(ti+3)’としていたが、これに限定されるものではない。
以上の説明においては画像の拡大縮小処理をハードウェアを用いて実現する構成を示したが、CPU(Central Processing Unit)やDSP(Digital Signal Processor)などのプロセッサ上で動作するソフトウェアにより実現することも可能である。
8 乗算器
9 加算器
14 シフト回路
20 係数演算回路
201 座標演算回路
202〜205 係数演算回路
Claims (6)
- 入力画像データに対して画素を補間することでU/D倍(U、Dは自然数)に変換して出力画像データとする画像の拡大縮小処理装置であって、
前記画像の拡大縮小処理で使用される補間係数を算出する係数演算回路と、
前記入力画像データを構成する入力画素のそれぞれに対応するように前記係数演算回路から与えられる前記補間係数を乗算する乗算器と、
前記乗算器から出力される乗算済みデータの加算を繰り返し、前記入力画素の所定個数分について前記乗算済みデータの総和を取る加算器と、
前記所定個数分の前記入力画素について前記乗算済みデータの総和が得られるタイミングで前記乗算済みデータの総和を出力するセレクタと、
前記セレクタの出力をシフト演算することで、前記出力画像データのビット数を前記入力画像データのビット数に調整するシフト回路と、を備え、
前記係数演算回路で算出される前記補間係数は、その総和が、所定数の2の累乗と同じとなるように整数化されていることを特徴とする、画像の拡大縮小処理装置。 - 前記係数演算回路は、
前記入力画像データに対して補間される画素の内挿点の座標を算出する座標演算回路と、
前記所定個数分の前記入力画素に対応する補間係数をそれぞれ出力する複数の係数演算回路とを有し、
前記複数の係数演算回路のうちの1つは、前記所定数の2の累乗の値から他の係数演算回路で算出された前記補間係数の和を差し引くことで残り1つの補間係数を算出する、請求項1記載の画像の拡大縮小処理装置。 - 前記座標演算回路は、
先に得られた内挿点の座標にD/Uを加算することで次の内挿点の座標を算出し、そのうち、最初の内挿点の座標は、予め定めた初期値にD/Uを加算することで座標を算出し、
算出された内挿点の座標の小数部分を切り捨てる演算を行って、その演算結果を前記内挿点と前記所定個数分の前記入力画素のうちの1つの入力画素との基準距離とし、前記基準距離に基づいて、前記内挿点と前記所定個数分の前記入力画素の他の入力画素との距離を算出し、前記基準距離を含めて内挿点入力画素間距離として前記他の係数演算回路に与える、請求項2記載の画像の拡大縮小処理装置。 - 前記座標演算回路は、
現在の内挿点の座標と次の内挿点の座標とを整数化し、両者の差分値により、前記入力画素を前記所定個数分単位の選択範囲を、所定画素数ずつずらす、あるいはずらさないことを規定するスキップ数を決定する、請求項3記載の画像の拡大縮小処理装置。 - 前記他の係数演算回路は、
前記座標演算回路から与えられる前記内挿点入力画素間距離どうしの乗算および所定の係数の乗算を行って、入力された前記内挿点入力画素間距離に対応した補間関数を演算すると共に、前記補間関数の演算結果を四捨五入することで、入力された前記内挿点入力画素間距離に対応した補間係数を算出する、請求項3記載の画像の拡大縮小処理装置。 - 入力画像データに対して画素を補間することでU/D倍(U、Dは自然数)に変換して出力画像データとする画像の拡大縮小処理方法であって、
(a)前記画像の拡大縮小処理で使用される補間係数を算出するステップと、
(b)前記入力画像データを構成する入力画素のそれぞれに対応するように、前記ステップ(a)で得られた前記補間係数を乗算するステップと、
(c)前記ステップ(b)で得られた乗算済みデータの加算を繰り返し、前記入力画素の所定個数分について前記乗算済みデータの総和を取るステップと、
(d)前記所定個数分の前記入力画素について前記乗算済みデータの総和が得られるタイミングで前記乗算済みデータの総和を出力するステップと、
(e)前記ステップ(d)で得られる前記乗算済みデータの総和をシフト演算することで、前記出力画像データのビット数を前記入力画像データのビット数に調整するステップと、を備え、
前記ステップ(a)で算出される前記補間係数は、その総和が、所定数の2の累乗と同じとなるように整数化されていることを特徴とする、画像の拡大縮小処理方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014178713A JP6262621B2 (ja) | 2013-09-25 | 2014-09-03 | 画像の拡大縮小処理装置および画像の拡大縮小処理方法 |
US14/487,535 US9286654B2 (en) | 2013-09-25 | 2014-09-16 | Image scaling processor and image scaling processing method |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013198092 | 2013-09-25 | ||
JP2013198092 | 2013-09-25 | ||
JP2014178713A JP6262621B2 (ja) | 2013-09-25 | 2014-09-03 | 画像の拡大縮小処理装置および画像の拡大縮小処理方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015089115A true JP2015089115A (ja) | 2015-05-07 |
JP6262621B2 JP6262621B2 (ja) | 2018-01-17 |
Family
ID=52691007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014178713A Active JP6262621B2 (ja) | 2013-09-25 | 2014-09-03 | 画像の拡大縮小処理装置および画像の拡大縮小処理方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US9286654B2 (ja) |
JP (1) | JP6262621B2 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190063401A (ko) * | 2017-11-29 | 2019-06-07 | 캐논 가부시끼가이샤 | 원격 화상 진단을 받는 것이 가능한 화상 형성 장치, 그 제어 방법, 및 그 제어 프로그램을 저장하는 저장 매체 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10133618A (ja) * | 1996-10-29 | 1998-05-22 | Sony Corp | 画像信号処理装置 |
JPH11308574A (ja) * | 1998-04-22 | 1999-11-05 | Sony Corp | 走査線数変換装置及び方法 |
JP2011009814A (ja) * | 2009-06-23 | 2011-01-13 | Mitsubishi Electric Corp | 縮小画像生成装置 |
JP2015012415A (ja) * | 2013-06-28 | 2015-01-19 | 株式会社メガチップス | 係数テーブルの作成方法および画像の拡大縮小処理装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1063826A (ja) | 1996-08-22 | 1998-03-06 | Mitsubishi Electric Corp | 画像拡大縮小処理装置 |
JP2000165664A (ja) | 1998-11-30 | 2000-06-16 | Sony Corp | 画像の解像度変換装置及び方法 |
WO2006134688A1 (ja) * | 2005-06-16 | 2006-12-21 | Neuro Solution Corp. | 補間処理回路 |
US7971042B2 (en) * | 2005-09-28 | 2011-06-28 | Synopsys, Inc. | Microprocessor system and method for instruction-initiated recording and execution of instruction sequences in a dynamically decoupleable extended instruction pipeline |
WO2011086672A1 (ja) * | 2010-01-13 | 2011-07-21 | 株式会社 東芝 | 動画像符号化装置および復号装置 |
-
2014
- 2014-09-03 JP JP2014178713A patent/JP6262621B2/ja active Active
- 2014-09-16 US US14/487,535 patent/US9286654B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10133618A (ja) * | 1996-10-29 | 1998-05-22 | Sony Corp | 画像信号処理装置 |
JPH11308574A (ja) * | 1998-04-22 | 1999-11-05 | Sony Corp | 走査線数変換装置及び方法 |
JP2011009814A (ja) * | 2009-06-23 | 2011-01-13 | Mitsubishi Electric Corp | 縮小画像生成装置 |
JP2015012415A (ja) * | 2013-06-28 | 2015-01-19 | 株式会社メガチップス | 係数テーブルの作成方法および画像の拡大縮小処理装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190063401A (ko) * | 2017-11-29 | 2019-06-07 | 캐논 가부시끼가이샤 | 원격 화상 진단을 받는 것이 가능한 화상 형성 장치, 그 제어 방법, 및 그 제어 프로그램을 저장하는 저장 매체 |
KR102357562B1 (ko) | 2017-11-29 | 2022-02-04 | 캐논 가부시끼가이샤 | 원격 화상 진단을 받는 것이 가능한 화상 형성 장치, 그 제어 방법, 및 그 제어 프로그램을 저장하는 저장 매체 |
Also Published As
Publication number | Publication date |
---|---|
US20150086136A1 (en) | 2015-03-26 |
US9286654B2 (en) | 2016-03-15 |
JP6262621B2 (ja) | 2018-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6262455B2 (ja) | 係数テーブルの作成方法および画像の拡大縮小処理装置 | |
JP5914045B2 (ja) | 画像処理装置、画像処理方法、及びプログラム | |
US6915026B2 (en) | Image processing method and apparatus | |
US6252576B1 (en) | Hardware-efficient system for hybrid-bilinear image scaling | |
JP2015513837A (ja) | パラレルスケーラ処理 | |
JP4728744B2 (ja) | 画像処理装置 | |
JP6262621B2 (ja) | 画像の拡大縮小処理装置および画像の拡大縮小処理方法 | |
JP2670875B2 (ja) | 適応前進差分および整数算術を用いてパラメトリツク関数を表示する装置および整数算術を用いて実現する方法 | |
JP3869779B2 (ja) | ディジタル映像処理装置及び方法 | |
JP5643576B2 (ja) | 画像処理装置およびその制御方法 | |
AU2014380166B2 (en) | A method for electronic zoom with sub-pixel offset | |
JPWO2007102244A1 (ja) | 画像拡大縮小装置 | |
Wang et al. | Efficient implementation of a cubic-convolution based image scaling engine | |
KR20160091222A (ko) | 영상 처리 장치 및 영상 처리 방법 | |
Dilip et al. | Bilinear interpolation image scaling processor for VLSI architecure | |
JP2018120536A (ja) | データ補間装置及びその方法、画像処理装置 | |
US6742008B2 (en) | Accurate and cost effective linear interpolators | |
JP2010033406A (ja) | 画像処理装置、画像機器、画像処理方法 | |
JP2000187726A (ja) | デ―タ補間方法および装置及び記憶媒体 | |
Lin et al. | A low-cost VLSI design of extended linear interpolation for real time digital image processing | |
JP5253305B2 (ja) | 縮小画像生成装置 | |
WO2013183096A1 (ja) | 多段フィルタ処理装置及び方法 | |
JP3323166B2 (ja) | 補間演算装置 | |
JP2010206301A (ja) | 画像処理装置及び撮像装置 | |
JP2005175913A (ja) | 画像処理装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170522 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20171128 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171214 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6262621 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |