Information processing device, information processing method, and information processing program

The information processing device optimizes background and text color contrast through alpha compositing and calculation, addressing visibility issues and ensuring readability and compliance with accessibility standards.

JP2026067269AActive Publication Date: 2026-04-20LAMBDA SYST
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
LAMBDA SYST
Filing Date
2024-10-08
Publication Date
2026-04-20

AI Technical Summary

Technical Problem

Existing information processing systems fail to adequately adjust the contrast between background and text colors for improved visibility, focusing primarily on character size rather than color contrast.

Method used

An information processing device that includes a storage unit for templates defining display modes, a selection unit, first and second synthesis units for alpha compositing to generate opaque background and text colors, a calculation unit to determine contrast ratio, and an output unit to adjust colors for optimal visibility, with optional suggestion and UI display for improvement.

Benefits of technology

Enables adjustment of background and text colors to enhance user visibility by calculating and optimizing contrast ratios, ensuring readability and compliance with accessibility standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026067269000001_ABST
    Figure 2026067269000001_ABST
Patent Text Reader

Abstract

This invention provides an information processing device, an information processing method, and an information processing program that enable adjustment of the contrast between the background color and text color to ensure user readability. [Solution] The information processing device includes: a first blending unit that generates an opaque background color which is a first color by alpha blending an opaque temporary video color selected from the video color and a transparent text background color which is the overlap of the text color and the background color; a second blending unit that generates an opaque text color which is a second color by alpha blending the opaque background color which is a first color generated by the first blending unit and a transparent text color selected from the text color; and a calculation unit that calculates the contrast ratio between the opaque background color which is a first color and the opaque text color which is a second color based on the opaque background color which is a first color generated by the first blending unit and the opaque text color which is a second color generated by the second blending unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an information processing apparatus, an information processing method, and an information processing program, and more particularly to an information processing apparatus, an information processing method, and an information processing program capable of providing an image having an excellent contrast ratio between a background color and a text color.

Background Art

[0002] Conventionally, there has been a technique for displaying a telop (subtitle) on a video or a background. For example, in the information processing apparatus disclosed in Patent Document 1, there are provided a storage unit for storing a template for determining a display mode of a telop, a selection unit for selecting the template stored in the storage unit, a material data acquisition unit for acquiring material data to be displayed on the telop, a production unit for producing telop data by applying the template selected by the selection unit to the material data acquired by the material data acquisition unit, and a provision unit for providing provision data including the telop data produced by the production unit.

[0003] However, in the information processing apparatus disclosed in Patent Document 1, attention has been paid to the size of characters displayed on the telop, but no attention has been paid to the contrast between the background color and the text color. Therefore, the emergence of a technique that enables adjustment to achieve a contrast between a background color and a text color that is easy for a user to view has been desired.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0005] Therefore, the present invention has been made in view of the above points, and provides an information processing device, an information processing method, and an information processing program that enable adjustment of the contrast between the background color and text color so that it is easy for the user to see. [Means for solving the problem]

[0006] In other words, the information processing device according to the first embodiment is characterized by comprising: a storage unit that stores a template that defines a display mode established between an image color, a background color, and a text color; a selection unit that selects a template stored in the storage unit; a first synthesis unit that generates an opaque background color which is a first color by alpha synthesis of an opaque temporary image color selected from the image color and a transparent text background color which is the overlapping of the text color and the background color; a second synthesis unit that generates an opaque text color which is a second color by alpha synthesis of the opaque background color which is a first color generated by the first synthesis unit and a transparent text color which is selected from the text color; a calculation unit that calculates the contrast ratio between the opaque background color which is a first color and the opaque text color which is a second color based on the opaque background color which is a first color generated by the first synthesis unit and the opaque text color which is a second color generated by the second synthesis unit; and an output unit that outputs provided data including an image having the contrast ratio calculated by the calculation unit.

[0007] In a second embodiment, the information processing apparatus of the first embodiment may be expressed in terms of relative brightness.

[0008] The information processing device of the third embodiment may further include a determination unit that determines whether or not the contrast ratio is equal to or greater than a predetermined value.

[0009] The information processing device of the fourth embodiment may further include a suggestion unit that suggests a color approximating a predetermined value when the contrast ratio is less than a predetermined value.

[0010] The information processing device in the fifth embodiment further comprises a UI providing unit that provides a user interface for displaying the contrast ratio and the result of determining whether the contrast ratio is above a predetermined value, The proposal unit may propose a color that approximates a predetermined value based on the contrast ratio determination result provided by the UI provision unit.

