WO2020213367A1 - ディスプレイコントローラおよび画像表示方法 - Google Patents

ディスプレイコントローラおよび画像表示方法 Download PDF

Info

Publication number
WO2020213367A1
WO2020213367A1 PCT/JP2020/013818 JP2020013818W WO2020213367A1 WO 2020213367 A1 WO2020213367 A1 WO 2020213367A1 JP 2020013818 W JP2020013818 W JP 2020013818W WO 2020213367 A1 WO2020213367 A1 WO 2020213367A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
data
display
space
conversion
Prior art date
Application number
PCT/JP2020/013818
Other languages
English (en)
French (fr)
Inventor
雅人 光武
Original Assignee
株式会社ソニー・インタラクティブエンタテインメント
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 株式会社ソニー・インタラクティブエンタテインメント filed Critical 株式会社ソニー・インタラクティブエンタテインメント
Priority to US17/602,877 priority Critical patent/US20220165236A1/en
Publication of WO2020213367A1 publication Critical patent/WO2020213367A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/37Details of the operation on graphic patterns
    • G09G5/377Details of the operation on graphic patterns for mixing or overlaying two or more graphic patterns
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/026Control of mixing and/or overlay of colours in general
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/391Resolution modifying circuits, e.g. variable screen formats
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/66Transforming electric information into light information
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • G09G2340/0428Gradation resolution change
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/18Use of a frame buffer in a display terminal, inclusive of the display panel
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication
    • G09G2370/20Details of the management of multiple sources of image data

