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

The device adjusts contrast between background and text colors through template storage and synthesis, enhancing readability and compliance with accessibility standards.

JP7763000B1Active Publication Date: 2025-10-31LAMBDA SYST
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2024176700
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-10-31
Estimated Expiration
2044-10-08

AI Technical Summary

Technical Problem

Existing information processing devices do not adequately address the contrast between background and text colors, making it difficult for users to read captions.

Method used

The device includes a memory unit to store templates defining display modes, a selection unit to choose a template, and synthesis units to alpha-composite background and text colors, calculating and adjusting the contrast ratio to ensure readability.

Benefits of technology

Enables users to easily adjust the contrast between background and text colors, improving readability and adherence to accessibility standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007763000000001_ABST
    Figure 0007763000000001_ABST
Patent Text Reader

Abstract

To provide an information processing device, an information processing method, and an information processing program that enable a user to adjust the contrast between a background color and a text color so that the contrast is easy to see. [Solution] An information processing device or the like includes a first compositing unit that generates an opaque background color, which is a first color, by alpha blending an opaque virtual image color selected from image colors and a transparent text background color in which text color and background color are overlapped; a second compositing unit that generates an opaque text color, which is a second color, by alpha blending the opaque background color, which is the first color generated by the first compositing unit, and a transparent text color selected from text colors; and a calculation unit that calculates the contrast ratio between the opaque background color, which is the first color, and the opaque text color, which is the second color, based on the opaque background color, which is the first color generated by the first compositing unit, and the opaque text color, which is the second color generated by the second compositing unit.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an information processing device, an information processing method, and an information processing program, and more particularly to an information processing device, an information processing method, and an information processing program that can provide an image with an excellent contrast ratio between a background color and a text color. [Background technology]

[0002] Conventionally, there are technologies for displaying captions (subtitles) against a video or background. For example, Patent Document 1 discloses an information processing device that includes a storage unit that stores templates that determine the display mode of the caption, a selection unit that selects the templates stored in the storage unit, a material data acquisition unit that acquires material data to be displayed in the caption, a production unit that creates caption 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 that provides provision data including the caption data created by the production unit.

[0003] However, the information processing device disclosed in Patent Document 1 focuses on the size of characters displayed in the caption, but does not pay attention to the contrast between the background color and the text color. For this reason, there has been a demand for technology that allows users to adjust the contrast between the background color and the text color to make it easier for them to see. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Publication No. 2020-137075 Summary of the Invention [Problem to be solved by the invention]

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

[0006] That is, the information processing device according to the first aspect is characterized by comprising: a memory unit that stores templates that define 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 memory unit; a first synthesis unit that generates an opaque background color that is a first color by alpha-compositing an opaque temporary image color selected from the image colors and a transparent text background color in which the text color and the background color are overlapped; a second synthesis unit that generates an opaque text color that is a second color by alpha-compositing the opaque background color that is the first color generated by the first synthesis unit and a transparent text color selected from the text colors; a calculation unit that calculates the contrast ratio between the opaque background color that is the first color and the opaque text color that is the second color based on the opaque background color that is the first color generated by the first synthesis unit and the opaque text color that is the 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 aspect, in the information processing device of the first aspect, the contrast ratio may be expressed by relative luminance.

[0008] The information processing device of the third aspect 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 aspect may further include a suggestion unit that, when the contrast ratio is less than a predetermined value, suggests a color that is close to the predetermined value.

[0010] The information processing device of the fifth aspect further includes a UI providing unit that provides a user interface that displays the contrast ratio and a determination result of whether the contrast ratio is equal to or greater than a predetermined value; The suggestion unit may suggest a color that is close to a predetermined value based on the result of the contrast ratio determination provided by the UI provision unit.

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

