JP2016009957A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2016009957A
JP2016009957A JP2014128707A JP2014128707A JP2016009957A JP 2016009957 A JP2016009957 A JP 2016009957A JP 2014128707 A JP2014128707 A JP 2014128707A JP 2014128707 A JP2014128707 A JP 2014128707A JP 2016009957 A JP2016009957 A JP 2016009957A
Authority
JP
Japan
Prior art keywords
image
frame
resolution conversion
output
memory
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
JP2014128707A
Other languages
Japanese (ja)
Inventor
卓 草薙
Taku Kusanagi
卓 草薙
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2014128707A priority Critical patent/JP2016009957A/en
Publication of JP2016009957A publication Critical patent/JP2016009957A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus which reduces an area of a memory to be used when processing a moving image and a still image.SOLUTION: An image processing apparatus includes: a frame memory which has a plurality of frames that store images; means for inputting image data; storage means which stores the input image data to a first frame of the frame memory; resolution conversion means which reads the image stored in the storage means and converts resolution of the image; and means for writing the image with converted resolution to a second frame in the frame memory. An image to be read and an image to be written are divided into a plurality of areas in a horizontal direction, and when performing sequential resolution conversion processing, in using areas of the first frame and the second frame while partially overlapping them, the first and second frames are arranged on the frame memory so that an area of an image to be written and an area of an image not to be read yet do not overlap with each other on the frame memory, and resolution is converted.

Description

本発明は、画像処理装置に関する。   The present invention relates to an image processing apparatus.

ビデオカメラやデジタルカメラで撮影した画像を処理するための中間バッファとして主にDRAMが用いられている。近年多画素化が進んでいるためにDRAMの使用容量は増えている傾向にある。DRAMの価格は一般的には容量が大きいほど高価である。そのためメモリの領域を効率よく利用し、小さい容量のDRAMを使用して製品を設計することはコスト面において重要なことである。   A DRAM is mainly used as an intermediate buffer for processing images taken with a video camera or a digital camera. Since the number of pixels is increasing in recent years, the capacity used for DRAM tends to increase. The price of DRAM is generally higher as the capacity is larger. Therefore, it is important in terms of cost to design a product using a memory area efficiently and using a small capacity DRAM.

このような課題に対して従来、書込みアドレスが読込みアドレスを追い越さない様にメモリの配置をしようとする試みがある。また、画像処理の入出力画像を格納するバッファを一部兼用し入出力の領域を重ね合わせて使用することにより、容量を削減する試みがある。例えばバッファに格納した非圧縮画像データをJPEG等に圧縮し、圧縮画像データとしてバッファに書き戻すような画像処理装置において、画像の圧縮率を設定し、非圧縮画像データのバッファ領域と圧縮画像データのバッファ領域を重ね合わせ、メモリ使用容量を削減しようとする試みがある(特許文献1)。   Conventionally, there is an attempt to arrange the memory so that the write address does not overtake the read address. Also, there is an attempt to reduce the capacity by partially using a buffer for storing input / output images for image processing and using the input / output areas in an overlapping manner. For example, in an image processing apparatus that compresses uncompressed image data stored in a buffer into JPEG or the like and writes it back to the buffer as compressed image data, the image compression rate is set, the buffer area of the uncompressed image data and the compressed image data There is an attempt to reduce the memory usage capacity by overlapping the buffer areas (Patent Document 1).

また、一般的に専用のハードウェアを用いた解像度変換処理をおこなうときにはラインメモリをバッファとして使用し、解像度変換を行う。近年多画素化が進んでいるため、解像度変換処理で扱う画像の画素数は多くなる傾向にある。ラインメモリの容量を越える水平方向の画素数の画像を処理するときには画像を複数の領域に分割して複数回に処理を分け、順次解像度変換を行う必要がある。   In general, when performing resolution conversion processing using dedicated hardware, line memory is used as a buffer to perform resolution conversion. Since the number of pixels has been increasing in recent years, the number of pixels of an image handled in resolution conversion processing tends to increase. When processing an image with the number of pixels in the horizontal direction exceeding the capacity of the line memory, it is necessary to divide the image into a plurality of regions, divide the processing into a plurality of times, and sequentially perform resolution conversion.

特開2008−176481号公報JP 2008-176481 A

特許文献1によると予め画像データ圧縮率とバッファの重ね合わせる量が設定されており、圧縮が十分に出来ず出力データが入力データを上書きしてしまいそうなときには圧縮率を高めて上書きしないようにしている。そのため出力データのサイズに応じた重ね合わせ量を決定できない。
また、拡大倍率に応じて入出力データの格納されている領域を重ね合わせることは可能であるが以下のような問題がある。
According to Patent Document 1, the amount of image data compression and the amount of buffer to be overlaid are set in advance. When compression is not sufficient and the output data is likely to overwrite the input data, the compression ratio is increased to prevent overwriting. ing. Therefore, it is not possible to determine the overlay amount according to the size of the output data.
Although it is possible to superimpose the areas where the input / output data is stored according to the enlargement magnification, there are the following problems.

水平方向の画素数がラインメモリの容量をこえる画素数への解像度変換を行うときには画像を複数の領域に分割して複数回に分けて解像度変換をおこなう。   When performing resolution conversion to the number of pixels in which the number of pixels in the horizontal direction exceeds the capacity of the line memory, the image is divided into a plurality of areas and the resolution conversion is performed in multiple times.

そのような場合、単純に倍率のみで入力と出力のアドレスを決定し、メモリの重ねあわせを行うと複数に分割した領域のうち、まだ読み込んでいない領域に対して書きみを行ってしまい、メモリの重ね合わせる量を最適にすることができない。   In such a case, when the input and output addresses are simply determined only by the magnification and the memory is overlaid, the area that has not yet been read out of the divided areas is written. The amount of overlap cannot be optimized.

本発明は、動画や静止画を処理する場合に使用するメモリの領域を削減することを目的とする。   An object of the present invention is to reduce the memory area used when processing a moving image or a still image.

本発明に係る画像処理装置の構成は、画像を保存するフレームを複数持つフレームメモリと、画像データを入力する手段と、入力した画像データを前記フレームメモリの第一のフレームに格納する記憶手段と、前記記憶手段に格納された画像を読み出し、画像の解像度を変換する解像度変換手段と、解像度が変換された画像を前記フレームメモリ内の第二のフレームに書き出す手段を有し、読み出す画像および書き出す画像を水平方向に複数の領域に分割し、順次解像度変換処理を行うときに、第一のフレームと第二のフレームの領域を一部重ねて使用するときに、書き出す画像と読み出す画像のまだ読み込んでいない領域がフレームメモリ上で同じにならないように第一と第二のフレームをフレームメモリ上に配置し、解像度変換することを特徴とする。   The configuration of the image processing apparatus according to the present invention includes a frame memory having a plurality of frames for storing images, means for inputting image data, and storage means for storing the input image data in the first frame of the frame memory; A resolution conversion unit that reads an image stored in the storage unit and converts the resolution of the image; and a unit that writes the resolution-converted image to the second frame in the frame memory. When the image is divided into multiple regions in the horizontal direction and the resolution conversion process is performed sequentially, when the first frame and second frame regions are partially overlapped, the image to be written and the image to be read are still read. Place the first and second frames on the frame memory and convert the resolution so that the unexposed areas are not the same on the frame memory. And features.