Definitions

  • the present invention relates to a display controller for displaying an image on a display device and an image display method.
  • HDR High Dynamic Range
  • SDR Standard Dynamic Range
  • the processing required for image display becomes complicated.
  • the combined result may change due to changes in those conditions, and an image different from the original intention may be displayed.
  • the present invention has been made in view of these problems, and an object of the present invention is to provide a technique capable of appropriately controlling a composite result regardless of conditions when a plurality of images are composited and displayed.
  • This display controller has a plurality of compositing conversion circuits that convert data of a plurality of images read from a memory into data having common characteristics with respect to brightness, and a common characteristic output from the compositing conversion circuit. It is characterized by including a synthesis circuit that alpha-synthesizes the data of a plurality of images to be possessed, and an output conversion circuit that outputs the combined image data as a signal for a display.
  • the display controller converts the data of a plurality of images read from the memory into data having common characteristics with respect to brightness, and alpha-synthesizes the data of a plurality of images having the common characteristics. It is characterized by including a step of performing the process and a step of outputting the combined image data to the display as a signal for the display.
  • the combined result when a plurality of images are combined and displayed, the combined result can be appropriately controlled regardless of the conditions.
  • FIG. 1 It is a figure which shows the configuration example of the information processing system in this embodiment. It is a figure which shows typically an example of the image generated by the information processing apparatus in this embodiment. It is a figure which shows the internal circuit structure of the information processing apparatus in this embodiment. It is a figure for demonstrating the general flow of processing which concerns on a video signal. It is a figure which shows the example of the process which a display controller reads an image from two frame buffers, alpha-composites and outputs to a display. It is a figure which illustrates the conversion function at the time of quantizing the pixel value of image data in this embodiment. It is a figure which compares the composite image in linear space and the composite image in gamma space generated in this embodiment.
  • FIG. 1 shows a configuration example of an information processing system according to the present embodiment.
  • the information processing system includes an information processing device 10, an input device 14, and a display 16.
  • the information processing device 10 may be connectable to a server or the like that provides various contents via a network 8 such as the Internet.
  • the input device 14 detects general input devices such as a controller, keyboard, mouse, joystick, and touch pad that can be operated by the user, an imaging device that captures the real world such as the user, a microphone that acquires sound, and various physical values. It may be a sensor or a combination of any of them.
  • the display 16 is realized by a liquid crystal display, a plasma display, an organic EL display, or the like that displays an image. Further, a speaker that outputs sound may be provided.
  • the input device 14 and the display 16 may be connected to the information processing device 10 by a wired cable, or may be wirelessly connected by a wireless LAN (Local Area Network) or the like.
  • the external shapes of the input device 14, the display 16, and the information processing device 10 are not limited to those shown in the illustration, and for example, two or more of them may be integrally formed.
  • the information processing device 10 receives a signal related to a user operation from the input device 14, performs processing according to the signal, generates data of a display image, and outputs the data to the display 16.
  • the information processing device 10 may be any of a game machine, a personal computer, a tablet terminal, a mobile terminal, a mobile phone, and the like.
  • the content of the processing performed by the information processing device 10 may vary depending on the form of the information processing device 10 and the application selected by the user.
  • the information processing device 10 advances an electronic game specified by the user in response to a user operation, and generates and outputs data on the game screen at a predetermined frame rate.
  • the moving image data may be acquired from the server via the network 8 and sequentially decoded and output.
  • the information processing apparatus 10 may be used for various purposes, and the content of the information processing to be performed is also different accordingly. Therefore, detailed description thereof will be omitted.
  • the method of appropriately displaying an image of the content generated as a result of such information processing, an image showing information to be presented, and the like will be described.
  • FIG. 2 schematically shows an example of an image generated by the information processing apparatus 10 in the present embodiment.
  • the main image 200a is an image that is mainly displayed, such as a game or a moving image.
  • the additional image 200b is an image that is temporarily displayed as needed, and the illustrated example includes a dialog box that prompts the user to enter an address and password for login.
  • the information processing apparatus 10 superimposes the additional image 200b including the dialog box on the main image 200a originally displayed, and generates and outputs the display image 202.
  • the main image 200a transparent through the additional image 200b in as wide an area as possible, it is possible to suitably fuse necessary information such as games and moving images without interrupting the world view of the main image 200a. it can. Further, by changing the transparency of the additional image 200b with time, it is possible to produce an effect in which the dialog box gradually appears or disappears.
  • the color value C out of each pixel of the display image 202 can be determined by the alpha compositing calculation expressed by the following equation.
  • C out (1- ⁇ ) C 1 + ⁇ C 2 (Equation 1)
  • C 1 and C 2 are the color values of the corresponding pixels in the main image 200a and the additional image 200b, respectively
  • is the general ⁇ value set for the pixel in the additional image 200b, that is, 0 or more indicating the transparency. It is a value of 1.0 or less.
  • the color of the additional image 200b gradually becomes darker from the state where only the main image 200a is displayed, and finally the additional image 200b becomes opaque. It will be displayed. If the ⁇ value is set to an intermediate value larger than 0 and smaller than 1.0, the additional image 200b becomes translucent with a density corresponding to the value, and the main image 200a can be seen through.
  • the color values C 1 and C 2 are set for each of the three channels, but in the present embodiment, they are collectively the color values C 1 and C. Expressed as 2 . Further, since the color values C 1 , C 2 and ⁇ are set for each pixel, strictly speaking, they depend on the two-dimensional position coordinates (x, y) on the image plane, but Equation 1 shows the pixels at the same position. The position coordinates are not shown because it is premised on the calculation related to. The same applies to the following description.
  • FIG. 3 shows the internal circuit configuration of the information processing device 10.
  • the information processing device 10 includes a CPU (Central Processing Unit) 22, a GPU (Graphics Processing Unit) 24, and a main memory 26. Each of these parts is connected to each other via a bus 30.
  • the bus 30 further connects to a communication unit 32 consisting of a peripheral device interface such as USB or IEEE1394, a wired or wireless LAN network interface connected to a network 8 or the like, a storage unit 34 such as a hard disk drive or non-volatile memory, and a display 16.
  • a display controller 36 that outputs a video signal, an input unit 38 that inputs data from an input device 14, and a recording medium driving unit 40 that drives a removable recording medium such as a magnetic disk, an optical disk, or a semiconductor memory are connected.
  • the CPU 22 controls the entire information processing device 10 by executing the operating system stored in the storage unit 34.
  • the CPU 22 also executes various programs read from the removable recording medium, loaded into the main memory 26, or downloaded via the communication unit 32.
  • the communication unit 32 also establishes communication with an external device such as a server via the network 8, acquires data of electronic contents such as moving images, and transmits data generated inside the information processing device 10. May be good.
  • the main memory 26 is composed of a RAM (Random Access Memory) and includes frame buffers 70a and 70b for storing image data to be displayed.
  • the stored image data includes an ⁇ plane that represents the ⁇ value for alpha composition on the image plane.
  • the ⁇ value may be set for each pixel or region, or may be a fixed value for the entire image. Further, the setting may be changed with time.
  • the main memory 26 also stores programs and data required for processing.
  • the GPU 24 has a geometry engine function and a rendering processor function, performs drawing processing according to a drawing command from the CPU 22, and stores the data in the frame buffers 70a and 70b.
  • the display controller 36 acquires image data from the frame buffer 70a and the like, and outputs the image data as a video signal to the display 16 at an appropriate timing.
  • the display controller 36 further performs an image compositing process as described above, if necessary.
  • FIG. 4 is a diagram for explaining a general flow of processing related to a video signal.
  • the pixel value before quantization of the image drawn by the GPU 24 of the information processing apparatus 10 is used as the input value, and the color value to be expressed by the pixel value is used as the output value.
  • the two have a linear relationship.
  • OETF optical-electro transfer function
  • the display controller 36 reads the video signal from the frame buffer 70a and supplies it to the display 16.
  • the display 16 converts a video signal into a luminance value by an electric-optical transfer function (EOTF: Electro-Optical Transfer Function) as shown in (c).
  • EOTF Electro-Optical Transfer Function
  • the image is displayed in each luminance range by further correcting this luminance value according to the luminance characteristics of the display panel and sequentially outputting the luminance value at an appropriate timing.
  • FIG. 5 shows an example of a process in which the display controller 36 reads the first image and the second image from the two frame buffers 70a and 70b, alpha-synthesizes each pixel, and outputs the process to the display 16.
  • the first image and the second image correspond to the main image 200a and the additional image 200b of FIG. 2, respectively, and the brightness range of the second image is fixed by SDR.
  • the pixel value of each image is generally quantized to a value in the range of 0 to 1.0.
  • (A) is a case where a display having a corresponding luminance range of SDR is connected, and the first image is also generated by SDR.
  • the display controller 36 can acquire the color value of the composite image and output it to the display 16 by substituting the values of the corresponding pixels of both into the equation 1 as they are.
  • (B) is a case where a display having a corresponding luminance range of HDR is connected, and the first image is also generated by HDR.
  • the display controller 36 converts the brightness range of the second image into the value in HDR and substitutes it into Equation 1 to obtain the color of the composite image. Get the value.
  • the conversion of the luminance range from SDR to HDR can be realized by mapping the luminance range of SDR to a part of the luminance range of HDR.
  • the peak brightness (1.0) of SDR is associated with the brightness of about 260 nits, and the value of 0 to 1.0 of SDR is mapped to the range of 0 to 260 nits of HDR.
  • the corresponding brightness is not limited.
  • the signal represented by the HDR luminance range is shown by a thick line
  • the signal represented by the SDR luminance range is shown by a thin line.
  • the value read by the display controller 36 is quantized by the above-mentioned OETF, if the two images to be synthesized are converted by different OETFs, the synthesis result will be affected. This can happen regardless of whether the brightness range is SDR or HDR. Next, the principle will be described.
  • FIG. 6 illustrates a conversion function for quantizing the pixel value of image data.
  • C the space of color values quantized by such a function
  • the space of color values quantized by such a function is referred to as "gamma space”.
  • Equation 1 generally assumes a pixel value P, but the same result can be obtained by synthesizing the color values of the linear space converted by the linear equation shown in (a) by Equation 1. ..
  • the characteristic of the color value C changes depending on the range of the pixel value P. Such a non-linear transformation affects the synthesis using Equation 1.
  • FIG. 7 compares a composite image in linear space with a composite image in gamma space.
  • (A) is a composite result of two images represented in a linear space as shown in FIG. 6 (a)
  • (b) is a composite result of two images represented in a gamma space as shown in FIG. 6 (b). It is the result of synthesizing two images.
  • the ratio C / P of the color value C to the original pixel value P is 1.0 in the case of (a) regardless of the pixel value range, whereas (b).
  • the smaller the pixel value P the larger the value. Therefore, when combined by Equation 1, an image with a dark image has a substantially larger weight, and a bright image combined with the image has a relatively smaller weight.
  • the display controller 36 of the present embodiment converts the color values of the images to be combined stored in the frame buffers 70a and 70b into values in a common space and then combines them.
  • the common space of the color values converted for composition is referred to as "blend space”.
  • FIG. 8 shows a procedure of processing in which the display controller 36 of the present embodiment synthesizes and outputs two images.
  • the data of the first image 52a and the second image 52b are stored in the frame buffers 70a and 70b, respectively.
  • This data represents the color value C converted and quantized by some conversion formula as illustrated in FIG.
  • the display controller 36 converts these into data in the common blend space A (S10a, S10b).
  • the blend space "A” is, for example, the linear space shown in FIG. 6A or the gamma space shown in FIG. 6B.
  • the non-linear characteristics are once eliminated, that is, the pixel value (luminance).
  • the process of eliminating the characteristics is qualitatively equivalent to the conversion by EOTF shown in FIG. As a result, a color value proportional to the output brightness of the display panel can be obtained.
  • C (blend space) C (linear) (Equation 2)
  • C (blend space) (C (linear)) (1 / ⁇ ) (Equation 3)
  • the color value C (gamma space) in the gamma space and the color value C (linear space) in the linear space can be mutually converted by the following calculation.
  • C (gamma space) (C (linear space)) (1 / ⁇ ) (Equation 4)
  • C (linear space) (C (gamma space)) ⁇ (Equation 5)
  • the display controller 36 acquires information on the blend space specified by the application being executed from the CPU 22, and switches the conversion formula accordingly. Then, the display controller 36 synthesizes the two images converted into the common blend space A for each pixel by the equation 1 (S12). As a result, the synthesis result can be appropriately controlled.
  • the display controller 36 converts it into a space suitable for the display 16 (S14). That is, a color value proportional to the output brightness in the display panel is obtained from the blend space, and the data corresponding to the output of the conversion by OETF is obtained by performing the inverse conversion of EOTF shown in FIG.
  • the display controller 36 can display the image on the display 16 by the same processing regardless of whether it is a composite image or not.
  • the region 54a and 54b in which the first image and the second image are semi-transparently combined the region 54a of the image synthesized in the linear space is synthesized in the gamma space while the first image is well transparent.
  • the black color of the second image appears strongly, and the first image is not so visible.
  • the composition result can be suitably controlled by specifying the blend space.
  • FIG. 10 illustrates a procedure of processing in which the display controller 36 of the present embodiment synthesizes and outputs three images.
  • the first image 56a, the second image 56b, and the third image 56c are stored in each of the three frame buffers such as the frame buffer 70a.
  • the first image 56a and the second image 56b are images generated by the application
  • the third image 56c is an image provided by, for example, a system independently of the application.
  • the composition of the first image 56a and the second image 56b generated by the application is performed in the blend space designated by the application, as in the procedure of FIG.
  • the display controller 36 converts these into data in the common blend space A (S16a, S16b), and then synthesizes them pixel by pixel according to Equation 1 (S18). As a result, the composite image intended by the application creator is generated.
  • the third image 56c is converted into data in the original blend space B, and if it is different from the blend space A of the application image, it is further converted so that both blend spaces are common.
  • the display controller 36 converts the third image 56c into the blend space B (S20), and converts the image synthesized in S18 from the blend space A into the data in the blend space B (S22). Then, the composite image of the application and the third image 56c are composited (S24).
  • the conversion from the blend space A to the blend space B can also be calculated by any of the above equations 2 to 5.
  • the display controller 36 further converts the image synthesized in the blend space B into a space suitable for the display 16 (S26) and outputs the image.
  • FIG. 11 illustrates an image synthesized by the procedure of FIG. (A) and (b) show images in which a separately generated semi-transparent filled image is superimposed on the composite image of (a) and (b) shown in FIG. 9, respectively. Even if the translucent images are superimposed, the images that can be seen through underneath are not changed from the images of FIGS. 9A and 9B. That is, looking at the regions 57a and 57b in which the first image and the second image are semi-transparently combined, the first image is well transparent in the composition in the linear space shown in (a), whereas (b). ), The first image is not very transparent.
  • FIG. 12 shows the characteristics of the conversion formula used in the HDR image and the composite result of the image converted thereby.
  • HDR is generally quantized by a function called a PQ (Perceptual Quantization) curve.
  • PQ curve has a large increase rate of the color value in the low luminance region. Therefore, when the images subjected to such conversion are combined, as shown in (b), the second image becomes more dominant than the combined result shown in FIG. 7 (b), and the first image cannot be seen through (for example, region 58). ).
  • the characteristics of the data converted by the PQ curve are temporarily eliminated, converted to the blend space specified by the application, and then combined. Further, as described above, it is also necessary to convert the HDR image into the SDR brightness range and the SDR image into the HDR brightness range depending on the brightness range supported by the display.
  • A is the case where the SDR image is converted into the gamma space
  • (b) is the case where the SDR image is represented by the HDR brightness range and then converted into the gamma space
  • (c) is the case where the HDR image is converted into the gamma space.
  • the characteristics when converting are shown. For example, by mapping 0 to 260 bits of the brightness on the horizontal axis in (c) in association with 0 to 1.0 of SDR, the pixel value of the SDR image can be converted into a value in the HDR brightness range.
  • the horizontal axis of (b) represents the brightness converted in this way.
  • the behavior of the color value after conversion with respect to the color value before conversion is the same in all cases. This means that as long as the same gamma space is given as the blend space, whether or not the brightness range is converted does not affect the color value after conversion, and the weight of the image when substituted into Equation 1 changes. Means there is no. As a result, even if the brightness range is converted, the color value after composition can be appropriately controlled. Of course, even when the blend space is a linear space, the conversion of the brightness range does not affect the composition result. Therefore, as shown in FIG. 5, the composition processing in the blend space described above can be applied as it is, except that the brightness range of the original image is converted to the brightness range corresponding to the display.
  • FIG. 14 illustrates a procedure for processing the display controller 36 of the present embodiment to display a composite image on the HDR-compatible display 16.
  • the first image 60a, the second image 60b, and the third image 60c are stored in each of the three frame buffers such as the frame buffer 70a.
  • the first image 60a and the second image 60b are images generated by the application
  • the third image 60c is an image provided by, for example, a system independently of the application.
  • the brightness range of each image may be SDR or HDR.
  • the display controller 36 When the display controller 36 detects that the connected display 16 is HDR compatible, the display controller 36 converts the SDR image among these images stored in the frame buffer into an image in the HDR brightness range (S30a, 30b). , 30c). Of course, if it is an HDR image from the beginning, there is no need to convert it. Further, the display controller 36 converts the first image 60a and the second image 60b into data in the blend space specified by the application (S32a, S32b), and then synthesizes each pixel by the formula 1 (S34). In the illustrated example, the composite image is linear space data because the application specifies a linear space.
  • the display controller 36 further converts the third image 60c to be combined into the data of the blend space set in the system (S36). In the illustrated example, it is converted to gamma space data. In this case, since the space is different between the composite image generated in S34 and the third image 60c, the former space is converted from the linear space to the gamma space (S38), and both are combined (S40).
  • the display controller 36 further converts the image synthesized in the gamma space into a space suitable for the display (S42) and outputs the image.
  • C (PQ) corresponds to the color value obtained by converting the PQ curve
  • PQ_EOTF corresponds to the EOTF in FIG. 4, and is a function for obtaining the luminance value from the signal quantized by the PQ curve.
  • the display controller 36 determines whether the original image is HDR or SDR, in the case of SDR, whether the conversion formula applied to the original image is linear or gamma curve, and whether the blend space is linear space or gamma space. Select an appropriate formula from formulas 2 to 7 and perform spatial conversion.
  • FIG. 15 illustrates a procedure of processing in which the display controller 36 of the present embodiment displays a composite image on an SDR-compatible display.
  • the frame buffer 70a and the like store the first image 62a, the second image 62b, and the third image 62c, of which the first image 62a and the second image 62b are generated by the application and the third image.
  • 62c is an image provided by a system or the like. Each brightness range is not limited.
  • the display controller 36 When the display controller 36 detects that the connected display 16 supports SDR, the display controller 36 converts the HDR image among these images stored in the frame buffer into a value in the brightness range of SDR (S50a, 50b). , 50c). Then, the display controller 36 converts the first image 62a and the second image 62b into data in the space specified by the application, or in the linear space in the illustrated example (S52a, S52b), and synthesizes the data for each pixel by Equation 1 (S52a, S52b). S54).
  • the display controller 36 further converts the third image 62c to be synthesized into the blend space set in the system, or the gamma space in the illustrated example (S56).
  • the space is different between the composite image generated in S54 and the third image 62c, so the former space is converted from the linear space to the gamma space (S58). Both are synthesized (S60).
  • the display controller 36 further converts the image synthesized in the gamma space into a space suitable for the display (S62) and outputs the image.
  • the blend space shown in FIGS. 14 and 15 is merely an example, and may change in various ways depending on the application creator, system settings, and the like.
  • the conversion formulas used for quantization in the original images of SDR and HDR are not limited to linear, gamma curve, and PQ curve. Regardless of the conversion formula, if EOTF is used to obtain a color value proportional to the output brightness of the display, the subsequent conversion is the same. Furthermore, if conversion is performed to a common blend space before composition, the same effect can be obtained regardless of the number of images to be combined.
  • FIG. 16 schematically shows the circuit configuration of the display controller 36 of the present embodiment.
  • the main memory 26 is provided with four frame buffers 70a, 70b, 70c, and 70d.
  • the display controller 36 includes brightness range conversion circuits 72a, 72b, 72c, 72d for each of the frame buffers 70a, 70b, 70c, and 70d, and the synthesis circuits 78a, 78b that sequentially weight and add the output values. , 78c.
  • the number of luminance range conversion circuits and synthesis circuits is not limited.
  • the brightness range conversion circuits 72a, 72b, 72c, and 72d read image data pixel by pixel from the frame buffers 70a, 70b, 70c, and 70d, respectively, and the connected display 16 sets the corresponding brightness range as necessary. Convert to a value. Further, the luminance range conversion circuits 72a, 72b, 72c, 72d include synthesis conversion circuits 76a, 76b, 76c, 76d, and convert the color value corresponding to the luminance range of the display 16 into a value in a predetermined blend space. To do.
  • the composite circuit 78c calculates the color value of the composite image in the blend space by adding the color values of the corresponding pixels output from the luminance range conversion circuits 72d and 72c with weighting according to the ⁇ value.
  • the composite circuit 78b weights and adds the color values of the pixels output from the luminance range conversion circuit 72b and the color values of the pixels of the composite image output from the composite circuit 78c in the previous stage to add the color values of the composite image. calculate.
  • the composite circuit 78a weights and adds the color values of the pixels output from the luminance range conversion circuit 72a and the color values of the pixels of the composite image output from the composite circuit 78b in the previous stage to add the color values of the composite image. calculate.
  • the synthesis circuit 78a sequentially outputs the color values of the final composite image obtained in this way to the display 16.
  • the composite circuits 78b and 78c are provided with composite image conversion circuits 80a and 80b, respectively, and convert the space of the image synthesized by themselves according to the blend space of the image to be composited in the subsequent stage. If the combined image has the same blend space as the image to be combined in the subsequent stage, the processing of the combined image conversion circuits 80a and 80b is omitted.
  • the composite image conversion circuit 80b converts to the same blend space as the composite conversion circuit 76b in the luminance range conversion circuit 72b
  • the composite image conversion circuit 80a is the luminance range conversion circuit 72a. It is shaded to show conversion to the same blend space as the synthesis conversion circuit 76a in.
  • the synthesis circuit 78a includes an output conversion circuit 82, and converts the color values of the pixels of the final composite image into values in a space suitable for output to the display 16.
  • the compositing conversion circuits 76a, 76b, 76c, 76d, the compositing image conversion circuits 80a, 80b, and the output conversion circuit 82 look for each of the pixel color values of red, green, and blue, which are not shown. Refer to the uptable and perform spatial conversion using a general interpolation circuit. Further, the blend space of the conversion destination in those circuits and the necessity of conversion are controlled by the CPU 22.
  • FIG. 17 compares images when a composite image of a blended space as a linear space and a gamma space is displayed on SDR and HDR displays. Focusing on the central part where the first image and the second image are semi-transparently combined, as described above, the composition result in the gamma space is weighted in a darker region than the composition result in the linear space. In this example, the first image is Is less transparent. On the other hand, if they are combined in the same blend space, it can be seen that the same transparency is obtained regardless of whether the display is SDR or HDR. That is, by selecting the blend space, the degree of transmission can be suitably controlled regardless of the brightness range.
  • the conversion characteristics used for quantization are temporarily eliminated, and conversion is performed again with common characteristics for composition.
  • the application itself can specify the space for composition, and the space of the composited image is further converted to match the space of the image such as the system provided separately.
  • the degree of freedom in the degree of composition of the application image can be allowed without affecting the system image to be superimposed and displayed. Further, even if it is a non-linear conversion formula, it is converted into a space for synthesis after the brightness range is converted by utilizing the fact that the characteristics themselves do not change before and after the conversion of the luminance range between SDR / HDR. As a result, even if displays with different performances are connected, it is possible to stably display a composite image that is not affected by the display performance by easily switching. Since the composition corresponding to various conditions can be realized by the hardware of the display controller, it is not necessary for the application creator to consider various user environments.
  • the present invention can be used for various devices such as display controllers, display devices, content playback devices, game devices, and systems including them.

