发明名称 Extracting color schemes of pages written in a markup language
摘要 An aspect includes extracting a color scheme of a page written in a markup language. A content portion from the page is nonvisualized, a subtractive process is applied to the page with the content portion having been nonvisualized, and a color scheme is extracted from the page to which the subtractive process has been applied.
申请公布号 US9639624(B2) 申请公布日期 2017.05.02
申请号 US201514703910 申请日期 2015.05.05
申请人 International Business Machines Corporation 发明人 Ishikawa Shunsuke;Nitta Keisuke;Tejima Takuya
分类号 G09G5/02;G06F17/30;G06T11/00;G06T11/60;G06F17/24 主分类号 G09G5/02
代理机构 代理人 Wahlquist Jay
主权项 1. A method of extracting a color scheme of a page written in a markup language, the method comprising: nonvisualizing a content portion from the page; applying a subtractive process to the page with the nonvisualized content portion; and extracting the color scheme from the page to which the subtractive process has been applied; wherein upon determining the content portion is an image, the nonvisualizing the content portion includes: applying the subtractive process to the image which has not been nonvisualized; and upon determining characteristic colors vary to a specified degree in the image after the subtractive process, nonvisualizing the image in at least one of the following cases: a case where a link destination of the image is an external domain; a case where a parent of the image is an anchor tag, and a link destination of the parent is an external domain; a case where the image has an attribute associated with accessibility information but a value of the attribute is not an alternative text; and a case where the image has an attribute associated with accessibility information, and a value of the attribute is an alternative text.
地址 Armonk NY US