本発明によれば、複数の領域に分割して解像度変換を行うときにでも入力フレームと出力フレームを重ね合わせる量を最大限にすることが可能になり、使用メモリの領域を削減するという効果が得られる。   According to the present invention, even when resolution conversion is performed by dividing into a plurality of areas, it is possible to maximize the amount of overlap of the input frame and the output frame, and the effect of reducing the memory area used is achieved. can get.

撮像装置の構成を示す図である。It is a figure which shows the structure of an imaging device. 解像度変換部の構成を示す図である。It is a figure which shows the structure of a resolution conversion part. フレームメモリの構成を示す図である。It is a figure which shows the structure of a frame memory. 解像度変換処理のフローチャートである。It is a flowchart of a resolution conversion process. 入出力フレームアドレスの算出処理のフローチャートである。It is a flowchart of an input / output frame address calculation process. 動画撮影時のフレームメモリの状態を示す図である。It is a figure which shows the state of the frame memory at the time of video recording. 動画撮影中の静止画記録時のフレームメモリの状態を示す図である。It is a figure which shows the state of the frame memory at the time of still image recording during video recording. フレームメモリの入出力フレームの関係を示す図である。It is a figure which shows the relationship of the input / output frame of a frame memory. フレームメモリの入出力フレームの配置を示す図である。It is a figure which shows arrangement | positioning of the input-output frame of a frame memory. 解像度変換倍率が変わったときのフレームメモリの状態を示す図である。It is a figure which shows the state of the frame memory when the resolution conversion magnification changes.

本発明は、ビデオカメラ、デジタルスチルカメラ、携帯電話などの画像の解像度変換を行う機器に対して適用が可能である。   The present invention is applicable to devices that perform image resolution conversion, such as video cameras, digital still cameras, and mobile phones.

(実施例)
図1は本発明を適用した静止画像や動画像を記録する手段を持ったデジタルビデオカメラ100の構成例を示したものである。
(Example)
FIG. 1 shows a configuration example of a digital video camera 100 having means for recording still images and moving images to which the present invention is applied.

ビデオカメラ100の構成について説明する。デジタルビデオカメラ100はレンズユニット101、撮像センサ102、アナログフロントエンド(以下AFE)103、画像入力部104、システム制御部105、操作部106、解像度変換部107、出力部108を備える。さらに、ROM109、RAM110、フレームメモリ111、解像度変換部112、静止画符号化部113、記録媒体制御部114、記録媒体115、内部バス116を備える。   A configuration of the video camera 100 will be described. The digital video camera 100 includes a lens unit 101, an image sensor 102, an analog front end (hereinafter referred to as AFE) 103, an image input unit 104, a system control unit 105, an operation unit 106, a resolution conversion unit 107, and an output unit 108. Furthermore, a ROM 109, a RAM 110, a frame memory 111, a resolution conversion unit 112, a still image encoding unit 113, a recording medium control unit 114, a recording medium 115, and an internal bus 116 are provided.

レンズユニット101は、集光のための固定レンズ群、変倍レンズ群、絞り、変倍レンズ群の動きで移動した結像位置を補正する機能と焦点調節を行う機能とを兼ね備えた補正レンズ群により構成される撮像センサ102はレンズユニット101により結像された光学像を電気信号に変換する。AFE103は撮像センサ102を駆動して画像信号を読み出し、画像信号のサンプル・ホールドと増幅、デジタル信号への変換を行う。   The lens unit 101 is a correction lens group that has both a function of correcting the imaging position moved by the movement of the fixed lens group, the variable power lens group, the stop, and the variable power lens group for focusing, and the function of performing focus adjustment. The imaging sensor 102 configured by the above converts the optical image formed by the lens unit 101 into an electrical signal. The AFE 103 reads the image signal by driving the image sensor 102, and samples and holds the image signal, amplifies it, and converts it into a digital signal.

画像入力部104はAFE103から入力された画像信号に対して色変換処理を行い、YCC(4:2:2)画像データへ変換を行う。システム制御部105は、内部バス116を介してRAM110、ROM109およびその他のブロックに接続され、各ブロックの制御を行う。   The image input unit 104 performs color conversion processing on the image signal input from the AFE 103 and converts the image signal into YCC (4: 2: 2) image data. The system control unit 105 is connected to the RAM 110, the ROM 109, and other blocks via the internal bus 116, and controls each block.

操作部106はズームレバーやボタンなどに対するユーザ操作の入力内容を伝え、システム制御部105はユーザの指示に応じて、各種処理を行う。解像度変換部107はシステム制御部105からの指示により、フレームメモリ111の所望の位置から読込んだ画像データに対し、解像度変換を行い、出力部108へ出力する。   The operation unit 106 transmits input contents of user operations to the zoom lever, buttons, and the like, and the system control unit 105 performs various processes according to user instructions. In response to an instruction from the system control unit 105, the resolution conversion unit 107 performs resolution conversion on the image data read from a desired position in the frame memory 111 and outputs the image data to the output unit 108.

出力部108は解像度変換部107より入力された画像データを出力する。ROM109はシステム制御部105が各ブロックを制御するための制御プログラムが格納されている。RAM110にはシステム制御部105が動作時の一時的なデータの格納場所として用いられる。   The output unit 108 outputs the image data input from the resolution conversion unit 107. The ROM 109 stores a control program for the system control unit 105 to control each block. In the RAM 110, the system control unit 105 is used as a temporary data storage location during operation.

フレームメモリ111は複数のフレームからなるメモリで各々のフレームはシステム制御部105によりメモリ上の所望の位置に配置することが可能であり、1フレーム分の画像データを格納するのに用いられる。各々のフレームはフレームメモリ111の同じ領域を占めることも可能である。また、各々のフレームはシステム制御部105により所望のサイズにすることが可能である。各々のフレームのアドレスとサイズは動的に変更することも可能であり、動画の記録と再生とでは切り替えて使用することも可能である。   The frame memory 111 is a memory composed of a plurality of frames. Each frame can be arranged at a desired position on the memory by the system control unit 105, and is used to store image data for one frame. Each frame can occupy the same area of the frame memory 111. Each frame can be set to a desired size by the system control unit 105. The address and size of each frame can be dynamically changed, and can be switched between recording and playback of moving images.