Abstract

ディスプレイコントローラは、フレームバッファから第1画像52a、第2画像52bのデータを読み出し、それらが有する輝度に対する特性に依存した変換式により、共通の特性を有するブレンド空間Aでのデータに変換する(S10a)。そして変換したデータをブレンド空間Aでアルファ合成し(S12)、ディスプレイに適した特性を有する空間にさらに変換して(S14)、ディスプレイに出力する。

Description

ディスプレイコントローラおよび画像表示方法
 本発明は、表示装置に画像を表示させるディスプレイコントローラおよび画像表示方法に関する。
 従来、テレビジョン放送や配信動画などの映像表示において画質を向上させるための様々な技術が開発されてきた。近年では解像度や色域を向上させる技術に加え、輝度のレンジを拡大したHDR(High Dynamic Range)の信号を処理する技術が普及しつつある。従来のSDR(Standard Dynamic Range)と比較し、HDRは輝度の許容範囲が100倍程になるため、太陽光の反射光など実世界で眩しいと感じるような対象を、画像上でもよりリアルに表現することができる。テレビジョン放送や配信動画のみならず、ゲーム画像などコンピュータグラフィクスの世界でも、HDRで表現することによって仮想世界により臨場感を与えられる(例えば特許文献1参照)。
特開2016-58848号公報
 元の画像データがどの輝度レンジで定義されているか、接続されているディスプレイがどの輝度レンジに対応しているか、など様々な条件の組み合わせが生じた結果、画像表示に必要な処理が複雑化している。特に複数の画像を合成して表示する場合、それらの条件の変化によって合成結果が変化し、本来の意図と異なる画像が表示されてしまうことがある。
 本発明はこうした課題に鑑みてなされたものであり、その目的は、複数の画像を合成して表示する際、条件によらず合成結果を適切に制御できる技術を提供することにある。
 本発明のある態様はディスプレイコントローラに関する。このディスプレイコントローラは、メモリから読み出した複数の画像のデータを、輝度に対し共通の特性を有するデータにそれぞれ変換する複数の合成用変換回路と、合成用変換回路から出力された、共通の特性を有する複数の画像のデータをアルファ合成する合成回路と、合成された画像のデータをディスプレイ用の信号として出力する出力用変換回路と、を備えたことを特徴とする。
 本発明の別の態様は画像表示方法に関する。この画像表示方法は、ディスプレイコントローラが、メモリから読み出した複数の画像のデータを、輝度に対し共通の特性を有するデータにそれぞれ変換するステップと、共通の特性を有する複数の画像のデータをアルファ合成するステップと、合成された画像のデータをディスプレイ用の信号としてディスプレイに出力するステップと、を含むことを特徴とする。
 なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、コンピュータプログラム、コンピュータプログラムを記録した記録媒体などの間で変換したものもまた、本発明の態様として有効である。
 本発明によると、複数の画像を合成して表示する際、条件によらず合成結果を適切に制御できる。