[0011] The information processing method according to the sixth aspect includes a storage step in which a computer stores a template that defines a display mode established between an image color, a background color, and a text color; a selection step in which a computer selects a template stored in the storage step; a first synthesis step in which an opaque temporary image color selected from the image color and a transparent text background color formed by overlapping the text color and the background color are alpha-composited to generate a background color; a second synthesis step in which an opaque background color, which is the first color generated in the first synthesis step, and a transparent text color selected from the text color are alpha-composited to generate an opaque text color, which is the second color; a calculation step in which the contrast ratio between the opaque background color, which is the first color, and the opaque text color, which is the second color, is calculated based on the opaque background color, which is the first color, generated in the first synthesis step and the opaque text color, which is the second color, generated in the second synthesis step; and an output step in which provided data including an image having the contrast ratio calculated in the calculation step is output.

[0012] The information processing program according to the seventh embodiment is characterized by realizing in a computer: a storage function for storing templates that define display modes established between video color, background color, and text color; a selection function for selecting a template stored by the storage function; a first synthesis function for generating a background color by alpha compositing an opaque temporary video color selected from the video color and a transparent text background color formed by overlapping the text color and background color; a second synthesis function for generating an opaque text color, which is a second color, by alpha compositing an opaque background color, which is a first color, generated by the first synthesis function, and a transparent text color, which is selected from the text color; a calculation function for calculating the contrast ratio between the opaque background color, which is a first color, and the opaque text color, which is a second color, based on the opaque background color, which is a first color, generated by the first synthesis function and the opaque text color, which is a second color, generated by the second synthesis function; and an output function for outputting provided data including video having the contrast ratio calculated by the calculation function. [Effects of the Invention]

[0013] The information processing device according to the present invention is characterized by comprising: a storage unit that stores a template that defines a display mode established between an image color, a background color, and a text color; a selection unit that selects a template stored in the storage unit; a first synthesis unit that generates an opaque background color which is a first color by alpha synthesis of an opaque temporary image color selected from the image color and a transparent text background color which is the overlap of the text color and the background color; a second synthesis unit that generates an opaque text color which is a second color by alpha synthesis of the opaque background color which is a first color generated by the first synthesis unit and a transparent text color which is selected from the text color; a calculation unit that calculates the contrast ratio between the opaque background color which is a first color and the opaque text color which is a second color based on the opaque background color which is a first color generated by the first synthesis unit and the opaque text color which is a second color generated by the second synthesis unit; and an output unit that outputs provided data including an image having the contrast ratio calculated by the calculation unit. This makes it possible to adjust the contrast between the background color and the text color so that it is easy for the user to see.

[0014] In addition, the information processing method and information processing program according to the present invention, similar to the information processing apparatus according to the present invention, can be adjusted so as to achieve a contrast between a background color and a text color that is easy for a user to view.

Brief Description of the Drawings

[0015] [Figure 1] It is a diagram showing an outline of a conventional telop drawing support system. [Figure 2] It is a diagram showing a screen of a conventional material creation / editing software. [Figure 3] It is a block diagram showing a functional configuration of an information processing apparatus according to an embodiment. [Figure 4] It is a diagram showing an accessibility window of an information processing apparatus according to an embodiment. [Figure 5] It is a diagram showing an accessibility setting screen of an information processing apparatus according to an embodiment. [Figure 6] It is a diagram showing a composition of telop characters, a background board, and a TV image during broadcasting by an information processing apparatus according to an embodiment. [Figure 7] It is a diagram showing a composition of telop characters, a background board, and a temporary image during telop drawing by an information processing apparatus according to an embodiment. [Figure 8] It is a diagram showing a mechanism for calculating a contrast ratio of an information processing apparatus according to an embodiment. [Figure 9] Among the color name displays of an information processing apparatus according to an embodiment, it is a diagram showing systematic color names. [Figure 10] Among the color name displays of an information processing apparatus according to an embodiment, it is a diagram showing Munsell system notations. [Figure 11] It is a diagram showing a color information tooltip of an information processing apparatus according to an embodiment. [Figure 12] It is a diagram showing a color vision simulation color display of an information processing apparatus according to an embodiment. [Figure 13] Among the color vision simulation color displays of an information processing apparatus according to an embodiment, it is a diagram showing a single color editing function. [Figure 14]This is an example of a flowchart of the information processing method according to the embodiment.

Mode for Carrying Out the Invention

[0016] Referring to FIGS. 1 and 2, an example of the configuration of a telop drawing system according to the prior art will be described. FIG. 1 is a diagram showing an outline of a prior art telop drawing support system, and FIG. 2 is a diagram showing a screen of prior art material creation / editing software.

