JP2012198259A - Image processing device, image processing method and display device - Google Patents

Image processing device, image processing method and display device Download PDF

Info

Publication number
JP2012198259A
JP2012198259A JP2011060475A JP2011060475A JP2012198259A JP 2012198259 A JP2012198259 A JP 2012198259A JP 2011060475 A JP2011060475 A JP 2011060475A JP 2011060475 A JP2011060475 A JP 2011060475A JP 2012198259 A JP2012198259 A JP 2012198259A
Authority
JP
Japan
Prior art keywords
image data
size conversion
size
processed
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.)
Withdrawn
Application number
JP2011060475A
Other languages
Japanese (ja)
Inventor
Koji Endo
幸治 遠藤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011060475A priority Critical patent/JP2012198259A/en
Publication of JP2012198259A publication Critical patent/JP2012198259A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Projection Apparatus (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To use a circuit that resizes input image data and outputs it to resize image data that does not conform to a restriction on specifications of the circuit without degrading image quality.SOLUTION: A projector 11 includes: a resizing circuit 133 having a restriction such that image data is resized to be an integral multiple of a predetermined data unit in any of first and second directions; and a rotation processing circuit 131. In resizing the image data to be processed using the resizing circuit 133 in a restricted direction, a control part 103 expands the size of the rotated image data to be processed in the first direction to become an integral multiple of the predetermined data unit. The resizing circuit 133 executes resizing in the second direction.

Description

本発明は、画像を処理する画像処理装置、画像処理方法、及び、表示装置に関する。   The present invention relates to an image processing apparatus, an image processing method, and a display apparatus that process an image.

従来、プロジェクター等の画像出力装置において、画像中の指定された領域を拡大して出力したり、出力サイズよりも大きな画像を縮小して表示するため、入力画像データのサイズ変換処理を行う処理回路を備えた画像出力装置があった。
画像データのサイズ変換を行う処理回路の一部には、仕様上、入出力する画像データの幅(横方向のサイズ)または高さ(縦方向のサイズ)が制限されていることがある。この制限は、例えば、処理回路内部のレジスターの構成により、画像を入出力するメモリーへのアクセスを所定データ単位(具体例としては、8バイト単位または8画素単位)で行う必要があることに起因するものである。この制限はハードウェアの仕様によるものであるから、ソフトウェアによりサイズ変換を行う構成とすれば回避可能であるが、サイズ変換を専用のハードウェアで行う場合にはCPUの処理負荷を軽減できる、高速処理が可能である等の利点があるため、上記のような制限のもとにサイズ変換を行うことが多かった。すなわち、処理対象の画像データのサイズをいったんサイズ変換処理の仕様に合わせて変換してから、サイズ変換を行っていた。このような場合に、処理対象の画像データのサイズを拡大または縮小する技術としては、複数の画素の画素値を用いて、その領域の内部に新たな画素値を生成する補間法があった(例えば、特許文献1参照)。
2. Description of the Related Art Conventionally, in an image output device such as a projector, a processing circuit that performs a size conversion process of input image data in order to output a specified region in an image in an enlarged manner or to reduce and display an image larger than the output size There was an image output device equipped with.
In some processing circuits that perform image data size conversion, the width (horizontal size) or height (vertical size) of input / output image data may be limited due to specifications. This limitation is caused by, for example, the configuration of a register in the processing circuit that requires access to a memory for inputting / outputting an image in a predetermined data unit (specifically, in units of 8 bytes or 8 pixels). To do. This limitation is due to the hardware specifications, and can be avoided if the size conversion is performed by software. However, if the size conversion is performed by dedicated hardware, the processing load on the CPU can be reduced. Since there is an advantage that processing is possible, size conversion is often performed under the above-described restrictions. In other words, the size conversion is performed after the size of the image data to be processed is converted once according to the specification of the size conversion processing. In such a case, as a technique for enlarging or reducing the size of the image data to be processed, there has been an interpolation method in which pixel values of a plurality of pixels are used to generate new pixel values within the region ( For example, see Patent Document 1).

特開2010−268389号公報JP 2010-268389 A

しかしながら、補間により処理対象の画像データの画素数を変換する場合、画像の劣化を生じるという問題が指摘されていた。特に、ハードウェアの仕様の制限に適合させるため複数段階の補間処理を行うと、劣化が無視できないという問題があった。
本発明は、上述した事情に鑑みてなされたものであり、入力画像データのサイズを変換して出力する回路を用いて、この回路の仕様上の制限に適合しない画像データを、画質の劣化を伴わない方法によってサイズ変換することを目的とする。
However, when converting the number of pixels of image data to be processed by interpolation, a problem has been pointed out that image degradation occurs. In particular, there is a problem that deterioration cannot be ignored when performing a multi-step interpolation process in order to meet the limitation of hardware specifications.
The present invention has been made in view of the circumstances described above, and uses a circuit that converts the size of the input image data and outputs the image data, which does not meet the restrictions on the specifications of the circuit, and reduces the image quality. The purpose is to convert the size by a method that does not involve it.

上記課題を解決するため、本発明は、入力画像データの第1の方向および第2の方向のサイズを変換して出力するサイズ変換機能を有し、前記入力画像データが前記第1の方向において所定データ単位の整数倍となっていることが制限されたサイズ変換手段と、前記入力画像データを回転させる回転処理手段と、処理対象の画像データを前記第1の方向でサイズ変換を行う際、前記処理対象の画像データのサイズが制限に適合しない場合には、前記処理対象の画像データを前記回転処理手段により回転させ、回転後の前記処理対象のデータの前記第1の方向におけるサイズを拡張することで前記所定データ単位の整数倍とし、前記サイズ変換手段により前記第2の方向のサイズ変換を実行させる制御手段とを備えることを特徴とする。
本発明によれば、処理対象の画像データを回転させることで、仕様上の制限を受けない方向のサイズ変換のみを行うことにより第1及び第2の方向の両方のサイズ変換を行うことができる。これにより、サイズ変換機能を有するハードウェアの制限の範囲内で、画像データの劣化を招くことなく、高い自由度で画像データのサイズ変換を行うことができる。
ここで、第1の方向及び第2の方向は、互いに略直交する方向であり、例えば、処理対象の画像データが直交する方向に配列された画素からなるデータである場合には、第1の方向及び第2の方向は、横方向及び縦方向、或いはその逆に相当する。
In order to solve the above problems, the present invention has a size conversion function for converting and outputting the sizes of the first direction and the second direction of the input image data, and the input image data is in the first direction. When performing size conversion in the first direction, size conversion means that is limited to an integral multiple of a predetermined data unit, rotation processing means that rotates the input image data, and image data to be processed When the size of the image data to be processed does not meet the restriction, the image data to be processed is rotated by the rotation processing unit, and the size of the data to be processed after the rotation is expanded in the first direction. And a control unit that performs an integer multiple of the predetermined data unit and causes the size conversion unit to perform the size conversion in the second direction.
According to the present invention, by rotating the image data to be processed, it is possible to perform size conversion in both the first direction and the second direction by performing only size conversion in a direction not subject to specification restrictions. . Thus, the size conversion of the image data can be performed with a high degree of freedom without causing deterioration of the image data within the limits of the hardware having the size conversion function.
Here, the first direction and the second direction are substantially orthogonal to each other. For example, when the image data to be processed is data composed of pixels arranged in the orthogonal direction, The direction and the second direction correspond to the horizontal direction and the vertical direction, or vice versa.

また、本発明は、上記画像処理装置において、前記サイズ変換手段及び前記回転処理手段は、メモリーの作業領域に展開された前記処理対象のデータを処理するものであり、前記制御手段は、前記作業領域において前記処理対象の画像データに隣接する不定データを含めた範囲を新たに処理対象の画像データとすることで、前記第1の方向におけるサイズを拡張することを特徴とする。
本発明によれば、メモリーの作業領域に展開された処理対象のデータを改変することなく処理対象のデータのサイズを容易に拡張できる。
In the image processing apparatus, the size conversion unit and the rotation processing unit may process the processing target data expanded in a work area of a memory, and the control unit may The size in the first direction is expanded by newly setting a range including indefinite data adjacent to the processing target image data in the region as the processing target image data.
According to the present invention, the size of data to be processed can be easily expanded without modifying the data to be processed developed in the work area of the memory.

また、本発明は、上記画像処理装置において、前記制御手段は、前記サイズ変換手段により前記処理対象の画像データのサイズ変換をさせた後、前記回転処理手段により逆方向に回転させることを特徴とする。
本発明によれば、処理対象の画像データを入力時と同じ向きの画像として出力できる。
Further, the present invention is characterized in that, in the image processing apparatus, the control means causes the size conversion means to convert the size of the image data to be processed and then rotates the rotation processing means in the reverse direction. To do.
According to the present invention, it is possible to output image data to be processed as an image in the same direction as when input.

また、本発明は、上記画像処理装置において、前記制御手段は、前記サイズ変換手段及び前記回転処理手段による処理後の画像データが前記作業領域の先頭アドレス側に位置するように、前記回転処理手段によって前記処理対象の画像データを回転させる前に前記作業領域内で前記処理対象の画像データを移動させることを特徴とする。
本発明によれば、処理後の画像データを出力する際の先頭のアドレスがずれないように処理できる。
Further, in the image processing apparatus according to the present invention, the control unit includes the rotation processing unit such that the image data processed by the size conversion unit and the rotation processing unit is positioned on the start address side of the work area. The image data to be processed is moved in the work area before the image data to be processed is rotated.
According to the present invention, it is possible to perform processing so as not to shift the head address when outputting processed image data.

また、本発明は、上記画像処理装置において、前記サイズ変換手段は、サイズ変換前後の画像データの前記第1の方向の画素数が所定画素数の整数倍となっていること、或いは、サイズ変換前後の前記第1の方向のデータが所定バイト数の整数倍となっていることが制限されていることを特徴とする。
処理対象の画像データの画素数あるいはデータサイズが制限されている場合に、この制限を満たすように補間演算等を行うことなくサイズ変換できる。
In the image processing apparatus according to the aspect of the invention, the size conversion unit may be configured such that the number of pixels in the first direction of the image data before and after the size conversion is an integral multiple of a predetermined number of pixels, or size conversion. It is limited that data in the first direction before and after is an integer multiple of a predetermined number of bytes.
When the number of pixels or the data size of the image data to be processed is limited, size conversion can be performed without performing an interpolation operation or the like so as to satisfy this limitation.

また、上記課題を解決するため、本発明は、入力画像データの第1の方向および第2の方向のサイズを変換して出力するサイズ変換機能を有し、前記入力画像データが前記第1の方向において所定データ単位の整数倍となっていることが制限されたサイズ変換手段と、前記入力画像データを回転させる回転処理手段とを用い、処理対象の画像データを前記第1の方向でサイズ変換を行う際、前記処理対象の画像データのサイズが制限に適合しない場合には、回転後の前記処理対象のデータの前記第1の方向におけるサイズを拡張することで前記所定データ単位の整数倍とし、前記サイズ変換手段により前記第2の方向のサイズ変換を実行させることを特徴とする。
本発明によれば、処理対象の画像データを回転させることで、仕様上の制限を受けない方向のサイズ変換のみを行うことにより第1の方向及び第2の方向の両方のサイズ変換を行うことができる。これにより、サイズ変換機能を有するハードウェアの制限の範囲内で、画像データの劣化を招くことなく、高い自由度で画像データのサイズ変換を行うことができる。
In order to solve the above problem, the present invention has a size conversion function for converting the size of the input image data in the first direction and the second direction and outputting the converted image, and the input image data is the first image data. Size conversion means that is restricted to be an integral multiple of a predetermined data unit in the direction and rotation processing means that rotates the input image data, and size conversion of the image data to be processed in the first direction When the size of the image data to be processed does not meet the limit when performing the processing, the size in the first direction of the data to be processed after rotation is expanded to an integer multiple of the predetermined data unit. The size conversion unit executes size conversion in the second direction.
According to the present invention, by rotating the image data to be processed, the size conversion in both the first direction and the second direction is performed by performing only the size conversion in the direction not subject to the limitation on the specification. Can do. Thus, the size conversion of the image data can be performed with a high degree of freedom without causing deterioration of the image data within the limits of the hardware having the size conversion function.

また、上記課題を解決するため、本発明は、入力画像データの第1の方向および第2の方向のサイズを変換して出力するサイズ変換機能を有し、縦方向または横方向のいずれかについて、サイズ変換する画像データが当該方向において所定データ単位の整数倍となっていることが制限されたサイズ変換手段と、前記表示対象の画像データを回転させる回転処理手段と、前記表示対象の画像データを前記サイズ変換手段によって制限された方向でサイズ変換を行う際、前記表示対象の画像データのサイズが制限に適合しない場合には、回転後の前記処理対象のデータの前記第1の方向におけるサイズを拡張することで前記所定データ単位の整数倍とし、前記サイズ変換手段により前記第2の方向のサイズ変換を実行させる制御手段と、前記サイズ変換手段及び前記回転処理手段により処理された画像データを表示する表示手段とを備えることを特徴とする。
本発明によれば、処理対象の画像データを回転させることで、仕様上の制限を受けない方向のサイズ変換のみを行うことにより第1の方向及び第2の方向の両方のサイズ変換を行うことができる。これにより、サイズ変換機能を有するハードウェアの制限の範囲内で、画像データの劣化を招くことなく、高い自由度で画像データのサイズ変換を行うことができ、画像を拡大または縮小して表示することができる。
In order to solve the above-described problem, the present invention has a size conversion function for converting the size of the input image data in the first direction and the second direction and outputting the converted image, in either the vertical direction or the horizontal direction. Size conversion means in which the image data to be converted is limited to an integral multiple of a predetermined data unit in the direction, rotation processing means for rotating the display target image data, and the display target image data When the size conversion is performed in the direction limited by the size conversion means, if the size of the image data to be displayed does not meet the limit, the size of the processing target data after rotation in the first direction And a control means for executing size conversion in the second direction by the size conversion means, Characterized in that it comprises a display means for displaying the image data processed by the conversion means and the rotation processing unit.
According to the present invention, by rotating the image data to be processed, the size conversion in both the first direction and the second direction is performed by performing only the size conversion in the direction not subject to the limitation on the specification. Can do. As a result, the size of the image data can be converted with a high degree of freedom without causing deterioration of the image data within the limits of the hardware having the size conversion function, and the image is enlarged or reduced and displayed. be able to.

本発明によれば、処理対象の画像データを回転させることで、仕様上の制限を受けない方向のサイズ変換のみを行うことにより、制限を受ける方向及び制限を受けない方向の両方のサイズ変換を行うことができる。   According to the present invention, by rotating the image data to be processed, only the size conversion in the direction not subject to the limitation on the specification is performed, thereby performing the size conversion in both the direction subject to the limitation and the direction not subject to the limitation. It can be carried out.

本発明の実施形態に係る表示システムの構成を示すブロック図である。It is a block diagram which shows the structure of the display system which concerns on embodiment of this invention. 画像データを拡大する処理手順を具体的に示す説明図である。It is explanatory drawing which shows the process sequence which expands image data concretely. 画像データを縮小する処理手順を具体的に示す説明図である。It is explanatory drawing which shows the process sequence which reduces image data concretely. 画像データを拡大及び回転する処理手順を具体的に示す説明図である。It is explanatory drawing which shows the process sequence which expands and rotates image data concretely. 画像データを拡大及び回転する処理手順を具体的に示す説明図である。It is explanatory drawing which shows the process sequence which expands and rotates image data concretely. 画像データを拡大及び回転する処理手順を具体的に示す説明図である。It is explanatory drawing which shows the process sequence which expands and rotates image data concretely. プロジェクターが画像データのサイズを変換する動作を示すフローチャートである。It is a flowchart which shows the operation | movement which a projector converts the size of image data.

以下、図面を参照して本発明を適用した実施形態について説明する。
図1は、表示システム10の構成を示すブロック図である。
本実施形態に係る表示システム10は、表示装置としてのプロジェクター11をPC(Personal Computer)13に有線または無線接続して構成され、プロジェクター11はPC13から受信される画像情報に応じた画像を投射面としてのスクリーンSC上に投射する。プロジェクター11は、PC13から受信した画像情報に応じた画像が静止画像であっても動画像であっても投射できる。
プロジェクター11は、PC13やビデオ再生装置、DVD再生装置等の外部の装置に接続されるI/F(インターフェイス)部101を備えている。例えば、I/F部101は、USBインターフェイス、有線または無線LANインターフェイス、アナログ映像信号が入力されるVGA端子、デジタル映像信号が入力されるDVI(Digital Visual Interface)、NTSC、PAL、SECAM等のコンポジット映像信号が入力されるS映像端子、コンポジット映像信号が入力されるRCA端子、コンポーネント映像信号が入力されるD端子、HDMI(登録商標)規格に準拠したHDMIコネクター等を備えている。
プロジェクター11は、I/F部101のLANインターフェイスまたはUSBインターフェイスを介してPC13に接続される。
Embodiments to which the present invention is applied will be described below with reference to the drawings.
FIG. 1 is a block diagram showing the configuration of the display system 10.
A display system 10 according to the present embodiment is configured by connecting a projector 11 as a display device to a PC (Personal Computer) 13 by wire or wirelessly, and the projector 11 projects an image according to image information received from the PC 13. Is projected onto the screen SC. The projector 11 can project whether the image corresponding to the image information received from the PC 13 is a still image or a moving image.
The projector 11 includes an I / F (interface) unit 101 connected to an external device such as a PC 13, a video playback device, or a DVD playback device. For example, the I / F unit 101 includes a USB interface, a wired or wireless LAN interface, a VGA terminal to which an analog video signal is input, a DVI (Digital Visual Interface) to which a digital video signal is input, NTSC, PAL, SECAM, and other composites. An S video terminal to which a video signal is input, an RCA terminal to which a composite video signal is input, a D terminal to which a component video signal is input, an HDMI connector conforming to the HDMI (registered trademark) standard, and the like are provided.
The projector 11 is connected to the PC 13 via the LAN interface or USB interface of the I / F unit 101.

プロジェクター11は、大きく分けて光学的な画像の形成を行う光学系と映像信号を電気的に処理する画像処理系とからなる。光学系は、照明光学系31、光変調装置である液晶パネル32、及び投射光学系33から構成されている。照明光学系31は、キセノンランプ、超高圧水銀ランプ、LED(Light Emitting Diode)等からなる光源を備えている。また、照明光学系31は、光源が発した光を液晶パネル32に導くリフレクター及び補助リフレクターを備えていてもよく、投射光の光学特性を高めるためのレンズ群(図示略)、偏光板、或いは光源が発した光の光量を液晶パネル32に至る経路上で低減させる調光素子等を備えたものであってもよい。
液晶パネル32は、後述する画像処理系からの信号を受けて、パネル面に画像を形成する。液晶パネル32は、カラーの投影を行うため、RGBの三原色に対応した3枚の液晶パネルからなる。そのため、照明光学系31からの光はRGBの3色の色光に分離され、各色光は対応する各液晶パネルに入射する。各液晶パネルを通過して変調された色光はクロスダイクロイックプリズム等の合成光学系によって合成され、投射光学系33に射出される。
The projector 11 is roughly divided into an optical system that forms an optical image and an image processing system that electrically processes a video signal. The optical system includes an illumination optical system 31, a liquid crystal panel 32 that is a light modulation device, and a projection optical system 33. The illumination optical system 31 includes a light source including a xenon lamp, an ultra high pressure mercury lamp, an LED (Light Emitting Diode), and the like. The illumination optical system 31 may include a reflector and an auxiliary reflector that guide light emitted from the light source to the liquid crystal panel 32, and a lens group (not shown), a polarizing plate, A light control element or the like that reduces the amount of light emitted from the light source on the path to the liquid crystal panel 32 may be provided.
The liquid crystal panel 32 receives a signal from an image processing system, which will be described later, and forms an image on the panel surface. The liquid crystal panel 32 includes three liquid crystal panels corresponding to the three primary colors of RGB in order to perform color projection. Therefore, the light from the illumination optical system 31 is separated into three color lights of RGB, and each color light enters each corresponding liquid crystal panel. The color light modulated by passing through each liquid crystal panel is combined by a combining optical system such as a cross dichroic prism and emitted to the projection optical system 33.

投射光学系33は、投射する画像の拡大・縮小および焦点の調整を行うズームレンズ、ズームの度合いを調整するズーム調整用モーター、フォーカスの調整を行うフォーカス調整用モーター等を備えている。この光学系には、制御部103の制御に従って投射光学系33が備える各モーターを駆動する投射光学系駆動部121、及び、制御部103の制御に従って照明光学系31が備える光源を駆動する光源駆動部117が接続されている。   The projection optical system 33 includes a zoom lens that performs enlargement / reduction of a projected image and a focus adjustment, a zoom adjustment motor that adjusts the degree of zoom, a focus adjustment motor that performs focus adjustment, and the like. The optical system includes a projection optical system driving unit 121 that drives each motor included in the projection optical system 33 according to the control of the control unit 103, and a light source drive that drives a light source included in the illumination optical system 31 according to the control of the control unit 103. The unit 117 is connected.

一方、画像処理系は、プロジェクター11全体を統合的に制御する制御部103を中心に構成され、制御部103が処理するデータや制御部103が実行する制御プログラム105Aを記憶した記憶部105、操作パネル45及びリモコン受光部41を介した操作を検出する入力処理部123、I/F部101を介して入力された入力映像を処理する表示制御部107、画像処理部113、表示制御部107から出力される映像信号に基づいて液晶パネル32を駆動して描画を行う光変調装置駆動部119を備えている。   On the other hand, the image processing system is configured around a control unit 103 that controls the entire projector 11 in an integrated manner. The storage unit 105 stores data processed by the control unit 103 and a control program 105A executed by the control unit 103. From the input processing unit 123 that detects an operation through the panel 45 and the remote control light receiving unit 41, the display control unit 107 that processes the input video input through the I / F unit 101, the image processing unit 113, and the display control unit 107. A light modulation device driving unit 119 is provided that performs drawing by driving the liquid crystal panel 32 based on the output video signal.

制御部103(制御手段)は、記憶部105に記憶された制御プログラム105Aを読み出して実行することにより、プロジェクター11の各部を制御する。制御部103は、入力処理部123から入力される操作信号に基づいて、操作者が行った操作の内容を検出し、この操作に応じて表示制御部107、投射光学系駆動部121及び光源駆動部117を制御して、スクリーンSCに映像を投射させる。   The control unit 103 (control unit) controls each unit of the projector 11 by reading and executing the control program 105 </ b> A stored in the storage unit 105. The control unit 103 detects the content of the operation performed by the operator based on the operation signal input from the input processing unit 123, and in accordance with this operation, the display control unit 107, the projection optical system driving unit 121, and the light source driving The unit 117 is controlled to project an image on the screen SC.

また、プロジェクター11の外装筐体(図示略)には各種スイッチ及びインジケーターランプを備えた操作パネル45が配置されている。操作パネル45は入力処理部123に接続されており、入力処理部123は、制御部103の制御に従い、プロジェクター11の動作状態や設定状態に応じて操作パネル45のインジケーターランプを適宜点灯或いは点滅させる。この操作パネル45のスイッチが操作されると、操作されたスイッチに対応する操作信号が入力処理部123から制御部103に出力される。
また、プロジェクター11は、操作者が使用するリモコン(図示略)がボタン操作に対応して送信した赤外線信号を、リモコン受光部41によって受光する。リモコン受光部41は、上記リモコンから受光した赤外線信号をデコードして、上記リモコンにおける操作内容を示す操作信号を生成し、制御部103に出力する。
In addition, an operation panel 45 having various switches and indicator lamps is disposed in an exterior housing (not shown) of the projector 11. The operation panel 45 is connected to the input processing unit 123, and the input processing unit 123 turns on or blinks the indicator lamp of the operation panel 45 as appropriate according to the operation state and setting state of the projector 11 according to the control of the control unit 103. . When the switch of the operation panel 45 is operated, an operation signal corresponding to the operated switch is output from the input processing unit 123 to the control unit 103.
Further, the projector 11 receives an infrared signal transmitted by a remote controller (not shown) used by the operator in response to a button operation by the remote controller light receiving unit 41. The remote control light receiving unit 41 decodes the infrared signal received from the remote control, generates an operation signal indicating the operation content of the remote control, and outputs the operation signal to the control unit 103.

I/F部101には表示制御部107が接続される。表示制御部107には、フレームメモリー115を有する画像処理部113が接続されている。画像処理部113は、I/F部101を介して入力される入力映像をフレームメモリー115に展開し、アナログ/デジタル変換、インターレース/プログレッシブ変換、解像度変換等の各種変換処理を適宜実行し、予め設定されたフォーマットの映像信号を生成して表示制御部107に出力する。表示制御部107は、画像処理部113により処理された映像信号を光変調装置駆動部119に出力し、液晶パネル32に表示させる。   A display control unit 107 is connected to the I / F unit 101. An image processing unit 113 having a frame memory 115 is connected to the display control unit 107. The image processing unit 113 develops the input video input via the I / F unit 101 in the frame memory 115, appropriately executes various conversion processes such as analog / digital conversion, interlace / progressive conversion, resolution conversion, and the like. A video signal in the set format is generated and output to the display control unit 107. The display control unit 107 outputs the video signal processed by the image processing unit 113 to the light modulation device driving unit 119 and displays it on the liquid crystal panel 32.

画像処理部113は、制御部103の制御のもと、I/F部101により受信され、表示制御部107が取得した画像データをフレームメモリー115に1フレームの画像として展開する。そして、画像処理部113は、フレームメモリー115に展開された画像データについて、90度単位で回転させる回転処理回路131、及び、縦方向及び横方向へのサイズ変換を行うサイズ変換回路133を備えている。回転処理回路131、及び、サイズ変換回路133は、いずれも専用の処理回路を有する半導体デバイス(ASIC)として構成される。なお、本実施形態では回転処理回路131とサイズ変換回路133とを独立したハードウェアとして説明するが、両機能部を統合した一つのハードウェアとして構成してもよい。   The image processing unit 113 develops the image data received by the I / F unit 101 and acquired by the display control unit 107 as a one-frame image in the frame memory 115 under the control of the control unit 103. The image processing unit 113 includes a rotation processing circuit 131 that rotates the image data developed in the frame memory 115 in units of 90 degrees, and a size conversion circuit 133 that performs size conversion in the vertical and horizontal directions. Yes. Each of the rotation processing circuit 131 and the size conversion circuit 133 is configured as a semiconductor device (ASIC) having a dedicated processing circuit. In the present embodiment, the rotation processing circuit 131 and the size conversion circuit 133 are described as independent hardware, but may be configured as a single hardware in which both functional units are integrated.

回転処理回路131(回転処理手段)及びサイズ変換回路133(サイズ変換手段)は、制御部103の制御により、フレームメモリー115に展開された画像データの全部または一部を処理対象として読み出す。回転処理回路131及びサイズ変換回路133は、処理した画像データを相互に直接出力可能であり、例えば、回転処理回路131が回転させた画像データを直接サイズ変換回路133に入力してサイズ変換することも、その逆の処理も可能である。また、回転処理回路131が処理後の画像データをいったんフレームメモリー115に出力し、この画像データをサイズ変換回路133が読み出してサイズ変換処理をすることも可能であり、その逆の処理も可能である。   The rotation processing circuit 131 (rotation processing means) and the size conversion circuit 133 (size conversion means) read all or part of the image data developed in the frame memory 115 as a processing target under the control of the control unit 103. The rotation processing circuit 131 and the size conversion circuit 133 can directly output the processed image data, and for example, the image data rotated by the rotation processing circuit 131 is directly input to the size conversion circuit 133 for size conversion. However, the reverse process is also possible. The rotation processing circuit 131 once outputs the processed image data to the frame memory 115, and the size conversion circuit 133 reads the image data and performs the size conversion processing, and the reverse processing is also possible. is there.

回転処理回路131は入力された画像データを、サイズを変えずに90度単位で、90度、180度、270度、−90度、−180度、−270度回転させる機能を有する。   The rotation processing circuit 131 has a function of rotating the inputted image data by 90 degrees, 180 degrees, 270 degrees, -90 degrees, -180 degrees, and -270 degrees in units of 90 degrees without changing the size.

一方、サイズ変換回路133は、入力された画像データのサイズを、互いに略直交する第1の方向及び第2の方向のそれぞれに拡大する拡大処理、及び、縮小する縮小処理が可能なサイズ変換機能を有する。本実施形態では、直交する横方向(第1の方向)と縦方向(第2の方向)に画像データを拡大または縮小する例について説明する。
なお、本実施形態では画像データを整数倍に拡大する場合および整数分の1に縮小する場合を例に挙げて説明するが、拡大・縮小するときの倍率は必ずしも整数倍あるいは整数分の1でなくても良く、例えば、640x480の画像を1024x768に拡大することも可能である。
On the other hand, the size conversion circuit 133 is a size conversion function capable of enlarging and reducing the size of the input image data in the first direction and the second direction substantially orthogonal to each other. Have In the present embodiment, an example will be described in which image data is enlarged or reduced in the orthogonal horizontal direction (first direction) and vertical direction (second direction).
In the present embodiment, the case where the image data is enlarged to an integral multiple and the case where the image data is reduced to a fraction of an integer will be described as an example. However, the magnification for enlargement / reduction is not necessarily an integral multiple or a fraction of an integer. For example, it is possible to enlarge a 640 × 480 image to 1024 × 768.

回転処理回路131及びサイズ変換回路133は、フレームメモリー115或いは内蔵する作業領域のメモリーのアドレスを指定するレジスターを内蔵しているが、このレジスターの仕様上の制限から、処理できるデータ単位に制限がある。
具体的には、回転処理回路131は、回転処理を行う場合、縦方向(第2の方向)または横方向(第1の方向)のいずれかについて、回転前後の出力画像データが、いずれも当該方向のサイズ(ここでは画素数)が8の整数倍でなければならない。また、サイズ変換回路133は、縦方向(第2の方向)または横方向(第1の方向)のいずれかについて、サイズ変換を行う場合に、変換前後の画像データの当該方向のサイズが8の整数倍であることが要求される。
本実施形態では横方向のサイズ変換に関して制限を有する例を説明する。すなわち、処理対象である入力画像データのサイズは縦方向に関して制限は無いが、回転処理、及び拡大縮小の前後において、横方向のサイズ(画素数)が、いずれも8の倍数となっている必要がある。
なお、本発明は上記の例に限定されず、処理前後の画像データの当該方向のサイズが4の整数倍であることが要求されることもあるし、画素単位ではなくデータ量(ビット単位またはバイト単位)が所定のデータ単位(例えば、8バイト)の整数倍となっていることが要求されることもある。また、第1の方向及び第2の方向は縦と横に限定されない。
The rotation processing circuit 131 and the size conversion circuit 133 incorporate a register for designating the address of the memory of the frame memory 115 or the built-in work area. However, due to the restriction on the specification of this register, the data unit that can be processed is limited. is there.
Specifically, when the rotation processing circuit 131 performs the rotation processing, the output image data before and after the rotation is either in the vertical direction (second direction) or the horizontal direction (first direction). The size in the direction (here the number of pixels) must be an integer multiple of 8. In addition, when the size conversion circuit 133 performs size conversion in either the vertical direction (second direction) or the horizontal direction (first direction), the size of the image data before and after conversion is 8 in that direction. It is required to be an integer multiple.
In the present embodiment, an example in which the size conversion in the horizontal direction is limited will be described. In other words, the size of the input image data to be processed is not limited in the vertical direction, but the size in the horizontal direction (number of pixels) must be a multiple of 8 before and after the rotation process and enlargement / reduction. There is.
The present invention is not limited to the above example, and the size of the image data before and after the processing may be required to be an integer multiple of 4, and the data amount (bit unit or It may be required that the byte unit is an integral multiple of a predetermined data unit (for example, 8 bytes). Further, the first direction and the second direction are not limited to the vertical and horizontal directions.

プロジェクター11は、リモコン(図示略)や操作パネル45の操作により、投射する画像の一部または全部を拡大して、或いは縮小して投射することがあり、この場合には画像処理部113によって拡大または縮小が行われ、サイズ変換後の画像データがフレームメモリー115に展開され、この画像データが表示制御部107により光変調装置駆動部119に出力される。ここで、拡大縮小する画像データのサイズは任意に指定可能であるため、必ずしもサイズ変換回路133の仕様上の制限に適合したサイズとは限らず、横方向の拡大縮小が行えない可能性がある。この問題はソフトウェア処理によりサイズ変換を行ったり、補間演算により処理対象の画像データのサイズをサイズ変換回路133に適したサイズに変換したりする方法が挙げられるが、ソフトウェア処理はサイズ変換回路133のような専用のハードウェアを用いる場合に比べて制御部103の負荷が重く高速化が難しい。また、補間演算を用いると画質の劣化が懸念される。プロジェクター11は、サイズ変換する画像データのサイズ(本実施形態では横方向の画素数)が制限に適合しない場合には、回転処理回路131による回転処理とサイズ変換回路133によるサイズ変換処理とを組み合わせることで、画質を劣化させることなく高速でサイズ変換を行う。
以下、制御部103の制御により回転処理回路131、サイズ変換回路133の機能を利用して画像データの拡大、縮小及び回転を行う動作について説明する。なお、本実施形態では回転処理回路131の回転処理の方向を、時計回りを正、反時計回りを負とする。
The projector 11 may project a part or all of the projected image by enlarging or reducing it by operating a remote controller (not shown) or the operation panel 45. In this case, the image processing unit 113 enlarges the projected image. Alternatively, the image data after size reduction is developed, and the image data after size conversion is developed in the frame memory 115, and this image data is output to the light modulator driving unit 119 by the display control unit 107. Here, since the size of the image data to be enlarged / reduced can be arbitrarily specified, the size is not necessarily adapted to the limitation on the specification of the size conversion circuit 133, and the horizontal enlargement / reduction may not be performed. . This problem includes a method of performing size conversion by software processing or converting the size of image data to be processed into a size suitable for the size conversion circuit 133 by interpolation calculation. Compared to the case where such dedicated hardware is used, the load on the control unit 103 is heavy and it is difficult to increase the speed. In addition, there is a concern about the deterioration of the image quality when the interpolation calculation is used. The projector 11 combines the rotation processing by the rotation processing circuit 131 and the size conversion processing by the size conversion circuit 133 when the size of the image data to be converted (the number of pixels in the horizontal direction in the present embodiment) does not meet the restriction. Thus, the size conversion is performed at high speed without degrading the image quality.
Hereinafter, operations for enlarging, reducing, and rotating image data using the functions of the rotation processing circuit 131 and the size conversion circuit 133 under the control of the control unit 103 will be described. In the present embodiment, the direction of the rotation processing of the rotation processing circuit 131 is positive in the clockwise direction and negative in the counterclockwise direction.

図2は、サイズ変換処理の一例として、画像データを拡大する場合の処理手順を示す説明図である。図2には、処理対象の画像データとして、縦2画素×横2画素の画像データ201が入力され、この画像データ201を縦2倍、横2倍に拡大する処理の手順を示す。
図2には説明のために作業領域200を図示する。作業領域200は実際には回転処理回路131、サイズ変換回路133が内蔵するメモリーの一部である。作業領域200のサイズは特に制限されず、図2〜図6に示す例では縦2画素×横2画素の処理対象の画像データ201の処理に必要な範囲のみを図示する。従って実際には、縦方向および横方向に、より大きい作業領域200において、縦2画素×横2画素またはその他のサイズの画像データを展開して処理することも勿論可能である。
変換前の画像データ201の横方向のサイズは2画素であり、サイズ変換回路133の制限である8の倍数ではない。このため2に最も近く2より大きい8の倍数、すなわち8画素の作業領域200を図示する。図中に示す作業領域200は、左上が先頭アドレスとなっている。また、作業領域200の空白のマスで示す画素のデータは不定である。以下、図3から図6も同様である。
FIG. 2 is an explanatory diagram showing a processing procedure when image data is enlarged as an example of the size conversion processing. FIG. 2 shows a procedure of processing in which image data 201 of vertical 2 pixels × horizontal 2 pixels is input as image data to be processed, and the image data 201 is enlarged twice in length and twice in width.
FIG. 2 shows a work area 200 for explanation. The work area 200 is actually a part of the memory built in the rotation processing circuit 131 and the size conversion circuit 133. The size of the work area 200 is not particularly limited, and in the examples illustrated in FIGS. 2 to 6, only a range necessary for processing the image data 201 to be processed of 2 vertical pixels × 2 horizontal pixels is illustrated. Accordingly, in practice, it is of course possible to develop and process image data of vertical 2 pixels × horizontal 2 pixels or other sizes in the larger work area 200 in the vertical and horizontal directions.
The size in the horizontal direction of the image data 201 before conversion is 2 pixels, and is not a multiple of 8 that is the limit of the size conversion circuit 133. For this reason, a work area 200 that is closest to 2 and greater than 2 and is a multiple of 8, that is, 8 pixels is illustrated. In the work area 200 shown in the figure, the top left is the top address. Further, pixel data indicated by blank cells in the work area 200 is indefinite. The same applies to FIGS. 3 to 6 below.

制御部103は、画像処理部113を制御して、以下の手順で画像データ201を拡大する。
まず、制御部103の制御により、サイズ変換回路133によるサイズ変換が実行される。サイズ変換回路133のサイズの制限に適合させるため、制御部103は、サイズ変換回路133が処理する処理対象を、作業領域200において画像データ201に接する不定の画素を含めた、横8画素の拡張処理対象データ210とする。縦方向について制限は無いので、拡張処理対象データ210のサイズは縦2画素×横8画素とされる。
次いで、サイズ変換回路133は、図2(a)に示す拡張処理対象データ210のサイズを、縦方向に2倍にする。この処理により、拡張処理対象データ210は図2(b)に示すように縦4(画素)×横8(画素)となる。
次いで、制御部103の制御により、回転処理回路131が回転処理を実行する。この回転処理に先だって、回転処理回路131が処理対象とするデータは、回転の前後で横方向のサイズが8の倍数となっている必要がある。このため制御部103は、画像データ201の近傍に存在する不定の画素を含めた、縦8×横8の領域(図2(b)に示す作業領域200)を回転処理回路131の処理対象とする。回転処理回路131は、制御部103の制御に従って作業領域200の縦8×横8の画像データを90度回転し、処理後のデータは図2(c)に示す状態となる。
続いて、制御部103は、図2(d)に示すように、回転した画像データについて横方向が8画素となるように拡張処理対象データ210を定め、この拡張処理対象データ210を処理対象として、サイズ変換回路133による拡大処理を実行させる。サイズ変換回路133は、拡張処理対象データ210を縦方向に2倍する処理を実行する。拡大処理後の拡張処理対象データ210は、図2(e)に示すように縦方向に2倍となっている。次に、制御部103は、回転処理回路131の処理対象を、縦8×横8の領域(図2(d)に示す作業領域200)を回転処理回路131の処理対象とする。回転処理回路131は、制御部103の制御に従って作業領域200の縦8×横8の画像データを、最初に行った90度の回転を補償するように−90度回転させ、処理後のデータは図2(f)に示す状態となる。図2(f)に示す画像データ201は、図2(a)の処理前の状態から、縦2倍、横2倍に拡大されている。制御部103は、図2(f)の画像データ201をフレームメモリー115に出力させる。
この図2に示す処理では、90度の回転を組み合わせることで、横方向の拡大処理を縦方向における拡大処理と回転処理で実現しているので、回転処理回路131およびサイズ変換回路133の仕様上の制限を回避している。
The control unit 103 controls the image processing unit 113 to enlarge the image data 201 in the following procedure.
First, the size conversion by the size conversion circuit 133 is executed under the control of the control unit 103. In order to adapt to the size limitation of the size conversion circuit 133, the control unit 103 expands the processing target to be processed by the size conversion circuit 133 to 8 pixels in the horizontal direction including indefinite pixels in contact with the image data 201 in the work area 200. The processing target data 210 is assumed. Since there is no restriction in the vertical direction, the size of the expansion process target data 210 is 2 pixels vertical by 8 pixels horizontal.
Next, the size conversion circuit 133 doubles the size of the expansion processing target data 210 shown in FIG. 2A in the vertical direction. As a result of this processing, the expansion processing target data 210 becomes 4 vertical (pixels) × 8 horizontal (pixels) as shown in FIG.
Next, under the control of the control unit 103, the rotation processing circuit 131 executes the rotation process. Prior to this rotation processing, the data to be processed by the rotation processing circuit 131 needs to have a horizontal size that is a multiple of 8 before and after the rotation. For this reason, the control unit 103 sets an 8 × 8 area (working area 200 shown in FIG. 2B) including indefinite pixels existing in the vicinity of the image data 201 as a processing target of the rotation processing circuit 131. To do. The rotation processing circuit 131 rotates the image data of 8 × 8 in the work area 200 by 90 degrees under the control of the control unit 103, and the processed data is in the state shown in FIG.
Subsequently, as shown in FIG. 2D, the control unit 103 determines the extension processing target data 210 so that the rotated image data has eight pixels in the horizontal direction, and sets the extension processing target data 210 as a processing target. The enlargement process by the size conversion circuit 133 is executed. The size conversion circuit 133 executes a process of doubling the expansion process target data 210 in the vertical direction. The extension processing target data 210 after the enlargement process is doubled in the vertical direction as shown in FIG. Next, the control unit 103 sets the processing target of the rotation processing circuit 131 as the processing target of the rotation processing circuit 131 in the 8 × 8 horizontal area (the work area 200 illustrated in FIG. 2D). Under the control of the control unit 103, the rotation processing circuit 131 rotates the image data of 8 × 8 in the work area 200 by −90 degrees so as to compensate for the 90-degree rotation performed first, and the processed data is The state shown in FIG. The image data 201 shown in FIG. 2 (f) has been enlarged two times vertically and twice horizontally from the state before the processing in FIG. 2 (a). The control unit 103 causes the frame memory 115 to output the image data 201 of FIG.
In the process shown in FIG. 2, the horizontal enlargement process is realized by the vertical enlargement process and the rotation process by combining the rotation of 90 degrees. Therefore, in the specifications of the rotation processing circuit 131 and the size conversion circuit 133 Avoid the restrictions.

図3は、サイズ変換処理の一例として、画像データを縮小する場合の処理手順を示す説明図である。図3には、処理対象の画像データとして、縦4画素×横4画素の画像データ201が入力され、この画像データ201を縦1/2倍、横1/2倍に縮小する処理の手順を示す。   FIG. 3 is an explanatory diagram showing a processing procedure when image data is reduced as an example of the size conversion processing. In FIG. 3, image data 201 of vertical 4 pixels × horizontal 4 pixels is input as image data to be processed, and a processing procedure for reducing the image data 201 to 1/2 vertical and 1/2 horizontal is shown. Show.

制御部103は、画像処理部113を制御して、以下の手順で画像データ201を縮小する。まず、図3(a)に示す画像データ201を含み、回転処理回路131及びサイズ変換回路133の制限を満たす最小限の範囲として、縦4×横8の拡張処理対象データ210を設定する。次いで、制御部103の制御により、サイズ変換回路133は、拡張処理対象データ210を縦方向に1/2に縮小する。この処理により、拡張処理対象データ210は図3(b)に示すように縦2画素×横8画素となる。次いで、制御部103は、画像データ201の近傍に存在する不定の画素を含めた縦8×横8の範囲を処理対象とし、制御部103の制御により、回転処理回路131が、90度の回転処理を行い、図3(c)に示す状態となる。ここで、制御部103は、図3(d)に示すように回転後の画像データ201を含む縦4×横8の拡張処理対象データ210を設定する。制御部103の制御により、サイズ変換回路133は、拡張処理対象データ210を縦方向に1/2に縮小し、拡張処理対象データ210は図3(e)に示すように縦2×横8となる。その後、制御部103は画像データ201の近傍に存在する不定の画素を含めた縦8×横8の範囲を回転処理の対象とし、この処理対象のデータを回転処理回路131が90度回転させて、図3(f)に示す状態とする。この図3(f)に示す画像データ201は、図3(a)の処理前の状態から、縦1/2倍、横1/2倍に縮小されている。制御部103は、図3(f)の画像データ201をフレームメモリー115に出力させる。
この図3に示す処理では、90度の回転を組み合わせることで横方向の縮小処理を縦方向の処理で実現しているので、回転処理回路131及びサイズ変換回路133の仕様上の制限を回避している。
The control unit 103 controls the image processing unit 113 to reduce the image data 201 in the following procedure. First, 4 × 8 horizontal expansion target data 210 is set as a minimum range that includes the image data 201 shown in FIG. 3A and satisfies the limitations of the rotation processing circuit 131 and the size conversion circuit 133. Next, under the control of the control unit 103, the size conversion circuit 133 reduces the expansion processing target data 210 to 1/2 in the vertical direction. As a result of this processing, the expansion processing target data 210 becomes vertical 2 pixels × horizontal 8 pixels as shown in FIG. Next, the control unit 103 sets a target area of 8 × 8 including indefinite pixels in the vicinity of the image data 201 as a processing target, and the rotation processing circuit 131 rotates 90 degrees under the control of the control unit 103. Processing is performed and the state shown in FIG. Here, as shown in FIG. 3D, the control unit 103 sets 4 × 8 horizontal expansion target data 210 including the image data 201 after rotation. Under the control of the control unit 103, the size conversion circuit 133 reduces the expansion processing target data 210 to ½ in the vertical direction, and the expansion processing target data 210 is 2 × 8 horizontal as shown in FIG. Become. After that, the control unit 103 sets the vertical 8 × horizontal 8 range including the indefinite pixels existing in the vicinity of the image data 201 as the target of the rotation processing, and the rotation processing circuit 131 rotates the processing target data 90 degrees. The state shown in FIG. The image data 201 shown in FIG. 3 (f) is reduced to ½ times in the vertical direction and ½ times in the horizontal direction from the state before the processing in FIG. 3 (a). The control unit 103 causes the frame memory 115 to output the image data 201 of FIG.
In the processing shown in FIG. 3, the reduction processing in the horizontal direction is realized by the vertical processing by combining the rotation of 90 degrees, so the limitation on the specifications of the rotation processing circuit 131 and the size conversion circuit 133 is avoided. ing.

図4は、サイズ変換処理の一例として、画像データを拡大する場合の処理手順を示す説明図である。図4には、処理対象の画像データとして、縦2画素×横2画素の画像データ201が入力され、この画像データ201を縦2倍、横2倍に拡大し、かつ90度回転させる処理の手順を示す。   FIG. 4 is an explanatory diagram showing a processing procedure when image data is enlarged as an example of the size conversion processing. In FIG. 4, image data 201 of vertical 2 pixels × horizontal 2 pixels is input as image data to be processed, and this image data 201 is enlarged twice and twice horizontally and rotated 90 degrees. Show the procedure.

制御部103は、画像処理部113を制御して、以下の手順で画像データ201を拡大する。
まず、サイズ変換回路133は、図4(a)に示す画像データ201を含み、サイズ変換回路133のサイズ制限を満たす最小サイズの拡張処理対象データ210を設定する。この拡張処理対象データ210は、縦2×横8のサイズである。制御部103の制御により、サイズ変換回路133が拡張処理対象データ210を縦方向に2倍にする処理を行い、拡張処理対象データ210は図4(b)に示すように縦4×横8となる。次いで、制御部103は、画像データ201を下方にシフトさせる。これにより、図4(c)に示すように、画像データ201は、実データが下部に位置するデータとなる。
The control unit 103 controls the image processing unit 113 to enlarge the image data 201 in the following procedure.
First, the size conversion circuit 133 sets the expansion processing target data 210 having the minimum size that includes the image data 201 illustrated in FIG. 4A and satisfies the size restriction of the size conversion circuit 133. The extension processing target data 210 is 2 × 8 in size. Under the control of the control unit 103, the size conversion circuit 133 performs a process of doubling the expansion processing target data 210 in the vertical direction, and the expansion processing target data 210 has the vertical 4 × horizontal 8 as shown in FIG. Become. Next, the control unit 103 shifts the image data 201 downward. As a result, as shown in FIG. 4C, the image data 201 is data in which the actual data is located below.

制御部103は、回転処理回路131の制限を満たすように縦8×横8の範囲を処理対象とし、この処理対象を回転処理回路131が図4(d)に示すように画像データ201を90度回転させる。回転処理の前に画像データ201の実データをシフトさせたため、回転後の作業領域200における画像データ201は左に寄った位置にある。
制御部103は、サイズ変換回路133の制限を満たすように、図4(d)に示す拡張処理対象データ210を処理対象とし、サイズ変換回路133が拡張処理対象データ210を縦方向に2倍し、図4(e)に示すように縦4画素×横8画素とする。この状態で、画像データ201は図4(a)の状態から90度回転している。制御部103は、図4(e)の画像データ201をフレームメモリー115に出力させる。
この図4の処理では、横方向の拡大処理を縦方向の処理で実現するために90度回転させているので、逆回転させる必要がなく効率的である。また、回転処理の前に画像データ201をシフトさせているので、図4(e)に示す処理後の画像データ201は先頭アドレス側に寄っている。このため、フレームメモリー115への出力の際、作業領域200の先頭アドレスから出力を行えばよく、作業領域200から画像データ201を抽出する処理を省けるという利点がある。
The control unit 103 treats the range of 8 × 8 in order to satisfy the limitation of the rotation processing circuit 131, and the rotation processing circuit 131 sets the image data 201 as 90% as shown in FIG. Rotate degrees. Since the actual data of the image data 201 is shifted before the rotation process, the image data 201 in the work area 200 after the rotation is at a position close to the left.
The control unit 103 sets the extension processing target data 210 shown in FIG. 4D as a processing target so as to satisfy the limitation of the size conversion circuit 133, and the size conversion circuit 133 doubles the extension processing target data 210 in the vertical direction. As shown in FIG. 4E, it is assumed that the vertical 4 pixels × the horizontal 8 pixels. In this state, the image data 201 is rotated 90 degrees from the state of FIG. The control unit 103 causes the frame memory 115 to output the image data 201 of FIG.
In the process of FIG. 4, since the horizontal enlargement process is rotated by 90 degrees in order to realize the vertical process, it is not necessary to reversely rotate and is efficient. Further, since the image data 201 is shifted before the rotation processing, the processed image data 201 shown in FIG. 4E is close to the head address side. Therefore, when outputting to the frame memory 115, it is sufficient to output from the head address of the work area 200, and there is an advantage that the process of extracting the image data 201 from the work area 200 can be omitted.

図5は、サイズ変換処理の一例として、画像データを拡大する場合の処理手順を示す説明図である。図5には、処理対象の画像データとして、縦2画素×横2画素の画像データ201が入力され、この画像データ201を縦2倍、横2倍に拡大し、かつ−90度回転させる処理の手順を示す。   FIG. 5 is an explanatory diagram showing a processing procedure when image data is enlarged as an example of the size conversion processing. In FIG. 5, image data 201 of vertical 2 pixels × horizontal 2 pixels is input as image data to be processed, and the image data 201 is enlarged twice and twice horizontally and rotated by −90 degrees. Shows the procedure.

制御部103は、画像処理部113を制御して、以下の手順で画像データ201を拡大する。
まず、制御部103は、サイズ変換回路133の制限を満たすべく、図5(a)に示すように縦2×横8の拡張処理対象データ210を設定し、サイズ変換回路133は、拡張処理対象データ210のサイズを縦方向に2倍にする。この処理により、拡張処理対象データ210は図5(b)に示すように縦4×横8となる。ここで、制御部103は、画像データ201を図中右側、すなわち横方向のアドレスが下位になるようシフトさせる。これにより、図5(c)に示すように、画像データ201は、作業領域200においてアドレスが下位の側に位置するデータとなる。
The control unit 103 controls the image processing unit 113 to enlarge the image data 201 in the following procedure.
First, in order to satisfy the limitation of the size conversion circuit 133, the control unit 103 sets 2 × 8 extension processing target data 210 as shown in FIG. 5A, and the size conversion circuit 133 The size of the data 210 is doubled in the vertical direction. By this processing, the extension processing target data 210 becomes 4 × 8 as shown in FIG. 5B. Here, the control unit 103 shifts the image data 201 so that the address on the right side in the drawing, that is, the horizontal direction is lower. As a result, as shown in FIG. 5C, the image data 201 is data whose address is located on the lower side in the work area 200.

制御部103は、回転処理回路131の制限を満たすように縦8×横8の範囲を処理対象とし、制御部103の制御により回転処理回路131は、図5(d)に示すように画像データ201を−90度回転させる。回転処理の前に画像データ201をシフトさせたため、回転後の画像データ201は作業領域200の先頭アドレス側に寄った位置にある。
制御部103は、サイズ変換回路133の制限を満たすように、画像データ201に不定のデータを有する画素を加えた縦2×横8の拡張処理対象データ210を設定し、サイズ変換回路133は、拡張処理対象データ210全体を縦方向に2倍し、図5(e)に示すように縦4画素×横8画素とする。この状態で、画像データ201は図5(a)の状態から−90回転しているので、制御部103は、図5(e)の画像データ201をフレームメモリー115に出力させる。
この図5の処理では、横方向の拡大処理を縦方向の処理で実現するために−90度回転させているので、逆回転させる必要がなく効率的である。図4の例とは回転方向が逆であるが、画像データ201を作業領域200内でシフトさせる方向を、回転後に画像データ201の実データが先頭アドレス側になるよう設定することで、無駄のない処理を実現している。
The control unit 103 processes the vertical 8 × horizontal 8 range so as to satisfy the limitation of the rotation processing circuit 131, and the rotation processing circuit 131 controls the image data as shown in FIG. Rotate 201 by -90 degrees. Since the image data 201 is shifted before the rotation process, the image data 201 after the rotation is at a position close to the top address side of the work area 200.
The control unit 103 sets the vertical 2 × 8 expansion target data 210 obtained by adding pixels having indefinite data to the image data 201 so as to satisfy the limitation of the size conversion circuit 133, and the size conversion circuit 133 The entire extension processing target data 210 is doubled in the vertical direction to obtain 4 vertical pixels × 8 horizontal pixels as shown in FIG. In this state, since the image data 201 has been rotated by −90 from the state of FIG. 5A, the control unit 103 causes the frame memory 115 to output the image data 201 of FIG.
In the process of FIG. 5, since the horizontal enlargement process is rotated by −90 degrees in order to realize the vertical process, there is no need to reversely rotate and the process is efficient. Although the rotation direction is opposite to that in the example of FIG. 4, the direction in which the image data 201 is shifted in the work area 200 is set so that the actual data of the image data 201 after rotation is on the head address side. No processing is realized.

図6は、サイズ変換処理の一例として、画像データを拡大する場合の処理手順を示す説明図である。図6には、処理対象の画像データとして、縦2画素×横2画素の画像データ201が入力され、この画像データ201を縦2倍、横2倍に拡大し、かつ180度回転させる処理の手順を示す。   FIG. 6 is an explanatory diagram showing a processing procedure for enlarging image data as an example of the size conversion processing. In FIG. 6, image data 201 of vertical 2 pixels × horizontal 2 pixels is input as image data to be processed, and this image data 201 is enlarged twice and twice horizontally and rotated 180 degrees. Show the procedure.

制御部103は、画像処理部113を制御して、以下の手順で画像データ201を拡大する。
まず、制御部103は縦2×横8の拡張処理対象データ210を設定し、サイズ変換回路133が、図6(a)に示す拡張処理対象データ210のサイズを、縦方向に2倍にする。この処理により、拡張処理対象データ210は図6(b)に示すように縦4×横8となる。ここで、制御部103は、画像データ201を右下方にシフトさせる。このシフトは、この図6に示す全ての処理後の画像データ201を、作業領域200の先頭アドレス側に位置させるための処理である。これにより、図6(c)に示すように、画像データ201は、実データが右下のアドレス下位に位置するデータとなる。
The control unit 103 controls the image processing unit 113 to enlarge the image data 201 in the following procedure.
First, the control unit 103 sets 2 × 8 horizontal extension processing target data 210, and the size conversion circuit 133 doubles the size of the extension processing target data 210 shown in FIG. 6A in the vertical direction. . By this processing, the extension processing target data 210 becomes 4 × 8 in the vertical direction as shown in FIG. Here, the control unit 103 shifts the image data 201 to the lower right. This shift is a process for positioning all the processed image data 201 shown in FIG. 6 on the head address side of the work area 200. As a result, as shown in FIG. 6C, the image data 201 is data in which the actual data is located at the lower right address lower order.

制御部103は、回転処理回路131の制限を満たすように、図6(c)に示す縦8×横8の領域を処理対象とし、回転処理回路131は処理対象の領域を90度回転させる。これにより画像データ201は、図6(d)に示すように左下に寄った位置に移動する。
制御部103は、図6(d)に示すように、画像データ201を含む縦2×横8の拡張処理対象データ210を設定し、サイズ変換回路133の機能は拡張処理対象データ210全体を縦方向に2倍し、図6(e)に示すように縦4画素×横8画素とする。
さらに、制御部103は縦8×横8の領域を処理対象とし、回転処理回路131が処理対象の領域を180度回転させる。回転後の画像データ201は、図6(f)に示すように作業領域200の左上に画像データ201が位置する状態となる。そして、制御部103の制御により、先に画像データ201を90度回転させた処理を補償するため、回転処理回路131が縦8×横8の領域を−90度回転させる。この結果、図6(g)に示すように、画像データ201は図6(a)の状態から180度回転している。制御部103は、図6(g)の画像データ201をフレームメモリー115に出力させる。
この図6の処理では、横方向の拡大処理を縦方向の処理で実現し、このために90度回転した分を−90度の回転で復元している。また、回転処理の前に画像データ201の実データをシフトさせているので、図6(g)に示す処理後の画像データ201では実データが先頭アドレス側に寄っている。このため、フレームメモリー115への出力の際、作業領域200の先頭アドレスから出力を行えばよく、作業領域200から画像データ201を抽出する処理を省けるという利点がある。
The control unit 103 sets the 8 × 8 area shown in FIG. 6C as a processing target so as to satisfy the limitation of the rotation processing circuit 131, and the rotation processing circuit 131 rotates the processing target area by 90 degrees. As a result, the image data 201 moves to a position close to the lower left as shown in FIG.
As shown in FIG. 6D, the control unit 103 sets 2 × 8 vertical extension processing target data 210 including the image data 201, and the function of the size conversion circuit 133 sets the entire extension processing target data 210 in the vertical direction. It is doubled in the direction to be 4 vertical pixels × 8 horizontal pixels as shown in FIG.
Further, the control unit 103 sets a vertical 8 × 8 horizontal region as a processing target, and the rotation processing circuit 131 rotates the processing target region by 180 degrees. The rotated image data 201 is in a state where the image data 201 is positioned at the upper left of the work area 200 as shown in FIG. Then, under the control of the control unit 103, the rotation processing circuit 131 rotates the vertical 8 × horizontal 8 region by −90 degrees in order to compensate for the process of previously rotating the image data 201 by 90 degrees. As a result, as shown in FIG. 6G, the image data 201 is rotated 180 degrees from the state of FIG. The control unit 103 causes the frame memory 115 to output the image data 201 of FIG.
In the process of FIG. 6, the horizontal enlargement process is realized by the vertical process, and for this purpose, the part rotated by 90 degrees is restored by the rotation of -90 degrees. In addition, since the actual data of the image data 201 is shifted before the rotation process, the actual data in the processed image data 201 shown in FIG. Therefore, when outputting to the frame memory 115, it is sufficient to output from the head address of the work area 200, and there is an advantage that the process of extracting the image data 201 from the work area 200 can be omitted.

図2〜図6に示した処理はあくまで一例を示すもので、その具体的なアルゴリズムや詳細な入出力の手順は適宜変更可能である。例えば、図2〜図6に示した処理において、画像データ201をシフトさせて回転する処理は、回転処理回路131により1段階でまとめて行ってもよい。つまり、回転処理を行って、回転後の画像データ201を作業領域200に書き込む前に、回転処理回路が画像データ201をシフトさせてもよい。   The processes shown in FIGS. 2 to 6 are merely examples, and specific algorithms and detailed input / output procedures can be appropriately changed. For example, in the processing shown in FIGS. 2 to 6, the processing for shifting and rotating the image data 201 may be performed in one step by the rotation processing circuit 131. That is, the rotation processing circuit may shift the image data 201 before performing the rotation process and writing the rotated image data 201 into the work area 200.

図7は、プロジェクター11が制御部103の制御によって画像データのサイズを変換する動作を示すフローチャートである。
制御部103は、まず、処理対象の画像データを、回転処理回路131またはサイズ変換回路133によって、フレームメモリー115または表示制御部107から取得させ(ステップS11)、この画像データのサイズ(画素またはデータ量)、実行すべき拡大縮小処理の拡大縮小率、及び、実行すべき回転処理の回転角度を取得する(ステップS12)。処理対象の画像データ、拡大縮小率、及び回転角度は、リモコン(図示略)または操作パネル45の操作によって指示された内容に基づき、制御部103が決定したものである。
FIG. 7 is a flowchart illustrating an operation in which the projector 11 converts the size of the image data under the control of the control unit 103.
First, the control unit 103 acquires image data to be processed from the frame memory 115 or the display control unit 107 by the rotation processing circuit 131 or the size conversion circuit 133 (step S11), and the size (pixel or data) of the image data. Amount), the enlargement / reduction ratio of the enlargement / reduction process to be executed, and the rotation angle of the rotation process to be executed (step S12). The image data to be processed, the enlargement / reduction ratio, and the rotation angle are determined by the control unit 103 based on contents instructed by operation of a remote controller (not shown) or the operation panel 45.

続いて、制御部103は、処理対象の画像データの横方向のサイズが8の整数倍であるか否かを判別し(ステップS13)、8の整数倍でなければ(ステップS13;No)、ステップS12で取得した拡大縮小率により横方向のサイズ変換を行う必要があるか否かを判別する(ステップS14)。ここで、横方向のサイズ変換が指定されている場合(ステップS14;Yes)、制御部103は、図2〜図6で説明したように、横方向のサイズ変換を縦方向のサイズ変換で代替するための処理を開始する。
すなわち、制御部103は、回転処理が指定されているか否かを判別し(ステップS15)、回転処理が指定されていない場合は(ステップS15;No)、処理中に一時的に画像データを回転する回転方向を、予め設定された方向に決定する(ステップS16)。一方、回転処理が指定されている場合(ステップS15;Yes)、処理中に一時的に画像データを回転する回転方向を、指定された回転方向に合わせて決定する(ステップS17)。
Subsequently, the control unit 103 determines whether or not the horizontal size of the image data to be processed is an integer multiple of 8 (step S13), and if it is not an integer multiple of 8 (step S13; No), It is determined whether or not it is necessary to perform size conversion in the horizontal direction based on the enlargement / reduction ratio acquired in step S12 (step S14). If horizontal size conversion is designated (step S14; Yes), the control unit 103 replaces horizontal size conversion with vertical size conversion as described with reference to FIGS. To start the process.
That is, the control unit 103 determines whether or not a rotation process is designated (step S15). If the rotation process is not designated (step S15; No), the image data is temporarily rotated during the process. The rotation direction to be determined is determined as a preset direction (step S16). On the other hand, when the rotation process is designated (step S15; Yes), the rotation direction in which the image data is temporarily rotated during the process is determined according to the designated rotation direction (step S17).

その後、制御部103は、ステップS12で取得した拡大縮小率に合わせて縦方向のサイズ変換を実行する(ステップS18)。制御部103は、回転処理に先立って処理対象を回転処理回路131の制限を満たす領域にし、必要に応じて、処理対象の画像データを作業領域200内でシフトさせる処理を行う(ステップS19)。次いで、制御部103は90度または−90度の回転処理を実行して(ステップS20)、ステップS12で取得した横方向の拡大縮小率で、縦方向のサイズ変換処理を実行する(ステップS21)。
その後、制御部103は、処理対象を回転処理回路131の制限を満たす領域を処理対象にして、ステップS12で指定された回転角度となるように、サイズ変換後の画像データを追加で回転させ、或いは逆回転させて(ステップS22)、処理後の画像データをフレームメモリー115に出力する(ステップS23)。
Thereafter, the control unit 103 performs size conversion in the vertical direction in accordance with the enlargement / reduction ratio acquired in step S12 (step S18). Prior to the rotation processing, the control unit 103 sets the processing target to an area that satisfies the limitation of the rotation processing circuit 131, and performs processing for shifting the processing target image data in the work area 200 as necessary (step S19). Next, the control unit 103 executes a rotation process of 90 degrees or -90 degrees (step S20), and executes a vertical size conversion process with the horizontal enlargement / reduction ratio acquired in step S12 (step S21). .
Thereafter, the control unit 103 additionally rotates the image data after the size conversion so that the processing target is an area that satisfies the limitation of the rotation processing circuit 131 and the rotation angle specified in step S12 is obtained. Alternatively, the image data is reversely rotated (step S22), and the processed image data is output to the frame memory 115 (step S23).

また、処理対象の画像データの横方向のサイズが8の整数倍であり、サイズ変換回路133の制限に適合している場合(ステップS13;Yes)、制御部103は、サイズ変換回路133によって、ステップS12で取得した拡大縮小率に合わせて縦方向及び横方向のサイズ変換を実行する(ステップS24)。制御部103は、回転処理が指定されているか否かを判別し(ステップS25)、回転処理が指定されていない場合は(ステップS25;No)、ステップS23に移行して、処理後の画像データをフレームメモリー115に出力する。
一方、回転処理が指定されている場合(ステップS25;Yes)、制御部103は、回転処理回路131の制限を満たすように処理対象の領域を設定して(ステップS26)、回転処理回路131により回転処理を実行する(ステップS27)。ステップS26では、回転後の画像データが作業領域において先頭アドレス側に位置するように、必要に応じて画像データをシフトさせる。その後、制御部103は、ステップS23に移行して処理後の画像データを出力する。
また、処理対象の画像データについて横方向の拡大縮小を行わない場合(ステップS14;No)、制御部103は、ステップS24に移行して上記の処理を行う。
If the size of the image data to be processed is an integral multiple of 8 and conforms to the limitation of the size conversion circuit 133 (step S13; Yes), the control unit 103 causes the size conversion circuit 133 to Size conversion in the vertical direction and the horizontal direction is executed in accordance with the enlargement / reduction ratio acquired in step S12 (step S24). The control unit 103 determines whether or not the rotation process is designated (step S25). If the rotation process is not designated (step S25; No), the process proceeds to step S23 and the processed image data is processed. Is output to the frame memory 115.
On the other hand, when the rotation process is designated (step S25; Yes), the control unit 103 sets a region to be processed so as to satisfy the limitation of the rotation processing circuit 131 (step S26). A rotation process is executed (step S27). In step S26, the image data is shifted as necessary so that the rotated image data is positioned on the head address side in the work area. Thereafter, the control unit 103 proceeds to step S23 and outputs the processed image data.
When the image data to be processed is not subjected to horizontal enlargement / reduction (step S14; No), the control unit 103 proceeds to step S24 and performs the above processing.

以上のように、本発明を適用した実施形態に係るプロジェクター11によれば、入力画像データの縦方向および横方向のサイズを変換して出力するサイズ変換機能を有し、縦方向または横方向のいずれか(本実施形態では縦方向)について、サイズ変換する画像データが当該方向において所定データ単位の整数倍となっていることが制限されたサイズ変換回路133と、入力画像データを90度単位で回転させる回転処理回路131とを備え、制御部103の制御により、処理対象の画像データをサイズ変換回路133によって制限された方向(本実施形態では横方向)でサイズ変換を行う際、処理対象の画像データのサイズが制限に適合しない場合には、処理対象の画像データを回転処理回路131により回転させ、回転後の前記処理対象のデータの縦方向におけるサイズを拡張することで所定データ単位の整数倍とし、サイズ変換回路133により横方向のサイズ変換を実行させるので、処理対象の画像データを回転させることで、仕様上の制限を受けない方向のサイズ変換のみを行うことにより縦方向及び横方向の両方のサイズ変換を行うことができる。これにより、サイズ変換機能を有するハードウェアの制限の範囲内で、画像データの劣化を招くことなく、高い自由度で画像データのサイズ変換を行うことができる。   As described above, according to the projector 11 according to the embodiment to which the present invention is applied, the projector 11 has a size conversion function for converting the vertical and horizontal sizes of the input image data and outputting the converted data. For either of them (vertical direction in the present embodiment), the size conversion circuit 133 in which the image data to be converted is limited to an integral multiple of a predetermined data unit in the direction, and the input image data in units of 90 degrees. A rotation processing circuit 131 for rotating, and when the size conversion is performed on the image data to be processed in the direction limited by the size conversion circuit 133 (the horizontal direction in the present embodiment) under the control of the control unit 103. If the size of the image data does not meet the limit, the image data to be processed is rotated by the rotation processing circuit 131, and the processed object after rotation is rotated. The size of the data in the vertical direction is expanded to an integer multiple of a predetermined data unit, and the size conversion circuit 133 performs the size conversion in the horizontal direction. Therefore, by rotating the image data to be processed, there is a limitation on the specification. By performing only the size conversion in the direction that is not received, the size conversion in both the vertical direction and the horizontal direction can be performed. Thus, the size conversion of the image data can be performed with a high degree of freedom without causing deterioration of the image data within the limits of the hardware having the size conversion function.

また、回転処理回路131及びサイズ変換回路133は、メモリーの作業領域200に展開された画像データ201を処理するものであり、制御部103は、作業領域200において画像データ201に隣接する不定データを含めた範囲を新たに拡張処理対象データ210とすることで、横方向におけるサイズを拡張するので、作業領域200に展開された画像データ201を改変することなく処理対象のデータのサイズを容易に拡張できる。   The rotation processing circuit 131 and the size conversion circuit 133 process the image data 201 expanded in the work area 200 of the memory, and the control unit 103 processes indefinite data adjacent to the image data 201 in the work area 200. Since the included range is newly set as the expansion processing target data 210, the size in the horizontal direction is expanded. Therefore, the size of the processing target data can be easily expanded without modifying the image data 201 expanded in the work area 200. it can.

また、制御部103は、サイズ変換回路133により画像データ201または拡張処理対象データ210のサイズ変換をさせた後、回転処理回路131により逆回転させるので、処理対象の画像データ201を入力時と同じ向きの画像として出力できる。また、逆回転させることによって回転処理の影響を除去するので、処理対象の画像データの制限を有する横方向のサイズ変換処理を、回転処理を組み合わせることで縦方向のサイズ変換処理で実現することができる。
また、制御部103は、回転処理回路131及びサイズ変換回路133による処理後の画像データ201が作業領域200の先頭アドレス側に位置するように、回転処理回路131によって回転させる前に作業領域200において画像データ201を移動させるので、処理後の画像データをフレームメモリー115に出力する際の先頭のアドレスがずれないように処理できる。
In addition, the control unit 103 converts the size of the image data 201 or the expansion processing target data 210 by the size conversion circuit 133 and then reversely rotates the rotation processing circuit 131. Therefore, the processing target image data 201 is the same as that at the time of input. It can be output as an orientation image. In addition, since the influence of the rotation process is removed by the reverse rotation, the horizontal size conversion process having the restriction of the image data to be processed can be realized by the vertical size conversion process by combining the rotation processes. it can.
In addition, the control unit 103 sets the image data 201 processed by the rotation processing circuit 131 and the size conversion circuit 133 in the work area 200 before being rotated by the rotation processing circuit 131 so that the image data 201 is positioned on the head address side of the work area 200. Since the image data 201 is moved, it is possible to perform processing so that the leading address when the processed image data is output to the frame memory 115 is not shifted.

さらに、処理対象の画像データが、サイズ変換回路133の制限に適合するサイズのデータである場合、及び、サイズ変換回路133において制限された方向(ここでは、横方向)のサイズ変換処理を行う場合は、指定された拡大縮小率に従って拡大縮小の処理を行うので、不要な回転処理を行うことがなく、処理効率の低下を防止できる。   Furthermore, when the image data to be processed is data having a size that conforms to the restrictions of the size conversion circuit 133, and when size conversion processing in the direction restricted in the size conversion circuit 133 (here, the horizontal direction) is performed. Since the enlargement / reduction processing is performed according to the designated enlargement / reduction ratio, unnecessary rotation processing is not performed, and a reduction in processing efficiency can be prevented.

なお、上述した各実施形態は本発明を適用した具体的態様の例に過ぎず、本発明を限定するものではなく、上記実施形態とは異なる態様として本発明を適用することも可能である。例えば、上記実施形態においては、図2〜図6に正方形の画像データ201を拡大、縮小、回転する例をあげて説明したが、縦方向のサイズ(画素数)と横方向のサイズ(画素数)が異なる画像データであっても勿論処理可能であるし、より大きいサイズの画像データの処理に適用することも可能である。
また、上記実施形態では、回転処理回路131及びサイズ変換回路133が、入出力するデータの横方向のサイズに関する制限を有する場合について説明したが、本発明はこれに限定されるものではなく、縦方向のサイズに関する制限を有する場合にも、本発明を適用できる。さらに、上述したように第1の方向及び第2の方向は略直交する方向であって、縦と横に限定されない。第1の方向及び第2の方向のいずれか一方についてサイズの制限がある場合は、他方の拡大縮小処理を行うように本発明を適用できる。
Each of the above-described embodiments is merely an example of a specific mode to which the present invention is applied, and the present invention is not limited thereto. The present invention can be applied as a mode different from the above-described embodiment. For example, in the above-described embodiment, the example in which the square image data 201 is enlarged, reduced, and rotated is described in FIGS. 2 to 6. However, the vertical size (number of pixels) and the horizontal size (number of pixels) are described. ) Can of course be processed even if they are different image data, and can also be applied to processing of larger-sized image data.
In the above-described embodiment, the case where the rotation processing circuit 131 and the size conversion circuit 133 have a restriction on the size in the horizontal direction of input / output data has been described. However, the present invention is not limited to this, and the vertical processing is not limited to this. The present invention can also be applied when there is a limit on the size of the direction. Furthermore, as described above, the first direction and the second direction are substantially orthogonal directions, and are not limited to the vertical and horizontal directions. In the case where there is a size limitation in one of the first direction and the second direction, the present invention can be applied to perform the other enlargement / reduction process.

