JP2018067893A - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP2018067893A
JP2018067893A JP2016207352A JP2016207352A JP2018067893A JP 2018067893 A JP2018067893 A JP 2018067893A JP 2016207352 A JP2016207352 A JP 2016207352A JP 2016207352 A JP2016207352 A JP 2016207352A JP 2018067893 A JP2018067893 A JP 2018067893A
Authority
JP
Japan
Prior art keywords
image
information
pixels
transmittance
input
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
JP2016207352A
Other languages
Japanese (ja)
Inventor
康一 郡司
Koichi Gunji
康一 郡司
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 JP2016207352A priority Critical patent/JP2018067893A/en
Publication of JP2018067893A publication Critical patent/JP2018067893A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Generation (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus which reduces the amount of data relating to transmissivity information of an information image to be superimposed, to reduce memory consumption.SOLUTION: A function unit which generates an information image to be superimposed on an input image, and transmissivity information of the information image superimposed on the input image includes: an OSD image generation unit which adds transmissivity information to some pixels in a luminance signal of the information image, and stores the information image including the luminance signal with the transmissivity information added to the pixels and the transmissivity information on a memory; and an image superimposing unit which superimposes the information image on the input image, on the basis of the transmissivity information read from the memory. The image superimposing unit superimposes pixels having no transmissivity information added thereto, of the luminance signal in the information image read from the memory, on the input image, on the basis of the transmissivity information added to the some pixels, to reduce the amount of data relating to the transmissivity information, thereby reducing memory consumption.SELECTED DRAWING: Figure 1

Description

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

デジタルカメラやデジタルビデオカメラは、撮影時に画像を確認するための表示部(液晶パネル等)を搭載している。表示部には、撮影画像だけではなく、撮影を補助する情報を図形や数字や文字等を用いた情報画像(以下、「OSD(On Screen Display)画像」とも称す。)により表示することも可能である。OSD画像を表示する場合にOSD画像によって撮影画像が隠れて完全に見えなくならないように、OSD画像の透過率を設定して、背景となる撮影画像が透けて見えるように表示することが可能な製品もある。   Digital cameras and digital video cameras are equipped with a display unit (such as a liquid crystal panel) for checking images during shooting. The display unit can display not only a captured image but also information for assisting shooting by an information image using figures, numbers, characters, or the like (hereinafter also referred to as an “OSD (On Screen Display) image”). It is. When displaying an OSD image, it is possible to set the transmissivity of the OSD image so that the OSD image does not become completely invisible due to the OSD image being hidden so that the background captured image can be seen through. There are also products.

OSD画像の透過率は、アルファブレンディングデータ(以下、「αデータ」とも称す。)と呼ばれる透過率情報によって指定される。OSD画像の画素毎にαデータが存在すると、画素毎に透過率を制御して精細なブレンド階調表現が可能であるが、データ量の増加に伴って画像処理時間やメモリ使用量が増加する。この問題を解決する1つの手段として、αデータをランレングス符号化して保持することにより、データ量の増加を抑える画像処理装置が提案されている(例えば、特許文献1参照。)。   The transmittance of the OSD image is specified by transmittance information called alpha blending data (hereinafter also referred to as “α data”). When α data exists for each pixel of the OSD image, fine blend gradation expression is possible by controlling the transmittance for each pixel, but the image processing time and memory usage increase as the data amount increases. . As one means for solving this problem, there has been proposed an image processing apparatus that suppresses an increase in the amount of data by storing α data after run-length encoding (see, for example, Patent Document 1).

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

しかしながら、αデータをランレングス符号化して保持するようにする場合、αデータの圧縮処理及び伸張処理が必要となる。また、αデータ値がランレングス符号化に適したデータ値ではない場合もあり、常に効果的にデータ量を削減することができるとは限らない。本発明は、このような課題に鑑みてなされたものであり、透過率情報に係るαデータのデータ量を削減しメモリの使用量を低減することができる画像処理装置を提供することを目的とする。   However, when alpha data is run-length encoded and held, alpha data compression processing and expansion processing are required. In addition, the α data value may not be a data value suitable for run-length encoding, and the amount of data cannot always be effectively reduced. The present invention has been made in view of such a problem, and an object of the present invention is to provide an image processing apparatus capable of reducing the amount of α data related to transmittance information and reducing the amount of memory used. To do.

本発明に係る画像処理装置は、画像を入力する入力手段と、メモリと、前記入力手段により入力された入力画像に重畳される情報画像と、前記情報画像が前記入力画像に重畳されるときの比率に関する透過率情報とを生成する生成手段であって、前記情報画像の輝度信号における一部の画素に対して前記透過率情報を付加し、前記一部の画素に前記透過率情報が付加された輝度信号を含む前記情報画像と前記透過率情報とを前記メモリに記憶する生成手段と、前記メモリから読み出した前記透過率情報に基づいて、前記入力手段により入力された前記入力画像に前記メモリから読み出した前記情報画像を重畳する重畳手段とを有し、前記重畳手段は、前記メモリから読み出した前記情報画像における輝度信号のうち前記透過率情報が付加されていない画素を、前記一部の画素に付加された前記透過率情報に基づいて前記入力画像に重畳することを特徴とする。   An image processing apparatus according to the present invention includes an input unit that inputs an image, a memory, an information image that is superimposed on the input image that is input by the input unit, and an information image that is superimposed on the input image. Generation means for generating transmittance information relating to a ratio, wherein the transmittance information is added to some pixels in the luminance signal of the information image, and the transmittance information is added to the some pixels; Generating means for storing the information image including the luminance signal and the transmittance information in the memory; and based on the transmittance information read from the memory, the input image input by the input means to the memory A superimposing unit that superimposes the information image read out from the memory, and the superimposing unit adds the transmittance information among luminance signals in the information image read out from the memory. Pixels not, characterized in that superimposed on the input image based on said added to a portion of the pixels the transmittance information.

本発明によれば、画像の輝度画素の数より少ない数の画素に対して透過率情報を付加して情報画像を生成することで、透過率情報に係るデータ量を削減しメモリの使用量を低減することができる。   According to the present invention, an information image is generated by adding transmittance information to a smaller number of pixels than the number of luminance pixels of an image, thereby reducing the amount of data related to the transmittance information and reducing the amount of memory used. Can be reduced.

第1の実施形態における画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus in 1st Embodiment. 第1の実施形態における画像のデータ形式の例を示す図である。It is a figure which shows the example of the data format of the image in 1st Embodiment. 第1の実施形態における画像の透過率情報の付加例を示す図である。It is a figure which shows the addition example of the transmittance | permeability information of the image in 1st Embodiment. 第1の実施形態における画像の透過率情報の付加例を示す図である。It is a figure which shows the addition example of the transmittance | permeability information of the image in 1st Embodiment. 第1の実施形態における画像の透過率情報の付加例を示す図である。It is a figure which shows the addition example of the transmittance | permeability information of the image in 1st Embodiment. 第2の実施形態における画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus in 2nd Embodiment. 本実施形態における画像処理装置を有する電子機器の構成例を示す図である。It is a figure which shows the structural example of the electronic device which has an image processing apparatus in this embodiment.

以下、本発明の実施形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(第1の実施形態)
本発明の第1の実施形態について説明する。図1は、第1の実施形態による画像処理装置の構成例を示すブロック図である。第1の実施形態においては、入力画像に文字や図形等を用いた情報画像(OSD画像)を重畳した画像を生成して出力することが可能な画像処理装置を例に説明する。第1の実施形態における画像処理装置は、図1に示すように、制御部101、情報画像(OSD画像)生成部102、メモリ103、及び画像重畳部104を有する。
(First embodiment)
A first embodiment of the present invention will be described. FIG. 1 is a block diagram illustrating a configuration example of an image processing apparatus according to the first embodiment. In the first embodiment, an image processing apparatus capable of generating and outputting an image in which an information image (OSD image) using characters, graphics, or the like is superimposed on an input image will be described as an example. As illustrated in FIG. 1, the image processing apparatus according to the first embodiment includes a control unit 101, an information image (OSD image) generation unit 102, a memory 103, and an image superimposing unit 104.

制御部101は、画像処理装置が有する各機能部を制御する。制御部101は、例えばOSD画像生成部102に、OSD画像の生成を指示したり、生成したOSD画像の書き込みや読み出しを指示したりする。また、制御部101は、例えば画像重畳部104に重畳画像の生成を指示したりする。   The control unit 101 controls each functional unit included in the image processing apparatus. For example, the control unit 101 instructs the OSD image generation unit 102 to generate an OSD image or to write or read the generated OSD image. In addition, the control unit 101 instructs the image superimposing unit 104 to generate a superimposed image, for example.

OSD画像生成部102は、制御部101からの指示に従ってOSD画像の生成処理等を行う。OSD画像生成部102は、文字や図形等のOSD画像を生成し、さらにOSD画像の透過率を示す透過率情報であるアルファブレンディングデータ(αデータ)を付加したOSD画像を生成してメモリ103に書き込む。すなわち、αデータはOSD画像が重畳されるときの比率に関する透過率情報である。また、OSD画像生成部102は、メモリ103に書き込まれたαデータ付きOSD画像の輝度信号(Y)、色差信号(C)及びαデータをメモリ103から読み出して画像重畳部104に出力する。   The OSD image generation unit 102 performs OSD image generation processing and the like in accordance with instructions from the control unit 101. The OSD image generation unit 102 generates an OSD image such as a character or a graphic, and further generates an OSD image to which alpha blending data (α data) that is transmittance information indicating the transmittance of the OSD image is added. Write. That is, the α data is transmittance information regarding the ratio when the OSD image is superimposed. In addition, the OSD image generation unit 102 reads the luminance signal (Y), color difference signal (C), and α data of the OSD image with α data written in the memory 103 from the memory 103 and outputs it to the image superimposing unit 104.

画像重畳部104は、入力画像105とOSD画像生成部102が出力したαデータ付きOSD画像とを、制御部101からの指示及びαデータの値に従って画素毎に合成することで重畳し、αデータを有しない出力画像(重畳画像)106を生成し出力する。なお、出力画像(重畳画像)106をαデータ付き画像とすることも可能である。   The image superimposing unit 104 superimposes the input image 105 and the OSD image with α data output from the OSD image generating unit 102 by compositing for each pixel according to the instruction from the control unit 101 and the value of the α data. An output image (superimposed image) 106 having no image is generated and output. The output image (superimposed image) 106 can also be an image with α data.

入力画像105は、一般的なデータ形式のいずれかの形式の画像であり、例えば図2に示すようなデータ形式の画像である。図2は、入力画像105のデータ形式の例を示す図である。なお、図2には入力画像105の内の一部の画素を図示しており、それぞれ0ライン目〜3ライン目の0番目〜7番目の画素を図示している(図3〜図5についても同様)。図2(A)〜図2(C)において、Yijはiライン目のj番目の画素が有する輝度信号(輝度成分、輝度情報)を表しており、Cijはiライン目のj番目の画素が有する色差信号(色差成分、色差情報)を表している。図2(A)〜図2(C)に示すように、形式毎に輝度信号(Y)と色差信号(C)との存在比率や重心位置が異なる。   The input image 105 is an image in any one of general data formats, for example, an image in a data format as shown in FIG. FIG. 2 is a diagram illustrating an example of the data format of the input image 105. Note that FIG. 2 illustrates some pixels in the input image 105, and illustrates the 0th to 7th pixels in the 0th to 3rd lines, respectively (FIGS. 3 to 5). The same). 2A to 2C, Yij represents the luminance signal (luminance component, luminance information) of the j-th pixel in the i-th line, and Cij represents the j-th pixel in the i-th line. The color difference signal (color difference component, color difference information) is shown. As shown in FIGS. 2A to 2C, the existence ratio and the center of gravity position of the luminance signal (Y) and the color difference signal (C) are different for each format.

