摘要:
To solve the problem that when a space with a set width is inserted after each character to regularize the spaces between characters the overall character spacing is widened, making text less easy to read, there are provided a character control code storage unit (5) for storing, for each character display position, a character control code (CTD) including a character code (CC) and character width data (CW), and a positional control unit (4) for reading the character control code (CTD) for the present character display position from the character control code storage unit (5), and controlling the occurrence interval of the present character display position according to the character width data (CW) in the character control code (5) that was read and the previous character display position.
摘要:
A tone step detector detects whether the tone of n-bit input image data varies gradually, and generates a tone processing control signal indicating that a tone step is contained. A bit shifter bit-shifts the n-bit input image data to the left by α bits, to generate (n+α)-bit image data. A tone processor smoothes the image data of the (n+α)-bit image data generated by the bit shifter, in the region where the tone processing control signal indicates that a tone step is contained, to generate (n+α)-bit image data having been smoothed in the above-mentioned region. Because of the selective smoothing, degradation in the image quality due to quantization is reduced even when an analog image signal whose tone varies gradually is input.
摘要:
Interpolation data for a missing pixel are obtained (4) after a correction (3) for variations in the characteristics of the imaging devices (8(1), 8(2)). The correction for variations in characteristics includes, for example, a black level correction (9) and a sensitivity correction (10). The interpolation includes, for example, interpolation calculations (14(1), 14(2)) such that a mean value of a plurality of pixels including the missing pixel and a mean value of a plurality of pixels not including the missing pixel become equal and an interpolation calculation (14(0)) that takes the mean of the pixels to the right and left of the missing pixel, the calculation with the least error being selected (13, 15). Thus missing pixels in highly periodic images can be properly interpolated, and interpolation can be performed with high precision even when there are variations in the sensitivity characteristics of the individual imaging devices constituting the contact image sensor.
摘要:
Missing-pixel interpolation data are obtained such that the mean value of a plurality of pixels constituting a group of pixels including a missing pixel is equal to the mean value of a plurality of pixels constituting a group of pixels not including the missing pixel. For example, missing-pixel interpolation data are obtained by (1) obtaining a sum (SL) of the values of pixels other than the missing pixel (L) in the k pixels constituting the group (LC) of pixels including the missing pixel, (2) obtaining a sum (SA) of the values of k pixels constituting a group (NA) of pixels not including the missing pixel, and (3) taking the difference between these sums. This makes it possible to reduce interpolation error when a highly periodic image with missing pixels is interpolated.
摘要:
An image processing method extends n-bit input image data by α bits to generate (n+α)-bit source data, where n and α are positive integers, and smoothes the source data. The maximum difference between gray levels of the unsmoothed source data in an area localized around each pixel is calculated, and a mixing ratio is determined from the maximum difference. The smoothed and unsmoothed source data are mixed according to the mixing ratio to generate output image data. In areas with gradually changing gray levels, the output image data are weighted toward the smoothed source data, mitigating image degradation due to quantization and gamma correction. In areas with sharp edges, the output image data are weighted toward the unsmoothed source data, preventing a loss of edge sharpness.
摘要:
Missing-pixel interpolation data are obtained such that the mean value of a plurality of pixels constituting a group of pixels including a missing pixel is equal to the mean value of a plurality of pixels constituting a group of pixels not including the missing pixel. For example, missing-pixel interpolation data are obtained by (1) obtaining a sum (SL) of the values of pixels other than the missing pixel (L) in the k pixels constituting the group (LC) of pixels including the missing pixel, (2) obtaining a sum (SA) of the values of k pixels constituting a group (NA) of pixels not including the missing pixel, and (3) taking the difference between these sums. This makes it possible to reduce interpolation error when a highly periodic image with missing pixels is interpolated.
摘要:
To solve the problem that when a space with a set width is inserted after each character to regularize the spaces between characters the overall character spacing is widened, making text less easy to read, there are provided a character control code storage unit (5) for storing, for each character display position, a character control code (CTD) including a character code (CC) and character width data (CW), and a positional control unit (4) for reading the character control code (CTD) for the present character display position from the character control code storage unit (5), and controlling the occurrence interval of the present character display position according to the character width data (CW) in the character control code (5) that was read and the previous character display position.
摘要:
A tone step detector detects whether the tone of n-bit input image data varies gradually, and generates a tone processing control signal indicating that a tone step is contained. A bit shifter bit-shifts the n-bit input image data to the left by α bits, to generate (n+α)-bit image data. A tone processor smoothes the image data of the (n+α)-bit image data generated by the bit shifter, in the region where the tone processing control signal indicates that a tone step is contained, to generate (n+α)-bit image data having been smoothed in the above-mentioned region. Because of the selective smoothing, degradation in the image quality due to quantization is reduced even when an analog image signal whose tone varies gradually is input.
摘要:
Interpolation data for a missing pixel are obtained (4) after a correction (3) for variations in the characteristics of the imaging devices (8(1), 8(2)). The correction for variations in characteristics includes, for example, a black level correction (9) and a sensitivity correction (10). The interpolation includes, for example, interpolation calculations (14(1), 14(2)) such that a mean value of a plurality of pixels including the missing pixel and a mean value of a plurality of pixels not including the missing pixel become equal and an interpolation calculation (14(0)) that takes the mean of the pixels to the right and left of the missing pixel, the calculation with the least error being selected (13, 15). Thus missing pixels in highly periodic images can be properly interpolated, and interpolation can be performed with high precision even when there are variations in the sensitivity characteristics of the individual imaging devices constituting the contact image sensor.
摘要:
A pixel interpolation circuit according to this invention includes a plurality of interpolation circuits each calculating interpolation candidate data of a interpolation pixel and test interpolation data of a plurality of pixels neighboring the interpolation pixel using different interpolation methods, a determining circuit for selecting one of the interpolation circuits based on a difference between the test interpolation data and actual pixel data, and an output circuit for outputting the interpolation candidate data calculated by the selected interpolation circuit as the interpolation pixel data.