また、上記実施形態では、光源が発した光を変調する光変調装置として、RGBの各色に対応した3枚の透過型または反射型の液晶パネル32を用いた構成を例に挙げて説明したが、本発明はこれに限定されるものではなく、例えば、1枚の液晶パネルとカラーホイールを組み合わせた方式、3枚のデジタルミラーデバイス(DMD)を用いた方式、1枚のデジタルミラーデバイスとカラーホイールを組み合わせた方式等により構成してもよい。ここで、光変調装置として1枚のみの液晶パネルまたはDMDを用いる場合には、クロスダイクロイックプリズム等の合成光学系に相当する部材は不要である。また、液晶パネル及びDMD以外にも、光源が発した光を変調可能な構成であれば問題なく採用できる。   In the above embodiment, the light modulation device that modulates the light emitted from the light source has been described by taking as an example a configuration using three transmissive or reflective liquid crystal panels 32 corresponding to each color of RGB. However, the present invention is not limited to this, for example, a system using one liquid crystal panel and a color wheel, a system using three digital mirror devices (DMD), a single digital mirror device and a color. You may comprise by the system etc. which combined the wheel. Here, when only one liquid crystal panel or DMD is used as the light modulation device, a member corresponding to a combining optical system such as a cross dichroic prism is unnecessary. In addition to the liquid crystal panel and the DMD, any configuration that can modulate the light emitted from the light source can be used without any problem.