[0017] As shown in FIG. 1, the telop drawing support system according to the prior art aims at information barrier-free support by "telops that convey, taking diversity into consideration", and consists of expert learning, smart drawing, and information barrier-free. Expert learning is to learn the drawing of experts, and includes expert recommendation and expert automatic drawing. Smart drawing is interactive drawing, and includes drawing by voice, drawing by text, and drawing by image / handwriting. Information barrier-free takes into consideration universal design, and is characterized by color scheme support considering color vision diversity and accessibility. Considering universal design refers to "design that is easy for anyone to use", and efforts in this regard are also being carried out in the field of telops. There are movements to change from conventional designs to universal designs (UD) with excellent visibility, and to adopt colors that are easy for anyone to understand considering color vision diversity.

[0018] As a concern of telop production staff, there is a desire to quantitatively confirm that the color scheme is visually easy to recognize in the telop drawing / editing editor. It would be convenient if it could be edited and confirmed on the scene editor. On the web, a confirmation tool already exists (Adobe Color (C) https: / / color.adobe.com / ja / create / color-contrast-analyzer).

[0019] Figure 2 shows a screenshot of a conventional material creation and editing software. This software allows for the quick and easy creation of high-quality text overlays. As can be seen from the screen, the upper left corner displays an image of the Himalayas, and the lower part is overlaid with a background panel consisting of green and black colors. On top of this background panel, the text overlay reads, "Himalayas," and "Includes many of the world's highest mountains, such as Mount Everest (8,848m), K2 (8,611m), and Kangchenjunga (8,586m)."

[0020] Figure 3 is a functional block diagram of the information processing device 1 of this embodiment. The information processing device 1 of this embodiment includes a storage unit 10, a selection unit 20, a first synthesis unit 30, a second synthesis unit 40, a calculation unit 50, a determination unit 60, an output unit 70, a proposal unit 80, and a UI provision unit 90. These are functional units that are realized by the CPU executing an information processing program deployed on RAM. The information processing device 1 is further appropriately equipped with storage units such as ROM, RAM, SSD, HDD, and various interfaces (not shown).

[0021] The memory unit 10 stores templates that define the display configurations that occur between the image color, background color, and text color. The image color, in Figure 2, refers to the colors of the Himalayan mountain range (blue of the sky, white of the mountains, green of the trees, etc.), and the background color, in Figure 2, refers to the green in the upper part of the bottom of the screen and the black in the lower part. The text color, in Figure 2, refers to the black text (white border) of "Himalayan Mountain Range" and the white text of "It includes many of the world's highest mountains, such as Everest (8,848m), K2 (8,611m), and Kangchenjunga (8,586m)." The memory unit 10 stores templates for these combinations of image color, background color, and text color.

[0022] The selection unit 20 selects a template stored in the storage unit 10. For example, as shown in Figure 2, it selects a combination consisting of blue, white, and green video colors, green and black background colors, and black and white text colors.

[0023] The first compositing unit 30 generates an opaque background color, which is the first color, by alpha compositing an opaque temporary video color selected from the video color and a transparent text background color, which is the overlapping of the text color and the background color.

[0024] Alpha compositing is the process of combining two images using a coefficient (alpha value), and is essential, especially in visual effects and computer game development. For example, it is used to combine a background and a character that are drawn separately. Compositing requires the preparation of a mask image, which defines the parts to be transparent, and then the transparency of the image to be transparent is performed based on this mask image. Sometimes, this information is stored in the pixels, and this information is called the alpha channel. Sometimes, no separate mask image is prepared, and any single color of the image to be transparent is used as the transparent color. Mask images can be monochrome images with up to 256 gradations, including images composed only of black and white. In this case, whether white or black is used as the transparent color varies depending on the image format and program. Gray areas become semi-transparent. Furthermore, the transparency changes depending on the brightness of the gray. By making the edges of the image semi-transparent, anti-aliasing can be performed to reduce the appearance of jagged edges. When compositing, sometimes any single color used in the image is used as the transparent color. In this case, not only is it unnecessary to have an image or program that can handle alpha channels, but there is also no need to prepare a mask image, so it is less troublesome. However, a drawback is that the areas where the transparent color is used become transparent, making it impossible to use that color. The only solutions are to replace it with a color that is very close to it or to make another color the transparent color. Famous examples of colors that are rarely used include "100% red, 0% green, 100% blue" and "0% red, 100% green, 0% blue". These colors (fluorescent colors) are not seen in nature, look bad, and the light is so intense that it tires the eyes, so they are rarely used. Therefore, they are ideal for use as transparent colors in this method. This method cannot represent transparency. Therefore, in anti-aliased images, the edges do not blend well with the background, resulting in noticeable jaggedness. One way to simulate transparency is to alternate between a transparent color and the desired semi-transparent color in the area you want to be semi-transparent. This method is used for transparency in GIFs. The resulting pixel values ​​for alpha blending at any point in the image are as follows:

[0025]

number

[0026] Furthermore, if the background is opaque, that is, if dstA=1, substituting this into the above equation yields the following:

[0027]

number

[0028] dst is the background and src is the foreground. A is a coefficient called the alpha value, which takes values ​​in the range [0,1] and represents how much transparency is allowed. When A is 1, it is completely opaque, and when it is 0, it is completely transparent. This A corresponds to the alpha channel or mask image. In addition, the RGB values ​​of the image may be stored by pre-multiplying the actual RGB values ​​by the alpha value. This is called premultiplied alpha. The formula for compositing using premultiplied alpha is expressed as follows.

[0029]

number

[0030] Using the pre-multiplied alpha method eliminates the need to multiply the alpha value during alpha blending and avoids problems caused by pixel interpolation of the alpha value. However, if RGB values ​​are stored in 8 bits, a drawback is that the precision of the RGB values ​​in the final calculation decreases if the alpha value is less than 1. The pre-multiplied alpha srcAsrcA is commonly applied when generating and saving transparent images using authoring software. In graphics libraries such as Direct3D and OpenGL, src corresponds to vertex color, material, and texture, while dst corresponds to the render target (back buffer or frame buffer). Furthermore, application software using these graphics libraries may use a blending formula with interpolated alpha instead of pre-multiplied alpha, as shown below.

[0031]

number

[0032] Interpolated alpha reflects srcA at runtime. However, problems can occur due to pixel interpolation of the alpha value. Also, for simplification and speed, dstA is not reflected in RGB values. Interpolated alpha is sometimes called straight alpha.

[0033] The second blending unit 40 performs alpha blending of the first color, an opaque background color, generated by the first blending unit 30, and a transparent text color selected from the text colors, to generate the second color, an opaque text color.

[0034] The calculation unit 50 calculates the contrast ratio between the opaque background color (first color) and the opaque text color (second color) based on the opaque background color (first color) generated by the first synthesis unit 30 and the opaque text color (second color) generated by the second synthesis unit 40.

[0035] The determination unit 60 determines whether the contrast ratio is equal to or greater than a predetermined value. The predetermined value is the acceptable contrast ratio between the text color and the background color. Acceptance means that the text color is visible to the user when placed on top of the background color.

[0036] The output unit 70 outputs provided data including video having the contrast ratio calculated by the calculation unit 50.

[0037] The suggestion unit 80 suggests a color that approximates the predetermined value when the contrast ratio is below a predetermined value. Below a predetermined value means that the contrast ratio is below an acceptable value.

[0038] The UI provider unit 90 provides a user interface that displays the contrast ratio and the result of determining whether the contrast ratio is above a predetermined value. The user interface is a display screen for a personal computer, smartphone, tablet, etc.

[0039] Figures 4 onwards describe the function of the contrast checker. Figure 4 shows the accessibility window. When this accessibility window is opened, the contrast ratio is displayed as 4.18:1. This contrast ratio is based on the WCAG (Web Content Accessibility Guidelines). It has the same specifications and standards as Adobe Color. The Web Content Accessibility Guidelines (WCAG) 2.1 cover a wide range of recommendations for making web content more accessible. Following these guidelines makes content accessible to people with various disabilities, including blindness or low vision, deafness or hearing impairment, motor limitations, speech difficulties, photosensitive seizures and combinations thereof, and some adaptations for learning disabilities and cognitive limitations. However, it does not address all user needs for people with these disabilities. These guidelines deal with the accessibility of web content on desktop, laptop, tablet, and mobile devices. Following these guidelines generally makes web content more user-friendly. The success criteria for WCAG 2.1 are described as technology-independent and verifiable. Guides for meeting success criteria in specific technologies are provided as a separate set of documents, along with general information for understanding those success criteria.

[0040] The WCAG contrast ratio is defined as being between 21.00 and 1.00:1. That is, the minimum is 1:1 and the maximum is 21:1. Within this range, the acceptable value can be set arbitrarily, but for example, 4.5:1 is acceptable. At this level, the text color does not get lost in the background color and is visible to the user. In Figure 4, the acceptable value is displayed as 5.50, so a contrast ratio of 4.18:1 does not meet the acceptable value. Therefore, the pass / fail icon to the right of 4.18:1 is a vehicle-stop (prohibition) mark indicating that it is below the acceptable value. If it is above the acceptable value, the mark becomes a check mark (OK mark).