図2(A)に示すデータ形式は、水平方向及び垂直方向ともに色差信号(C)を有する画素(色差画素)の数を半減させ、輝度信号(Y)を有する4つの画素(輝度画素)に対して色差画素が1画素存在するYCC4:2:0フォーマットである。例えば、輝度信号Y00、Y01、Y10、Y11の輝度4画素に対して、色差信号C00の1画素を有する。   The data format shown in FIG. 2A halves the number of pixels (chrominance pixels) having a color difference signal (C) in both the horizontal direction and the vertical direction, and has four pixels (luminance pixels) having a luminance signal (Y). On the other hand, the YCC 4: 2: 0 format has one color difference pixel. For example, one pixel of the color difference signal C00 is provided for four luminance pixels of the luminance signals Y00, Y01, Y10, and Y11.

また、図2(B)に示すデータ形式は、水平方向の色差画素数を半減させ、輝度4画素に対して色差画素が2画素存在するYCC4:2:2フォーマットである。例えば、輝度信号Y00、Y01の輝度2画素に対して色差信号C00の1画素を有し、輝度信号Y10、Y11の輝度2画素に対して色差信号C10の1画素を有する。また、図2(C)に示すデータ形式は、輝度4画素に対して色差画素が4画素存在するYCC4:4:4フォーマットである。例えば、輝度信号Y00、Y01、Y10、Y11の輝度画素のそれぞれに対して色差信号C00、C01、C10、C11の色差画素を有する。   The data format shown in FIG. 2B is a YCC 4: 2: 2 format in which the number of color difference pixels in the horizontal direction is halved and two color difference pixels are present for four luminance pixels. For example, one pixel of the color difference signal C00 is provided for two luminance pixels of the luminance signals Y00 and Y01, and one pixel of the color difference signal C10 is provided for two luminance pixels of the luminance signals Y10 and Y11. The data format shown in FIG. 2C is a YCC 4: 4: 4 format in which four color-difference pixels exist for four luminance pixels. For example, color difference signals C00, C01, C10, and C11 are provided for the luminance pixels Y00, Y01, Y10, and Y11, respectively.