解像度変換部112は主に静止画撮影のときに用いられ、フレームメモリ111に格納された画像データを読み込み、システム制御部105から指示されたサイズへ解像度変換を行ったのちにフレームメモリ111へ書き戻される。   The resolution converter 112 is mainly used for still image shooting, reads the image data stored in the frame memory 111, converts the resolution to the size designated by the system controller 105, and then writes it to the frame memory 111. Returned.

静止画符号化部113はフレームメモリ111に格納されている画像データをシステム制御部105からの指示された目標圧縮率に合わせて符号化を行い、符号化された静止画データとしてフレームメモリ111に保持される。   The still image encoding unit 113 encodes the image data stored in the frame memory 111 according to the target compression rate instructed by the system control unit 105, and stores the encoded image data in the frame memory 111 as encoded still image data. Retained.

記録媒体制御部114はシステム制御部105の指示によりフレームメモリ111に格納されたデータを管理情報とともに記録媒体115へ書き込む。   The recording medium control unit 114 writes the data stored in the frame memory 111 to the recording medium 115 together with the management information according to an instruction from the system control unit 105.

記録媒体115は着脱可能な記録媒体である。MMC、SD、コンパクトフラッシュ、PCカードなどのメモリカード、あるいはハードディスク、CD−RW、DVD−R/RW、MDなどの光(あるいは光磁気)記録メディアなどが考えられる。   The recording medium 115 is a detachable recording medium. A memory card such as an MMC, SD, compact flash, or PC card, or an optical (or magneto-optical) recording medium such as a hard disk, CD-RW, DVD-R / RW, or MD can be considered.

次に解像度変換部107、112の構成について図2を用いて説明する。解像度変換部107,112の構成は同じである。解像度変換部はズーム制御部201、メモリインターフェイス202、ラインメモリ203、水平ズーム部204、垂直ズーム部205を備える。   Next, the configuration of the resolution conversion units 107 and 112 will be described with reference to FIG. The configurations of the resolution conversion units 107 and 112 are the same. The resolution conversion unit includes a zoom control unit 201, a memory interface 202, a line memory 203, a horizontal zoom unit 204, and a vertical zoom unit 205.

ズーム制御部201はシステム制御105からの指示により、解像度変換の開始、終了タイミングの制御やメモリインターフェイス202、ラインメモリ203、水平ズーム部204、垂直ズーム部205の制御を行う。ズーム制御部201は、システム制御部105から入力画像、出力画像を格納するフレームメモリ111内のフレームのアドレス、フレーム内の読込みと書込み位置、入出力画像の水平、垂直方向の解像度、ズーム倍率を指示される。ズーム制御部201は水平ズーム部204と垂直ズーム部205に対してズーム倍率の指示をだす。また、ズーム制御部201はメモリインターフェイスに対し、入出力画像のフレームのアドレスやフレーム内の読込みと書込み位置を指示する。   The zoom control unit 201 controls the start and end timing of resolution conversion and controls the memory interface 202, the line memory 203, the horizontal zoom unit 204, and the vertical zoom unit 205 according to instructions from the system control 105. The zoom control unit 201 determines the address of the frame in the frame memory 111 that stores the input image and output image from the system control unit 105, the reading and writing position in the frame, the horizontal and vertical resolutions of the input and output images, and the zoom magnification. Instructed. The zoom control unit 201 issues a zoom magnification instruction to the horizontal zoom unit 204 and the vertical zoom unit 205. The zoom control unit 201 also instructs the memory interface about the frame address of the input / output image and the reading and writing position within the frame.

メモリインターフェイス202はフレームメモリ111、出力部108とのインターフェイスになっている。ズーム制御部201の指示により、画像データの読込み、および書込み制御が行われる。   The memory interface 202 is an interface with the frame memory 111 and the output unit 108. In accordance with an instruction from the zoom control unit 201, image data reading and writing control are performed.

ラインメモリ203は画像データの水平方向のデータを所定量格納することができる。一度の処理で出力する画像データの水平方向の最大解像度はこのラインメモリ203のサイズにより決定する。   The line memory 203 can store a predetermined amount of image data in the horizontal direction. The maximum horizontal resolution of image data output in one process is determined by the size of the line memory 203.

水平ズーム部204は水平方向の解像度変換を行う。入力データの複数点を用いて線形補間、双三次補間(Bi-Cubic)などの補間処理を行ったものを出力する。   The horizontal zoom unit 204 performs resolution conversion in the horizontal direction. Outputs data obtained by performing interpolation processing such as linear interpolation and bicubic interpolation (Bi-Cubic) using a plurality of points of input data.

垂直ズーム部205は垂直方向の解像度変換を行う。内部にはラインメモリが複数備わっており、水平方向と同様に入力データの複数点を用いて線形補間、双三次補間(Bi-Cubic)などの補間処理を行ったものを出力する。   The vertical zoom unit 205 performs resolution conversion in the vertical direction. A plurality of line memories are provided inside, and output is obtained by performing interpolation processing such as linear interpolation and bicubic interpolation (Bi-Cubic) using a plurality of points of input data as in the horizontal direction.

次に解像度変換部107、112による解像度変換処理について説明する。システム制御部105はROM109から解像度変換部107.112へ入力する画像と出力する画像の解像度などズーム処理に必要なデータを読み込み、ズーム制御部201へ指示を出す。ズーム制御部201の指示によりメモリインターフェイス202はフレームメモリ111から画像の水平方向のデータを数画素読込み水平ズーム部204へ入力する。入力されたデータは水平ズーム部204によって出力する水平方向の解像度に変換され、ラインメモリ203へ格納される。ラインメモリ203に格納されたデータはズーム制御部201の指示により垂直ズーム部205に入力される。垂直ズーム部205内部のラインメモリに複数ライン読み込まれた後、出力する垂直方向の解像度に変換される。変換されたデータはメモリインターフェイス202によりフレームメモリ111に書き戻される。   Next, resolution conversion processing by the resolution conversion units 107 and 112 will be described. The system control unit 105 reads data necessary for zoom processing such as the resolution of the input image and the output image from the ROM 109 to the resolution conversion unit 107.112, and issues an instruction to the zoom control unit 201. In response to an instruction from the zoom control unit 201, the memory interface 202 reads several pixels of data in the horizontal direction of the image from the frame memory 111 and inputs them to the horizontal zoom unit 204. The input data is converted into a horizontal resolution output by the horizontal zoom unit 204 and stored in the line memory 203. The data stored in the line memory 203 is input to the vertical zoom unit 205 according to an instruction from the zoom control unit 201. After a plurality of lines are read into the line memory inside the vertical zoom unit 205, they are converted to the vertical resolution to be output. The converted data is written back to the frame memory 111 by the memory interface 202.

次に出力する画像の水平方向の解像度がラインメモリのサイズより大きいときの動作について説明する。最初に図3を用いてフレームメモリの構成と入出力の画像のサイズについて説明する。   Next, the operation when the horizontal resolution of the output image is larger than the size of the line memory will be described. First, the configuration of the frame memory and the input / output image size will be described with reference to FIG.