[0041] The bottom of the screen displays the target. This indicates the position of the active unit, showing whether the front (text, etc.) or back (board, etc.) is currently active. In Figure 4, the front unit is active. You can switch between the two active units. Below the fail mark, there is a "Color Suggestion" button, which is useful when the design fails. Pressing this color suggestion button will suggest a color close to the passing value. You can then launch "Single Color Editing" with this suggested color. The unit body color is shown to the right of both the front and back units. This unit body color can be edited by launching single color editing.

[0042] Figure 5 shows the accessibility settings screen of the information processing device 1 of the embodiment. The left side shows the contrast pass value. The standard pass value is currently 4.50, but as mentioned above, the WCAG contrast ratio can be arbitrarily set between 21:00 and 1.00, so it can be changed. Below that are the pass values ​​for each font size range, and multiple font sizes from 8 to 1000 pixels can be specified to set a pass value for each font size. The right side is where the base color is selected, and pressing the "Select Base Color" button opens a color selection window, allowing the user to select a base color. The base color is a temporary image color for key compositing, and is the RGB value of Key 100%. The initial values ​​are R128, G128, B128. These values ​​can be increased or decreased through editing. The Key in a video signal is a signal used to make a specific part transparent in video compositing. This allows the background image and foreground image to be composited.

[0043] The mechanism for calculating the contrast ratio will be explained with reference to Figures 6 and 7. Figure 6 shows the composite of on-screen text, background, and television image during broadcast. The left side shows the broadcast television image. In this example, the image shows a news anchor reading the news in a studio. Below this image, as shown on the right, a background is placed, and on top of the background, on-screen text is placed. Figure 7 shows the composite of on-screen text, background, and placeholder image during on-screen text creation. In Figure 7, there is no TV image as in Figure 6, but a background is placed on top of the placeholder image, and on top of the background, on-screen text is placed.

[0044] Figure 8 shows the mechanism for calculating the contrast ratio considering the transparency of the text overlay. Here, the calculation flow for text color, background color, and temporary image color during text overlay production is shown. First, the first compositing unit 30 generates the first color, an opaque background color, by alpha compositing an opaque temporary image color selected from the image color and a transparent text background color formed by the overlapping of the text color and background color. Next, the second compositing unit 40 generates the second color, an opaque text color, by alpha compositing the first color, an opaque background color, generated by the first compositing unit 30 and a transparent text color selected from the text color. Next, the contrast ratio between the first color, an opaque background color, generated by the first compositing unit 30 and the second color, an opaque text color, generated by the second compositing unit 40 is calculated using the WCAG formula. The formula is as follows.

[0045]

number

[0046] L1 represents the relative brightness of the light color, and L2 represents the relative brightness of the dark color. From the above formula, the contrast ratio represents the ratio of the light color to the dark color. The contrast ratio falls within the range of 1 to 21 (expressed as 1:1 to 21:1 in WCAG).

[0047] Relative luminance is the relative brightness of any point in a color space, normalized so that the darkest black is 0 and the brightest white is 1. The method for calculating relative luminance (L) is defined as follows:

[0048]

number

[0049] At this time, R, G, and B are calculated for RsRGB, GsRGB, and BsRGB respectively, according to the following conditions. If the value is 0.04045 or less, the calculation is value / 12.92; if the value is greater than 0.04045, the calculation is ((value + 0.055) / 1.055)2.4 This can be expressed as follows:

[0050]

number

[0051] RsRGB, GsRGB, and BsRGB are values ​​obtained by normalizing the 8-bit RGB values ​​of each color to a range of 0 to 1, and are calculated as follows:

[0052]

number

[0053] Figures 9 and beyond explain the color information in the color palette. To support the creation of on-screen text using universal design (UD) for superior visibility, the color palette function of the material creation and editing software will be enhanced with the addition of a "color information" tooltip and a "color vision simulation color display" function.

[0054] Figure 9 shows systematic color names. The left side shows the color names of object colors, in accordance with JIS Z8102_2201. It shows the interrelationships of modifiers related to hue. The central circle shows white, gray, and black, the outer circumference shows modifiers such as "bluish" and "yellowish," the outer circumference shows color names such as red and yellowish-red, and the outer circumference shows Japanese names such as "red" and "reddish-yellow." The right side shows "Method of displaying colors - Display by three attributes," in accordance with JIS Z8721_1993. The colors become more transparent and achromatic as you move to the left, and the achromatic column is displayed as "White Wt," "Light Gray plGy," etc. Achromatic colors with a tint are displayed as "△-White △-Wt," "△-Light Gray △-plGy," etc. The colors become more saturated and chromatic as you move to the right, and are displayed as "Very Light ~ vp-~," "Light Grayish ~ lg-~," "Dull ~ dl-~," etc. The aforementioned "△-" refers to the tint of the color, such as "reddish," "bluish," or "yellowish."