次に、本実施形態におけるOSD画像の生成方法について、図3〜図5を参照して説明する。図3〜図5は、OSD画像生成部102が生成するαデータ付きOSD画像の例を示す図である。図3〜図5において、Yijはiライン目のj番目の画素が有する輝度信号(輝度成分、輝度情報)を表しており、Cijはiライン目のj番目の画素が有する色差信号(色差成分、色差情報)を表している。また、Aijはiライン目のj番目の画素に付加されたαデータ(透過率情報)を表している。   Next, an OSD image generation method according to this embodiment will be described with reference to FIGS. 3 to 5 are diagrams illustrating examples of OSD images with α data generated by the OSD image generation unit 102. 3 to 5, Yij represents the luminance signal (luminance component, luminance information) of the j-th pixel of the i-th line, and Cij represents the color-difference signal (color-difference component) of the j-th pixel of the i-line. , Color difference information). Aij represents α data (transmittance information) added to the j-th pixel on the i-th line.

図3(A)〜図3(E)には、データ形式が輝度4画素に対して色差画素が1画素存在するYCC4:2:0フォーマットでのαデータ付きOSD画像の例を示している。図4(A)〜図4(E)には、データ形式が輝度4画素に対して色差画素が2画素存在するYCC4:2:2フォーマットでのαデータ付きOSD画像の例を示している。また、図5(A)〜図5(E)には、データ形式が輝度4画素に対して色差画素が4画素存在するYCC4:4:4フォーマットでのαデータ付きOSD画像の例を示している。   FIGS. 3A to 3E show examples of OSD images with α data in the YCC 4: 2: 0 format in which the data format is 4 pixels in luminance and one chrominance pixel is present. FIGS. 4A to 4E show examples of OSD images with α data in the YCC4: 2: 2 format in which the data format has four luminance pixels and two color difference pixels. FIGS. 5A to 5E show examples of OSD images with α data in the YCC4: 4: 4 format in which the data format has four luminance pixels and four color-difference pixels. Yes.

OSD画像生成部102は、制御部101からの指示に従って、文字や図形等を描画する機能を有する。文字はフォントデータを読み込むようにしてもよいし、制御部101から文字についての描画情報を指示するようにしてもよい。また、図形も既に準備済みのデータを読み込むようにしてもよいし、制御部101から図形についての描画情報を指示するようにしてもよい。OSD画像生成部102は、制御部101からの指示に従ってOSD画像を生成した後、付加対象の画素にαデータを付加する。なお、OSD画像を入力画像105の上に透けないように重畳するには、画像全面を一様に透過率0%とするαデータを指定すればよい。   The OSD image generation unit 102 has a function of drawing characters, graphics, and the like in accordance with instructions from the control unit 101. For characters, font data may be read, or drawing information for characters may be instructed from the control unit 101. In addition, already prepared data may be read as a graphic, or drawing information about the graphic may be instructed from the control unit 101. The OSD image generation unit 102 generates an OSD image in accordance with an instruction from the control unit 101, and then adds α data to the addition target pixel. In order to superimpose the OSD image so that it does not pass through the input image 105, it is only necessary to specify α data that makes the entire surface of the image uniformly have a transmittance of 0%.

ここで、例えば図3(B)、図4(B)、図5(B)に示すように輝度画素と同じ重心位置で輝度画素数と同じ画素数分のαデータを付加するとする。例えば、輝度信号Y00、Y01、Y10、Y11の輝度画素のそれぞれに対して透過率情報A00、A01、A10、A11のαデータを付加するとする。このように輝度画素と同じ重心位置で輝度画素数と同じ画素数分のαデータを付加すると、細かい領域で透過率を制御でき高い階調表現が可能である。しかし、αデータ量が多くなり、αデータを生成してメモリ103に書き込むOSD画像生成部102の画像処理の負荷が大きい。   Here, for example, as shown in FIGS. 3B, 4B, and 5B, α data corresponding to the same number of pixels as the number of luminance pixels is added at the same center of gravity as the luminance pixels. For example, it is assumed that α data of transmittance information A00, A01, A10, and A11 is added to the luminance pixels of the luminance signals Y00, Y01, Y10, and Y11. In this way, by adding α data for the same number of pixels as the number of luminance pixels at the same centroid position as the luminance pixels, the transmittance can be controlled in a fine area and high gradation expression can be achieved. However, the amount of α data increases, and the load of image processing of the OSD image generation unit 102 that generates α data and writes it in the memory 103 is large.

そこで、本実施形態では、OSD画像生成部102は、図3(A)、図4(A)、図5(A)に示すように輝度画素と同じ重心位置で水平方向の2輝度画素毎にαデータを付加してαデータ付きOSD画像を生成する。例えば、OSD画像生成部102は、輝度信号Y00の輝度画素に対して透過率情報A00のαデータを付加し、輝度信号Y10の輝度画素に対して透過率情報A10のαデータを付加したOSD画像を生成する。このように画像の水平方向において、輝度2画素に対して1画素の比率で透過率情報を付加してOSD画像を生成することで、αデータのデータ量が2分の1となる。したがって、αデータのデータ量を削減し、OSD画像のためのメモリの使用量を低減することができる。   Therefore, in the present embodiment, the OSD image generation unit 102 is provided for each two luminance pixels in the horizontal direction at the same centroid position as the luminance pixels as shown in FIGS. 3 (A), 4 (A), and 5 (A). An OSD image with α data is generated by adding α data. For example, the OSD image generation unit 102 adds the α data of the transmittance information A00 to the luminance pixel of the luminance signal Y00, and adds the α data of the transmittance information A10 to the luminance pixel of the luminance signal Y10. Is generated. Thus, in the horizontal direction of the image, the transmittance information is added at a ratio of 1 pixel to 2 pixels of luminance to generate an OSD image, so that the data amount of α data is halved. Therefore, the amount of α data can be reduced, and the amount of memory used for OSD images can be reduced.

また、OSD画像として描画される線や点の太さ(画素幅)やデータ値によっては、OSD画像生成部102は、αデータを付加する画素をOSD画像に基づいて制御し、αデータ付きOSD画像を生成するようにしてもよい。例えば、OSD画像の画像要素の太さが4画素以上で一様な輝度値と色差値を有する場合、OSD画像生成部102は、図3(C)、図4(C)、図5(C)に示すように輝度画素と同じ重心位置で水平方向の4輝度画素毎にαデータを付加するようにしてもよい。例えば、OSD画像生成部102は、輝度信号Y01、Y02、Y03の輝度画素に対してはαデータを付加せずに、輝度信号Y00の輝度画素に対して透過率情報A00のαデータを付加したOSD画像を生成する。   Further, depending on the thickness (pixel width) and data value of a line or a point drawn as an OSD image, the OSD image generation unit 102 controls the pixel to which α data is added based on the OSD image, and the OSD with α data. An image may be generated. For example, when the thickness of the image element of the OSD image is 4 pixels or more and has a uniform luminance value and color difference value, the OSD image generation unit 102 performs the processes shown in FIGS. 3C, 4C, and 5C. ), Α data may be added for every four luminance pixels in the horizontal direction at the same center of gravity as the luminance pixels. For example, the OSD image generation unit 102 does not add the α data to the luminance pixels of the luminance signals Y01, Y02, and Y03, but adds the α data of the transmittance information A00 to the luminance pixels of the luminance signal Y00. An OSD image is generated.