本実施の形態における情報処理システムの構成例を示す図である。 本実施の形態において情報処理装置が生成する画像の一例を模式的に示す図である。 本実施の形態における情報処理装置の内部回路構成を示す図である。 映像信号に係る一般的な処理の流れを説明するための図である。 ディスプレイコントローラが、2つのフレームバッファから画像を読み出し、アルファ合成してディスプレイに出力する処理の例を示す図である。 本実施の形態において画像データの画素値を量子化する際の変換関数を例示する図である。 本実施の形態において生成される、線形空間での合成画像とガンマ空間での合成画像を比較する図である。 本実施の形態においてディスプレイコントローラが、2つの画像を合成し出力する処理の手順を示す図である。 図8の手順により合成された画像を例示する図である。 本実施の形態においてディスプレイコントローラが、3つの画像を合成し出力する処理の手順を例示する図である。 図10の手順により合成された画像を例示する図である。 本実施の形態においてHDR画像で用いられる変換式の特性と、これにより変換された画像の合成結果を示す図である。 ガンマ空間の特性を様々な輝度レンジで比較する図である。 本実施の形態においてディスプレイコントローラが、HDR対応のディスプレイに合成画像を表示させる処理の手順を例示する図である。 本実施の形態においてディスプレイコントローラが、SDR対応のディスプレイに合成画像を表示させる処理の手順を例示する図である。 本実施の形態におけるディスプレイコントローラの回路構成を模式的に示す図である。 本実施の形態において、ブレンド空間を線形空間およびガンマ空間として合成した画像を、SDRおよびHDRのディスプレイで表示させたときの画像を比較する図である。
 図1は、本実施の形態における情報処理システムの構成例を示す。情報処理システムは、情報処理装置10、入力装置14、ディスプレイ16を含む。図示するように情報処理装置10はインターネットなどのネットワーク8を介して各種コンテンツを提供するサーバ等と接続可能としてもよい。入力装置14はコントローラ、キーボード、マウス、ジョイスティック、タッチパッドなどユーザ操作が可能な一般的な入力装置のほか、ユーザなど実世界を撮影する撮像装置、音声を取得するマイク、各種物理値を検出するセンサや、それらのうちいずれかの組み合わせでもよい。
 ディスプレイ16は、画像を表示する液晶ディスプレイ、プラズマディスプレイ、有機ELディスプレイなどで実現する。さらに音声を出力するスピーカを備えていてもよい。入力装置14およびディスプレイ16は、情報処理装置10と有線ケーブルで接続されてよく、また無線LAN(Local Area Network)などにより無線接続されてもよい。また入力装置14、ディスプレイ16、情報処理装置10の外観形状は図示するものに限らず、例えばそれらのうち2つ以上が一体的に形成されていてもよい。
 情報処理装置10は、ユーザ操作に係る信号を入力装置14から受信し、それに応じた処理を実施して表示画像のデータを生成し、ディスプレイ16に出力する。情報処理装置10はゲーム機、パーソナルコンピュータ、タブレット端末、携帯端末、携帯電話などのいずれであってもよい。そのような情報処理装置10の形態や、ユーザが選択したアプリケーションなどに応じて、情報処理装置10が行う処理の内容は様々であってよい。
 例えば情報処理装置10は、ユーザが指定した電子ゲームをユーザ操作に応じて進捗させ、そのゲーム画面のデータを所定のフレームレートで生成し出力する。あるいはネットワーク8を介して動画のデータをサーバから取得し、それを逐次復号して出力してもよい。このように情報処理装置10の使用目的は様々であってよく、それに応じて実施する情報処理の内容も異なるため、詳細な説明は省略する。以後、そのような情報処理の結果として生成されたコンテンツの画像や、提示すべき情報を表した画像などを好適に表示させる手法に主眼を置いて説明する。
 図2は、本実施の形態において情報処理装置10が生成する画像の一例を模式的に示している。この例においてメイン画像200aは例えばゲームや動画など、主として表示される画像である。付加画像200bは必要に応じて一時的に表示される画像であり、図示する例はユーザにログインのためのアドレスとパスワードを入力させるダイアログボックスを含む。このようなダイアログボックスを表示させる必要が生じると、情報処理装置10は、元から表示させていたメイン画像200aにダイアログボックスを含む付加画像200bを重畳させ、表示画像202を生成して出力する。
 このときなるべく広い領域で、付加画像200bを介してメイン画像200aが透けて見えるようにすることで、ゲームや動画などメイン画像200aの世界観が途切れることなく必要な情報を好適に融合させることができる。さらに付加画像200bの透明度を時間変化させれば、ダイアログボックスが徐々に出現したり消滅したりする演出もできる。
 複数の画像を重ねて表示させるケースは、図示する例以外にも様々に考えられることは当業者には理解されるところである。例えばレースゲームの場合、ドライバの視野を示すメイン画像に、コース全体を俯瞰した付加画像を追加で表示することが考えられる。映画を表示させる場合は、あらすじや出演者などの書誌情報を示す画像や、再生、一時停止、早送りなどの操作パネルを付加的に表示することが考えられる。
 このような表示画像202を生成する場合、次式で表されるアルファ合成の演算により、表示画像202の各画素のカラー値Coutを決定できる。
 Cout=(1-α)C+αC2    (式1)
