JP4389580B2 - Image signal processing circuit - Google Patents
Image signal processing circuit Download PDFInfo
- Publication number
- JP4389580B2 JP4389580B2 JP2003426013A JP2003426013A JP4389580B2 JP 4389580 B2 JP4389580 B2 JP 4389580B2 JP 2003426013 A JP2003426013 A JP 2003426013A JP 2003426013 A JP2003426013 A JP 2003426013A JP 4389580 B2 JP4389580 B2 JP 4389580B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- writing
- memory
- block
- processing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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)
- Image Input (AREA)
- Image Processing (AREA)
- Television Systems (AREA)
- Editing Of Facsimile Originals (AREA)
Description
本発明は画像信号処理回路に係り、特にデジタル画像信号の拡大・縮小処理を行う画像信号処理回路に関する。 The present invention relates to an image signal processing circuit, and more particularly to an image signal processing circuit that performs enlargement / reduction processing of a digital image signal.
従来より、アスペクト比の変換その他のために、画像信号処理回路によりデジタル画像信号の拡大処理や縮小処理が行われる。この拡大処理や縮小処理を行う従来の画像信号処理回路としては、入力画像データを複数の単位ブロックデータに分割してメモリに格納し、処理対象の単位画像に関する上記の単位ブロックデータをメモリから読み出し、指示された拡大、あるいは縮小のデータ処理を行ってメモリに書き戻した後、メモリに格納されているデータ処理後の単位ブロックデータを含む全単位ブロックデータを読み出して1つの出力画像データに合成するようにした構成の画像信号処理回路が知られている(例えば、特許文献1参照)。 Conventionally, digital image signals are enlarged or reduced by an image signal processing circuit for aspect ratio conversion or the like. As a conventional image signal processing circuit for performing the enlargement process and the reduction process, the input image data is divided into a plurality of unit block data, stored in a memory, and the unit block data related to the unit image to be processed is read from the memory. After performing the specified enlargement or reduction data processing and writing it back to the memory, all the unit block data including the unit block data after the data processing stored in the memory is read and combined into one output image data An image signal processing circuit configured as described above is known (see, for example, Patent Document 1).
また、図6は従来の画像信号処理回路の他の例のブロック図を示す。この従来の画像信号処理回路は、処理対象のデジタル画像信号を格納するシンクロナス・ダイナミック・ランダム・アクセス・メモリ(SDRAM)1と、SDRAM1の書き込み及び読み出し動作を制御するSDRAMコントローラ(以下、これをLSモジュールともいう)2と、輝度信号及び色差信号を分離処理し所定の画像フォーマットに変換するためのYCモジュール3と、縮小・拡大処理を行うPCモジュール4とから構成される。
FIG. 6 is a block diagram showing another example of a conventional image signal processing circuit. This conventional image signal processing circuit includes a synchronous dynamic random access memory (SDRAM) 1 that stores a digital image signal to be processed, and an SDRAM controller that controls write and read operations of the SDRAM 1 (hereinafter referred to as this). (Also referred to as an LS module) 2, a
一例としてLSモジュール2内のラインメモリ(lmem1)5及びラインメモリ(lmem2)7は、それぞれ32ビット×256ワード×2のシングルポートSRAM(スタティック・ランダム・アクセス・メモリ)、SDRAM1は総画数データ容量以上の32ビットバス構成であるものとする。また、SDRAM1には、例えば固体撮像素子により撮像して得られたデジタル画像信号が、ラインメモリ5を通して書き込まれているものとする。
As an example, the line memory (lmem1) 5 and the line memory (lmem2) 7 in the
PCモジュール4内のメモリ10は、補間回路11により垂直方向の隣接する2画素を用いて1画素を補間する場合(垂直補間を線形補間で行う場合)、16ビット×1984ワード×4のシングルポートSRAMが、また、前後2画素ずつ計4画素で1画素を補間する場合(3次スプライン補間)、16ビット×1984ワード×8のシングルポートSRAMが最低限必要になる。また、YCモジュール3のラインメモリも1984ワードのシングルポートSRAMが複数個必要になる。
The
この従来回路の処理動作の概要について、図7のタイミングチャートを併せ参照して説明する。画面水平方向の拡大縮小処理を行う場合、まず、SDRAM1より1ラインの画像データを1バースト256ワードで4バースト読み出す。このときのSDRAM1の読み出し動作を図7(H)にbで示す。このSDRAM1から読み出された画像データは、バッファ6を介してラインメモリ7に、図7(G)に模式的に示すように書き込まれる。
An outline of the processing operation of this conventional circuit will be described with reference to the timing chart of FIG. When enlarging / reducing processing in the horizontal direction of the screen is performed, first, four bursts of image data of one line are read from the
ラインメモリ7から図7(D)に模式的に示すように出力された画像データは、32→16ビットの変換回路8により32ビットが16ビットに変換され、32ビット×256ワード×4バーストが、図7(E)に模式的に示すように、16ビット×512ワード×4バースト、すなわち、合計16ビット×2048ワード(うち演算に使用されるワード数は1984ワード)の連続データとされる。
The image data output from the
この連続データは、YCモジュール3及びPCモジュール4を経由して拡大縮小処理され、最大有効画素1920ワード(ワード数は拡大縮小倍率による)の連続データとされた後、16→32ビット変換回路9に図7(B)に模式的に示すように転送され、ここで32ビット×960ワード(ワード数は拡大縮小倍率による)とされ、図7(C)に模式的に示すように、ラインメモリ5に供給される。このラインメモリ5からは図7(F)に模式的に示すように、256ワード単位で読み出され、SDRAM1に1バースト256ワード×4バーストに分けて格納される。4バースト目の有効画像画素数は192画素である。
The continuous data is subjected to enlargement / reduction processing via the
垂直方向の拡大縮小処理は上記ラインメモリを複数本利用し、隣接する数ラインのデータから行う。なお、図7(A)は水平同期パルス、同図(I)はSDRAM1のアドレスを示す。
The enlargement / reduction processing in the vertical direction is performed from data of several adjacent lines using a plurality of the line memories. 7A shows the horizontal synchronization pulse, and FIG. 7I shows the address of the
しかるに、図6に示した従来の画像信号処理回路では、YCモジュール3及びPCモジュール4が複数ラインの画素データに基づいて、YC処理や拡大・縮小処理を行うようにしているため、1ライン分の容量を持ったラインメモリ(SRAMで構成される)がそれぞれ複数個必要となるため、処理対象のデジタル画像信号の水平方向の画素数の増加及びより高度なYC処理や画像拡大縮小処理をするに伴い、それらのメモリ容量が増加する。その結果、従来の画像信号処理回路では、チップサイズや消費電力が増加し、また他のシステム展開に柔軟に対応できないなどの欠点がある。特許文献1記載の従来の画像信号処理回路も同様に、水平方向の画素数の増加及びより高度なYC処理や画像拡大縮小処理をするに伴い、チップサイズや消費電力が増加するという問題がある。
However, in the conventional image signal processing circuit shown in FIG. 6, the
本発明は以上の点に鑑みなされたもので、低コストの構成により画像拡大縮小処理を行い得る画像信号処理回路を提供することを目的とする。 The present invention has been made in view of the above points, and an object thereof is to provide an image signal processing circuit capable of performing image enlargement / reduction processing with a low-cost configuration.
また、本発明の他の目的は、拡大縮小回路のメモリ容量を増やすことなく、他システムの高画素化に柔軟に対応し得る画像信号処理回路を提供することにある。 Another object of the present invention is to provide an image signal processing circuit that can flexibly cope with an increase in the number of pixels of another system without increasing the memory capacity of the enlargement / reduction circuit.
更に、本発明他の目的は、消費電力を低減し得る画像信号処理回路を提供することにある。 Another object of the present invention is to provide an image signal processing circuit capable of reducing power consumption.
上記の目的を達成するため、本発明は、デジタル画像を表示する際に、任意の倍率の画像サイズに縮小処理する画像信号処理回路において、被写体を所定期間毎に撮像して所定期間毎のデジタル画像データを得る撮像手段と、撮像手段によって得られたデジタル画像データが書き込まれるとともに、この書き込まれたデジタル画像データが読み出され、画像サイズに縮小処理された画像データが書き込まれる記憶手段と、撮像手段によって得られたデジタル画像データを記憶手段に書き込む第1の書き込み手段と、第1の書き込み手段によって記憶手段に書き込まれたデジタル画像データを、水平方向及び垂直方向に対してブロック単位に分割した画像データを、ブロック単位に読み出す読み出し手段と、読み出し手段により記憶手段から読み出されたブロック単位の画像データが書き込まれるメモリを有し、倍率に対応したアドレス値ずつ歩進する読み出しアドレスを、各ブロック毎に継続的に発生し、その読み出しアドレスに基づきメモリからブロック単位に読み出した画像データに対して、任意のサイズの縮小処理を逐次行ってブロック単位の縮小画像データを得る縮小処理手段と、縮小処理手段で得られたブロック単位の縮小画像データを、記憶手段に書き込む第2の書き込み手段と、第1の書き込み手段による記憶手段への次に縮小処理が行われるデジタル画像データの書き込み処理と、読み出し手段による記憶手段からのブロック毎の画像データの読み出し処理と、第2の書き込み手段による記憶手段へのブロック毎の縮小画像データの書き込み処理とを、時分割処理によって所定期間内に実行させるよう制御する制御手段とを有する構成としたものである。 To achieve the above object, the present invention, when displaying a digital image, in the image signal processing circuit that is condensation small processing on the image size of any magnification, for each predetermined period by imaging a subject at predetermined time intervals imaging means for obtaining digital image data, together with the digital image data is written obtained by the imaging means, the written digital image data is read out, the storage means condensation small processed image data is written to the image size When a first writing means for writing the digital image data obtained by the imaging means in the storage means, the digital image data written in the storage means by the first writing means, horizontal direction and block in the vertical direction The image data divided into units is read out from the storage means by the reading means for reading out the data in block units. A memory in which image data of the issued block is written, the read address to be incremented by the address value corresponding to the magnification, continued to occur for each block, the block from the memory based on the read address on the read image data in the unit, and reduced small processing means for obtaining a reduced image data of a successive row I block the contraction small processing of any size, the reduced image data of the obtained block unit by the reduction processing unit , serial and second writing means for writing to憶means, and writing processing of the digital image data next to a reduction process to the storage means by the first writing means is performed, for each block from the storage means by the reading means Time-division processing includes reading processing of image data and writing processing of reduced image data for each block to the storage unit by the second writing unit. Thus it is obtained a structure in which a control means for controlling so as to execute within a predetermined time period.
本発明によれば、ブロック単位の画像データに対して、任意の倍率の画像サイズに縮小する縮小処理を逐次行うことにより、複数ライン分の画像データに対して縮小処理を一括して行う従来回路に比べて縮小処理手段内のメモリの容量を大幅に減らすようにしたため、回路全体のメモリ容量を削減することができ、これにより低コストで構成することができ、また低消費電力化を実現できる。 According to the present invention, the image data in units of blocks, by sequentially performing the reduced small processing for reducing the image size of any magnification, collectively performing contraction small processing the image data for a plurality of lines because you to significantly reduce the amount of memory in the contraction small processing means as compared with the conventional circuit, it is possible to reduce the memory capacity of the entire circuit, which can constitute a low-cost and low power consumption Can be realized.
更に、本発明によれば、ブロック単位の画像データに対して、任意の倍率の画像サイズに縮小する縮小処理を逐次行うようにしているため、処理対象のデジタル画像信号が高画素化しても、メモリ容量を増やすことなく、高画素化に柔軟に対応することでできる。 Further, according to the present invention, the image data in units of blocks, since the so sequentially perform a reduced small processing for reducing the image size of any magnification, even the digital image signal to be processed is highly pixelated This can be done flexibly to increase the number of pixels without increasing the memory capacity.
次に、本発明を実施するための最良の形態について説明する。図1は本発明になる画像信号処理回路の一実施の形態のブロック図を示す。同図中、図6と同一構成部分には同一符号を付し、その説明を省略する。図1に示す本実施の形態の画像信号処理回路は、処理対象のデジタル画像信号を格納するSDRAM1と、SDRAM1の書き込み及び読み出し動作を制御するSDRAMコントローラ(LSモジュール)20と、輝度信号及び色差信号を分離処理し所定の画像フォーマットに変換するためのYCモジュール21と、縮小・拡大処理を行うPCモジュール22とから構成される。
Next, the best mode for carrying out the present invention will be described. FIG. 1 is a block diagram showing an embodiment of an image signal processing circuit according to the present invention. In the figure, the same components as those in FIG. 6 are denoted by the same reference numerals, and the description thereof is omitted. The image signal processing circuit of the present embodiment shown in FIG. 1 includes an
すなわち、本実施の形態は、従来回路に比し、YCモジュール21及びPCモジュール22の処理方法と、LSモジュール20の構成に特徴がある。LSモジュール20は、SDRAM1の読み出し画像データを入力として受けるバッファ6と、バッファ6の出力側に共通に接続されたラインメモリ(lmem2)7、ラインメモリ(lmem3)25及び並び替え回路(sd_top)30と、ラインメモリ7の出力に接続された32→16ビットの変換回路8と、16→32ビットの変換回路23及び29と、スイッチ24、25、53及び54と、ラインメモリ(lmem1)26及びラインメモリ(lmem5)27から構成されている。
That is, the present embodiment, compared with the conventional circuit, is characterized as the processing method of the Y C
ここで、LSモジュール20内のラインメモリ(lmem2)7、ラインメモリ(lmem3)25、ラインメモリ(lmem1)26及びラインメモリ(lmem5)27は、それぞれ32ビット×256ワード×2のシングルポートSRAMであるものとし、SDRAM1は従来と同様に総画像データ容量以上の32ビットバス構成である。
Here, the line memory (lmem2) 7, the line memory (lmem3) 25, the line memory (lmem1) 26, and the line memory (lmem5) 27 in the
また、PCモジュール22内のメモリ12は、補間回路11により垂直方向の隣接する2画素を用いて1画素を補間する場合(垂直補間を線形補間で行う場合)、16ビット×576ワード×4のシングルポートSRAMが、また、前後2画素ずつ計4画素で1画素を補間する場合(3次スプライン補間)、16ビット×576ワード×8のシングルポートSRAMが必要になる。すなわち、メモリ12は従来のPCモジュール4内のメモリ10に比しかなり小容量で済む。また、YCモジュール21内のラインメモリも576ワードのシングルポートSRAMが複数個必要になるが、これも従来のYCモジュール3内のメモリに比しかなり小容量で済む。
The
また、並び替え回路(sd_top)30は、図2に示すように、D型フリップフロップ(dff)31、35及び36と、スイッチ28、33、34及び37と、並べ替え回路(PLTRP)40とより構成されている。並べ替え回路(PLTRP)40は、二つの並べ替え器(REARG1,2)41及び42と各種のコントローラ43〜47と、各種メモリ49〜52、アドレスデコーダ48、各種スイッチなどより構成されている。
As shown in FIG. 2, the rearrangement circuit (sd_top) 30 includes D-type flip-flops (dff) 31, 35 and 36,
次に、本実施の形態の処理動作の概要について、図3のタイミングチャート等を併せ参照して説明する。いま、画面水平方向の拡大縮小倍率をX/255と定義し、X=80のとき、すなわち、縮小倍率0.31(=80/255)倍のとき、元の画像データを水平方向の有効画素数1920、垂直方向の有効画素数1480(すなわち、有効ライン数1480)を一例として説明する。 Next, the outline of the processing operation of the present embodiment will be described with reference to the timing chart of FIG. Now, the enlargement / reduction ratio in the horizontal direction of the screen is defined as X / 255. When X = 80, that is, when the reduction ratio is 0.31 (= 80/255), the original image data is converted into effective pixels in the horizontal direction. The number 1920 and the number of effective pixels 1480 in the vertical direction (that is, the number of effective lines 1480) will be described as an example.
まず、固体撮像素子(CCD)により撮像して得られた画像信号をデジタル信号処理して得られた量子化ビット数16ビットの画像データ(CCDデータ)が、LSモジュール20内の16→32ビットの変換回路23により量子化ビット数32ビットに変換された後、スイッチ24、ラインメモリ26及びスイッチ53をそれぞれ経てSDRAM1に供給されて格納される。
First, image data (CCD data) having a quantization bit number of 16 bits obtained by digital signal processing of an image signal obtained by imaging with a solid-state imaging device (CCD) is 16 → 32 bits in the
SDRAM1に格納された量子化ビット数32ビットの画像データは、本実施の形態では、水平方向1024画素、垂直方向80ライン(512ワード×32ビット×80ライン)を一つのブロック単位として、分割されてSDRAM1から後述する図5(A)にエリアA、エリアB、エリアC及びエリアDで示す順で読み出される。ブロック単位で読み出された画像データは、LSモジュール20を一旦経由して、YCモジュール21に供給され、更にPCモジュール22に供給される。
In this embodiment, the image data having a quantization bit number of 32 stored in the
YCモジュール21及びPCモジュール22では、水平方向1024画素、垂直方向80ラインのうち、水平方向576画素、垂直方向80ラインを処理に利用する。PCモジュール22はYCモジュール21を経由してブロック単位に入力された画像データを、ブロック単位でメモリ12に順次に書き込んだ後、縮小処理に応じて定められた値で歩進するアドレスからブロック単位で読み出して補間回路11に供給して縮小処理させる。
The
PCモジュール22でブロック単位で拡大・縮小処理された画像データは、LSモジュール20に供給される。LSモジュール20は、入力された画像データ群の水平、垂直両方のエッジを削除し、例えば1倍時にこのうちの水平方向512画素、垂直方向64ラインを有効画素として切り出し、SDRAM1に格納する。また、上記の縮小倍率0.31倍(1/3.1875倍)の場合は、水平方向有効画素数約161画素、垂直方向約20ラインを生成する。上記の縮小倍率の少数点はブロック処理毎に発生する端数であり、この端数は拡大縮小用PCモジュール22及びメモリコントローラ用のLSモジュール20のアドレス発生回路で吸収する必要がある。
The image data enlarged / reduced in block units by the
また、LSモジュール20は、図2のメモリ(RA1MEM)51に上記の縮小倍率0.31倍(1/3.1875倍)の場合は、分割して読み出された各画像データを縮小処理して得た縮小後の画像データである水平方向有効画素数約161画素ずつ格納していき、例えば512画素分蓄えられた時点で読み出してSDRAM1に一気に書き込み、その後、一画面分の縮小画像595画素のうちの残りの83画素分の縮小後の画像データをメモリ(RA1MEM)51に蓄えた時点で、再びメモリ(RA1MEM)51から読み出してSDRAM1に書き込む。ここで、1画素は16ビットであり、SDRAM1の32ビットの1つのアドレス当り2画素ずつ書き込まれる。
Further, when the memory (RA1MEM) 51 in FIG. 2 has the above reduction ratio of 0.31 times (1 / 3.1875 times), the
縮小処理について、図2と共に更に説明するに、SDRAM1より量子化ビット数32ビットの画像データが図3(B)にL2A、L2Bで示すように、1バースト256ワードで2バーストに分割して読み出され、32→16ビット変換回路8の出力画像データが合計16ビット×1024画素(うちYC,PC演算に使用される画素数は576画素)の連続データとなるように、バッファ6を通してラインメモリ(lmem2)7に供給され、一旦1ライン分蓄積された後32→16ビット変換回路8で量子化ビット数16ビットに変換される。なお、図3(A)は水平同期パルスを示す。
The reduction processing will be further described with reference to FIG. 2. Image data having a quantization bit number of 32 bits is read from
この32→16ビット変換回路8から出力された図3(C)に示す画像データDMAIN1は、その後YCモジュール21によりYC処理されて同図(D)に示すように取り出され、更にPCモジュール22内のメモリ12に同図(E)に示すように入力された後、補間回路11で縮小処理されて、同図(F)に示すように水平方向の有効161画素(画素数は縮小倍率による。)の連続データとされてLSモジュール20に供給される。
The image data DMAIN1 shown in FIG. 3C output from the 32 → 16
すなわち、この連続データはLSモジュール20内の16→32ビット変換回路29に転送されて量子化ビット数32ビットに変換された後、並び替え回路(sd_top)30内の図2に示すメモリ(PCMEM)50に書き込まれる。その後、上記の連続データは図3(B)にL1TA,TBで示すSRAM動作のタイミングでSDRAM1のテンポラリエリアTA、TBに一時格納される。
That is, this continuous data is transferred to a 16 → 32
続いて、図3(G)に示すタイミングでメモリ(PCMEM)50から読み出された画像データと、図3(B)にL3TB,TA,TD,TCで示すタイミングで同図(H)に示すようにSDRAM1のテンポラリエリアから読み出された画像データRAMRDDTとは、図2の並び替え器(REARG1)41によりメモリ(RA1MEM)51に書き込めるように並べ替えられた後、メモリ(RA1MEM)51に図3(I)にLPABで示すタイミングで配列変換で一部格納される。メモリ(RA1MEM)51に格納された画像データは、図3(B)にL1TC,TDで示すSDRAMの動作タイミングで同図(J)にLPで示す如く読み出され、SDRAM1のテンポラリエリアTC,TDに一時格納される。
Subsequently, the image data read from the memory (PCMEM) 50 at the timing shown in FIG. 3G and the timing shown by L3TB, TA, TD, and TC in FIG. 3B are shown in FIG. Thus, the image data RAMRDDT read from the temporary area of the
続いて、図3(B)にL3TD,TCで示すタイミングでSDRAM1から読み出された画像データは、並べ替え回路(sd_top)30内の図2に示すフリップフロップ31に印加されて図3(H)に示すタイミングでラッチされた後、並び替え器(REARG2)42により書き込みタイミング調整されてからメモリ(RA2MEM)52に図3(I)にLLPCDに示すタイミングで一部書き込まれる。図3(B)にL5で示すタイミングでメモリ(RA2MEM)52から読み出されたデータは、有効画素のときのみSDRAM1の最終画像エリアに格納される。
Subsequently, the image data read out from the
これを繰り返し、最終的に所望サイズの画像データがSDRAM1上に生成される。図4はSDRAM1のメモリマップを示す。同図に示すように、SDRAM1は、原画像データ記憶領域61、上記の処理により得られた縮小画像データの記憶領域62及び上記の処理に使用する一時エリア63からなる。一時エリア63は、256ワード×32ビット×4×80ライン分の容量であり、本実施の形態の縮小拡大処理で使用する領域である。
This is repeated, and finally image data of a desired size is generated on the
本実施の形態によれば、従来の画像信号処理回路に比べてSDRAM1では上記の一時エリア63が増加し、また、LSモジュール20内のラインメモリの数が2個程度増加するが、本実施の形態では、YCモジュール21及びPCモジュール22内のメモリ容量が従来に比べて大幅に少なく、SDRAM1の容量増加も僅かであるため、全体のメモリ容量を従来回路に比べてかなり小容量とすることができる。
According to the present embodiment, the
このため、本実施の形態によれば、メモリ容量削減により低コストで構成することができると共に低消費電力化を実現できる。更に、本実施の形態では、YCモジュール21及びPCモジュール22はブロック単位の画像データに対して処理を行うようにしているため、処理対象のデジタル画像信号が高画素化してもこれに柔軟に対応することでできる。
For this reason, according to the present embodiment, it is possible to configure at a low cost by reducing the memory capacity and to realize low power consumption. Furthermore, in this embodiment, the
ところで、本実施の形態では、YCモジュール21及びPCモジュール22が水平576画素×垂直80ラインを一つのブロック単位(LSモジュール20では拡大・縮小倍率αとすると、水平512画素×α、垂直64ライン×αである)として処理するため、ブロック毎の繋ぎ目のアドレス生成に注意しなければならない。例えば、縮小倍率0.31倍(1/3.1875倍)時は、1画素に対するメモリ12の読み出しアドレスの進行は1倍時の+1.00に対し、+3.1875(=255/85)となる。図5はこれらを考慮したアドレス生成の説明図を示す。
By the way, in the present embodiment, the
縮小倍率0.31倍で縮小処理するときには、メモリ12には、まず、図5(A)に示したエリアA内の有効画素数512画素の画像データがアドレス0から1ずつ歩進する書き込みアドレスに基づいて同図(A)に模式的に示すように左から右方向へ、かつ、上から下方向へ順次に書き込まれた後、図5(B)に示すように、0から始まり+3.1875ずつ歩進する読み出しアドレスに基づいてメモリ12に書き込まれた画像データが読み出され、161画素目(アドレス510.0)で一つのブロック(エリアA)の縮小処理のための読み出しを終了する。
When the reduction process is performed at a reduction ratio of 0.31, the
続いて、図5(A)に示したエリアB内の有効画素数512画素の画像データがアドレス0から1ずつ歩進する書き込みアドレスに基づいて同図(A)に模式的に示すように左から右方向へ、かつ、上から下方向の画素の順で順次に書き込まれた後、+3.1875ずつ歩進する読み出しアドレスに基づいてメモリ12に書き込まれた画像データが読み出される。ただし、このときの読み出しアドレスのうちの最初のアドレスは、リセットして0から始まるのではなく、図5(B)に示すように最初のブロックの最後の読み出しアドレス「510.0」に+3.1875した値、「513.1875」とする。
Subsequently, as shown schematically in FIG. 5A, the image data of 512 effective pixels in the area B shown in FIG. The image data written in the
なお、上記の最初の読み出しアドレス「513.1875」は、上述したように、書き込みアドレスが0から始まっているので、実際は一つ前のブロックの最後の書き込みアドレス512を減算した「1.1875」である。以後、図5(B)に示すように、この値から+3.1875ずつ歩進する読み出しアドレスに基づいてメモリ12に書き込まれた画像データが読み出され、160画素目(アドレス1020.0)で次の一つのブロックの縮小処理のための読み出しを終了する。これにより、縮小画像の繋ぎ目を破綻無くSDRAM1に格納できる。以下、エリアCの有効512画素についても同様の処理が行われる。また、エリアDの有効384画素についても同様である。
As described above, since the first read address “513.1875” starts from 0 as described above, actually, “1.1875” is obtained by subtracting the last write address 512 of the previous block. It is. Thereafter, as shown in FIG. 5B, the image data written in the
なお、以上の実施の形態では縮小処理について説明したが、水平方向及び垂直方向の画素数が増加する拡大処理もアドレスの生成方法が異なるだけで、上記と同様に水平方向及び垂直方向に対して画像信号を分割して、各画素の挿入・補間により拡大処理することができる。 In the above embodiment, the reduction process has been described. However, the enlargement process in which the number of pixels in the horizontal direction and the vertical direction increases is different only in the address generation method. The image signal can be divided and enlarged by inserting / interpolating each pixel.
1 SDRAM(シンクロナス・ダイナミック・ランダム・アクセス・メモリ)
7、24〜26 ラインメモリ
8 32→16ビット変換回路
11 補間回路
12 メモリ
20 LSモジュール
21 YCモジュール
22 PCモジュール
23、29 16→32ビット変換回路
30 並べ替え回路(sd_top)
40 並べ替え回路(PLTRP)
41、42 並べ替え器
48 アドレスデコーダ
49〜52 メモリ
1 SDRAM (Synchronous Dynamic Random Access Memory)
7, 24-26
40 Rearrangement circuit (PLTRP)
41, 42
Claims (1)
被写体を所定期間毎に撮像して前記所定期間毎のデジタル画像データを得る撮像手段と、
前記撮像手段によって得られた前記デジタル画像データが書き込まれるとともに、この書き込まれたデジタル画像データが読み出され、前記画像サイズに縮小処理された画像データが書き込まれる記憶手段と、
前記撮像手段によって得られた前記デジタル画像データを前記記憶手段に書き込む第1の書き込み手段と、
前記第1の書き込み手段によって前記記憶手段に書き込まれた前記デジタル画像データを、水平方向及び垂直方向に対してブロック単位に分割した画像データを、該ブロック単位に読み出す読み出し手段と、
前記読み出し手段により前記記憶手段から読み出された前記ブロック単位の画像データが書き込まれるメモリを有し、前記倍率に対応したアドレス値ずつ歩進する読み出しアドレスを、各ブロック毎に継続的に発生し、その読み出しアドレスに基づき前記メモリからブロック単位に読み出した画像データに対して、任意のサイズの縮小処理を逐次行ってブロック単位の縮小画像データを得る縮小処理手段と、
前記縮小処理手段で得られた前記ブロック単位の縮小画像データを、前記記憶手段に書き込む第2の書き込み手段と、
前記第1の書き込み手段による前記記憶手段への次に縮小処理が行われるデジタル画像データの書き込み処理と、前記読み出し手段による前記記憶手段からの前記ブロック毎の画像データの読み出し処理と、前記第2の書き込み手段による前記記憶手段への前記ブロック毎の縮小画像データの書き込み処理とを、時分割処理によって前記所定期間内に実行させるよう制御する制御手段と
を有することを特徴とする画像信号処理回路。 When displaying a digital image, in the image signal processing circuit that is condensation small processing on the image size of any magnification,
Imaging means for imaging a subject every predetermined period to obtain digital image data for each predetermined period;
Together with the digital image data obtained is written by said image pickup means, the written digital image data is read out, and storage means condensation small processed image data is written to the image size,
First writing means for writing the digital image data obtained by the imaging means into the storage means;
The digital image data written in the storage means by the first writing means, the horizontal direction and the image data divided into blocks in the vertical direction, reading means for reading the said block,
A memory in which image data of the block unit read out from said memory means by said reading means is to be written, a read address to be incremented by the address value corresponding to the magnification, ongoing basis for each block occurs, the image data read in blocks from the memory based on the read address, and reduced small processing means for obtaining a reduced image data of a successive row I block the contraction small processing of any size,
The reduced image data of the block unit obtained by said reduction processing means, and second writing means for writing to prior Kiki憶means,
A digital image data writing process in which a reduction process is performed next to the storage means by the first writing means; a reading process of the image data for each block from the storage means by the reading means; And a control means for controlling the writing process of the reduced image data for each block to the storage means by the writing means to be executed within the predetermined period by time-sharing processing. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003426013A JP4389580B2 (en) | 2003-12-24 | 2003-12-24 | Image signal processing circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003426013A JP4389580B2 (en) | 2003-12-24 | 2003-12-24 | Image signal processing circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005182671A JP2005182671A (en) | 2005-07-07 |
| JP4389580B2 true JP4389580B2 (en) | 2009-12-24 |
Family
ID=34785658
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003426013A Expired - Fee Related JP4389580B2 (en) | 2003-12-24 | 2003-12-24 | Image signal processing circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4389580B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63113770A (en) * | 1986-10-31 | 1988-05-18 | Hitachi Ltd | Image processing method |
| JP2000041974A (en) * | 1998-05-18 | 2000-02-15 | Konica Corp | Image processing apparatus |
| JP3781634B2 (en) * | 2001-04-26 | 2006-05-31 | シャープ株式会社 | Image processing apparatus, image processing method, and portable video device |
-
2003
- 2003-12-24 JP JP2003426013A patent/JP4389580B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005182671A (en) | 2005-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0942588B1 (en) | Image processing apparatus and method | |
| JP4015890B2 (en) | Pixel block data generation apparatus and pixel block data generation method | |
| EP3494542B1 (en) | Method and system for correcting a distorted input image | |
| JP4263190B2 (en) | Video composition circuit | |
| US6593965B1 (en) | CCD data pixel interpolation circuit and digital still camera equipped with it | |
| JP3860808B2 (en) | Color interpolation line buffer and line data providing apparatus and method | |
| JP2004159330A (en) | Image processing apparatus and method for converting between raster scan order image data and block scan order image data | |
| JP4286192B2 (en) | Image processing apparatus and image processing method | |
| US7336302B2 (en) | Frame memory device and method with subsampling and read-out of stored signals at lower resolution than that of received image signals | |
| JP2000311241A (en) | Image processor | |
| JP4389580B2 (en) | Image signal processing circuit | |
| EP0959428B1 (en) | Image processing apparatus, special effect apparatus and image processing method | |
| JP2000324337A (en) | Image magnification and reducing device | |
| JP3333336B2 (en) | Encoding / decoding device | |
| JP4137097B2 (en) | Image processing apparatus, image processing method, and computer-readable storage medium | |
| JP4132264B2 (en) | Image signal processing circuit | |
| EP1784783B1 (en) | Method of address-controlling memory with single buffer structure | |
| TWI424372B (en) | Selectable image line path means | |
| JP2001195570A (en) | Image processing apparatus and method, and data stream conversion apparatus | |
| JP2000341585A (en) | Video device with image memory function | |
| JP2004120027A (en) | Image processing device | |
| JP3352346B2 (en) | Image signal processing device | |
| JP2000284771A (en) | Video data processing device | |
| JPH1040366A (en) | Image processor | |
| JP2006067513A (en) | Image enlargement / reduction converter and digital video system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060331 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090421 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090428 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090623 |
|
| 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: 20090915 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090928 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121016 Year of fee payment: 3 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4389580 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121016 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121016 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121016 Year of fee payment: 3 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131016 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |