发明名称 Document image generating apparatus, document image generating method and computer program, with adjustment of ruby-added image
摘要 Regarding a wording including a character stored neither in character DB1 storing characters whose shapes have portions to be positioned under a base line nor in other character DB2 storing characters that are positioned to separate upward from the base line, a mean YBav calculated with bottom Y coordinates of all characters neither stored in the DB1 nor DB2 is designated as a bottom Y coordinate of wording. Regarding a wording including only characters stored in the DB1, a predetermined value is added to a mean YBav0 calculated with bottom Y coordinates of all characters for obtaining an YBav designated as a bottom Y coordinate of wording. Regarding a wording configured with only characters stored in the DB2, a predetermined value is subtracted from a mean YTav calculated with top Y coordinates of all character marks for obtaining a YBav designated as a bottom Y coordinate of wording.
申请公布号 US8958080(B2) 申请公布日期 2015.02.17
申请号 US201012981675 申请日期 2010.12.30
申请人 Sharp Kabushiki Kaisha 发明人 Kutsumi Takeshi;Sata Ichiko
分类号 G06K15/02;G06K9/46;G06F17/28;G06F17/21;G06F17/24 主分类号 G06K15/02
代理机构 Birch, Stewart, Kolasch & Birch, LLP 代理人 Birch, Stewart, Kolasch & Birch, LLP
主权项 1. A document image generating apparatus, comprising: an accepting unit that accepts an image data representing a document image; a word extracting unit that extracts a word included in the document image represented by the image data accepted by the accepting unit; a character extracting unit that extracts characters included in the word extracted by the word extracting unit; a special character storing unit that stores a special character among characters to be extracted by the character extracting unit; a determining unit that determines whether the special character stored in the special character storing unit is included in characters extracted by the character extracting unit or not; a preparing unit that prepares a ruby for the word extracted by the word extracting unit; a generating unit that generates a ruby-added image data representing a ruby-added image in which the ruby prepared by the preparing unit is added to the document image represented by the image data accepted by the accepting unit; and an adjusting unit that adjusts a position of the ruby prepared by the preparing unit in the ruby-added image represented by the ruby-added image data generated by the generating unit, wherein the adjustment amount of ruby adjusted by the adjusting unit when the determining unit determines that the special character stored in the special character storing unit is included in characters extracted by the character extracting unit (case A) is different from the adjustment amount of ruby adjusted by the adjusting unit when the determining unit determines that the special character stored in the special character storing unit is not included in characters extracted by the character extracting unit (case B), such that the position of ruby would be the same in case A as in case B, wherein a position of the ruby in the ruby-added image data generated by the generating unit is determined in accordance with an average height value of characters extracted by the character extracting unit except for the special character.
地址 Osaka JP