入力画像のサイズが水平1600画素、垂直900画素としてフレームメモリ111のフレーム303に格納されていて、出力する画像のサイズが水平1920画素、垂直1080画素とし、フレーム304に格納されているものとする。ラインメモリのサイズは640画素のデータを格納できるものとする。フレーム303のサイズは水平1600画素、垂直900画素の画像が格納できるものになっており、フレーム304のサイズは水平1920画素、垂直1080画素の画像が格納できるものになっている。   Assume that the size of the input image is stored in the frame 303 of the frame memory 111 as horizontal 1600 pixels and vertical 900 pixels, and the output image size is horizontal 1920 pixels and vertical 1080 pixels, and is stored in the frame 304. . It is assumed that the size of the line memory can store 640 pixel data. The frame 303 can store an image of horizontal 1600 pixels and vertical 900 pixels, and the frame 304 can store an image of horizontal 1920 pixels and vertical 1080 pixels.

次に処理の流れを図4のフローチャートを用いて説明する。   Next, the flow of processing will be described using the flowchart of FIG.

STEP:S401 水平方向の解像度はラインメモリに収まる量である
解像度変換処理を行うときにシステム制御部105は出力画像のサイズを取得し、ラインメモリ203のサイズが出力画像の水平方向のサイズより小さいかどうかの判断を行う。
STEP: S401 The horizontal resolution is the amount that can be accommodated in the line memory. When performing resolution conversion processing, the system control unit 105 acquires the size of the output image, and the size of the line memory 203 is smaller than the horizontal size of the output image. Judge whether or not.

STEP:S402 解像度変換処理
もし、ラインメモリのサイズが出力画像のサイズより小さいときには水平方向へ領域を分割せずに解像度変換処理を行う。
STEP: S402 Resolution conversion processing If the size of the line memory is smaller than the size of the output image, the resolution conversion processing is performed without dividing the region in the horizontal direction.

STEP:S403 水平方向へ分割
システム制御部105はS401で出力画像の水平サイズがラインメモリ203のサイズより大きいときには水平方向に複数の領域に分割を行う。今回の例では出力画像の水平サイズが1920画素、ラインメモリのサイズが640であるので1920を640で割ると3となる。よって図3の(b)、(c)に示すようにフレームメモリを3つの領域に分割し、出力が640画素となるリサイズを3回行い、1920画素の画像を出力することになる。
STEP: S403 Dividing in the horizontal direction When the horizontal size of the output image is larger than the size of the line memory 203 in S401, the system control unit 105 divides the image into a plurality of areas in the horizontal direction. In this example, the horizontal size of the output image is 1920 pixels and the size of the line memory is 640, so 1920 is divided by 640 to be 3. Therefore, as shown in FIGS. 3B and 3C, the frame memory is divided into three regions, resizing is performed three times so that the output is 640 pixels, and an image of 1920 pixels is output.

STEP:S404 最初の領域を指定
次に最初に処理を行う領域を指定する。今回は複数に分けた領域のうち左の領域から順次解像度変換処理を行うものとする。入力フレーム303の領域3031を入力画像の領域、出力フレーム304の領域3041を出力画像の格納先とする。
STEP: S404 Specify the first area Next, specify the area to be processed first. In this case, it is assumed that resolution conversion processing is sequentially performed from the left area among the divided areas. An area 3031 of the input frame 303 is an input image area, and an area 3041 of the output frame 304 is an output image storage destination.

STEP:S405 解像度変化処理
解像度変換部107,112はシステム制御部105の指示によりS404で決定した領域に対して上述の解像度変換処理を行う。
STEP: S405 Resolution Change Processing The resolution conversion units 107 and 112 perform the above-described resolution conversion processing on the area determined in S404 according to an instruction from the system control unit 105.

STEP:S406 すべての領域を変換したか?
システム制御部405入力画像におけるすべての領域の解像度変換処理が完了したかの判断を行う。すべての領域の解像度変換処理が完了したら解像度変換処理は終了とする。
STEP: S406 Have you converted all the areas?
The system control unit 405 determines whether the resolution conversion processing for all areas in the input image has been completed. When the resolution conversion process for all the areas is completed, the resolution conversion process ends.

STEP:S407 次の領域を指定
S406ですべての領域のズーム処理が完了していないときにはまだ解像度変換処理を行っていない領域を選択し、解像度変換部の入力、出力とする。
STEP: S407 Specify the next area When the zoom process has not been completed for all areas in S406, an area that has not been subjected to the resolution conversion process is selected and used as the input and output of the resolution converter.

以上のように処理を行うことによって出力画像の水平方向の解像度がラインメモリのサイズより大きくても解像度変換処理が可能である。   By performing the processing as described above, the resolution conversion processing can be performed even if the horizontal resolution of the output image is larger than the size of the line memory.

次に本発明による解像度変換処理時の入力フレームと出力フレームの配置方法について図5のフローチャートを用いて説明する。   Next, an arrangement method of input frames and output frames at the time of resolution conversion processing according to the present invention will be described with reference to the flowchart of FIG.

STEP:S501 画像解像度の取得
まずシステム制御部105は解像度変換部107,112で出力する画像の解像度を取得する。出力する画像の解像度はユーザによって操作部106より指示されるか、動画撮影や静止画撮影などの動作モードによって決定される解像度がROM109に格納されている。
STEP: S501 Acquisition of Image Resolution First, the system control unit 105 acquires the resolution of the image output by the resolution conversion units 107 and 112. The resolution of the image to be output is instructed from the operation unit 106 by the user, or the resolution determined by the operation mode such as moving image shooting or still image shooting is stored in the ROM 109.

STEP:S502 出力画像の水平解像度はラインメモリの容量より大きい
システム制御部105は出力する画像の水平方向の解像度がラインメモリの容量より大きいかの判断を行う。
STEP: S502 The horizontal resolution of the output image is larger than the capacity of the line memory. The system control unit 105 determines whether the horizontal resolution of the output image is larger than the capacity of the line memory.

STEP:S503 フレームメモリの水平方向のサイズ合わせ
S502で出力する画像の水平方向の解像度がラインメモリの容量より大きかったときの処理である。出力する画像の水平方向の解像度が大きかったときには水平方向に領域を分割し、複数回に分けて解像度変換処理を行う必要がある。
STEP: S503 Size adjustment in the horizontal direction of the frame memory This processing is performed when the horizontal resolution of the image output in S502 is larger than the capacity of the line memory. When the resolution of the output image in the horizontal direction is large, it is necessary to divide the region in the horizontal direction and perform resolution conversion processing in multiple steps.