また、図1に示したプロジェクター11の各機能部は、プロジェクター11の機能的構成を示すものであって、具体的な実装形態は特に制限されない。つまり、必ずしも各機能部に個別に対応するハードウェアが実装される必要はなく、一つのプロセッサーがプログラムを実行することで複数の機能部の機能を実現する構成とすることも勿論可能である。また、上記実施形態においてソフトウェアで実現されている機能の一部をハードウェアで実現してもよく、あるいは、ハードウェアで実現されている機能の一部をソフトウェアで実現してもよい。その他、プロジェクター11及び表示システム10の他の各部の具体的な細部構成についても、本発明の趣旨を逸脱しない範囲で任意に変更可能である。   Further, each functional unit of the projector 11 illustrated in FIG. 1 indicates a functional configuration of the projector 11, and a specific mounting form is not particularly limited. That is, it is not always necessary to mount hardware corresponding to each function unit individually, and it is of course possible to adopt a configuration in which the functions of a plurality of function units are realized by one processor executing a program. In addition, in the above embodiment, a part of the function realized by software may be realized by hardware, or a part of the function realized by hardware may be realized by software. In addition, specific detailed configurations of other parts of the projector 11 and the display system 10 can be arbitrarily changed without departing from the gist of the present invention.

3…投射部(表示手段)、10…表示システム、11…プロジェクター(表示装置)、13…PC、103…制御部(制御手段)、105…記憶部、113…画像処理部、115…フレームメモリー、131…回転処理回路(回転処理手段)、133…サイズ変換回路(サイズ変換手段)、200…作業領域、201…画像データ、210…拡張処理対象データ、SC…スクリーン。   DESCRIPTION OF SYMBOLS 3 ... Projection part (display means), 10 ... Display system, 11 ... Projector (display apparatus), 13 ... PC, 103 ... Control part (control means), 105 ... Memory | storage part, 113 ... Image processing part, 115 ... Frame memory 131: Rotation processing circuit (rotation processing means), 133: Size conversion circuit (size conversion means), 200: Work area, 201: Image data, 210: Expansion processing target data, SC: Screen.