[0012] An information processing program according to a seventh aspect is characterized in that it causes a computer to realize the following: a memory 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 memory function; a first compositing 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 in which the text color and background color are overlapped; a second compositing function for generating an opaque text color that is a second color by alpha-compositing the opaque background color that is a first color generated by the first compositing function and a transparent text color selected from the text colors; a calculation function for calculating the contrast ratio between the opaque background color that is a first color and the opaque text color that is a second color based on the opaque background color that is a first color generated by the first compositing function and the opaque text color that is a second color generated by the second compositing function; and an output function for outputting provided data including a video having the contrast ratio calculated by the calculation function. [Effects of the Invention]

[0013] The information processing device of the present invention is characterized by comprising: a memory unit that stores templates that define display modes established between a video color, a background color, and a text color; a selection unit that selects a template stored in the memory unit; a first compositing unit that generates an opaque background color that is a first color by alpha blending an opaque temporary video color selected from the video colors with a transparent text background color in which the text color and the background color are overlapped; a second compositing unit that generates an opaque text color that is a second color by alpha blending the opaque background color that is the first color generated by the first compositing unit with a transparent text color selected from the text colors; a calculation unit that calculates a contrast ratio between the opaque background color that is the first color and the opaque text color that is the second color based on the opaque background color that is the first color generated by the first compositing unit and the opaque text color that is the second color generated by the second compositing unit; and an output unit that outputs provided data including video having the contrast ratio calculated by the calculation unit, thereby enabling adjustment to achieve a contrast between the background color and the text color that is easy for users to see.

[0014] Furthermore, the information processing method and information processing program according to the present invention, like the information processing device according to the present invention, enable the user to adjust the contrast between the background color and the text color to make it easy to see. [Brief explanation of the drawings]

[0015] [Figure 1] FIG. 1 is a diagram showing an outline of a conventional subtitle creation support system. [Figure 2] FIG. 1 is a diagram showing a screen of prior art material creation and editing software. [Figure 3] FIG. 1 is a block diagram illustrating a functional configuration of an information processing apparatus according to an embodiment. [Figure 4] FIG. 2 illustrates an accessibility window of the information processing apparatus according to the embodiment. [Figure 5] FIG. 10 illustrates an accessibility setting screen of the information processing apparatus according to the embodiment. [Figure 6] 10A and 10B are diagrams illustrating how a telop character, a background board, and a TV image are combined during broadcasting by the information processing apparatus of the embodiment. [Figure 7] 10A and 10B are diagrams illustrating a combination of a telop character, a background board, and a provisional image when the information processing apparatus of the embodiment creates a telop. [Figure 8] FIG. 10 is a diagram illustrating a mechanism for calculating a contrast ratio in the information processing apparatus according to the embodiment. [Figure 9] 10A and 10B are diagrams illustrating color family names among the color name display of the information processing apparatus according to the embodiment. [Figure 10] 10A and 10B are diagrams illustrating Munsell system notation in the color name display of the information processing apparatus according to the embodiment. [Figure 11] 10A and 10B are diagrams illustrating color information tooltips of the information processing apparatus according to the embodiment. [Figure 12] FIG. 2 is a diagram illustrating a color vision simulation color display of the information processing apparatus according to the embodiment. [Figure 13] FIG. 10 is a diagram illustrating a single color editing function of the color vision simulation color display of the information processing apparatus according to the embodiment. [Figure 14]1 is a flowchart illustrating an example of an information processing method according to an embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0016] An example of the configuration of a conventional telop creation system will be described with reference to Figures 1 and 2. Figure 1 is a diagram showing an outline of a conventional telop creation support system, and Figure 2 is a diagram showing a screen of conventional material creation and editing software.