以下、図4のフローチャートの説明に用いた条件と同じ解像度変換処理として説明する。入力画像のサイズが水平1600画素、垂直900画素としてフレームメモリ111のフレーム303に格納されていて、出力する画像のサイズが水平1920画素、垂直1080画素とし、フレーム304に格納するものとする。ラインメモリのサイズは640画素のデータを格納できるものとする。フレーム303のサイズは水平1600画素、垂直900画素の画像が格納できるものになっており、フレーム304のサイズは水平1920画素、垂直1080画素の画像が格納できるものになっている。   Hereinafter, the same resolution conversion process as that used in the description of the flowchart of FIG. 4 will be described. Assume that the size of the input image is stored in the frame 303 of the frame memory 111 as horizontal 1600 pixels and vertical 900 pixels, and the output image size is horizontal 1920 pixels and vertical 1080 pixels, and is stored in the frame 304. It is assumed that the size of the line memory can store 640 pixel data. The frame 303 can store an image of horizontal 1600 pixels and vertical 900 pixels, and the frame 304 can store an image of horizontal 1920 pixels and vertical 1080 pixels.

入出力フレームの位置関係を図8に示す。上の帯は図3のフレーム303をあらわしており入力フレームである。下の帯は図3のフレーム304をあらわしており、出力フレームである。横方向に行くほどアドレスが増加するようになっており、所定量ごとに領域が分割されている。   FIG. 8 shows the positional relationship of the input / output frames. The upper band represents the frame 303 in FIG. 3 and is an input frame. The lower band represents the frame 304 in FIG. 3 and is an output frame. The address increases as it goes in the horizontal direction, and the area is divided by a predetermined amount.

ここで入出力フレームの開始アドレスを同じにしたとする。領域3031を読み込み解像度変換を行い、領域3041に書き込んだとすると、まだ読み込んでいない領域3032を上書きしてしまうことになる(図8(a))。入力フレームか出力フレームのアドレスをずらすことにより最初の領域3032を上書きすることはなくなるがそれ以降で領域3031〜3033のいずれかの領域が上書きされることになる。これは領域3031〜3033と領域3041〜3043が繰り返す周期が異なるためにおこっている。   Here, it is assumed that the input / output frame has the same start address. If the area 3031 is read and resolution conversion is performed and the area 3041 is written, the area 3032 that has not yet been read is overwritten (FIG. 8A). By shifting the address of the input frame or the output frame, the first area 3032 is not overwritten, but any area of the areas 3031 to 3033 is overwritten thereafter. This occurs because the repetition cycle of the regions 3031 to 3033 and the regions 3041 to 3043 is different.

そこで周期の大きな方に周期が小さいほうをあわせる必要がある。今回の例だと入力フレームであるフレーム303の水平方向のサイズが小さいので、フレーム303の水平方向のサイズを大きくし、1920画素のデータを格納できるようにする(図8(b))。水平方向のサイズを合わせた後に入力フレームであるフレーム303のアドレスを変更することによって出力フレームのデータによって入力フレームのまだ読み込んでいない領域を上書きしないところに移動することが可能となる(図8(c))。具体的には複数に分割した領域のうち入力フレームの最終領域(ここでは領域3033)の開始アドレスが出力フレームの最終領域(ここでは領域3043)の開始アドレスより大きい必要がある。さらに入力フレームの最終領域(ここでは領域3033)の終了アドレスが出力フレームの最初の領域(ここでは領域3041)の開始アドレスより小さくある必要がある。   Therefore, it is necessary to match the smaller period with the larger period. In this example, since the horizontal size of the input frame 303 is small, the horizontal size of the frame 303 is increased so that data of 1920 pixels can be stored (FIG. 8B). By changing the address of the frame 303, which is the input frame, after adjusting the size in the horizontal direction, it is possible to move to a place where the area of the input frame that has not yet been read is overwritten by the output frame data (FIG. 8 ( c)). Specifically, the start address of the final area of the input frame (here, area 3033) among the divided areas needs to be larger than the start address of the final area of the output frame (here, area 3043). Furthermore, the end address of the last area (here, area 3033) of the input frame needs to be smaller than the start address of the first area (here, area 3041) of the output frame.

ここでは拡大を例にとって説明したが縮小のときにも拡大時と同様の方法で水平方向のサイズが小さいフレームを大きなフレームにあわせ、解像度変換の出力データでまだ読み込んでいない入力データを上書きしないようにすればよい。   In this example, enlargement is used as an example, but when reducing the size, a frame with a small horizontal size is aligned with a large frame in the same way as when enlarging, and the input data that has not yet been read is overwritten with the resolution conversion output data. You can do it.

STEP:S504 入出力フレームのアドレス算出
S503では水平方向のデータが上書きされないようなアドレスの算出を行った。このステップでは垂直方向の解像度変換が行われたときのアドレスの算出方法について説明を行う。
STEP: S504 Input / output frame address calculation In S503, an address is calculated so that horizontal data is not overwritten. In this step, an address calculation method when vertical resolution conversion is performed will be described.

図9を用いて入出力のアドレスの重ね合わせ可能な量について説明する。解像度変換処理の条件はS503のものと同じものを使用する。また解像度変換部107,112の垂直ズーム部205が垂直方向の解像度変換で前後2ラインのデータから補間演算を行うものとする。   The amount of input / output addresses that can be overlaid will be described with reference to FIG. The same resolution conversion processing conditions as those in S503 are used. Further, it is assumed that the vertical zoom unit 205 of the resolution conversion units 107 and 112 performs interpolation calculation from the data of the two lines before and after the resolution conversion in the vertical direction.

垂直方向に拡大すると入力データより出力するデータの方が多くなり、入出力フレームのアドレスを同じにすると解像度変換処理の出力データによりまだ読み込んでいない入力フレームのデータが上書きされることになる。   If the image is enlarged in the vertical direction, more data is output than input data. If the addresses of the input and output frames are the same, the input frame data that has not yet been read is overwritten by the output data of the resolution conversion process.

入力フレームの終了アドレスが出力フレームの終了アドレスより大きくなるように配置にすれば入力フレームの読み込んでいない領域を破壊することはない。   If the arrangement is made so that the end address of the input frame is larger than the end address of the output frame, the unread area of the input frame is not destroyed.

図9(a)を用いて説明する。今回の例だと入力フレームの開始アドレスを以下のように設定すればよい。入力フレームの画像の垂直ライン数が900、出力フレームの画像の垂直ライン数が1080である。入出力フレームの水平方向のサイズはS503で同じになる。よって入力フレームの開始アドレスを出力フレームの開始アドレスから180ラインより大きいオフセットを付けたところに配置すればよい。180ライン分のオフセットの時がもっとも重ね合わせの量を最大にすることが出来る。   This will be described with reference to FIG. In this example, the start address of the input frame should be set as follows. The number of vertical lines of the image of the input frame is 900, and the number of vertical lines of the image of the output frame is 1080. The horizontal size of the input / output frame is the same in S503. Therefore, the start address of the input frame may be arranged at an offset larger than 180 lines from the start address of the output frame. The amount of overlay can be maximized when the offset is 180 lines.