さらに、例えば、OSD画像生成部102は、図3(E)、図4(E)、図5(E)に示すように輝度画素と同じ重心位置で水平方向の4輝度画素毎、垂直方向の2ライン毎にαデータを付加するようにしてもよい。例えば、OSD画像生成部102は、輝度信号Y01、Y02、Y03、Y10、Y11、Y12、Y13の輝度画素に対してはαデータを付加せずに、輝度信号Y00の輝度画素に対して透過率情報A00のαデータを付加したOSD画像を生成する。このようにOSD画像の画像要素の太さが4画素以上で一様な輝度値と色差値を有する場合、画像の水平方向において、輝度4画素に対して1画素の比率で透過率情報を付加したOSD画像を生成するようにしてもよい。   Further, for example, the OSD image generation unit 102, as shown in FIG. 3E, FIG. 4E, and FIG. Α data may be added every two lines. For example, the OSD image generation unit 102 does not add α data to the luminance pixels of the luminance signals Y01, Y02, Y03, Y10, Y11, Y12, and Y13, and transmits the luminance to the luminance pixels of the luminance signal Y00. An OSD image to which α data of information A00 is added is generated. In this way, when the thickness of the image element of the OSD image is 4 pixels or more and has uniform luminance values and color difference values, transmittance information is added at a ratio of 1 pixel to 4 pixels in the horizontal direction of the image. An OSD image may be generated.

また、例えば太さが2画素以上である場合、OSD画像生成部102は、図3(D)、図4(D)、図5(D)に示すように輝度画素と同じ重心位置で水平方向の2輝度画素毎、垂直方向の2ライン毎にαデータを付加するようにしてもよい。例えば、OSD画像生成部102は、輝度信号Y01、Y10、Y11の輝度画素に対してはαデータを付加せずに、輝度信号Y00の輝度画素に対して透過率情報A00のαデータを付加したOSD画像を生成する。このようにOSD画像の画像要素の太さが2画素以上で一様な輝度値と色差値を有する場合、画像の水平方向及び垂直方向において、輝度2画素に対して1画素の比率で透過率情報を付加したOSD画像を生成するようにしてもよい。   Further, for example, when the thickness is 2 pixels or more, the OSD image generation unit 102 performs the horizontal direction at the same centroid position as that of the luminance pixel as illustrated in FIGS. 3D, 4D, and 5D. The α data may be added for every two luminance pixels and every two lines in the vertical direction. For example, the OSD image generation unit 102 does not add the α data to the luminance pixels of the luminance signals Y01, Y10, and Y11, but adds the α data of the transmittance information A00 to the luminance pixels of the luminance signal Y00. An OSD image is generated. In this way, when the thickness of the image element of the OSD image is 2 pixels or more and has uniform luminance values and color difference values, the transmittance is in a ratio of 1 pixel to 2 pixels in the horizontal direction and the vertical direction of the image. An OSD image to which information is added may be generated.

前述のようにOSD画像として描画される線や点の太さやデータ値に基づいてαデータを付加する画素を制御し、OSD画像生成部102がαデータを付加することで、αデータのデータ量をさらに削減し、メモリの使用量を低減することが可能となる。例えば、αデータのデータ量及びメモリの使用量は、図3(A)と比較して、図3(C)や図3(D)に示したようにαデータを付加した場合には2分の1、図3(E)に示したようにαデータを付加した場合には4分の1となる。つまり、水平方向については輝度画素のn画素に1画素の割合でαデータを付加する。また、垂直方向については輝度画素のm画素に1画素の割合でαデータを付加する。このように、OSD画像の輝度画素における所定の一部の画素に対してαデータを付加し、他の画素に対してαデータを付加しないようにする。また、色差画素に対してはαデータを付加しないようにする。   As described above, the pixel to which α data is added is controlled based on the thickness and data value of a line or a point drawn as an OSD image, and the OSD image generation unit 102 adds α data, whereby the data amount of α data is set. Can be further reduced, and the amount of memory used can be reduced. For example, the data amount of the α data and the memory usage amount are two minutes when the α data is added as shown in FIGS. 3C and 3D, as compared with FIG. 1 and when α data is added as shown in FIG. 3E, it becomes a quarter. That is, in the horizontal direction, α data is added at a ratio of one pixel to n pixels of luminance pixels. Further, in the vertical direction, α data is added at a ratio of one pixel to m pixels of luminance pixels. In this way, α data is added to a predetermined part of the luminance pixels of the OSD image, and α data is not added to other pixels. Further, α data is not added to the color difference pixels.

次に、本実施形態における重畳画像の生成方法について説明する。画像重畳部104は、画素毎のαデータの透過率情報に従って、下記式で入力画像105とOSD画像を画素毎に重畳し、得られた重畳画像を出力画像106として出力する。入力画像105の画素値をX0、OSD画像の画素値をX1、αデータをA、出力画像106の画素値をZとすると、画像重畳部104は、Z=X0×A+X1×(1−A)で重畳画像を生成する。出力画像106として出力される重畳画像は、そのまま液晶パネル等の表示部に表示させてもよいし、さらに画像処理を実施してもよい。   Next, a method for generating a superimposed image in the present embodiment will be described. The image superimposing unit 104 superimposes the input image 105 and the OSD image for each pixel according to the following formula according to the transmittance information of the α data for each pixel, and outputs the obtained superimposed image as the output image 106. Assuming that the pixel value of the input image 105 is X0, the pixel value of the OSD image is X1, α data is A, and the pixel value of the output image 106 is Z, the image superimposing unit 104 is Z = X0 × A + X1 × (1-A) To generate a superimposed image. The superimposed image output as the output image 106 may be displayed as it is on a display unit such as a liquid crystal panel or may be further subjected to image processing.

ここで、例えば図3(A)に示したようにαデータを付加した場合、αデータが全画素分存在しないため、信号Y00、Y01、C00に対してはαデータA00を共通で使用する。即ち、αデータが付加されていない画素は、αデータが付加された画素のうち隣接する画素、或いは、最も近くの画素のαデータを使用して重畳する。または、信号Y00とC00に対してはαデータA00を使用する。一方、信号Y01に対しては、αデータが付加された画素のうち、水平方向に近接する二つの画素Y00とY02のαデータA00とαデータA02とを補間する(線形補間)ことによりαデータを生成し、この生成したαデータの値を使用することも可能である。なお、OSD画像の内容によって切り替えることも可能である。   Here, for example, when α data is added as shown in FIG. 3A, since α data does not exist for all pixels, α data A00 is commonly used for signals Y00, Y01, and C00. That is, a pixel to which no α data is added is superimposed using the α data of an adjacent pixel or the nearest pixel among the pixels to which α data is added. Alternatively, α data A00 is used for the signals Y00 and C00. On the other hand, for the signal Y01, α data is obtained by interpolating (linear interpolation) α data A00 and α data A02 of two pixels Y00 and Y02 that are adjacent in the horizontal direction among the pixels to which α data is added. And the value of the generated α data can be used. It is also possible to switch according to the contents of the OSD image.