ここでC、Cはそれぞれ、メイン画像200a、付加画像200bにおける対応する画素のカラー値、αは付加画像200bの当該画素に設定された一般的なα値、すなわち透過度を示す0以上1.0以下の値である。
 例えば画像全体においてα値を0から1.0まで変化させると、メイン画像200aのみが表示されている状態から徐々に付加画像200bの色が濃くなっていき、最終的に付加画像200bが不透明に表示されることになる。α値を0より大きく1.0より小さい中間値とすれば、付加画像200bがその数値に応じた濃さで半透明の状態となり、メイン画像200aが透けて見えることになる。
 なおメイン画像200a、付加画像200bがRGB画像であれば、カラー値C、Cは当該3チャンネルのそれぞれに設定されるが、本実施の形態ではそれらを総称してカラー値C、Cと表す。またカラー値C、Cおよびα値はそれぞれ、画素ごとに設定されるため、厳密には画像平面における2次元の位置座標(x,y)に依存するが、式1は同じ位置の画素に係る計算を前提としているため位置座標は示していない。以下の記載も同様である。
 図3は、情報処理装置10の内部回路構成を示している。情報処理装置10は、CPU(Central Processing Unit)22、GPU(Graphics Processing Unit)24、メインメモリ26を含む。これらの各部は、バス30を介して相互に接続されている。バス30にはさらに、USBやIEEE1394などの周辺機器インターフェースや、ネットワーク8などへ接続する有線または無線LANのネットワークインターフェースからなる通信部32、ハードディスクドライブや不揮発性メモリなどの記憶部34、ディスプレイ16へ映像信号を出力するディスプレイコントローラ36、入力装置14からデータを入力する入力部38、磁気ディスク、光ディスクまたは半導体メモリなどのリムーバブル記録媒体を駆動する記録媒体駆動部40が接続される。
 CPU22は、記憶部34に記憶されているオペレーティングシステムを実行することにより情報処理装置10の全体を制御する。CPU22はまた、リムーバブル記録媒体から読み出されてメインメモリ26にロードされた、あるいは通信部32を介してダウンロードされた各種プログラムを実行する。通信部32はまた、ネットワーク8を介してサーバなど外部の装置と通信を確立し、動画像など電子コンテンツのデータを取得したり、情報処理装置10内部で生成されたデータを送信したりしてもよい。
 メインメモリ26はRAM(Random Access Memory)により構成され、表示対象の画像データを格納するフレームバッファ70a、70bを含む。ただしフレームバッファの数は限定されない。格納する画像のデータには、アルファ合成のためのα値を画像平面に表したαプレーンが含まれる。α値は画素ごとや領域ごとに設定してもよいし、画像全体で固定値としてもよい。また当該設定を時間変化させてもよい。またメインメモリ26は、処理に必要なプログラムやデータも記憶する。
 GPU24は、ジオメトリエンジンの機能とレンダリングプロセッサの機能とを有し、CPU22からの描画命令に従って描画処理を行い、フレームバッファ70a、70bにそのデータを格納する。ディスプレイコントローラ36は、フレームバッファ70aなどから画像のデータを取得し、映像信号として適切なタイミングでディスプレイ16へ出力する。ディスプレイコントローラ36はさらに、必要に応じて上述したような画像の合成処理を実施する。
 図4は、映像信号に係る一般的な処理の流れを説明するための図である。(a)は、情報処理装置10のGPU24などにより描画された画像の量子化前の画素値を入力値、それによって表現されるべきカラー値を出力値としており、両者は当然、線形の関係を有する。そのような線形特性を有するデータは、情報処理装置10のフレームバッファ70aに格納される際、(b)に示すような光-電気伝達関数(OETF:Optical-Electro Transfer Function)により量子化される。輝度レンジがSDRで定義されている画像とHDRで定義されている画像で異なる関数を用いることにより、所定の色深度を有するSDRまたはHDRの映像信号が生成される。
 ディスプレイコントローラ36は当該映像信号をフレームバッファ70aから読み出し、ディスプレイ16に供給する。ディスプレイ16は、(c)に示すような電気-光伝達関数(EOTF:Electro-Optical Transfer Function)により映像信号を輝度値に変換する。EOTFを適切に選択することにより、同じ色深度の信号であっても、SDRの画像は0~100nit、HDRの画像は0~10000nitなど異なるレンジの輝度値が画素ごとに得られる。この輝度値を、ディスプレイパネルの輝度特性に応じてさらに補正したうえ、適切なタイミングで順次出力していくことにより、各輝度レンジで画像が表示される。
 図5は、ディスプレイコントローラ36が、2つのフレームバッファ70a、70bから第1画像と第2画像を読み出し、画素ごとにアルファ合成してディスプレイ16に出力する処理の例を示す。ここで第1画像、第2画像はそれぞれ、図2のメイン画像200a、付加画像200bに対応し、第2画像の輝度レンジがSDRで固定されている場合を想定する。また各画像の画素値は一般的に、0~1.0の範囲内の値に量子化されている。(a)は、対応輝度レンジがSDRのディスプレイが接続されている場合であり、第1画像もSDRで生成されている。この場合、ディスプレイコントローラ36は、両者の対応する画素の値を式1にそのまま代入することで、合成画像のカラー値を取得しディスプレイ16に出力することができる。
 (b)は対応輝度レンジがHDRのディスプレイが接続されている場合であり、第1画像もHDRで生成されている。一方、上述のとおり第2画像はSDRで生成されているため、ディスプレイコントローラ36は、第2画像の輝度レンジをHDRでの値に変換したうえで式1に代入することにより、合成画像のカラー値を取得する。SDRからHDRへの輝度レンジの変換は、SDRの輝度レンジをHDRの輝度レンジの一部にマッピングすることによって実現できる。例えばSDRのピーク輝度(1.0)を、260nits程度の明るさに対応づけ、SDRの0~1.0の値をHDRの0~260nitsの範囲にマッピングする。ただし対応づける明るさは限定されない。
 (b)に示す図では、HDRの輝度レンジで表された信号を太線、SDRの輝度レンジで表された信号を細線で示している。しかしながらディスプレイコントローラ36が読み出す値は、上述のOETFにより量子化されたものであるため、合成対象の2つの画像が異なるOETFで変換されていると、合成結果にその影響が生じる。このことは、輝度レンジがSDRかHDRかによらず起こり得る。次にその原理を説明する。
 図6は、画像データの画素値を量子化する際の変換関数を例示している。(a)は、元の画像が表す画素値Pに正比例するように量子化後のカラー値Cを決定する線形の変換関数であり、変換前後の値を正規化すればC=Pの関係を有する。以後、このような関数により量子化されたカラー値の空間を「線形空間」と呼ぶ。(b)はγ=2.2のガンマカーブであり、C=P(1/2.2)の関係を有する。以後、このような関数により量子化されたカラー値の空間を「ガンマ空間」と呼ぶ。
 式1は一般的には画素値Pを想定しているが、(a)に示す1次式により変換された線形空間のカラー値同士を式1により合成しても、同様の結果が得られる。一方、(b)に示す非線形な関数により変換された画像では、画素値Pの範囲に依存してカラー値Cの特性が変化する。このような非線形の変換が、式1を用いた合成に影響を与える。
 図7は、線形空間での合成画像とガンマ空間での合成画像を比較している。(a)は図6の(a)に示すような線形空間で表された2つの画像の合成結果であり、(b)は図6の(b)に示すようなガンマ空間で表された2つの画像の合成結果である。それぞれの画像の上に示すように、元の画素値Pに対するカラー値Cの割合C/Pは、(a)の場合は画素値の範囲によらず1.0であるのに対し、(b)の場合は画素値Pが小さいほど大きな値となる。そのため式1により合成した場合、暗い像がある画像の方が、実質的に大きな重みとなり、それに合成される明るい像は相対的に重みが小さくなる。
 例えばあるシーンを表す第1画像の散乱光の領域と、システムメニューなどの第2画像の暗い領域を半透明に合成している領域50a、50bを比較すると、(a)の場合は第1画像がよく透過しているのに対し、(b)の場合は殆ど透過していない。上述のとおり(a)は元の画素Pを合成した結果と同様となるが、(a)と(b)のどちらが好ましいかはアプリケーションによって異なる。例えば人は視覚刺激が弱いほど輝度変化に対する感度が高くなるため、非線形の変換とした方が視覚との親和性が高い場合がある。
 また、異なる変換式によって生成された画像を合成する場合はさらに、合成結果に様々な変化が生じ得る。そこで本実施の形態のディスプレイコントローラ36は、フレームバッファ70a、70bに格納された合成対象の画像のカラー値を、共通の空間での値に変換したうえで合成する。この際の共通の空間をアプリケーションが指定できるようにすることで、図7の(a)や(b)に示すような合成画像のいずれかを、意図的に表示させることができる。以後、合成のために変換されたカラー値が有する共通の空間を「ブレンド空間」と呼ぶ。
 図8は、本実施の形態のディスプレイコントローラ36が、2つの画像を合成し出力する処理の手順を示している。まずフレームバッファ70a、70bには、第1画像52aと第2画像52bのデータがそれぞれ格納されている。このデータは、図6に例示したような何らかの変換式により変換され量子化されたカラー値Cを表す。ディスプレイコントローラ36は、これらを共通のブレンド空間Aでのデータへ変換する(S10a、S10b)。
 ここでブレンド空間「A」とは、例えば図6の(a)で示した線形空間、あるいは(b)で示したガンマ空間である。フレームバッファ70a、70bに格納されている元の画像が、図4で示したOETFによって変換された非線形のデータである場合、一旦、その非線形な特性を解消したうえで、すなわち画素値(輝度)に対し線形な変化を有するカラー値に戻したうえで、共通のブレンド空間へ変換する。特性を解消する処理は定性的には、図4で示したEOTFによる変換と同等である。これにより、ディスプレイパネルにおける出力輝度に比例するカラー値が得られる。
 フレームバッファ70a、70bに格納されている元の画像が図4の(a)で示した線形のデータである場合は、図4で示したOETFによって非線形なデータに変換したあとに、EOTFによる変換を行ったうえで、共通のブレンド空間へと変換する。これは、一般的にEOTFはOETFの逆変換ではなく、図4の(a)はディスプレイパネルにおける出力輝度に比例するカラー値とは異なるからである。
 ブレンド空間「A」を線形空間とすると、ディスプレイパネルにおける出力輝度に比例するカラー値C(線形)は、次の計算により、ブレンド空間でのカラー値C(ブレンド空間)に変換できる。
 C(ブレンド空間)=C(線形)  (式2)