垂直方向に縮小すると入力データの方が出力するデータより少ないので入力データを上書きすることがない。図9(b)に示すように入力フレームと出力フレームの開始アドレスを同じすることができる。   If the data is reduced in the vertical direction, the input data is less than the data to be output, so the input data is not overwritten. As shown in FIG. 9B, the start addresses of the input frame and the output frame can be made the same.

STEP:S505 入出力フレームのアドレス設定
システム制御部105は前工程で算出した入力フレームと出力フレームのアドレスを設定する。
STEP: S505 Input / output frame address setting The system control unit 105 sets the input frame and output frame addresses calculated in the previous step.

STEP:S506 入出力フレームのアドレス算出
出力画像の水平方向の解像度がラインメモリの容量より小さかった時の処理である。ラインメモリの容量より小さいため解像度変換処理の際、水平方向に領域を分割する必要がない。入力フレームの終了アドレスが出力フレームの終了アドレスより大きくなるように配置にすれば入力フレームの読み込んでいない領域を破壊することはない。
STEP: S506 Input / output frame address calculation This process is performed when the horizontal resolution of the output image is smaller than the capacity of the line memory. Since it is smaller than the capacity of the line memory, it is not necessary to divide the area in the horizontal direction during the resolution conversion process. If the arrangement is made so that the end address of the input frame is larger than the end address of the output frame, the unread area of the input frame is not destroyed.

上記、フローチャートにしたがってフレームの重ねあわせを行うとフレーム303とフレーム304の関係は図10(a)のようになる。ここで図10(b)のように解像度変換部107、112に解像度変換倍率の変更があり、入力フレーム303から入力する画像のサイズが小さくなったとする。さらに出力画像のサイズは変わらないとしたときは、複数の領域に分割して解像度変換処理を行う必要がある。入力画像の水平サイズが変わると領域3031〜3033のアドレスが変わる。領域3031〜3033までの領域を順次読込み、解像度変換処理を行い、領域3041〜3043へ書き込んでいく。領域3032から領域3042への解像度変換を行うときにまだ読み込んでいない領域3033を上書きしてしまう。   When the frames are overlapped according to the flowchart, the relationship between the frame 303 and the frame 304 is as shown in FIG. Here, it is assumed that the resolution conversion magnification is changed in the resolution conversion units 107 and 112 as shown in FIG. 10B and the size of the image input from the input frame 303 is reduced. Furthermore, if the size of the output image is not changed, it is necessary to perform resolution conversion processing by dividing the output image into a plurality of areas. When the horizontal size of the input image changes, the addresses of the areas 3031 to 3033 change. The areas 3031 to 3033 are sequentially read, resolution conversion processing is performed, and the areas 3041 to 3043 are written. When the resolution conversion from the area 3032 to the area 3042 is performed, the area 3033 that has not yet been read is overwritten.

そこで入力フレームのサイズと入力画像のサイズが異なるときには図10(c)のように入出力フレームの配置をしなおす必要がある。入力画像の水平方向および垂直方向の終了アドレスと出力フレームの水平方向および垂直方向の終了アドレスをそろえることによって入力画像のまだ読み込んでいない領域を出力画像が上書きすることは無くなる。解像度変換倍率が変わったときでも上記方法を用いることにより図10(d)の斜線部分の領域であるフレームの水平方向のサイズに入力する画像の垂直方向のサイズをかけた分だけのメモリ要領の節約を行うことができる。本発明によるメモリの配置方法でメモリの配置をすることにより、メモリの空き容量が増え、JPEGなどの符号化画像データを格納しておく領域が増える。その結果、動画撮影時の静止画同時記録を行うときに、静止画同時記録の連写枚数を増やすことが可能である。また、ここでは解像度変換処理をするごとに入出力フレームの配置方法の決定を行っている。しかし、解像度変換倍率が予め明らかになっているようなシステムであれば予め上記フローチャートにより入出力フレームのアドレスを決定することによって最小限のDRAMを搭載したシステムの構築が可能である。   Therefore, when the size of the input frame is different from the size of the input image, it is necessary to rearrange the input / output frames as shown in FIG. By aligning the horizontal and vertical end addresses of the input image with the horizontal and vertical end addresses of the output frame, the output image will not overwrite an unread area of the input image. Even when the resolution conversion magnification is changed, by using the above method, it is possible to reduce the amount of memory required by multiplying the horizontal size of the frame, which is the shaded area in FIG. 10D, by the vertical size of the input image. Savings can be made. By arranging the memory by the memory arrangement method according to the present invention, the free space of the memory increases and the area for storing the encoded image data such as JPEG increases. As a result, it is possible to increase the number of continuous shots of simultaneous still image recording when performing simultaneous recording of still images during moving image shooting. Here, the input / output frame arrangement method is determined every time the resolution conversion process is performed. However, in a system in which the resolution conversion magnification is made clear in advance, it is possible to construct a system equipped with a minimum DRAM by determining the input / output frame addresses in advance according to the above flowchart.

次に動画撮影時の説明を図1のブロック図と図6を用いて行う。動画撮影時は、レンズユニット101を透過した光は、撮像センサ102の撮像面上に結像し、撮像面の光学像が所定時間ごとに電気信号に変換される。変換された電気信号はAFE103によりデジタル信号への変換が行われる。変換されたデジタル信号は画像入力部により、色変換処理が行われ、変換後はYCC(4:2:2)画像データとしてフレームメモリ111に格納される。   Next, the description at the time of moving image shooting will be made with reference to the block diagram of FIG. 1 and FIG. At the time of moving image shooting, the light transmitted through the lens unit 101 forms an image on the imaging surface of the imaging sensor 102, and the optical image on the imaging surface is converted into an electrical signal every predetermined time. The converted electrical signal is converted into a digital signal by the AFE 103. The converted digital signal is subjected to color conversion processing by the image input unit, and after conversion, is stored in the frame memory 111 as YCC (4: 2: 2) image data.

格納されたYCC画像データは解像度変換部107により、解像度変換処理が行われ、出力部108へ出力する。出力先は画像データの表示を行うモニタや、画像データを記録する画像データ記録装置などがある。   The stored YCC image data is subjected to resolution conversion processing by the resolution conversion unit 107 and output to the output unit 108. Output destinations include a monitor that displays image data, an image data recording device that records image data, and the like.

図6は動画撮影時の撮影データの流れとタイミングを示したものである。所定時間ごとのフレームメモリ111の状態を示しているものでシステム制御部105により時間間隔が制御される。各ブロックはこの時間間隔を基準として処理を行い、以下で説明する処理は特に説明が無ければこの時間間隔で処理が完了するものとする。   FIG. 6 shows the flow and timing of shooting data during moving image shooting. It shows the state of the frame memory 111 every predetermined time, and the system controller 105 controls the time interval. Each block performs processing based on this time interval, and processing described below is assumed to be completed at this time interval unless otherwise specified.