同様に、例えば図3(C)に示したようにαデータを付加した場合、信号Y00、Y01、Y02、Y03、C00、C02の6要素に対してαデータA00を共通で使用する。または、信号Y00とC00に対してはαデータA00を使用し、その他はαデータA00とαデータA04との線形補間で算出したαデータの値を使用することも可能である。   Similarly, for example, when α data is added as shown in FIG. 3C, α data A00 is commonly used for the six elements Y00, Y01, Y02, Y03, C00, and C02. Alternatively, the α data A00 can be used for the signals Y00 and C00, and the α data value calculated by linear interpolation between the α data A00 and the α data A04 can be used for the others.

第1の実施形態によれば、OSD画像における一部の輝度画素に対してαデータを付加してαデータ付きOSD画像を生成することで、αデータのデータ量を削減し、OSD画像のためのメモリの使用量を低減することができる。また、本実施形態によれば、αデータの圧縮処理及び伸張処理を行わなくともデータ量を削減することが可能となる。なお、付加するαデータの情報量(ビット数)を削減することにより、さらにαデータのデータ量を削減するようにしてもよい。   According to the first embodiment, α data is added to some luminance pixels in an OSD image to generate an OSD image with α data, thereby reducing the data amount of α data and The amount of memory used can be reduced. Further, according to the present embodiment, it is possible to reduce the data amount without performing the α data compression processing and decompression processing. Note that the amount of α data may be further reduced by reducing the amount of information (number of bits) of α data to be added.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。図6は、第2の実施形態による画像処理装置の構成例を示すブロック図である。第2の実施形態においては、複数枚の入力画像と複数枚の情報画像(OSD画像)を重畳した画像を生成して出力することが可能な画像処理装置を例に説明する。第2の実施形態における画像処理装置は、図6に示すように、制御部601、情報画像(OSD画像)生成部602、メモリ603、入力画像選択部604、画像重畳部606、及び記憶部608を有する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. FIG. 6 is a block diagram illustrating a configuration example of an image processing apparatus according to the second embodiment. In the second embodiment, an image processing apparatus capable of generating and outputting an image in which a plurality of input images and a plurality of information images (OSD images) are superimposed will be described as an example. As shown in FIG. 6, the image processing apparatus according to the second embodiment includes a control unit 601, an information image (OSD image) generation unit 602, a memory 603, an input image selection unit 604, an image superimposition unit 606, and a storage unit 608. Have

制御部601は、画像処理装置が有する各機能部を制御する。制御部601は、制御部101と同様に、例えばOSD画像生成部102にOSD画像の生成等を指示したり、画像重畳部104に重畳画像の生成等を指示したりする。また、制御部601は、例えば入力画像選択部604における画像の選択動作を制御する。   The control unit 601 controls each functional unit included in the image processing apparatus. Similar to the control unit 101, the control unit 601 instructs the OSD image generation unit 102 to generate an OSD image or the like, or instructs the image superimposition unit 104 to generate a superimposed image or the like. The control unit 601 controls an image selection operation in the input image selection unit 604, for example.

OSD画像生成部602は、制御部601からの指示に従って文字や図形等のOSD画像を生成し、さらにαデータを付加したOSD画像を生成してメモリ603に書き込む。また、OSD画像生成部602は、メモリ603に書き込まれたαデータ付きOSD画像をメモリ603から読み出して入力画像選択部604に出力する。入力画像選択部604は、制御部601からの指示に従って、入力画像605とOSD画像生成部602が出力したαデータ付きOSD画像との2つの画像から1つの画像を選択して画像重畳部606に出力する。入力画像605は、一般的なデータ形式のいずれかの形式の画像であり、例えば図2に示したようなデータ形式の画像である。   The OSD image generation unit 602 generates an OSD image such as characters and graphics in accordance with an instruction from the control unit 601, generates an OSD image to which α data is added, and writes the OSD image in the memory 603. In addition, the OSD image generation unit 602 reads the OSD image with α data written in the memory 603 from the memory 603 and outputs it to the input image selection unit 604. The input image selection unit 604 selects one image from the two images of the input image 605 and the OSD image with α data output from the OSD image generation unit 602 in accordance with an instruction from the control unit 601, and sends the selected image to the image superimposing unit 606. Output. The input image 605 is an image in any one of general data formats, for example, an image in a data format as shown in FIG.

画像重畳部606は、入力画像選択部604が選択した画像と記憶部608から出力された画像とを、制御部601からの指示及びαデータの値に従って画素毎に合成することで重畳し、αデータを有しない重畳画像を生成する。画像重畳部606が生成した重畳画像は、そのまま出力画像607として出力することも可能であるが、記憶部608に記憶して再度重畳処理で使用することも可能である。   The image superimposing unit 606 superimposes the image selected by the input image selecting unit 604 and the image output from the storage unit 608 by combining each image according to the instruction from the control unit 601 and the value of α data, and α A superimposed image having no data is generated. The superimposed image generated by the image superimposing unit 606 can be output as the output image 607 as it is, but can also be stored in the storage unit 608 and used again in the superimposing process.

第2の実施形態におけるOSD画像の生成方法については、第1の実施形態と同様である。また、入力画像選択部604が、入力画像605を選択する場合、制御部601は、入力画像605の1画面内の全ての輝度信号の画素に対して同じ値のαデータを設定して画像重畳部606に出力する。また、入力画像605の色差信号のαデータについては、輝度信号のαデータと同じ値を設定するが、異なる値を設定してもよい。以下では第2の実施形態における重畳画像の生成方法について説明する。画像重畳部606は、画素毎のαデータの透過率情報に従って、下記式で入力画像選択部604の出力画像と記憶部608の出力画像を画素毎に重畳し重畳画像を生成する。入力画像選択部604の出力画像の画素値をX0、記憶部608の出力画像の画素値をX1、αデータをA、重畳後の画像の画素値をZとすると、Z=X0×A+X1×(1−A)で重畳画像を生成する。画像重畳部606から出力される重畳画像は、記憶部608に記憶されるとともに、出力画像607として出力し、そのまま液晶パネル等の表示部に表示させてもよいし、さらに画像処理を実施してもよい。   The OSD image generation method in the second embodiment is the same as that in the first embodiment. When the input image selection unit 604 selects the input image 605, the control unit 601 sets α data having the same value for all the pixels of the luminance signal in one screen of the input image 605 and performs image superimposition. To the unit 606. Further, the α data of the color difference signal of the input image 605 is set to the same value as the α data of the luminance signal, but may be set to a different value. Hereinafter, a method for generating a superimposed image in the second embodiment will be described. The image superimposing unit 606 generates a superimposed image by superimposing the output image of the input image selecting unit 604 and the output image of the storage unit 608 on a pixel-by-pixel basis according to the following formula according to the transmittance information of α data for each pixel. If the pixel value of the output image of the input image selection unit 604 is X0, the pixel value of the output image of the storage unit 608 is X1, α data is A, and the pixel value of the superimposed image is Z, Z = X0 × A + X1 × ( In 1-A), a superimposed image is generated. The superimposed image output from the image superimposing unit 606 is stored in the storage unit 608 and may be output as an output image 607 and displayed as it is on a display unit such as a liquid crystal panel, or by performing image processing. Also good.

