G
Gerald Rosenberg
Have not been able to Google very well for an answer, since I haven't a
usable name for the algorithm/type of problem.
In sum, I need to determine the least common denominator for the spacing
of a one dimensional array of integers where the integers have a noise
component.
In practical terms, I have the Y-axis pixel locations of lines of text
on a page (which are approximations) and need to determine whether any
two adjacent text lines are single spaced, 1.5 spaced, or multiple
spaced.
Seems like there should be an analytic solution, but auto-correlation
doesn't seem right. Some kind of quantized best-fit?
Rather than continuing to guess, does anyone know the name of the
algorithm for solving this type of problem. Is there a Java package
that can solve this kind of problem? I have looked at Colt, but it does
not provide a direct solution.
Thanks,
Gerald
usable name for the algorithm/type of problem.
In sum, I need to determine the least common denominator for the spacing
of a one dimensional array of integers where the integers have a noise
component.
In practical terms, I have the Y-axis pixel locations of lines of text
on a page (which are approximations) and need to determine whether any
two adjacent text lines are single spaced, 1.5 spaced, or multiple
spaced.
Seems like there should be an analytic solution, but auto-correlation
doesn't seem right. Some kind of quantized best-fit?
Rather than continuing to guess, does anyone know the name of the
algorithm for solving this type of problem. Is there a Java package
that can solve this kind of problem? I have looked at Colt, but it does
not provide a direct solution.
Thanks,
Gerald