ある時間T1(図6)で撮像センサ102から取り込まれた信号は上記処理にしたがって画像データに変換されフレームメモリ111内のフレーム301に格納される。   A signal captured from the image sensor 102 at a certain time T1 (FIG. 6) is converted into image data according to the above processing and stored in the frame 301 in the frame memory 111.

次の時間T2(図6)では解像度変換部107により、フレーム301に格納された画像データを解像度変換処理し、出力部108へ出力する。撮像センサ102から取り込まれた信号は画像データに変換されフレーム302に格納される。   At the next time T2 (FIG. 6), the resolution conversion unit 107 performs resolution conversion processing on the image data stored in the frame 301 and outputs it to the output unit. A signal captured from the image sensor 102 is converted into image data and stored in the frame 302.

次の時間T3(図6)では解像度変換部107の入力をフレーム302にし、センサから取り込んだ画像をフレーム301に格納とし、同様の処理を行う。二つのフレームを交互に使用することによって解像度変換部107が画像データを読み込んでいる間にセンサから取り込んだ画像がその領域を上書きしないようにすることが出来る。   At the next time T3 (FIG. 6), the input of the resolution converting unit 107 is set to the frame 302, the image taken from the sensor is stored in the frame 301, and the same processing is performed. By alternately using the two frames, it is possible to prevent the image captured from the sensor from overwriting the area while the resolution conversion unit 107 reads the image data.

次に動画撮影中に静止画同時撮影を行うときの各ブロックの動作と撮影データの流れについての説明を図1と図7を用いて行う。図6同様。所定時間ごとのフレームメモリ111の状態を示している。フレーム301,フレーム302は各々異なるアドレスに配置してあり、各々の領域は重なっていない。フレーム303、フレーム304は本発明によるフレームメモリの配置方法を用いて配置されているため各々の領域の一部は共用している。   Next, the operation of each block and the flow of shooting data when shooting still images simultaneously during moving image shooting will be described with reference to FIGS. Similar to FIG. The state of the frame memory 111 for every predetermined time is shown. The frames 301 and 302 are arranged at different addresses, and the areas do not overlap. Since the frames 303 and 304 are arranged using the frame memory arrangement method according to the present invention, a part of each area is shared.

動画撮影中の同時撮影は動画撮影中に所望のタイミングで静止画を記録するものである。動画撮影中にユーザが操作部106により静止画撮影要求がT1(図7)のタイミングでされたとする。   Simultaneous shooting during moving image shooting is to record a still image at a desired timing during moving image shooting. Assume that the user makes a still image shooting request at the timing T1 (FIG. 7) during the moving image shooting.

T2で撮像センサ102から取り込まれた画像データはフレーム303に格納される。通常の動画撮影時はフレーム301と302を交互に使用するが静止画として記録する画像をフレームに格納するときには扱う画像サイズが大きいときには解像度変換に時間がかかる。解像度変換中にセンサ取り込み画像で上書きされないようにフレーム301、302とは異なるフレーム303を使用する。   The image data captured from the image sensor 102 at T2 is stored in the frame 303. Frames 301 and 302 are alternately used during normal moving image shooting, but when an image to be recorded as a still image is stored in the frame, resolution conversion takes time when the image size to be handled is large. A frame 303 different from the frames 301 and 302 is used so that the sensor captured image is not overwritten during resolution conversion.

T3でセンサから取り込んだ画像はフレーム301へ格納される。これ以降は新たに静止画撮影要求が無い限り、センサから取り込んだ画像は所定時間ごとに301,302に交互に格納される。フレーム303に格納された画像データは解像度変換部107により、解像度変換処理し、出力部108へ出力する。   The image captured from the sensor at T3 is stored in the frame 301. After this, unless there is a new request for still image shooting, images captured from the sensor are alternately stored in 301 and 302 every predetermined time. The image data stored in the frame 303 is subjected to resolution conversion processing by the resolution conversion unit 107 and output to the output unit 108.

T4で解像度変換部107により、フレーム301に格納された画像データを解像度変換処理し、出力部108へ出力する。解像度変換部112は静止画記録用の画像データの解像度変換処理を行う。フレーム303に格納された画像データは解像度変換部112より、解像度変換処理し、フレーム304へ格納される。   At T 4, the resolution conversion unit 107 performs resolution conversion processing on the image data stored in the frame 301 and outputs it to the output unit 108. The resolution conversion unit 112 performs resolution conversion processing of image data for still image recording. The image data stored in the frame 303 is subjected to resolution conversion processing by the resolution conversion unit 112 and stored in the frame 304.

フレーム303に格納された画像のサイズは水平1600画素、垂直900画素としフレーム、フレーム304に格納された画像サイズは水平1920画素、垂直1080画素とする。ラインメモリのサイズは640画素のデータを格納できるものとする。フレーム303のサイズは水平1600画素、垂直900画素の画像が格納できるものになっており、フレーム304のサイズは水平1920画素、垂直1080画素の画像が格納できるものになっているものとする。出力画像の水平方向の解像度が1920でラインメモリのサイズが640画素までしかデータを格納できないので最低でも3回に領域を分けて解像度変換処理を実行する必要がある。   The size of the image stored in the frame 303 is 1600 pixels horizontally and 900 pixels vertically, and the image size stored in the frame 304 is 1920 pixels horizontally and 1080 pixels vertically. It is assumed that the size of the line memory can store 640 pixel data. Assume that the size of the frame 303 can store an image of horizontal 1600 pixels and vertical 900 pixels, and the size of the frame 304 can store an image of horizontal 1920 pixels and vertical 1080 pixels. Since the horizontal resolution of the output image is 1920 and the data can be stored only up to 640 pixels in the line memory size, it is necessary to execute the resolution conversion process by dividing the area at least three times.

ここでは3回に分けて解像度変換を行うもとのとし、T4,T5,T6の期間で前述した複数領域に分割しての解像度変換処理を行う。T5,T6はT4と同様の処理を行う。   Here, it is assumed that resolution conversion is performed in three steps, and the resolution conversion processing is performed by dividing the image into a plurality of areas as described above during the period of T4, T5, and T6. T5 and T6 perform the same processing as T4.

T7で静止画符号化部113はフレーム304の解像度変換処理がされた画像を読込み、システム制御部105からの指示された目標圧縮率に合わせて符号化を行い、符号化された静止画データとしてRAM110へ格納される。   In T7, the still image encoding unit 113 reads the image subjected to the resolution conversion processing of the frame 304, performs encoding according to the target compression rate instructed by the system control unit 105, and generates encoded still image data. Stored in the RAM 110.