[0055] Figure 10 shows the Munsell color system notation. The Munsell color system is a color system created by the American painter and art educator Albert Munsell (1858-1918), which represents colors using three easily understandable attributes: hue, lightness, and saturation. Its purpose is to systematically organize colors, scale the three attributes, and accurately represent them using numerical values ​​and symbols. It is one of the internationally recognized color systems, and in Japan, it is adopted as the standard JIS Z 8721 (Method of representing colors using three attributes). Here, the example "5R 5 / 14" is given. 5R represents H (Hue), 5 represents V (value), and 14 represents C (chroma).

[0056] Let's explain Hue. Munsell divided colors into five basic hues (R, Y, G, B, P) and added five intermediate hues (YR, GY, BG, PB, RP) to create a rough 10-hue range. Each hue was further divided into 10 subdivisions, resulting in a total of 100 finer hues. The divided hues are assigned numbers from left to right, so the second hue of "R" is written as "2R". The following is an extraction of only the odd-numbered hues in the range from 5RP to 5YR. The number indicates the hue: a smaller number means the color is closer to the hue to the left, and a larger number means the color is closer to the hue to the right. The center, the 5th hue (5Y for yellow), represents the typical color of that hue.

[0057] Next, let's discuss lightness (Value). The scale is set based on achromatic colors, and chromatic colors take on corresponding values. It is set on an 11-point scale, with ideal black being 0 and ideal white being 10. However, since ideal white and black cannot be physically represented, realistic numbers such as 1 for black and 9.5 for white are used. The maximum lightness of the representative color in each hue differs depending on the hue, with the highest value being "8" for yellow and the lowest value being "4" for red and violet blue.

[0058] Next, let's discuss chroma. Achromatic colors are assigned a value of 0. For chromatic colors, the more vivid the color, the higher the value, but the maximum value varies depending on the hue and lightness. The maximum value is approximately in the range of 8 to 14, with the highest value of "14" being yellow and the lowest value of "8" being blue-green. Because the maximum chroma and its lightness differ for each hue, the Munsell color solid has a bumpy and irregular shape. This shape resembles a tree that grows naturally, and because it has the potential to grow (change) with technological advancements, it is also called a "color tree."

[0059] The basic notation is "hue lightness / saturation," but since achromatic colors do not require hue and saturation notation, they are written as "N lightness," taking the initial letter of Neutral. In this case, it would be "N 4.5."

[0060] Additionally, supplementary information such as operational notes can be optionally set and displayed for the specified color.

[0061] Figure 11 shows the tooltip function of the information processing device 1 of the embodiment. Clicking on any of the "Solid Colors" in the "Color Palette" screen of the Scene Editor displays the tooltip screen. The first line displays the R, G, and B keys. Here it is "170, 104, 12 100%". The second line displays the color code key. Here it is "#AA680C 100%". The third and fourth lines display the systematic color name, such as "strong yellowish brown". The fifth line displays the Munsell (HV / C) value. Here it is "7.5YR 5 / 10". The sixth line displays user-specified information. Here it is "Operational notes, etc. (optional specification)".

[0062] Figure 12 shows the color vision simulation color display function. The top row shows the "Color Palette" screen of the Scene Editor. When you press the "CUD Display Toggle" button, the third from the left, "Color Vision Simulation Color" will be displayed below each color in the "Monochrome" tab. When you press the "Color Vision Simulation Color" section, the color vision simulation color will be displayed in the lower right corner of the "Color / Effects" screen, as shown below.

[0063] Figure 13 shows the monochrome editing function of the information processing device 1 of the embodiment. The upper left is the standard display. The two squares in the lower right are monochrome, but in the color vision simulation color display shown on the right, the two squares are divided into two colors. The upper square represents the current color, and the lower square represents the color being adjusted. When the CUD display switching button in the lower right is pressed, the color being adjusted is displayed in the lower square, as shown below.

[0064] Referring to Figure 14, the information processing program according to the embodiment will be described along with the information processing method. Figure 14 is an example of a flowchart of the information processing method of the embodiment. The information processing method is executed by the CPU of the information processing device 1 based on the information processing program. The information processing program includes a storage step S10, a selection step S20, a first synthesis step S30, a second synthesis step S40, a calculation step S50, a determination step S60, an output step S70, and a suggestion step S80, among others. The information processing program enables the CPU of the information processing device 1 to perform functions such as memory, selection, first synthesis, second synthesis, calculation, judgment, output, and proposal. These functions are executed in the order shown in the flowchart of Figure 14, but the order can be changed as appropriate. Since each function overlaps with the descriptions of the various functional units of the information processing device 1 mentioned above, detailed explanations are omitted.