ブレンド空間「A」をガンマ空間とした場合は次の計算式となる。
 C(ブレンド空間)=(C(線形))(1/γ)  (式3)
 つまり、ガンマ空間のカラー値C(ガンマ空間)と線形空間のカラー値C(線形空間)は、次の計算により相互に変換できる。
 C(ガンマ空間)=(C(線形空間))(1/γ) (式4)
 C(線形空間)=(C(ガンマ空間))γ (式5)
 ディスプレイコントローラ36はCPU22から、実施しているアプリケーションが指定するブレンド空間の情報を取得し、それに応じて変換式を切り替える。そしてディスプレイコントローラ36は、共通のブレンド空間Aに変換された2つの画像を、式1により画素ごとに合成する(S12)。これにより、合成結果を適切に制御できる。
 さらにディスプレイコントローラ36は、それをディスプレイ16に適した空間に変換する(S14)。すなわちブレンド空間からディスプレイパネルにおける出力輝度に比例するカラー値を求め、それに対して図4で示したEOTFの逆変換を行うことにより、OETFによる変換の出力に相当するデータを求める。ディスプレイコントローラ36は、そのように変換したカラー値をディスプレイ16に供給することにより、ディスプレイ16では合成画像か否かに関わらず同様の処理で画像を表示させることができる。
 図9は、図8の手順により合成された画像を例示している。(a)はブレンド空間を線形空間とした場合、(b)はγ=2.2のガンマ空間とした場合の合成画像を示している。第1画像と第2画像が半透明に合成されている領域54a、54bを見ると、線形空間で合成した画像の領域54aは第1画像がよく透過しているのに対し、ガンマ空間で合成した画像の領域54bは第2画像の黒が強く表れ、第1画像があまり見えない。このように、フレームバッファ70a、70bにどのような空間のカラー値が入っていても、ブレンド空間を指定することで、合成結果を好適に制御できる。
 図10は、本実施の形態のディスプレイコントローラ36が、3つの画像を合成し出力する処理の手順を例示している。フレームバッファ70aなど3つのフレームバッファには、第1画像56a、第2画像56b、第3画像56cがそれぞれ格納されている。このうち第1画像56aおよび第2画像56bは、アプリケーションにより生成される画像であり、第3画像56cはアプリケーションとは独立に、例えばシステムなどにより提供される画像とする。この場合、アプリケーションが生成する第1画像56aと第2画像56bの合成は、図8の手順と同様に、アプリケーションから指定されたブレンド空間において実施する。
 すなわちディスプレイコントローラ36は、これらを共通のブレンド空間Aでのデータへ変換したうえ(S16a、S16b)、式1により画素ごとに合成する(S18)。これにより、アプリケーション作成者が意図した合成画像が生成される。一方、アプリケーションが指定するブレンド空間に自由度を持たせても、システムが提供する画像にはその変化による影響が出ないようにすることが望ましい。そこで図示するように、第3画像56cは独自のブレンド空間Bでのデータに変換したうえ、それがアプリケーション画像のブレンド空間Aと異なる場合は、両者のブレンド空間が共通するようにさらに変換する。
 すなわちディスプレイコントローラ36は、第3画像56cをブレンド空間Bに変換し(S20)、S18で合成した画像を、ブレンド空間Aからブレンド空間Bでのデータに変換する(S22)。そのうえで、アプリケーションの合成画像と第3画像56cを合成する(S24)。ブレンド空間Aからブレンド空間Bへの変換も上述の式2~5のいずれかにより計算できる。ディスプレイコントローラ36はさらに、ブレンド空間Bで合成された画像をディスプレイ16に適した空間に変換し(S26)出力する。
 図11は、図10の手順により合成された画像を例示している。(a)、(b)はそれぞれ、図9で示した(a)、(b)の合成画像に、別途生成した半透明の塗りつぶし画像を重畳させた画像を示している。半透明の画像を重畳させても、その下に透けて見える画像は、図9の(a)、(b)の画像から変化していない。すなわち第1画像と第2画像が半透明に合成されている領域57a、57bを見ると、(a)に示す線形空間での合成では第1画像がよく透過しているのに対し、(b)に示すガンマ空間では第1画像があまり透けていない。さらに、追加で重畳させた、全面が半透明の第3画像による画像全体の透け感は、(a)、(b)でほぼ差がない。このように、複数のブレンド空間を使い分けることで、アプリケーションでの表現に自由度を与えつつ、システム画像への影響がない合成画像を生成できる。
 SDRとHDRなど元の画像の輝度レンジの差を考慮すると、さらに変換式が多様化する。図12は、HDR画像で用いられる変換式の特性と、これにより変換された画像の合成結果を示している。(a)に示すようにHDRは一般に、PQ(Perceptual Quantization)カーブと呼ばれる関数により量子化される。PQカーブはガンマカーブと比較しても低輝度領域においてカラー値の増加割合が大きい。したがってこのような変換がなされた画像を合成すると(b)に示すように、図7の(b)で示した合成結果よりさらに第2画像が支配的となり第1画像が透けなくなる(例えば領域58)。
 したがって上述と同様、PQカーブによる変換がなされたデータに対し、その特性を一旦解消し、アプリケーションが指定するブレンド空間などに変換したうえ合成処理を施す。さらに上述のように、ディスプレイが対応する輝度レンジによって、HDRの画像をSDRの輝度レンジに変換したり、SDRの画像をHDRの輝度レンジに変換したりする必要もある。
 図13は、ガンマ空間の特性を様々な輝度レンジで比較している。なおγ=2.2としている。(a)はSDRの画像をガンマ空間に変換する場合、(b)はSDRの画像をHDRの輝度レンジで表したうえガンマ空間に変換する場合、(c)は、HDRの画像をガンマ空間に変換する場合の特性を示している。例えば(c)における横軸の輝度のうち0~260nitsをSDRの0~1.0に対応づけてマッピングすることにより、SDRの画像の画素値をHDRの輝度レンジでの値に変換できる。(b)の横軸はそのように変換された輝度を表す。
 図示するようにどのケースにおいても、変換前のカラー値に対する変換後のカラー値の挙動は同一である。このことは、同じガンマ空間をブレンド空間として与える限り、輝度レンジを変換したか否かは、変換後のカラー値に影響を与えず、ひいては式1に代入した際の画像の重みが変化することはないことを意味する。結果として輝度レンジを変換しても、合成後のカラー値を適切に制御できる。ブレンド空間を線形空間とした場合も当然、輝度レンジの変換は合成結果に影響を与えない。したがって図5に示したように、元の画像の輝度レンジを、ディスプレイが対応する輝度レンジに変換する以外は、これまで述べたブレンド空間における合成処理をそのまま適用できる。
 図14は、本実施の形態のディスプレイコントローラ36が、HDR対応のディスプレイ16に合成画像を表示させる処理の手順を例示している。この例でフレームバッファ70aなど3つのフレームバッファにはそれぞれ、第1画像60a、第2画像60b、第3画像60cが格納されている。このうち第1画像60aおよび第2画像60bは、アプリケーションにより生成される画像であり、第3画像60cはアプリケーションとは独立に、例えばシステムなどにより提供される画像とする。各画像の輝度レンジはSDRであってもHDRであってもよい。
 接続されたディスプレイ16がHDR対応であることを検知すると、ディスプレイコントローラ36は、フレームバッファに格納されたこれらの画像のうちSDRの画像を、HDRの輝度レンジでの画像に変換する(S30a、30b、30c)。元からHDRの画像であれば当然、変換の必要はない。さらにディスプレイコントローラ36は、第1画像60aと第2画像60bを、アプリケーションが指定したブレンド空間のデータに変換したうえ(S32a、S32b)、式1により画素ごとに合成する(S34)。図示する例では、アプリケーションが線形空間を指定しているため、合成画像は線形空間のデータである。
 一方、ディスプレイコントローラ36は、さらに合成する第3画像60cを、システムに設定されているブレンド空間のデータに変換する(S36)。図示する例ではガンマ空間のデータに変換されている。この場合、S34で生成された合成画像と第3画像60cで空間が異なるため、前者の空間を線形空間からガンマ空間に変換したうえで(S38)、両者を合成する(S40)。ディスプレイコントローラ36はさらに、ガンマ空間で合成された画像をディスプレイに適した空間に変換して(S42)出力する。
 元の画像がHDRである場合、PQカーブによる変換がなされているため、その特性を一旦解消してブレンド空間の特性を与えるには、ブレンド空間が線形空間の場合、次の式を用いる。
 C(ブレンド空間)=PQ_EOTF(C(PQ))   (式6)
 ブレンド空間がガンマ空間の場合は次の式を用いる。
 C(ブレンド空間)=PQ_EOTF(C(PQ))(1/γ) (式7)
 ここでC(PQ)はPQカーブの変換により得られたカラー値、PQ_EOTFは図4のEOTFに対応し、PQカーブで量子化された信号から輝度値を得るための関数である。ディスプレイコントローラ36は、元の画像がHDRであるかSDRであるか、SDRの場合は元の画像に適用された変換式が線形かガンマカーブか、および、ブレンド空間が線形空間かガンマ空間か、によって、式2~7から適切な式を選択して空間変換する。
 図15は、本実施の形態のディスプレイコントローラ36が、SDR対応のディスプレイに合成画像を表示させる処理の手順を例示している。図14と同様、フレームバッファ70aなどには第1画像62a、第2画像62b、第3画像62cが格納されており、そのうち第1画像62aと第2画像62bはアプリケーションにより生成され、第3画像62cはシステムなどにより提供される画像とする。それぞれの輝度レンジは限定されない。
 接続されたディスプレイ16がSDR対応であることを検知すると、ディスプレイコントローラ36は、フレームバッファに格納されたこれらの画像のうちHDRの画像を、SDRの輝度レンジでの値に変換する(S50a、50b、50c)。そしてディスプレイコントローラ36は、第1画像62aと第2画像62bを、アプリケーションが指定した空間、図示する例では線形空間のデータに変換したうえ(S52a、S52b)、式1により画素ごとに合成する(S54)。
 一方、ディスプレイコントローラ36は、さらに合成する第3画像62cを、システムに設定されているブレンド空間、図示する例ではガンマ空間に変換する(S56)。この例でもS54で生成された合成画像と第3画像62cで空間が異なるため、前者の空間を線形空間からガンマ空間に変換したうえで(S58)。両者を合成する(S60)。ディスプレイコントローラ36はさらに、ガンマ空間で合成された画像をディスプレイに適した空間に変換して(S62)出力する。
 図14と図15の手順を比較すると、必要に応じた輝度レンジの変換と、ブレンド空間への変換に用いる式以外、同様でよいことがわかる。接続されたディスプレイ16の性能に応じて、ディスプレイコントローラ36のドライバが変換先の輝度レンジを適切に設定することにより、図14の手順と図15の手順を容易に切り替えることができる。例えば電子ゲームの進捗中に、異なる輝度レンジに対応する別のディスプレイ16につなぎ替えられたとしても、合成結果そのものには影響を与えずに、表示される輝度のレンジを適応させることができる。
 なお図14、15で示したブレンド空間はあくまで例示であり、アプリケーション制作者やシステムの設定などに応じて様々に変化し得る。またSDRやHDRの元の画像で量子化に用いられる変換式は線形、ガンマカーブ、PQカーブに限らない。どのような変換式であっても、EOTFを用いディスプレイの出力輝度に対し比例関係にあるカラー値が得られれば、その後の変換は同様である。さらに、合成前に共通のブレンド空間に変換すれば、合成する画像の数によらず同様の効果が得られる。
 図16は、本実施の形態のディスプレイコントローラ36の回路構成を模式的に示している。図示する例ではメインメモリ26に4つのフレームバッファ70a、70b、70c、70dを設けている。これに対しディスプレイコントローラ36は、フレームバッファ70a、70b、70c、70dのそれぞれに対し輝度レンジ変換回路72a、72b、72c、72dを備えるとともに、その出力値を順次重みづけ加算する合成回路78a、78b、78cを備える。ただし輝度レンジ変換回路と合成回路の数は限定されない。
 輝度レンジ変換回路72a、72b、72c、72dはそれぞれ、フレームバッファ70a、70b、70c、70dから画像のデータを画素ごとに読み出し、必要に応じて、接続されたディスプレイ16が対応する輝度レンジでの値に変換する。また輝度レンジ変換回路72a、72b、72c、72dは、合成用変換回路76a、76b、76c、76dを備え、ディスプレイ16の輝度レンジに対応させたカラー値を、所定のブレンド空間での値に変換する。
 合成回路78cは、輝度レンジ変換回路72d、72cから出力された対応する画素のカラー値を、α値に応じた重みづけで加算することにより、ブレンド空間での合成画像のカラー値を算出する。合成回路78bは、輝度レンジ変換回路72bから出力された画素のカラー値と、前段の合成回路78cから出力された合成画像の画素のカラー値を重みづけ加算することにより、合成画像のカラー値を算出する。合成回路78aは、輝度レンジ変換回路72aから出力された画素のカラー値と、前段の合成回路78bから出力された合成画像の画素のカラー値を重みづけ加算することにより、合成画像のカラー値を算出する。
 合成回路78aは、そのようにして得られた最終的な合成画像のカラー値を、順次ディスプレイ16に出力する。ここで合成回路78b、78cはそれぞれ、合成画像用変換回路80a、80bを備え、自らが合成した画像の空間を、後段で合成する画像のブレンド空間に合わせて変換する。合成した画像が、後段で合成する画像と同じブレンド空間であれば、合成画像用変換回路80a、80bの処理を省略する。図示する例では、合成画像用変換回路80bが、輝度レンジ変換回路72bにおける合成用変換回路76bと同じブレンド空間に変換することを白抜きで、合成画像用変換回路80aが、輝度レンジ変換回路72aにおける合成用変換回路76aと同じブレンド空間に変換することを網掛けで示している。
 また合成回路78aは出力用変換回路82を備え、最終的な合成画像の画素のカラー値を、ディスプレイ16への出力に適した空間での値に変換する。合成用変換回路76a、76b、76c、76d、合成画像用変換回路80a、80b、および出力用変換回路82は、画素のカラー値である赤、緑、青の値のそれぞれに対し、図示しないルックアップテーブルを参照し、一般的な補間回路によって空間変換を行う。またそれらの回路における変換先のブレンド空間や変換の要否は、CPU22によって制御される。
 図17は、ブレンド空間を線形空間およびガンマ空間として合成した画像を、SDRおよびHDRのディスプレイで表示させたときの画像を比較している。第1画像と第2画像を半透明に合成した中央部分に着目すると、上述のとおり、ガンマ空間での合成結果は線形空間での合成結果より暗い領域に重みがつき、この例では第1画像の透過が少なくなる。一方、同じブレンド空間で合成すれば、表示がSDRかHDRかによらず、同様の透過具合となることがわかる。すなわちブレンド空間を選択することにより、輝度レンジによらず透過の具合を好適に制御できる。
 以上述べた本実施の形態によれば、ディスプレイコントローラにおいて複数の画像を合成する際、量子化に用いた変換特性を一旦、解消し、合成のための共通した特性で変換し直す。これにより、一般的なアルファ合成の計算において、設定されたα値以外の要因で合成対象の画素値のバランスが変化し、意図しない透過具合の合成画像が表示されるのを防ぐことができる。またアプリケーションの画像の合成についてはアプリケーション自体が合成用の空間を指定できるようにする一方、それにより合成された画像の空間をさらに変換し、別途提供されるシステムなどの画像の空間に合わせる。
 これにより、重畳表示するシステムの画像などには影響を与えずに、アプリケーションの画像について合成具合の自由度を許容できる。さらに非線形の変換式であっても、SDR/HDR間の輝度レンジの変換前後で特性自体には変化がないことを利用し、輝度レンジの変換後に合成用の空間に変換する。これにより、性能の異なるディスプレイが接続されても容易な切り替えで、ディスプレイ性能の影響をうけない合成画像を安定的に表示できる。各種条件に対応した合成を、ディスプレイコントローラのハードウェアで実現できることから、アプリケーション制作者が様々なユーザ環境を勘案する必要がなくなる。
 以上、本発明を実施の形態をもとに説明した。上記実施の形態は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。
 以上のように本発明は、ディスプレイコントローラ、表示装置、コンテンツ再生装置、ゲーム装置など各種装置と、それを含むシステムなどに利用可能である。
 8 ネットワーク、 10 情報処理装置、 14 入力装置、 16 ディスプレイ、 22 CPU、 24 GPU、 26 メインメモリ、 36 ディスプレイコントローラ、 38 入力部、 70a フレームバッファ、 72a 輝度レンジ変換回路、 76a 合成用変換回路、 78a 合成回路、 80a 合成画像用変換回路、 82 出力用変換回路。