Claims (7)

入力画像データの第1の方向および第2の方向のサイズを変換して出力するサイズ変換機能を有し、前記入力画像データが前記第1の方向において所定データ単位の整数倍となっていることが制限されたサイズ変換手段と、
前記入力画像データを回転させる回転処理手段と、
処理対象の画像データを前記第1の方向でサイズ変換を行う際、前記処理対象の画像データのサイズが制限に適合しない場合には、前記処理対象の画像データを前記回転処理手段により回転させ、回転後の前記処理対象のデータの前記第1の方向におけるサイズを拡張することで前記所定データ単位の整数倍とし、前記サイズ変換手段により前記第2の方向のサイズ変換を実行させる制御手段と、
を備えることを特徴とする画像処理装置。
A size conversion function for converting and outputting the sizes of the input image data in the first direction and the second direction, and the input image data is an integral multiple of a predetermined data unit in the first direction; Is a limited size conversion means,
Rotation processing means for rotating the input image data;
When performing size conversion of the image data to be processed in the first direction, if the size of the image data to be processed does not meet the restrictions, the image data to be processed is rotated by the rotation processing unit, Control means for expanding the size in the first direction of the data to be processed after rotation to an integral multiple of the predetermined data unit, and causing the size conversion means to perform size conversion in the second direction;
An image processing apparatus comprising:
前記サイズ変換手段及び前記回転処理手段は、メモリーの作業領域に展開された前記処理対象のデータを処理するものであり、
前記制御手段は、前記作業領域において前記処理対象の画像データに隣接する不定データを含めた範囲を新たに処理対象の画像データとすることで、前記第1の方向におけるサイズを拡張することを特徴とする請求項1記載の画像処理装置。
The size conversion means and the rotation processing means process the data to be processed developed in a work area of a memory,
The control means extends the size in the first direction by newly setting a range including indefinite data adjacent to the image data to be processed in the work area as image data to be processed. The image processing apparatus according to claim 1.
前記制御手段は、前記サイズ変換手段により前記処理対象の画像データのサイズ変換をさせた後、前記回転処理手段により逆方向に回転させることを特徴とする請求項1または2記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the control unit converts the size of the image data to be processed by the size conversion unit and then rotates the image data in the reverse direction by the rotation processing unit. 前記制御手段は、前記サイズ変換手段及び前記回転処理手段による処理後の画像データが前記作業領域の先頭アドレス側に位置するように、前記回転処理手段によって前記処理対象の画像データを回転させる前に前記作業領域内で前記処理対象の画像データを移動させることを特徴とする請求項2記載の画像処理装置。   The control means before rotating the image data to be processed by the rotation processing means so that the image data processed by the size conversion means and the rotation processing means is positioned on the start address side of the work area. The image processing apparatus according to claim 2, wherein the image data to be processed is moved within the work area. 前記サイズ変換手段は、サイズ変換前後の画像データの前記第1の方向の画素数が所定画素数の整数倍となっていること、或いは、サイズ変換前後の前記第1の方向のデータが所定バイト数の整数倍となっていることが制限されていることを特徴とする請求項1から4のいずれかに記載の画像処理装置。   In the size conversion means, the number of pixels in the first direction of the image data before and after the size conversion is an integral multiple of the predetermined number of pixels, or the data in the first direction before and after the size conversion is a predetermined byte. 5. The image processing apparatus according to claim 1, wherein the number is an integer multiple of the number. 入力画像データの第1の方向および第2の方向のサイズを変換して出力するサイズ変換機能を有し、前記入力画像データが前記第1の方向において所定データ単位の整数倍となっていることが制限されたサイズ変換手段と、前記入力画像データを回転させる回転処理手段とを用い、
処理対象の画像データを前記第1の方向でサイズ変換を行う際、前記処理対象の画像データのサイズが制限に適合しない場合には、回転後の前記処理対象のデータの前記第1の方向におけるサイズを拡張することで前記所定データ単位の整数倍とし、前記サイズ変換手段により前記第2の方向のサイズ変換を実行させること、
を特徴とする画像処理方法。
A size conversion function for converting and outputting the sizes of the input image data in the first direction and the second direction, and the input image data is an integral multiple of a predetermined data unit in the first direction; Using a size conversion unit that is limited, and a rotation processing unit that rotates the input image data.
When the size of the image data to be processed is converted in the first direction, if the size of the image data to be processed does not meet the restriction, the data to be processed in the first direction after the rotation Expanding the size to an integer multiple of the predetermined data unit, and causing the size conversion means to perform size conversion in the second direction;
An image processing method characterized by the above.
入力画像データの第1の方向および第2の方向のサイズを変換して出力するサイズ変換機能を有し、縦方向または横方向のいずれかについて、サイズ変換する画像データが当該方向において所定データ単位の整数倍となっていることが制限されたサイズ変換手段と、
前記表示対象の画像データを回転させる回転処理手段と、
前記表示対象の画像データを前記サイズ変換手段によって制限された方向でサイズ変換を行う際、前記表示対象の画像データのサイズが制限に適合しない場合には、回転後の前記処理対象のデータの前記第1の方向におけるサイズを拡張することで前記所定データ単位の整数倍とし、前記サイズ変換手段により前記第2の方向のサイズ変換を実行させる制御手段と、
前記サイズ変換手段及び前記回転処理手段により処理された画像データを表示する表示手段と、
を備えることを特徴とする表示装置。
It has a size conversion function for converting the size of the input image data in the first direction and the second direction and outputting it, and the image data to be converted in either the vertical direction or the horizontal direction is a predetermined data unit in that direction. Size conversion means limited to be an integer multiple of
Rotation processing means for rotating the image data to be displayed;
When performing size conversion on the display target image data in the direction limited by the size conversion unit, if the size of the display target image data does not meet the limit, the rotation of the processing target data Control means for expanding the size in the first direction to be an integral multiple of the predetermined data unit, and causing the size conversion means to perform size conversion in the second direction;
Display means for displaying the image data processed by the size conversion means and the rotation processing means;
A display device comprising:
JP2011060475A 2011-03-18 2011-03-18 Image processing device, image processing method and display device Withdrawn JP2012198259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011060475A JP2012198259A (en) 2011-03-18 2011-03-18 Image processing device, image processing method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011060475A JP2012198259A (en) 2011-03-18 2011-03-18 Image processing device, image processing method and display device