[0065] The memory function stores templates that define the display configurations that occur between the image color, background color, and text color (Step S10: Memory step).

[0066] The selection function selects a template that was stored during the memory step (Step S20: Selection Step).

[0067] The first compositing function generates a background color by alpha compositing an opaque temporary video color selected from the video color with a transparent text background color formed by overlapping the text color and background color (Step S30: First compositing step).

[0068] The second compositing function performs alpha blending of the first color, an opaque background color, generated by the first compositing function, and a transparent text color selected from the text colors, to generate a second color, an opaque text color (Step S40: Second Compositing Step).

[0069] The calculation function calculates the contrast ratio between the opaque background color (first color) and the opaque text color (second color) based on the opaque background color (first color) generated by the first blending function and the opaque text color (second color) generated by the second blending function (Step S50: Calculation step).

[0070] The judgment function determines whether the contrast ratio is above a predetermined value (step S60: judgment step).

[0071] The output function outputs provided data including video having the contrast ratio calculated by the calculation function (Step S70: Output step).

[0072] The suggestion function suggests a color that approximates the contrast ratio to a predetermined value when the contrast ratio is below a predetermined value (Step S80: Suggestion Step).

[0073] According to each aspect of this disclosure described above, it becomes possible to adjust the contrast between the background color and text color so that it is easy for the user to see.

[0074] The information processing program of this embodiment can be implemented on the CPU using a computer language such as the Arduino® IDE.

[0075] [Regarding functions and circuitry] Next, the functions and circuitry of the information processing device 1 described above will be explained. Each functional part of the CPU of the information processing device 1 may be implemented as a function of a computer's arithmetic processing unit or the like. That is, the CPU may be implemented as a memory function, selection function, first synthesis function, second synthesis function, calculation function, judgment function, output function, and suggestion function, respectively, by a computer's arithmetic processing unit or the like. Information processing programs can enable computers to implement the functions described above. Information processing programs may be recorded on computer-readable, non-temporary storage media such as memory, solid-state drives, hard disk drives, or optical discs. The storage medium can be rephrased as, for example, a non-temporary, computer-readable medium for storing information processing programs. Furthermore, information processing programs may be transmitted online. Furthermore, the computer's arithmetic processing unit and the like described above may be composed of, for example, integrated circuits. That is, the CPU of the information processing device 1 may be implemented as a memory circuit, selection circuit, first synthesis circuit, second synthesis circuit, calculation circuit, decision circuit, output circuit, and proposal circuit that constitute the computer's arithmetic processing unit and the like.

[0076] Furthermore, the present invention is not limited to the information processing apparatus 1, information processing method, and information processing program according to the above-described embodiment, and can be implemented by various other modifications or applications without departing from the gist of the present invention as described in the claims. Also, although the word "information" is used in the above-described embodiment, the word "information" can be replaced with "data," and the word "data" can be replaced with "information."

[0077] [Aspects and Effects of This Embodiment] Next, an embodiment of this model and the effects of each embodiment will be described. Note that the embodiments described below are examples as of the time of filing, and this embodiment is not limited to the embodiments described below. In other words, this embodiment is not limited to the embodiments described below, and may be realized by appropriately combining the parts described above. Furthermore, lower-level embodiments may be referenced in any of the higher-level embodiments. Furthermore, the effects of this embodiment described below are merely examples, and the effects achieved by each embodiment are not limited to those described below. Also, each embodiment may achieve, for example, at least one of the effects described below.

[0078] (Aspect 1) An information processing device in one embodiment includes: a storage unit that stores templates defining display modes established between video color, background color, and text color; a selection unit that selects templates stored in the storage unit; a first synthesis unit that generates an opaque background color which is a first color by alpha synthesis of an opaque temporary video color selected from the video color and a transparent text background color formed by the overlapping of the text color and background color; a second synthesis unit that generates an opaque text color which is a second color by alpha synthesis of the opaque background color which is a first color generated by the first synthesis unit and a transparent text color selected from the text color; a calculation unit that calculates the contrast ratio between the opaque background color which is a first color and the opaque text color which is a second color based on the opaque background color which is a first color generated by the first synthesis unit and the opaque text color which is a second color generated by the second synthesis unit; and an output unit that outputs providing data including video having the contrast ratio calculated by the calculation unit. This allows the information processing device to adjust the contrast between the background color and text color to be easily visible to the user. The same applies to information processing methods and information processing programs.