Claims (8)

  1.  メモリから読み出した複数の画像のデータを、輝度に対し共通の特性を有するデータにそれぞれ変換する複数の合成用変換回路と、
     前記合成用変換回路から出力された、前記共通の特性を有する複数の画像のデータをアルファ合成する合成回路と、
     合成された画像のデータをディスプレイ用の信号として出力する出力用変換回路と、
     を備えたことを特徴とするディスプレイコントローラ。
  2.  前記合成回路は、別の前記合成回路から出力された合成画像のデータと、前記合成用変換回路から出力された画像のデータを合成し、
     前記別の合成回路は、合成した画像を、輝度に対する別の特性を有するデータに変換する合成画像用変換回路を備えることを特徴とする請求項1に記載のディスプレイコントローラ。
  3.  前記合成用変換回路は、読み出した画像のデータがアプリケーションにより生成されるデータであるとき、当該アプリケーションから指定された前記特性を有するデータに変換することを特徴とする請求項1または2に記載のディスプレイコントローラ。
  4.  前記複数の画像のデータを、接続されたディスプレイが対応する輝度レンジで表されたデータにそれぞれ変換する複数の輝度レンジ変換回路をさらに備え、
     前記合成用変換回路は、前記ディスプレイが対応する輝度レンジで表された画像のデータを、前記共通の特性を有するデータに変換することを特徴とする請求項1から3のいずれかに記載のディスプレイコントローラ。
  5.  前記合成用変換回路は、前記画像のデータに与えられていた、輝度に対する非線形な特性を解消したうえ、あらかじめ設定された特性の変換処理を施すことにより、前記複数の画像のデータを前記共通の特性を有するデータに変換することを特徴とする請求項1から4のいずれかに記載のディスプレイコントローラ。
  6.  前記合成用変換回路は、前記画像のデータが定義される輝度レンジに応じて、異なる変換式によりデータを変換することを特徴とする請求項1から5のいずれかに記載のディスプレイコントローラ。
  7.  前記合成用変換回路は、前記共通の特性として、輝度に対し線形な特性またはガンマ特性を有するデータに変換することを特徴とする請求項1から5のいずれかに記載のディスプレイコントローラ。
  8.  メモリから読み出した複数の画像のデータを、輝度に対し共通の特性を有するデータにそれぞれ変換するステップと、
     前記共通の特性を有する複数の画像のデータをアルファ合成するステップと、
     合成された画像のデータをディスプレイ用の信号としてディスプレイに出力するステップと、
     を含むことを特徴とするディスプレイコントローラによる画像表示方法。