[0017] As shown in Figure 1, the conventional subtitle creation support system aims to support information barrier-free access by creating "easily understandable subtitles that take diversity into consideration," and consists of expert learning, smart creation, and information barrier-free access. Expert learning involves learning from expert creation and includes expert recommendations and expert automatic creation. Smart creation is interactive creation, including voice-driven creation, text-driven creation, and image / handwritten creation. Information barrier-free access takes universal design into consideration and is characterized by color support and accessibility that takes color vision diversity into consideration. Consideration for universal design refers to "design that is easy for everyone to use," and efforts to achieve this are also being made in the field of subtitles. There are movements to change from conventional designs to universal design (UD) with excellent visibility, and to adopt colors that are easy for everyone to understand and take color vision diversity into consideration.

[0018] One concern faced by subtitle production staff is the desire to quantitatively check that color schemes are visually easy to recognize in subtitle drawing and editing editors. It would be convenient to be able to edit and check this in the scene editor. A verification tool already exists on the web (Adobe Color (C) https: / / color.adobe.com / ja / create / color-contrast-analyzer).

[0019] Figure 2 shows a screen shot of conventional material creation and editing software. This material creation and editing software allows for the quick and easy creation of high-quality captions. As can be seen from the screen, an image of the Himalayas is displayed in the upper left, and a green and black background board is overlaid on the image of the Himalayas at the bottom. On top of this background board is a caption that reads, "The Himalayas are home to many of the world's highest mountains, including Mount Everest (8,848m), K2 (8,611m), and Kangchenjunga (8,586m)."

[0020] 3 is a functional block diagram of an information processing device 1 according to an embodiment. The information processing device 1 according to this embodiment includes a storage unit 10, a selection unit 20, a first composition unit 30, a second composition 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 a CPU executing an information processing program deployed on RAM. The information processing device 1 is further equipped with storage units such as ROM, RAM, SSD, and HDD, various interfaces, and the like (not shown).

[0021] The storage unit 10 stores templates that define display modes established between image colors, background colors, and text colors. Image colors are the colors of the image of the Himalayas in FIG. 2 (blue sky, white mountains, green trees, etc.), and background colors are the green in the upper part of the bottom of the screen and the black in the lower part of the screen in FIG. 2. Text colors are the black letters (with white borders) of "Himalayas" in FIG. 2 and the white letters that read "This region is home to many of the world's highest mountains, including Mount Everest (8,848 m), K2 (8,611 m), and Kangchenjunga (8,586 m)." The storage unit 10 stores templates for these combinations of image colors, background colors, and text colors.

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

[0023] The first blending unit 30 generates an opaque background color, which is a first color, by alpha blending an opaque provisional image color selected from image colors with a transparent text background color in which the text color and background color are overlapped.

[0024] Alpha compositing is the blending of two images using a coefficient (alpha value). It is particularly essential in video expression and computer game development. For example, it is used to blend a character and a background drawn separately. A mask image, which defines the areas to be transparent, is used to blend the desired image. This information can also be stored in the pixels, known as an alpha channel. Instead of preparing a separate mask image, a single color in the desired image can be used as the transparent color. Mask images can be black and white or monochrome images with up to 256 levels of gradation. Whether white or black is used as the transparent color varies depending on the image format and program. Gray areas are semi-transparent. Furthermore, the transparency level varies depending on the brightness of the gray. Making the edges of an image semi-transparent allows for anti-aliasing to reduce the visibility of jagged edges. When blending, a single color used in the image can be used as the transparent color. This not only eliminates the need for images or programs that can handle alpha channels, but also simplifies the process by eliminating the need for a mask image. However, this has the drawback that the area where the transparent color is used becomes transparent, making that color unusable. The only solution is to replace it with a color that is very similar to the color in question, or to make another color the transparent color. 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 rarely used because they are not found in nature, look bad, and emit such intense light that they cause eye fatigue. Therefore, they are ideal for use as transparent colors in this technique. This method cannot achieve semi-transparency. Therefore, in anti-aliased images, the edges do not blend in with the background, resulting in noticeable jagged edges. One way to achieve this effect is to alternate between the transparent color and the color you want to make semi-transparent in the area you want to make semi-transparent. This method is used for transparency in GIFs. The pixel value resulting from alpha blending at any point in the image is as follows:

[0025]

number

[0026] If the background is opaque, that is, if dstA=1, substituting the above gives the following:

[0027]

number

[0028] dst is the background and src is the foreground. A is a coefficient called the alpha value, which takes a value in the range [0,1] and represents the degree of transparency. 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. Also, the actual RGB values ​​of the image may be stored pre-multiplied by the alpha value. This is called premultiplied alpha. The compositing formula using premultiplied alpha is expressed as follows:

[0029]

number

[0030] Using premultiplied alpha eliminates the need to multiply the alpha value during alpha compositing and avoids problems caused by pixel interpolation of the alpha value. However, it has drawbacks, such as reduced accuracy of the RGB values ​​in the final calculation if the RGB values ​​are stored in 8-bit format and an alpha value less than 1. The premultiplied alpha srcAsrcA is often used when creating 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). Application software using these graphics libraries sometimes uses the following interpolated alpha compositing formula instead of premultiplied alpha:

[0031]

number

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

[0033] The second composition unit 40 generates an opaque text color, which is a second color, by alpha-compositing the opaque background color, which is a first color, generated by the first composition unit 30, with a transparent text color selected from the text colors.

[0034] The calculation unit 50 calculates the contrast ratio between the opaque background color, which is the first color, and the opaque text color, which is the second color, based on the opaque background color, which is the first color, generated by the first synthesis unit 30 and the opaque text color, which is the 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 a pass value for the contrast ratio between the text color and the background color. Pass means that the text color can be seen by a user when placed on the background color.

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

[0037] When the contrast ratio is less than a predetermined value, the suggestion unit 80 suggests a color that is close to the predetermined value. Less than the predetermined value means that the contrast ratio is less than an acceptable value.

[0038] The UI providing unit 90 provides a user interface that displays the contrast ratio and the determination result of whether the contrast ratio is equal to or greater than a predetermined value. The user interface is a display screen of a personal computer, a smartphone, a tablet, or the like.

[0039] Figure 4 and subsequent figures explain the function of the contrast checker. Figure 4 shows the accessibility window. When this accessibility window is opened, the contrast ratio displayed is 4.18:1. This contrast ratio is based on the WCAG (Web Content Accessibility Guidelines), a specification and standard similar to Adobe Color. Web Content Accessibility Guidelines (WCAG) 2.1 covers a wide range of recommendations for making web content more accessible. Following these guidelines makes content accessible to people with a variety of disabilities, including blindness or low vision, deafness or hearing loss, limited movement, speech impairment, photosensitive seizures, and combinations thereof, as well as some accommodations for learning disabilities and cognitive limitations. However, they do not address the needs of all users with these disabilities. These guidelines address the accessibility of web content on desktops, laptops, tablets, and mobile devices. Following these guidelines also makes web content more usable by users in general. WCAG 2.1 success criteria are written in a testable, technology-independent manner. Guidance on meeting the success criteria in specific technologies, along with general information on understanding the success criteria, are provided in separate documents.

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

[0041] The object is displayed at the bottom of the screen. This indicates the position of the active unit, and indicates whether the front (text, etc.) or back (board, etc.) is currently active. In Figure 4, the front unit is active. You can switch which one is active. Below the fail mark is "Color suggestion," which is effective when a result is failed. Pressing this color suggestion button will suggest a color that is close to the pass value. You can launch "Single Color Editing" with this suggested color. The unit body color is shown to the right of 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 according to 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 set anywhere between 21:00 and 1.00, so this can be changed. Below that, the pass value for each character size range is shown. Multiple character sizes between 8 and 1000 pixels can be specified to set the pass value for each character size. The right side is where you select the base color. Pressing the "Select Base Color" button opens a color selection window where you can select the base color. The base color is the temporary image color for key compositing and is the RGB value of Key 100%. The initial values ​​are R128, G128, and B128. These values ​​can be increased or decreased during editing. The video signal key is a signal used to make specific parts transparent during video compositing. This allows the background and foreground images 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 composition of caption text, a background board, and a television image during broadcast. The left side is the broadcast television image. In this example, an image of a news anchor reading the news in a studio is shown. Below this image, as shown on the right side, a background board is placed, and caption text displayed as text is placed on top of the background board. Figure 7 shows the composition of caption text, a background board, and a temporary video image when drawing captions. In Figure 7, there is no TV image as in Figure 6, but a background board is placed on top of the temporary video image, and caption text displayed as text is placed on top of the background board.