入力画像選択部604がOSD画像生成部602からのOSD画像を選択した場合、OSD画像生成部602はOSD画像とαデータをメモリ603から読み出して出力する。ここで、第1の実施形態と同様に、例えば図3(A)に示したようにαデータを付加した場合、αデータが全画素分存在しないため、信号Y00、Y01、C00に対してはαデータA00を共通で使用する。または、信号Y00とC00に対してはαデータA00を使用して、信号Y01に対してはαデータA00とαデータA02との線形補間で算出したαデータの値を使用することも可能である。なお、OSD画像の内容によって切り替えることも可能である。   When the input image selection unit 604 selects the OSD image from the OSD image generation unit 602, the OSD image generation unit 602 reads the OSD image and α data from the memory 603 and outputs them. Here, as in the first embodiment, when α data is added as shown in FIG. 3A, for example, α data does not exist for all the pixels, and therefore, for signals Y00, Y01, and C00, The α data A00 is commonly used. Alternatively, the α data A00 can be used for the signals Y00 and C00, and the α data value calculated by linear interpolation between the α data A00 and the α data A02 can be used for the signal Y01. . It is also possible to switch according to the contents of the OSD image.

同様に、例えば図3(C)に示したようにαデータを付加した場合、信号Y00、Y01、Y02、Y03、C00、C02の6要素に対してαデータA00を共通で使用する。または、信号Y00とC00に対してはαデータA00を使用し、その他はαデータA00とαデータA04との線形補間で算出したαデータの値を使用することも可能である。   Similarly, for example, when α data is added as shown in FIG. 3C, α data A00 is commonly used for the six elements Y00, Y01, Y02, Y03, C00, and C02. Alternatively, the α data A00 can be used for the signals Y00 and C00, and the α data value calculated by linear interpolation between the α data A00 and the α data A04 can be used for the others.

また、本実施例の構成で、入力画像605は重畳せず、複数枚のOSD画像のみを重畳した画像を生成して出力することも可能である。その場合、入力画像選択部604ではOSD画像を選択し、画像重畳部606の出力画像に対して、演算したαデータを付けて出力する。すると、記憶部608にαデータも記憶され、αデータも演算処理で更新することが可能である。例えば、入力画像選択部604の出力画像のαデータをA0、記憶部608のαデータをA1、画像重畳部606の出力画像のαデータをA2とすると、A2=A0+A1×(1−A0)の演算でαデータを更新することが可能である。複数枚重畳する場合の1枚目の演算では、記憶部608のαデータA1の値が0となり、A2=A0となる。   In the configuration of this embodiment, the input image 605 can be generated and output without superimposing the input image 605 and only a plurality of OSD images. In that case, the input image selection unit 604 selects an OSD image and outputs the output image of the image superimposing unit 606 with the calculated α data. Then, the α data is also stored in the storage unit 608, and the α data can be updated by the arithmetic processing. For example, if the α data of the output image of the input image selection unit 604 is A0, the α data of the storage unit 608 is A1, and the α data of the output image of the image superimposing unit 606 is A2, A2 = A0 + A1 × (1−A0). It is possible to update α data by calculation. In the first calculation when a plurality of images are overlapped, the value of the α data A1 in the storage unit 608 is 0, and A2 = A0.

第2の実施形態によれば、第1の実施形態と同様に、OSD画像における一部の輝度画素に対してαデータを付加してαデータ付きOSD画像を生成することで、αデータのデータ量を削減し、OSD画像のためのメモリの使用量を低減することができる。また、αデータの圧縮処理及び伸張処理を行わなくともデータ量を削減することが可能となる。また、本実施形態によれば、複数枚の入力画像と複数枚のOSD画像を重畳した画像を生成して出力することが可能となる。なお、付加するαデータの情報量(ビット数)を削減することにより、さらにαデータのデータ量を削減するようにしてもよい。   According to the second embodiment, as in the first embodiment, the α data is generated by adding the α data to some luminance pixels in the OSD image to generate the OSD image with α data. The amount can be reduced and the amount of memory used for OSD images can be reduced. In addition, the amount of data can be reduced without performing compression processing and decompression processing of α data. Further, according to the present embodiment, it is possible to generate and output an image in which a plurality of input images and a plurality of OSD images are superimposed. Note that the amount of α data may be further reduced by reducing the amount of information (number of bits) of α data to be added.

前述した実施形態における画像処理装置を有する電子機器について説明する。以下では、前述した画像処理装置を有する電子機器として、デジタルカメラやビデオカメラ等の撮像装置を一例として説明するが、これに限定されるものではない。本発明は、デジタルカメラやビデオカメラ等の撮像装置に限らず、例えば、スマートフォンやタブレット等の各種携帯機器等にも適用可能である。   An electronic apparatus having the image processing apparatus in the above-described embodiment will be described. In the following, an imaging apparatus such as a digital camera or a video camera will be described as an example of the electronic apparatus having the image processing apparatus described above, but the present invention is not limited to this. The present invention is not limited to an imaging apparatus such as a digital camera or a video camera, and can be applied to various portable devices such as a smartphone and a tablet.

図7は、本実施形態における画像処理装置を有する電子機器700の構成例を示すブロック図である。光学系701は、レンズ等で構成された光学系である。撮像素子702は、CCDイメージセンサやCMOSイメージセンサ等の光電変換素子を有し、光学系701により結像された光学像を光電変換し、得られた画像データを出力する。画像処理部703は、画像データに係る各種画像処理を行う。画像処理部703は、例えば前述した実施形態における画像処理装置の機能を有し、撮像画像と情報画像(OSD画像)とを重畳して重畳画像を生成する処理を行う。   FIG. 7 is a block diagram illustrating a configuration example of an electronic apparatus 700 having the image processing apparatus according to the present embodiment. The optical system 701 is an optical system composed of lenses and the like. The imaging element 702 has a photoelectric conversion element such as a CCD image sensor or a CMOS image sensor, photoelectrically converts the optical image formed by the optical system 701, and outputs the obtained image data. The image processing unit 703 performs various image processing related to the image data. The image processing unit 703 has, for example, the function of the image processing apparatus in the above-described embodiment, and performs a process of generating a superimposed image by superimposing a captured image and an information image (OSD image).

CPU(Central Processing Unit)704は、電子機器700が有する各ブロック(機能部)の動作プログラムをメモリ705から読み出して実行することにより、電子機器700が有する各ブロックの動作を制御する。また、CPU704は、図1の制御部101、或いは、図6の制御部601の一部、或いは全ての制御を行う。メモリ705は、例えば電子機器700が有する各ブロックの動作プログラムを記憶したり、電子機器700が有する各ブロックの動作に必要なパラメータ等を記憶したりする。また、メモリ705は、例えば電子機器700が有する各ブロックの動作において出力されたデータ等の一時的な記憶領域として用いられる。また、メモリ705は、図1におけるメモリ103、或いは、図6におけるメモリ603として使用される。   A CPU (Central Processing Unit) 704 controls the operation of each block included in the electronic device 700 by reading out and executing an operation program of each block (functional unit) included in the electronic device 700 from the memory 705. Further, the CPU 704 controls part or all of the control unit 101 in FIG. 1 or the control unit 601 in FIG. 6. The memory 705 stores, for example, an operation program of each block included in the electronic device 700, and parameters necessary for the operation of each block included in the electronic device 700. The memory 705 is used as a temporary storage area for data output in the operation of each block of the electronic device 700, for example. The memory 705 is used as the memory 103 in FIG. 1 or the memory 603 in FIG.

