Height-width estimation model for a text block
OwnerXiaofan Lin, Charles Nelsoninventors
Life of this patent
Estimating the term…
Abstract
In a method for establishing a height-width estimation model for a text block, a discrete form of a relationship between the height and the width of the text block is calculated. In addition, at least one coefficient in a polynomial function depicting the relationship between the height and the width is calculated based upon the calculated discrete form and the model is established based upon the calculated at least one coefficient. The model provides a closed form function for estimation of the text block heights associated with one or more widths.
Claims21
A method for establishing a height-width estimation model for a text block, said method comprising:
- calculating a discrete form of a relationship between the height and the width of the text block;
- calculating at least one coefficient in a polynomial function depicting the relationship between the height and the width based upon the calculated discrete form;
- and
- establishing the model based upon the calculated at least one coefficient, wherein the model provides a closed form function for estimation of the text block heights associated with one or more widths.
A system for establishing a closed form height-width estimation model for a text block, said system comprising:
- a controller configured to determine a discrete height-width relationship of the text block, said controller being further configured to calculate at least one coefficient in a polynomial function depicting the relationship between the height and the width, wherein the controller is configured to use the calculated discrete form of the height-width relationship to calculate the at least one coefficient, and wherein the controller is configured to establish the closed form height-width estimation model based upon the calculated at least one coefficient.
A computer system comprising:
- means for calculating a discrete form of a height-width relationship of a text block;
- means for calculating at least one coefficient in a polynomial function depicting the relationship between the height and the width based upon the calculated discrete form, wherein the polynomial function comprises h=C0*w+C1+C2/w+C3/(w), wherein h is the height of a text block and w is the width of the text block, and C0, C1, C2, and C3 are coefficients;
- and
- means for establishing a height-width estimation model based upon the calculated at least one coefficient, wherein the height-width estimation model provides a closed form function for estimation of the text block heights associated with one or more widths.
A computer readable storage medium on which is embedded one or more computer programs, said one or more computer programs implementing a method for establishing a height-width estimation model for a text block, said one or more computer programs comprising a set of instructions for:
- calculating a discrete form of a relationship between the height and the width of the text block;
- calculating at least one coefficient in a polynomial function depicting the relationship between the height and the width based upon the calculated discrete form, wherein the polynomial function comprises h=C0*w+C1+C2/w+C3/(w2), wherein h is the height of a text block and w is the width of the text block, and C0, C1, C2, and C3 are coefficients;
- and
- establishing the model based upon the calculated at least one coefficient, wherein the model provides a closed form function for estimation of the text block heights associated with one or more widths.
A method for establishing a height-width estimation model for a text block, said method comprising:
- setting the relationship of the height (m) and the width (w) of the text block according to m=½+(a−b/4)/w+(a*b/2−b*b/8)/(w*w), wherein “a” is an occupied length of the text if a text block width is allowed to be infinite, and “b” is the average width of a word in the text block;
- replacing “a” and “b” with actual values;
- and
- solving for the height (m) and the width (w) to establish the height-width estimation model for the text block.
Dependencies are inferred from the claim text.