Abstract:
The disclosed embodiments illustrate methods and systems for estimating a skew angle of an image. The method includes identifying a set of measurable blocks from one or more blocks in said image. The method further includes dilating each measurable block, in said set of measurable blocks, with a predetermined regular structure to create a set of modified measurable blocks. The method further includes selecting a second set of measurable blocks from said set of modified measurable blocks based on a size of each modified measurable block in said set of modified measurable blocks. Thereafter, the method includes determining a slope of each measurable block in said second set of measurable blocks. Further, the slope is utilizable to estimate said skew angle of said image. The method is performed by one or more microprocessors.
Abstract:
A method, computer readable medium, and apparatus for implementing a compression are disclosed. For example, the method receives a first portion of an input data at a first register, determines a first address based upon the first portion of the input data, reads the first address in a memory to determine if a value stored in the first address is zero, stores a code for the first address of the memory in the first register if the value of the first address is zero, receives a second portion of the input data at a second register, determines a second address based upon the second portion of the input data in the memory, obtains the code from the first register if the second address and the first address are the same and writes the code from the first register in the first address of the memory.
Abstract:
A method, non-transitory computer readable medium, and apparatus for providing controlling a thin line growth are disclosed. For example, the method receives an image in a first resolution, wherein each pixel of a plurality of pixels within the image is marked with a first tag and a second tag, wherein the first tag determines whether each pixel is on or off in the image and the second tag determines whether a thin line growth for each pixel is on or off in the image and produces a second image in a second resolution based upon the image in the first resolution, wherein the thin line is grown by turning on each pixel in a sub-line that is adjacent to a different pixel from a different sub-line having the first tag on and the second tag of the each pixel in the sub-line is on.