[0044] Figure 8 shows how contrast ratios are calculated taking into account the transparency of captions. This figure shows the calculation flow for text color, background color, and provisional video color when creating captions. First, the first compositing unit 30 alpha-composites an opaque provisional video color selected from the video colors with a transparent text background color, which is an overlap of the text color and background color, to generate an opaque background color (first color). Next, the second compositing unit 40 alpha-composites the opaque background color (first color) generated by the first compositing unit 30 with a transparent text color selected from the text colors to generate an opaque text color (second color). Next, the contrast ratio between the opaque background color (first color) generated by the first compositing unit 30 and the opaque text color (second color) generated by the second compositing unit 40 is calculated using the WCAG formula. The calculation formula is as follows:

[0045]

number

[0046] L1 represents the relative luminance of the light color, and L2 represents the relative luminance 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 (written 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 calculation method for relative luminance (L) is defined as follows:

[0048]

number

[0049] At this time, R, G, and B are calculated for RsRGB, GsRGB, and BsRGB under the following conditions: If the value is less than or equal to 0.04045, it is calculated as value / 12.92. If the value is greater than 0.04045, it is calculated as ((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 0 to 1, and are calculated as follows:

[0052]

number

[0053] The color information of the color palette will be explained from Figure 9 onwards. To support the production of captions that adopt universal design (UD) with excellent visibility, a "color information" tooltip and "color vision simulation color display" function will be added to the color palette function of the material creation and editing software.

[0054] Figure 9 shows the names of color systems. On the left are the names of object colors, conforming to JIS Z8102_2201. It shows the interrelationships of modifiers related to hue. The central circle shows white, gray, and black, and the outer circle shows modifiers such as "bluish" and "yellow-reddish." The outer circle shows color names such as red and yellow-reddish, and the outer circle shows Japanese names such as "red" and "reddish yellow." The right side shows "Method of displaying color - Display by three attributes," conforming to JIS Z8721_1993. The further to the left you go, the more transparent and achromatic the color is, and the achromatic color column displays "white Wt" and "light gray plGy", while the tinted achromatic colors are displayed as "△-tinted white △-Wt" and "△-tinted light gray △-plGy", and the more to the right you go, the more saturated the color becomes, and they are displayed as "very light ~ vp-~", "light gray ~ lg-~", "dull ~ dl-~", etc. The aforementioned "△-" is an expression of color tone such as "reddish", "blueish", and "yellowish".

[0055] Figure 10 shows the Munsell system notation. The Munsell system notation is a color system created by the American painter and art educator Albert Munsell (1858-1918), which expresses color using three easily understandable attributes: hue, lightness, and saturation. Its purpose is to systematically organize colors, scale the three attributes, and accurately display them using numbers and symbols. It is one of the internationally accepted color systems, and in Japan it has been adopted as the standard JISZ 8721 (method of displaying color using three attributes). Here, an example is given: "5R 5 / 14." 5R stands for H (Hue), 5 for V (Value), and 14 for C (Chroma).

[0056] Let's talk about hue. Munsell divided colors into five basic hues (R, Y, G, B, P) and then added five intermediate hues (YR, GY, BG, PB, RP) to create a rough set of 10 hues. Each hue was further divided into 10 hues, resulting in a total of 100 finer hues. The divided hues are assigned numbers from left to right, so if a hue is the second of the "R" hue, it is written as "2R." The following example shows only the odd numbers in the range from 5RP to 5YR. The smaller the number, the closer the color is to the hue to the left, and the larger the number, the closer the color is to the hue to the right. The fifth hue in the center (5Y for yellow) is the typical color of that hue.

[0057] Next, we will explain lightness (Value). A 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, but because ideal black and white cannot be physically represented, realistic numbers are used, around 1 for black and around 9.5 for white. The maximum lightness of the representative color for each hue differs for each hue, with the highest value being "8" for yellow and the lowest being "4" for red or purple-blue.

[0058] Next, let's talk about chroma. Achromatic colors are defined as 0. The more vivid a chromatic color, the higher the value, but the maximum value varies depending on the hue and lightness. The maximum value ranges from roughly 8 to 14, with the highest value of 14 being yellow and the lowest value of 8 being blue-green. Because the maximum saturation and lightness differ for each hue, the color solid of the Munsell color system has a bumpy, distorted shape. This shape resembles a tree that grows naturally, and is also known as a "color tree" because it has the potential to grow (change) as technological advances progress.

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

[0060] In addition, supplementary information such as operational precautions can be set and displayed in a specified color as desired.

[0061] FIG. 11 shows the tooltip function of the information processing device 1 of the embodiment. When one of the "Solid Colors" colors on the "Color Palette" screen of the scene editor is clicked, a tooltip screen is displayed. 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 color family name, such as "strong yellowish brown." The fifth line displays the Munsell (HV / C) color. Here, it is "7.5YR 5 / 10." The sixth line displays user-specified information. Here, it is "Operational Notes, etc. (Optional)."

[0062] Figure 12 shows the color vision simulation color display function. The top row is the "Color Palette" screen of the scene editor, and when you press the "CUD Display Switch" button, third from the left, the "Color Vision Simulation Color" will be displayed below each color in the "Single Color" tab. When you press the "Color Vision Simulation Color" part, the color vision simulation color will be displayed in the lower right part of the "Color / Effect" screen, as shown below.

[0063] FIG. 13 shows the monochrome editing function of the information processing device 1 according to the embodiment. The left side of the top row shows the standard display. The two squares on the bottom right are monochrome, but in the color vision simulation color display shown on the right, the two squares are split into two colors. The top square shows the current color, and the bottom square shows the color being adjusted. When the CUD display switch button on the bottom right is pressed, the color being adjusted is displayed in the bottom square, as shown below.

[0064] The information processing program according to the embodiment will be described together with the information processing method with reference to Fig. 14. Fig. 14 is an example of a flowchart of the information processing method according to the embodiment. The information processing method is executed by the CPU of the information processing device 1 based on an 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 proposal step S80. The information processing program causes the CPU of the information processing device 1 to realize a storage function, a selection function, a first composition function, a second composition function, a calculation function, a determination function, an output function, a proposal function, etc. These functions are executed in the order shown in the flowchart of Fig. 14, but the order can also be changed as appropriate. Note that each function overlaps with the description of the various functional units of the information processing device 1 described above, and therefore detailed description thereof will be omitted.

[0065] The storage function stores a template that defines a display mode established between an image color, a background color, and a text color (step S10: storage step).

[0066] The selection function selects a template stored in the storage step (step S20: selection step).

[0067] The first blending function generates a background color by alpha blending an opaque temporary video color selected from the video colors with a transparent text background color in which the text color and background color are overlapped (step S30: first blending step).

[0068] The second blending processing function generates an opaque text color, which is a second color, by alpha blending the opaque background color, which is the first color generated by the first blending function, with a transparent text color selected from the text colors (step S40: second blending step).

[0069] The calculation function 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 function and the opaque text color, which is a second color, generated by the second synthesis function (step S50: calculation step).

[0070] The determination function determines whether or not the contrast ratio is equal to or greater than a predetermined value (step S60: determination step).

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

[0072] When the contrast ratio is less than a predetermined value, the suggestion function suggests a color that is close to the predetermined value (step S80: suggestion step).

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

[0074] The information processing program according to the embodiment can be implemented in a CPU using a computer language such as Arduino (registered trademark) IDE.

[0075] [Functions and circuits] Next, the functions and circuits of the information processing device 1 will be described. Each functional unit of the CPU of the information processing device 1 may be realized as a function of an arithmetic processing unit of a computer, etc. That is, the CPU may be realized as a storage function, a selection function, a first composition function, a second composition function, a calculation function, a determination function, an output function, and a suggestion function by an arithmetic processing unit of a computer, etc. The information processing program can cause a computer to realize each of the above-mentioned functions. The information processing program may be recorded on a computer-readable non-transitory storage medium, such as a memory, a solid-state drive, a hard disk drive, or an optical disk. The storage medium may also be referred to as a non-transitory computer-readable medium that stores the information processing program. The information processing program may also be transmitted online. Furthermore, the above-described arithmetic processing unit of the computer may be configured, for example, by an integrated circuit, etc. That is, the CPU of the information processing device 1 may be realized as a memory circuit, a selection circuit, a first synthesis circuit, a second synthesis circuit, a calculation circuit, a determination circuit, an output circuit, and a proposal circuit that configure the arithmetic processing unit of the computer, etc.

[0076] The present invention is not limited to the information processing device 1, the information processing method, and the information processing program according to the above-described embodiments, and can be embodied in various other modified examples or application examples without departing from the gist of the present invention as set forth in the claims. Also, although the term "information" is used in the above-described embodiments, the term "information" can be replaced with "data," and the term "data" can be replaced with "information."

[0077] [Aspects and Effects of the Present Embodiment] Next, one aspect of this embodiment and the effects of each aspect will be described. Note that each aspect described below is an example at the time of filing, and this embodiment is not limited to the aspects described below. In other words, this embodiment is not limited to the aspects described below, and may be realized by appropriately combining the above-mentioned parts. Furthermore, a lower-level aspect may be able to cite any of the higher-level aspects. The effects of the present embodiment described below are merely examples, and the effects of each aspect are not limited to those described below. Each aspect may, for example, achieve at least one of the effects described below.

[0078] (Aspect 1) An information processing device of one embodiment includes a memory unit that stores templates that define display modes established between a video color, a background color, and a text color; a selection unit that selects a template stored in the memory unit; a first compositing unit that generates an opaque background color that is a first color by alpha blending an opaque temporary video color selected from the video colors with a transparent text background color in which the text color and the background color overlap; a second compositing unit that generates an opaque text color that is a second color by alpha blending the opaque background color that is the first color generated by the first compositing unit with a transparent text color selected from the text colors; a calculation unit that calculates a contrast ratio between the opaque background color that is the first color and the opaque text color that is the second color based on the opaque background color that is the first color generated by the first compositing unit and the opaque text color that is the second color generated by the second compositing unit; and an output unit that outputs provided data including a 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 the text color so that it is easy for the user to see. The same applies to the information processing method and the information processing program.

[0079] (Aspect 2) In the information processing device of one aspect, the contrast ratio may be expressed by relative luminance. This allows the information processing device to adjust the contrast between the background color and the text color so that it is easy for the user to see.

[0080] (Aspect 3) The information processing apparatus according to one aspect may further include a determination unit that determines whether 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 the text color so that it is easy for the user to see.

[0081] (Aspect 4) The information processing device according to one aspect may further include a suggestion unit that suggests a color that approximates a predetermined value when the contrast ratio is less than the predetermined value. This allows the information processing device to adjust the contrast between the background color and the text color so that it is easy for the user to see.

[0082] (Aspect 5) The information processing device of one embodiment further includes a UI providing unit that provides a user interface that displays the contrast ratio and a determination result of whether the contrast ratio is equal to or greater than a predetermined value, The suggestion unit may suggest a color that is close to a predetermined value based on the 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 the text color so that it is easy for the user to see. [Explanation of symbols]

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

Claims

1. a storage unit that stores a template that defines a display mode established between an image color, a text color, and a background color that represents a background for the text represented by the text color; a selection unit that selects a template stored in the storage unit; a first blending unit that generates an opaque background color, which is a first color, by alpha blending an opaque provisional image color selected from the image colors stored in the storage unit with a transparent text background color in which the text color and the background color stored in the storage unit are overlapped; a second blending unit that generates an opaque text color that is a second color by alpha blending the opaque background color that is the first color generated by the first blending unit with a transparent text color selected from the text colors stored in the storage unit; a calculation unit that calculates a contrast ratio between the opaque background color that is the first color and the opaque text color that is the second color based on the opaque background color that is the first color generated by the first synthesis unit and the opaque text color that is the second color generated by the second synthesis unit; a determination unit that determines whether the contrast ratio between the text color and the background color is equal to or greater than a pass value that allows a user to visually recognize the text color when the text color is placed on the background color; an output unit that outputs provided data including an image having the contrast ratio calculated by the calculation unit; An information processing device comprising:

2. The information processing device according to claim 1 , wherein the contrast ratio is expressed by relative luminance.

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

4. a UI providing unit that provides a user interface that displays the contrast ratio and a determination result of whether the contrast ratio is equal to or greater than a predetermined value, The information processing device according to claim 3 , wherein the suggestion unit suggests a color that is close to the predetermined value based on the determination result of the contrast ratio provided by the UI providing unit.

5. The computer a storage step of storing a template that defines a display mode established between an image color, a text color, and a background color that represents a background for the text represented by the text color; a selection step of selecting a template stored in the storage step; a first blending step of alpha blending an opaque provisional image color selected from the image colors with a transparent text background color obtained by overlapping the text color and the background color to generate an opaque background color that is a first color; a second compositing step of alpha-compositing the opaque background color, which is the first color generated in the first compositing step, with a transparent text color selected from the text colors to generate an opaque text color, which is a second color; a calculation step of calculating a contrast ratio between the opaque background color being the first color and the opaque text color being the second color based on the opaque background color being the first color generated in the first synthesis step and the opaque text color being the second color generated in the second synthesis step; a determining step of determining whether the contrast ratio between the text color and the background color is equal to or greater than a pass value that allows a user to see the text color when the text color is overlaid on the background color; an output step of outputting provided data including an image having the contrast ratio calculated in the calculation step; An information processing method that performs the above.

6. On the computer, a storage function for storing a template that defines a display mode established between an image color, a text color, and a background color that represents a background for the text represented by the text color; a selection function for selecting a template stored by the storage function; a first blending function for alpha blending an opaque provisional image color selected from the image colors with a transparent text background color obtained by overlapping the text color and the background color to generate an opaque background color that is a first color; a second blending function that generates an opaque text color that is a second color by alpha blending the opaque background color that is the first color generated by the first blending function with a transparent text color selected from the text colors; a calculation function that calculates a contrast ratio between the opaque background color that is the first color and the opaque text color that is the second color based on the opaque background color that is the first color generated by the first composition function and the opaque text color that is the second color generated by the second composition function; a determining function for determining whether the contrast ratio between the text color and the background color is equal to or greater than a pass value that allows a user to visually recognize the text color when the text color is placed on the background color; an output function that outputs provided data including an image having the contrast ratio calculated by the calculation function; An information processing program that makes this possible.

Citation Information

Patent Citations

  • Method for automatically calibrating and optimizing page contrast

    CN116578798A

  • Image processing device, electronic camera, and program

    JP2012074812A

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

    JP2020137075A

  • Color combination diagnosis device, color combination diagnosis method, and program

    JP2020160600A

  • Dynamic color adjustment of electronic content

    US10319116B1