T4で動画出力用の解像度変換部107と同時に静止画撮影用の解像度変換部112を同時に処理を行わせないのはフレーム304と305の領域が一部重なっているためである。重なっているために、解像度変換部112がフレーム304からフレーム305へ解像度変換処理を行うとフレーム304の一部が更新されてしまう。解像度変換部107がフレーム304から画像データを読み込む前に更新されてしまうと解像度変換部112によって書き込まれた画を読み込むことになるそのため静止画を作成するための解像度変換は出力部に入力する画像を作成したあとに作成する必要がある。   The reason why the resolution conversion unit 112 for moving picture output and the resolution conversion unit 112 for still image shooting are not simultaneously processed at T4 is that the areas of the frames 304 and 305 partially overlap. Since they overlap, when the resolution conversion unit 112 performs resolution conversion processing from the frame 304 to the frame 305, a part of the frame 304 is updated. If the resolution conversion unit 107 is updated before reading image data from the frame 304, the image written by the resolution conversion unit 112 is read. Therefore, resolution conversion for creating a still image is input to the output unit. Needs to be created after creating.

100 ビデオカメラ、101 レンズユニット、102 撮像センサ、
103 アナログフロントエンド、104 画像入力部、105 システム制御部、
106 操作部、107 解像度変換部、108 出力部、109 ROM1、
110 RAM、111 フレームメモリ、112 解像度変換部、
113 静止画符号化部、114 記録媒体制御部、115 記録媒体、
116 内部バス
100 video camera, 101 lens unit, 102 image sensor,
103 analog front end, 104 image input unit, 105 system control unit,
106 operation unit, 107 resolution conversion unit, 108 output unit, 109 ROM1,
110 RAM, 111 frame memory, 112 resolution converter,
113 still image encoding unit, 114 recording medium control unit, 115 recording medium,
116 Internal bus

Claims (4)

画像を保存するフレームを複数持つフレームメモリと、
画像データを入力する手段と、
入力した画像データを前記フレームメモリの第一のフレームに格納する記憶手段と、
前記記憶手段に格納された画像を読み出し、画像の解像度を変換する解像度変換手段と、解像度が変換された画像を前記フレームメモリ内の第二のフレームに書き出す手段を有し、
読み出す画像および書き出す画像を水平方向に複数の領域に分割し、順次解像度変換処理を行うときに、第一のフレームと第二のフレームの領域を一部重ねて使用するときに、書き出す画像と読み出す画像のまだ読み込んでいない領域がフレームメモリ上で同じにならないように第一と第二のフレームをフレームメモリ上に配置し、解像度変換することを特徴とする画像処理装置。
A frame memory having a plurality of frames for storing images;
Means for inputting image data;
Storage means for storing input image data in a first frame of the frame memory;
A resolution conversion unit that reads the image stored in the storage unit and converts the resolution of the image; and a unit that writes the image whose resolution is converted to the second frame in the frame memory;
When the image to be read and the image to be written are divided into a plurality of areas in the horizontal direction and the resolution conversion process is sequentially performed, the image to be written is read when the areas of the first frame and the second frame are partially overlapped. An image processing apparatus comprising: a first frame and a second frame arranged on a frame memory so that an unread region of an image is not the same on the frame memory; and resolution conversion.
第一のフレームと第二のフレームの水平方向サイズを同じにするステップと、読み出す画像の垂直方向のサイズと書き出す画像の垂直方向サイズの差を算出するステップと、水平方向にn分割した画像のうち書き出す画像のn−1番目の領域が読み出す画像のn番目の画像と水平方向の位置が重ならないように配置することを特徴とする請求項1に記載の画像処理装置。   Making the horizontal size of the first frame and the second frame the same; calculating the difference between the vertical size of the read image and the vertical size of the image to be written; and 2. The image processing apparatus according to claim 1, wherein the n-1th area of the image to be written is arranged so that the horizontal position does not overlap with the nth image of the read image. 前記読み出す画像と書き出す画像の垂直方向サイズを取得する手段と、前記読み出す画像と書き出す画像の前記フレームメモリ上のアドレスを取得する手段を有し、前記読み出す画像と書き出す画像の垂直方向サイズと、前記第一のフレームと前記第二のフレームの配置を決定することを特徴とする請求項1に記載の画像処理装置。   Means for acquiring the vertical size of the read image and the image to be written; and means for acquiring addresses on the frame memory of the read image and the image to be written; and the vertical size of the read image and the image to be written; The image processing apparatus according to claim 1, wherein an arrangement of the first frame and the second frame is determined. 動画像を撮影中に静止画像の同時撮影を行うときに前記第一のフレームを動画像ストリームに記録するときには第一のフレームの画像が動画ストリームに記録されてから解像度変換処理を行うことを特徴とする請求項1に記載の画像処理装置。   When recording the first frame in the moving image stream when simultaneously capturing a still image while shooting a moving image, the resolution conversion processing is performed after the image of the first frame is recorded in the moving image stream. The image processing apparatus according to claim 1.
JP2014128707A 2014-06-24 2014-06-24 Image processing apparatus Pending JP2016009957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014128707A JP2016009957A (en) 2014-06-24 2014-06-24 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014128707A JP2016009957A (en) 2014-06-24 2014-06-24 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2016009957A true JP2016009957A (en) 2016-01-18

Family

ID=55227260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014128707A Pending JP2016009957A (en) 2014-06-24 2014-06-24 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2016009957A (en)

Similar Documents

Publication Publication Date Title
US8009337B2 (en) Image display apparatus, method, and program
KR101128167B1 (en) Image display device
JP2015053644A (en) Imaging device
JP2012004908A (en) Image processing device, image processing method and program
JP2006203437A (en) Camera and its image processing method
JP4606218B2 (en) Distortion correction device
JP5959194B2 (en) Imaging device
JP5171287B2 (en) Data processing device
JP2013135408A (en) Imaging apparatus
JP5972016B2 (en) Imaging device
JP2010028758A (en) Image processing apparatus and method, program, and imaging apparatus
JP2014099714A (en) Image processing apparatus, imaging device, image processing method, and program
JP2016009957A (en) Image processing apparatus
JP2006287733A (en) Imaging apparatus, operating method thereof, storage medium, and program
JP4987800B2 (en) Imaging device
JP4888306B2 (en) Image processing apparatus and image processing method
JP2018182551A (en) Imaging apparatus
JP6280713B2 (en) Imaging device
JP2009065323A (en) Image processing device, image processing method, imaging apparatus, and imaging method
JP2009033438A (en) Imaging apparatus
JP2018019164A (en) Image recording device, image recording method, and program
JP4557831B2 (en) Image processing apparatus and imaging apparatus using the same
JP2009260788A (en) Imaging unit
JP2006005596A (en) Semiconductor integrated circuit device and imaging device
JP6110730B2 (en) Imaging device