操作部706は、スイッチやボタン等を有し、それらに対するユーザー操作に応じた指示を電子機器700に送る。表示部707は、液晶パネル等で構成され、画像データに係る画像を表示したり、画像とOSD画像とを重畳させた画像を表示したりする。なお、操作部706と表示部707とがタッチパネル等によって実装されていてもよい。記録媒体708は、着脱可能なメモリカード等であり、例えばメモリ705に記憶されている画像データ等が記録される。バス709は、画像処理部703、CPU704、メモリ705、操作部706、表示部707、及び記録媒体708の間で各信号やデータ等を授受するために用いられる。   The operation unit 706 has switches, buttons, and the like, and sends instructions to the electronic device 700 according to user operations on them. The display unit 707 is configured by a liquid crystal panel or the like, and displays an image related to image data, or displays an image obtained by superimposing an image and an OSD image. Note that the operation unit 706 and the display unit 707 may be mounted by a touch panel or the like. The recording medium 708 is a detachable memory card or the like, for example, image data stored in the memory 705 is recorded. A bus 709 is used to exchange signals and data among the image processing unit 703, the CPU 704, the memory 705, the operation unit 706, the display unit 707, and the recording medium 708.

(本発明の他の実施形態)
本発明は、前述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments of the present invention)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

なお、前記実施形態は、何れも本発明を実施するにあたっての具体化のほんの一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

101、601:制御部 102、602:情報画像(OSD画像)生成部 103、603:メモリ 104、606:画像重畳部 105、605:入力画像 106、607:出力画像(重畳画像) 604:入力画像選択部 608:記憶部 101, 601: Control unit 102, 602: Information image (OSD image) generation unit 103, 603: Memory 104, 606: Image superimposing unit 105, 605: Input image 106, 607: Output image (superimposed image) 604: Input image Selection unit 608: storage unit

Claims (12)