Publications (1)

Publication Number Publication Date
JP2012198259A true JP2012198259A (en) 2012-10-18

Family

ID=47180579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011060475A Withdrawn JP2012198259A (en) 2011-03-18 2011-03-18 Image processing device, image processing method and display device

Country Status (1)

Country Link
JP (1) JP2012198259A (en)

Similar Documents

Publication Publication Date Title
US9811876B2 (en) Display apparatus and control method
KR101164067B1 (en) Projector and control method of projector
US8641204B2 (en) Projector and method for registration adjustment
JP6232778B2 (en) Image processing apparatus, image display apparatus, and control method for image processing apparatus
JP2011090038A (en) Projection type video display
JP6540099B2 (en) IMAGE PROCESSING DEVICE, DISPLAY DEVICE, AND IMAGE PROCESSING METHOD
JP5747580B2 (en) Projector and projector control method
US20200382750A1 (en) Method of controlling display device, and display device
JP5173756B2 (en) Image display device
JP6271837B2 (en) Projection apparatus and control method thereof
US10037734B2 (en) Display apparatus and control method
US10349026B2 (en) Projector, method for controlling the same, and projection system
US9438873B2 (en) Projector
JP6984198B2 (en) Display device and control method of display device
JP6194595B2 (en) Image processing apparatus, projector, and image processing method
JP2012198259A (en) Image processing device, image processing method and display device
TWI621903B (en) Signal processing circuit, circuit board and projector
JP2023077506A (en) Display system and control method of display system
CN110113584B (en) Image display device, control method for image display device, and recording medium
JP2018180105A (en) Projection device and image projection method
US11778150B2 (en) Image supply device, display system, and method for direct display of second image
JP2011215215A (en) Image display system and image display method
CN111010552A (en) Display device, display system, and control method for display device
JP5181696B2 (en) Image processing apparatus, image processing method, and program
JP2016143015A (en) Projector and control method of projector

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140603