PCT/JP2020/013818 2019-04-16 2020-03-26 ディスプレイコントローラおよび画像表示方法 WO2020213367A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/602,877 US20220165236A1 (en) 2019-04-16 2020-03-26 Display controller and image display method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019077972A JP2020177087A (ja) 2019-04-16 2019-04-16 ディスプレイコントローラおよび画像表示方法
JP2019-077972 2019-04-16

Publications (1)

Publication Number Publication Date
WO2020213367A1 true WO2020213367A1 (ja) 2020-10-22

Family

ID=72836849

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/013818 WO2020213367A1 (ja) 2019-04-16 2020-03-26 ディスプレイコントローラおよび画像表示方法

Country Status (3)

Country Link
US (1) US20220165236A1 (ja)
JP (1) JP2020177087A (ja)
WO (1) WO2020213367A1 (ja)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11143441A (ja) * 1997-11-14 1999-05-28 Toshiba Corp 画像表示制御装置および画像表示制御方法
JP2001239053A (ja) * 2000-02-29 2001-09-04 Square Co Ltd クロスフェード処理方法、ビデオゲーム装置、及びビデオゲーム用のプログラムを記録したコンピュータ読み取り可能な記録媒体
US20080198170A1 (en) * 2007-02-20 2008-08-21 Mtekvision Co., Ltd. System and method for dma controlled image processing
JP2015141333A (ja) * 2014-01-29 2015-08-03 キヤノン株式会社 画像処理装置、画像処理方法、表示装置、表示装置の制御方法、及び、プログラム
JP2017182064A (ja) * 2016-03-29 2017-10-05 パナソニックIpマネジメント株式会社 表示装置及びその制御方法
WO2018055945A1 (ja) * 2016-09-20 2018-03-29 ソニー株式会社 映像信号処理装置、映像信号処理方法および映像信号処理システム
WO2018088186A1 (ja) * 2016-11-08 2018-05-17 ソニー株式会社 情報処理装置、および情報処理方法、並びにプログラム

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10909949B2 (en) * 2015-06-12 2021-02-02 Avago Technologies International Sales Pte. Limited System and method to provide high-quality blending of video and graphics
US10643358B2 (en) * 2017-04-24 2020-05-05 Intel Corporation HDR enhancement with temporal multiplex

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11143441A (ja) * 1997-11-14 1999-05-28 Toshiba Corp 画像表示制御装置および画像表示制御方法
JP2001239053A (ja) * 2000-02-29 2001-09-04 Square Co Ltd クロスフェード処理方法、ビデオゲーム装置、及びビデオゲーム用のプログラムを記録したコンピュータ読み取り可能な記録媒体
US20080198170A1 (en) * 2007-02-20 2008-08-21 Mtekvision Co., Ltd. System and method for dma controlled image processing
JP2015141333A (ja) * 2014-01-29 2015-08-03 キヤノン株式会社 画像処理装置、画像処理方法、表示装置、表示装置の制御方法、及び、プログラム
JP2017182064A (ja) * 2016-03-29 2017-10-05 パナソニックIpマネジメント株式会社 表示装置及びその制御方法
WO2018055945A1 (ja) * 2016-09-20 2018-03-29 ソニー株式会社 映像信号処理装置、映像信号処理方法および映像信号処理システム
WO2018088186A1 (ja) * 2016-11-08 2018-05-17 ソニー株式会社 情報処理装置、および情報処理方法、並びにプログラム

Also Published As

Publication number Publication date
JP2020177087A (ja) 2020-10-29
US20220165236A1 (en) 2022-05-26

Similar Documents

Publication Publication Date Title
JP6855205B2 (ja) 情報処理装置および画像処理方法
US7903173B2 (en) Moving image display device and method for moving image display
US7952545B2 (en) Compensation for display device flicker
US20140066196A1 (en) Realtime color vision deficiency correction
US6842183B2 (en) Three-dimensional image processing unit and computer readable recording medium storing three-dimensional image processing program
WO2017217011A1 (ja) 画像処理装置および重畳画像生成方法
JP2019087844A (ja) 画像処理装置、表示装置、および画像処理方法
JP3448536B2 (ja) 三次元コンピュータ画像処理のプログラムを記録したコンピュータ読み取り可能な記録媒体、ぼかし描画処理方法およびビデオゲーム装置
WO2020213367A1 (ja) ディスプレイコントローラおよび画像表示方法
JP5083488B2 (ja) 最適化映像再生システム及び最適化映像配信システム及び映像最適化装置及び最適化映像再生方法
JP3238584B2 (ja) マルチウィンドウ装置
JP7083319B2 (ja) 画像生成装置および画像生成方法
US20050032574A1 (en) Image processing program and image processing apparatus
JP3834322B2 (ja) 画像表示装置及び画像表示方法
JP3623422B2 (ja) 画像表示プログラムを記録した記録媒体、画像表示方法及びゲーム装置
WO2020157979A1 (ja) ヘッドマウントディスプレイおよび画像表示方法
JP2006215146A (ja) 画像表示装置及び画像表示方法
JP4086002B2 (ja) プログラム、画像処理装置及び方法、並びに記録媒体
Wolf Spatial Resolution
JP2023118429A (ja) コンピュータプログラム、およびコンピュータ装置
KR20090029027A (ko) 영상 재생 기기의 색 조정 장치 및 방법
JP2009005910A (ja) プログラム、情報記憶媒体、ゲーム装置
JPH08275196A (ja) 画像データ処理装置
JP2005164979A (ja) 画像処理装置および方法、並びにプログラム
JP2006323513A (ja) プログラム、情報記憶媒体、及び画像生成システム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20792164

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20792164

Country of ref document: EP

Kind code of ref document: A1