×

Print control device executing error diffusion process using random number

  • US 8,804,196 B2
  • Filed: 03/14/2013
  • Issued: 08/12/2014
  • Est. Priority Date: 06/14/2012
  • Status: Active Grant
First Claim
Patent Images

1. A print control device comprising:

  • a processor; and

    a memory that stores a computer program that, when executed by the processor, causes the control device to function as;

    an acquiring unit configured to acquire image data representing an image including a plurality of pixels, the image data including a plurality of pixel data corresponding to the plurality of pixels, each of the plurality of pixel data including a gradation value;

    an executing unit configured to execute an error diffusion process on each of the plurality of pixel data, the executing unit including;

    a target pixel setting unit configured to set target pixel data from among the plurality of pixel data;

    a random number acquiring unit configured to acquire a random number included in a first random number range that depends on the gradation value of the target pixel data, in a case that the gradation value of the target pixel data is in a first range;

    a first correcting unit configured to correct the gradation value of the target pixel data into a first corrected gradation value by using the random number;

    a second correcting unit configured to correct the first corrected gradation value of the target pixel data into a second corrected gradation value by using a distribution error, the distribution error being set by at least one error value of at least one pixel data on which the error diffusion process has been executed;

    a determining unit configured to determine whether the second corrected gradation value of the target pixel data is greater than a plurality of threshold values, the plurality of threshold values including a first threshold value and a second threshold value, the second threshold value being greater than the first threshold value;

    a dot value setting unit configured to set a dot value of the target pixel data to either a first dot value or a second dot value, the first dot value being set when the second corrected gradation value is greater than the first threshold value, the second dot value being set when the second corrected gradation value is greater than the second threshold value, the first dot value indicating a size of a dot, the second dot value indicating a size of a dot greater than the size of the dot indicated by the first dot value; and

    an error value setting unit configured to set an error value of the target pixel data based on the dot value of the target pixel data; and

    an output unit configured to output print data determined by the dot value for each of the plurality of pixel data,wherein the first random number range corresponding to the gradation value smaller than the second threshold value includes a specific random number such that the first correcting unit corrects the gradation value included in the first range into the first corrected gradation value greater than the second threshold value by using the specific random number in the first random number range, the first range being greater than a first gradation value and smaller than the second threshold value, the first gradation value being greater than the first threshold value and smaller than the second threshold value.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×