[0079] (Aspect 2) In one embodiment of an information processing apparatus, the contrast ratio may be expressed in terms of relative brightness. This allows the information processing device to adjust the contrast between the background color and text color to be easily visible to the user.

[0080] (Aspect 3) An information processing device in one embodiment may further include a determination unit that determines whether or not the contrast ratio is equal to or greater than a predetermined value. This allows the information processing device to adjust the contrast between the background color and text color to be easily visible to the user.

[0081] (Aspect 4) An information processing device in one embodiment may further include a suggestion unit that proposes a color approximating a predetermined value when the contrast ratio is less than a predetermined value. This allows the information processing device to adjust the contrast between the background color and text color to be easily visible to the user.

[0082] (Appendix 5) One embodiment of the information processing device further includes a UI providing unit that provides a user interface for displaying the contrast ratio and the result of determining whether the contrast ratio is equal to or greater than a predetermined value. The proposal unit may propose a color that approximates a predetermined value based on the aforementioned determination result of the contrast ratio provided by the UI provision unit. This allows the information processing device to adjust the contrast between the background color and text color to be easily visible to the user. [Explanation of symbols]

[0083] 1 Image Processing Device 10 Storage section 20 Selection Section 30 1st synthesis section 40 2nd synthesis section 50 Calculation Section 60 Judgment section 70 Output section 80 Proposal Department 90 UI provision department

Claims

1. A storage unit that stores a template that defines the display mode established between the video color, background color, and text color, A selection unit for selecting a template stored in the storage unit, A first blending unit generates an opaque background color, which is a first color, by alpha blending an opaque temporary video color selected from the aforementioned video color and a transparent text background color formed by the overlapping of the text color and the background color. A second blending unit performs alpha blending of the first opaque background color, which is the first color, generated by the first blending unit, and a transparent text color selected from the text colors, to generate a second opaque text color, A calculation unit calculates the contrast ratio between the opaque background color (first color) and the opaque text color (second color) based on the opaque background color (first color) generated by the first synthesis unit and the opaque text color (second color) generated by the second synthesis unit. An output unit that outputs provided data including video having the contrast ratio calculated in the calculation unit, An information processing device equipped with the following features.

2. The information processing apparatus according to claim 1, wherein the contrast ratio is expressed in terms of relative brightness.

3. The information processing apparatus according to claim 1, further comprising a determination unit for determining whether the contrast ratio is equal to or greater than a predetermined value.

4. The information processing apparatus according to claim 3, further comprising a suggestion unit that suggests a color approximating the predetermined value when the contrast ratio is less than a predetermined value.

5. The system further includes a UI providing unit that provides a user interface for displaying the contrast ratio and the result of determining whether the contrast ratio is above a predetermined value. The information processing apparatus according to claim 4, wherein the suggestion unit proposes a color that approximates the predetermined value based on the determination result of the contrast ratio provided by the UI provision unit.

6. Computers A storage step that stores a template that defines the display configuration between the video color, background color, and text color, A selection step in which a template stored in the storage step is selected, A first compositing step involves alpha compositing an opaque temporary image color selected from the aforementioned image color and a transparent text background color formed by the overlapping of the text color and the background color to generate a background color. A second synthesis step involves alpha blending the opaque background color, which is the first color generated in the first synthesis step, with a transparent text color selected from the text colors to generate an opaque text color, A calculation step for calculating the contrast ratio between the opaque background color (first color) and the opaque text color (second color) based on the opaque background color (first color) generated in the first synthesis step and the opaque text color (second color) generated in the second synthesis step, An output step which outputs provided data including video having the contrast ratio calculated in the calculation step, An information processing method that performs [this action].

7. On the computer, A memory function that stores templates that define the display configuration between the video color, background color, and text color, A selection function for selecting a template stored by the aforementioned memory function, A first compositing function generates a background color by alpha compositing an opaque temporary image color selected from the aforementioned image color and a transparent text background color formed by the overlapping of the text color and the background color. A second blending function generates a second opaque text color by alpha blending the first opaque background color, which is the first color, generated by the first blending function, and a transparent text color selected from the text color. A calculation function that calculates the contrast ratio between the opaque background color (first color) and the opaque text color (second color) based on the opaque background color (first color) generated by the first synthesis function and the opaque text color (second color) generated by the second synthesis function, An output function that outputs provided data including video having the contrast ratio calculated by the calculation function, An information processing program that makes this possible.

Citation Information

Patent Citations

  • Information processing device, information processing method and information processing program

    JP2020137075A