画像を入力する入力手段と、
メモリと、
前記入力手段により入力された入力画像に重畳される情報画像と、前記情報画像が前記入力画像に重畳されるときの比率に関する透過率情報とを生成する生成手段であって、前記情報画像の輝度信号における一部の画素に対して前記透過率情報を付加し、前記一部の画素に前記透過率情報が付加された輝度信号を含む前記情報画像と前記透過率情報とを前記メモリに記憶する生成手段と、
前記メモリから読み出した前記透過率情報に基づいて、前記入力手段により入力された前記入力画像に前記メモリから読み出した前記情報画像を重畳する重畳手段とを有し、
前記重畳手段は、前記メモリから読み出した前記情報画像における輝度信号のうち前記透過率情報が付加されていない画素を、前記一部の画素に付加された前記透過率情報に基づいて前記入力画像に重畳することを特徴とする画像処理装置。
An input means for inputting an image;
Memory,
A generating unit configured to generate an information image superimposed on an input image input by the input unit and transmittance information relating to a ratio when the information image is superimposed on the input image; The transmittance information is added to some pixels in the signal, and the information image including the luminance signal in which the transmittance information is added to the some pixels and the transmittance information are stored in the memory. Generating means;
Superimposing means for superimposing the information image read from the memory on the input image input by the input means based on the transmittance information read from the memory;
The superimposing means adds pixels, to which the transmittance information is not added, among luminance signals in the information image read from the memory to the input image based on the transmittance information added to the partial pixels. An image processing apparatus characterized by superimposing.
前記重畳手段は、前記一部の画素のうち、前記透過率情報が付加されていない画素に最も近い画素に付加された前記透過率情報を使用して前記透過率情報が付加されていない前記情報画像を重畳することを特徴とする請求項1に記載の画像処理装置。   The superimposing means uses the transmittance information added to the pixel closest to the pixel to which the transmittance information is not added among the some pixels, and the information to which the transmittance information is not added The image processing apparatus according to claim 1, wherein the images are superimposed. 前記重畳手段は、前記一部の画素のうち、前記透過率情報が付加されていない画素に近接する二つの画素に付加された前記透過率情報を補間することにより、前記透過率情報が付加されていない画素のための透過率情報を生成し、前記生成した透過率情報を使用して、前記透過率情報が付加されていない前記情報画像を重畳することを特徴とする請求項1に記載の画像処理装置。   The superimposing means adds the transmittance information by interpolating the transmittance information added to two pixels adjacent to the pixel to which the transmittance information is not added among the some pixels. The transmittance information for a pixel that has not been generated is generated, and the information image without the transmittance information is superimposed using the generated transmittance information. Image processing device. 前記入力画像は更に色差信号を有し、
前記生成手段は、前記情報画像の色差信号の画素に対しては前記透過率情報を付加しないようにすることを特徴とする請求項1に記載の画像処理装置。
The input image further includes a color difference signal;
The image processing apparatus according to claim 1, wherein the generation unit does not add the transmittance information to a pixel of a color difference signal of the information image.
前記生成手段は、前記情報画像の輝度信号における所定の一部の画素に対して前記透過率情報を付加し、他の画素に対して前記透過率情報を付加しないようにすることを特徴とする請求項1に記載の画像処理装置。   The generation unit adds the transmittance information to a predetermined part of pixels in the luminance signal of the information image, and does not add the transmittance information to other pixels. The image processing apparatus according to claim 1. 前記生成手段は、前記情報画像の輝度信号における水平方向についてn画素に1画素の比率で前記透過率情報を付加することを特徴とする請求項4に記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the generation unit adds the transmittance information at a ratio of 1 pixel to n pixels in a horizontal direction in a luminance signal of the information image. 前記生成手段は、前記情報画像の輝度信号における垂直方向についてm画素に1画素の比率で前記透過率情報を付加することを特徴とする請求項4に記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the generation unit adds the transmittance information at a ratio of 1 pixel to m pixels in a vertical direction in a luminance signal of the information image. 前記生成手段は、前記情報画像の画素幅に応じて前記透過率情報を付加する画素を決めることを特徴とする請求項4に記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the generation unit determines a pixel to which the transmittance information is added according to a pixel width of the information image. 画像を入力する入力手段と、
メモリと、
情報画像と、前記情報画像が重畳されるときの比率に関する透過率情報とを生成する生成手段であって、前記情報画像の輝度信号における一部の画素に対して前記透過率情報を付加し、前記一部の画素に前記透過率情報が付加された輝度信号を含む前記情報画像と前記透過率情報とを前記メモリに記憶する生成手段と、
前記入力手段により入力された入力画像と、前記メモリに記憶された前記情報画像の何れかを選択する選択手段と、
重畳手段であって、前記選択手段により選択された画像を、前記重畳手段から出力された出力画像に重畳して前記出力画像として出力する重畳手段とを有し、
前記重畳手段は、前記選択手段が前記メモリに記憶された前記情報画像を選択した場合、前記メモリから読み出した前記透過率情報に基づいて、前記選択手段から出力された前記情報画像を前記出力画像に重畳し、前記メモリから読み出した前記情報画像における輝度信号のうち前記透過率情報が付加されていない画素を、前記一部の画素に付加された前記透過率情報に基づいて前記出力画像に重畳することを特徴とする画像処理装置。
An input means for inputting an image;
Memory,
A generation unit that generates an information image and transmittance information related to a ratio when the information image is superimposed, the transmittance information being added to some pixels in a luminance signal of the information image, Generating means for storing the information image including the luminance signal in which the transmittance information is added to the partial pixels and the transmittance information in the memory;
A selection means for selecting one of the input image input by the input means and the information image stored in the memory;
A superimposing unit that superimposes the image selected by the selecting unit on the output image output from the superimposing unit and outputs the image as the output image;
When the selecting unit selects the information image stored in the memory, the superimposing unit converts the information image output from the selecting unit based on the transmittance information read from the memory to the output image. And superimposing pixels to which the transmittance information is not added among luminance signals in the information image read from the memory on the output image based on the transmittance information added to the partial pixels. An image processing apparatus.
前記選択手段が前記入力画像を選択する場合に、前記入力画像に対する前記透過率情報を生成して前記入力画像に付加する制御手段を有することを特徴とする請求項9に記載の画像処理装置。   The image processing apparatus according to claim 9, further comprising a control unit that generates the transmittance information for the input image and adds the transmission information to the input image when the selection unit selects the input image. 画像を入力する入力工程と、
前記入力工程にて入力された入力画像に重畳される情報画像と、前記情報画像が前記入力画像に重畳されるときの比率に関する透過率情報とを生成する生成工程であって、前記情報画像の輝度信号における一部の画素に対して前記透過率情報を付加し、前記一部の画素に前記透過率情報が付加された輝度信号を含む前記情報画像と前記透過率情報とをメモリに記憶する生成工程と、
前記メモリから読み出した前記透過率情報に基づいて、前記入力工程にて入力された前記入力画像に前記メモリから読み出した前記情報画像を重畳する重畳工程とを有し、
前記重畳工程では、前記メモリから読み出した前記情報画像における輝度信号のうち前記透過率情報が付加されていない画素を、前記一部の画素に付加された前記透過率情報に基づいて前記入力画像に重畳することを特徴とする画像処理方法。
An input process for inputting an image;
A generation step of generating an information image to be superimposed on the input image input in the input step and transmittance information relating to a ratio when the information image is superimposed on the input image; The transmittance information is added to some pixels in the luminance signal, and the information image including the luminance signal in which the transmittance information is added to the some pixels and the transmittance information are stored in a memory. Generation process;
A superimposition step of superimposing the information image read from the memory on the input image input in the input step based on the transmittance information read from the memory;
In the superimposing step, a pixel to which the transmittance information is not added among luminance signals in the information image read from the memory is added to the input image based on the transmittance information added to the partial pixels. An image processing method characterized by superimposing.
画像を入力する入力工程と、
情報画像と、前記情報画像が重畳されるときの比率に関する透過率情報とを生成する生成工程であって、前記情報画像の輝度信号における一部の画素に対して前記透過率情報を付加し、前記一部の画素に前記透過率情報が付加された輝度信号を含む前記情報画像と前記透過率情報とをメモリに記憶する生成工程と、
前記入力工程にて入力された入力画像と、前記メモリに記憶された前記情報画像の何れかを選択する選択工程と、
重畳工程であって、前記選択工程にて選択された画像を、前記重畳工程で出力された出力画像に重畳して前記出力画像として出力する重畳工程とを有し、
前記重畳工程では、前記選択工程にて前記メモリに記憶された前記情報画像を選択した場合、前記メモリから読み出した前記透過率情報に基づいて、前記選択工程で出力された前記情報画像を前記出力画像に重畳し、前記メモリから読み出した前記情報画像における輝度信号のうち前記透過率情報が付加されていない画素を、前記一部の画素に付加された前記透過率情報に基づいて前記出力画像に重畳することを特徴とする画像処理方法。
An input process for inputting an image;
A generation step of generating an information image and transmittance information relating to a ratio when the information image is superimposed, the transmittance information being added to some pixels in a luminance signal of the information image; Generating the information image including the luminance signal in which the transmittance information is added to the some pixels and the transmittance information in a memory;
A selection step of selecting one of the input image input in the input step and the information image stored in the memory;
A superimposing step of superimposing the image selected in the selecting step on the output image output in the superimposing step and outputting the output image as the output image,
In the superimposing step, when the information image stored in the memory in the selection step is selected, the information image output in the selection step is output based on the transmittance information read from the memory. Pixels to which the transmittance information is not added among the luminance signals in the information image that are superimposed on the image and read from the memory are added to the output image based on the transmittance information added to the partial pixels. An image processing method characterized by superimposing.
JP2016207352A 2016-10-21 2016-10-21 Image processing apparatus and image processing method Pending JP2018067893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016207352A JP2018067893A (en) 2016-10-21 2016-10-21 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016207352A JP2018067893A (en) 2016-10-21 2016-10-21 Image processing apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2018067893A true JP2018067893A (en) 2018-04-26

Family

ID=62086382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016207352A Pending JP2018067893A (en) 2016-10-21 2016-10-21 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2018067893A (en)

Similar Documents

Publication Publication Date Title
US8233055B2 (en) Image processing device and program
JP6381215B2 (en) Image processing apparatus, image processing method, display apparatus, display apparatus control method, and program
JP4687725B2 (en) Image processing apparatus, image processing method, and computer program
JP6727989B2 (en) Image processing apparatus and control method thereof
EP2847998B1 (en) Systems, methods, and computer program products for compound image demosaicing and warping
JP6087612B2 (en) Image processing apparatus and image processing method
JP2008244981A (en) Video synthesis device and video output device
JP4263190B2 (en) Video composition circuit
JP6948810B2 (en) Image processing system
US10713757B2 (en) Image processing apparatus, control method thereof, and storage medium
JP2007017615A (en) Image processor, picture processing method, and program
WO2018087856A1 (en) Image synthesis device and image synthesis method
JP2014042109A (en) Image processing apparatus, control method, program, and storage medium
JP2018067893A (en) Image processing apparatus and image processing method
JP2006303631A (en) On-screen display device and on-screen display generation method
JP2006301029A (en) On-screen display apparatus and on-screen display creating method
JP2005266792A (en) Memory efficient method and apparatus for displaying large overlaid camera image
US20130021371A1 (en) Image display apparatus and image display method
JP5645343B2 (en) Imaging device
JP2005189663A (en) Multi-layer image composing system
JP6048046B2 (en) Image composition apparatus and image composition method
JP2005192128A (en) Device, integrated circuit, and method for synthesizing images
JP2009145600A (en) Display control device, method, and program
JP5629476B2 (en) Display control device, display control device control method, program, and recording medium
JP2007219248A (en) Image display circuit and image display processing method