Title of Invention

A METHOD FOR CONTROLLING FIRING NOZZLE WITHIN OVERLAPPED PRINT HEAD SEGMENTS

Abstract A method and apparatus is provided for compensating for variable overlap between segments of a page width print head system reduce visualIy perceptible artifacts due to misalignment of adjacent overlapped segments. One method employs a summation means which sums a current dither value from a dither matrix with an overlap signal to provide an output value which is then compared in a comparator with an input continuous tone data value providing an output compensated dither value to control nozzles in the overlap region of the segments. Another method uses a software program to provide the compensated dither matrix. A sensing means provides a measure of the degree of overlap of the segments to generate the overlap signal. The sensing means may sense temperature or relative displacement of the segments. The degree of overlap may be determined for various temperatures and stored in a ROM.
Full Text •METHOD AND APPARATUS FOR COMPENSATION FOR TIME VARYING NOZZLE MISALIGNMENT IN A DROP ON DEMAND PRINTHEAD"
FIELD OF THE INVENTION
The present invention relates to the field of Inkjet printing and in particular discloses a method and apparatus for the compensation for the time varying nozzle misalignment of a print head assembly having overlapping segments.
CO-PENDING APPLICATIONS Various methods, systems and apparatus relating to the present invention are disclosed in the following co-pending applications filed by the applicant or assignee of the present invention simultaneously with the present application:

BACKGROUND OF THE INVENTION
In the applicant"s co-pending application PCT/AU98/00550, a series of Inkjet printing arrangements were proposed for printing at high speeds across a page width employing novel ink ejection mechanisms. The disclosed crrangements utilized a thermal bend actuator built as part of a monolithic structure.
In such arrangements, it is desirable to form larger arrays of ink ejection nozzles so as to provide for a page width drop on demand print head. Desirably, a very high resolution of droplet size is required. For example, common competitive printing systems such as offset printing allow for resolutions of one thousand six hundred dots per inch 1600dpi). Hence, by way of example, for an A4 page print head which is eight inches wide, to print at that resolution vould require the equivalent of around 12800 ink ejection nozzles for each colour. Assuming a standard four colour process, this equates to approximately fifty one thousand ink ejection nozzles. For a six colour process including the tandard four colours plus a fixative and an IR ink this results in 76800 ink ejection nozzles. Unfortunately, it is mpractical to make large monolithic print heads from a contiguous segment of substrate such as a silicon wafer substrate.

Ambient conditions and the operational environment of a print head may result in thermal cycling of the print head in the overlap region resulting in expansion and contraction of the overlap between adjacent print head segments which may in turn lead to the production of artifacts in the resultant output image. For example, the temperature of the print head may rise 25°C above ambient when in operation. The assembly of the print head may also be made of materials having different thermal characteristics to the print head segments resulting in a differential thermal expansion between these components. The silicon substrate may be packaged in elastomer for which the respective thermal expansion coefficients are 26 X 10"* and 20 x 10" per degree Celsius.
Artifacts are produced due to the limited resolution of the print head to represent a continuous tone image in a binary form and the ability of the human eye to detect 0.5% differences in colour of adjacent dots in an image.
SUMMARY OF THE INVENTION
In accordance with a first aspect of the invention there is provided in an ink ejection print head It is an object of the present invention to provide for a mechanism for compensating for relative displacement of overlapping print head segments during operation in an effective and convenient manner.comprising a plurality of overlapping print head segments, wherein the spatial relationship between adjacent segment is variable with time, a method for controlling the firing of nozzles within the overlapped segments comprising the steps of : (a) determining a measure of the overlap between adjacent print head segments ; (b) creating a half toning pattern for the nozzles in the region of overlap of the overlapping segments; and (c) adjusting said half toning pattern as a function of said measure in the overlapping regions of said print head segments to reduce artifacts produced by the overlapping of said print head segments.
Preferably, the step for determining a measure of overlap employs a measure of temperature of the print head segments. The half toning patterns are preferably produced by means of a dither matrix volume and the alteration can comprise adding an overlap value to a current continuous tone pixel output value before utilizing the dither matrix or dither volume. In place of a measure of temperature a measure of distance can be provided by the use of fiduciary strips on each of the segments and using an interferometric technique to determine the degree of relative movement between the segments.
In accordance with the further aspect of the present invention, there is provided an link ejection print head system comprising : a plurality of spaced apart sparially overlapping print head segments; at east one means for measurement of the degree of overlap between adjacent print head segments; means for providing a half toning of a continuous tone image and means for adjusting said half toning means in a region of overlap between adjacent print head segments to reduce artifacts between said adjacent segments.
The means for adjusting the half toning means can include a continuous tone input, a spatial overlap input and a binary input, the half toning means utilizing the spatial overlap input to vary the continuous tone input to produce a varied continuous tone input for utilization in a look up table of a dither matrix or dither volume so as to produce output biuary.

values to adjust for the regions of overlap of print head segments. The means for adjusting the halftone or dither matrix may be implemented in hardware or by means of software employing an algorithm.
BRIEF DESCRIPTION OF THE DRAWINGS
This invention is pointed out with particularity in the appended claims. The above and further advantages of this invention may be better understood by referring to the following description taken in conjunction with the accompanying drawings, in which:
Fig. 1 shows a schematic of a pair of adjacent print head segments according to the invention;
Fig. 2 illustrates the process for printing dots from adjacent print head segments as shown in Fig. 1:
Fig. 3 illustrates a process of blending dots between adjacent print head segments according to the invention;
Fig. 4 illustrates a process of dither matrix variational control according to an embodiment of the invention;
Fig. 5 illustrates a process of dither matrix variational control according to another embodiment of the invention; and
Fig. 6 illustrates graphically an algorithm implementing a further process of dither matrix variational control according to a further embodiment of the invention.
DETAILED DESCRIPTION OF THE EMBODIMENTS
In a first embodiment, a method of compensation for the temperature varying relative displacement of adjacent print head segments is provided by the utilization of a digital processing mechanism which adjusts for the overlap between adjacent segments.
In a print head covering an A4 page width there may be 10 segments having 9 overlapping portions arranged in a repeating sequence of staggered pairs. Initial alignment of segments can be made within 10 microns using techniques well known in the art of monolithic fabrication techniques. The width of a segment for a 6 colour ink arrangement would be approximately 225 microns assuming the nozzles of a segment are arranged on 16 micron centres in a zig-zag pattern longitudinally.
In this embodiment, a temperature sensor is placed on each print head segment so as to provide for a measure of the current temperature characteristics of each print head segment. The current temperature measurement can then be utilized to determine the amount of overlap between adjacent print head segments.
Alternatively, only a single temperature sensor can be used if it can be assumed that the segments of the print head are sufficiently similar to one another in physical characteristics and performance and that the ambient milieu of each pair of overlapped segment is substantially the same.
The degree of overlap is then used to provide a mechanism for controlling the halftoning between adjacent print head segments. It is assumed that outputting of an image in the instant invention is by means of digital halftoning employing any method or technique well known in the art. Many different halftoning techniques can be utilized and reference is made to the text by Ulichney entitled "Digital Half Toning" published by MIT Press.
As shown in Fig. 1 adjacent print head segments 2, 3 overlap in the respective regions 12, 13. The overlap region may extend approximately 40 thou (~lmm.) providing an overlap of 64 nozzles spaced at 16 microns for 1600dpi resolution. In the region 10 of the segment 2 the nozzles of this segment are used exclusively for the ejection of ink. Similarly in the region 11 of the segment 3 the nozzles of this segment are used exclusively for the ejection of ink. In the overlapping regions 12, 13 a "blend" is provided between the two print head segments 2, 3 such that along the edge 14 of the print head segment 2 nozzles are used exclusively in the region 12 to print and similarly along the edge 15, the nozzles of the segment 3 are used almost exclusively for printing. In between, an interpolation, which can be linear or otherwise.

is provided between these two extreme positions. Hence, as shown in Fig. 2, when printing a full colour output on a page the area on the side 17 is printed exclusively by the print head segment 10 while the area 18 is printed exclusively by the print head segment 11 (as illustrated by the black dots) with the area 19 comprising a blend between the nozzles of the two segments. The printing process utilizes any well known halftoning matrix such as disclosed in the aforementioned references. While a known halftoning matrix is utilized, the actual print head segment utilized will depend upon the blending ratio provided by the measure of overlap between the overlapping segments.
One such method is illustrated in Fig. 3 where a linear interpolation within the overlapped regions is shown. In the region corresponding to the overlapped section 12 at the edge 14 there is 100% utilization of the nozzles of print head segment 2, whereas in the equivalent region, edge 7, of the print head segment 3 there is zero output. As the distance of the overlap region from the line 14 of the segment 2 is increased towards the line 15 of the segment 3 the proportion of utilization of the nozzles of the section 12 is gradually decreased (linearly), being zero at edge 9 while the utilization of the nozzles of the section 13 is progressively increased to unity by the time the edge 15 is reached. In a first embodiment, where there is an increased overlap between nozzles, the halftoning thresholds utilized are increased in the overlap region. This reduces the number of dots printed in the blend region. Conversely, if there is a reduced overlap with the print head segments being spaced apart slightly more than normally acceptable, the dot frequency can be increased by reducing the halftoning threshold.
An overall general halftoning arrangement can be provided as shown in Fig. 4 with a dither matrix 25 outputting a current dither value 26 to a summation means 27 with summation means 27 having another input 28, an overlap signal, which varies in either a positive or a negative sense depending on the degree of overlap between the adjacent segments. The output value 29 of summation means or adder 27 is compared to the input continuous tone data 32 via a comparator 30 so as to output halftone data 31. An alternative arrangement allows that the data value 28 can be subtracted from the continuous tone data 29 before dithering is applied producing similar results. This arrangement is shown in Fig. 5.
As shown in Fig. 5, a halftone data output 52 can be generated by combining the output 42 of dither matrix 40 in an adder 46 with the overlap signal 44, and then taking the difference of the output 54 of adder 46 and the continuous tone data 48 in subtracter 50. This is an equivalent arrangement to that of Fig. 4.
Through the utilization of an arrangement such as described above with respect to Figs. 3 and 4, a degree of control of the overlap blending can be provided so as to reduce the production of streak artifacts between adjacent print head segments.
As each overlap signal 28 can be multiplied by a calibration factor and added to a calibration offset factor, the degree of accuracy of placement of adjacent print head segments can also be dramatically reduced. Hence, adjacent print head segments can be roughly aligned during manufacture with one another. Test patterns can then be printed out at known temperatures to determine the degree of overlap between nozzles of adjacent segments. Once a degree of overlap has been determined for a particular temperature range a series of corresponding values can be written to a programmable ROM storage device so as to provide full offset values on demand which are individually factored to the print head segment overlap,
A further embodiment of the invention involves the use of a software solution for reducing the production of artifacts between overlapped segments of the print heads. A full software implementation of a dither matrix including the implementation of an algorithm for adjusting variable overlap between print head segments is attached as appendix A. The program is written in the programming language C. The algorithm may be written in some other code mutatis mutandis within the knowledge of a person skilled in the art. The basis of the algorithm is explained as follows.
A dispersed dot stochastic dithering is used to reproduce the continuous tone pixel values using bi-level dots. Dispersed dot dithering reproduces high spatial frequency, that is, image detail, almost to the limits of the dot resolution.

while simultaneously reproducing lower spatial frequencies to their full intensity depth when spatially integrated by the eye. A stochastic dither matrix is designed to be free of objectionable low frequency patterns when tiled across the page.
Dot overlap can be modelled using dot gain techniques. Dot gain refers to any increase from the ideal intensity of a pattern of dots to the actual intensity produced when the pattern is printed. In Ink jet printing, dot gain is caused mainly by ink bleed. Bleed is itself a function of the characteristics of the ink and the printing medium. Pigmented inks can bleed on the surface but do not diffuse far inside the medium. Dye based inks can diffuse along cellulose fibres inside the medium. Surface coatings can be used to reduce bleed.
Because the effect of dot overlap is sensitive to the distribution of the dots in the same way that dot gain is, it is useful to model the ideal dot as perfectly tiling the page with no overlap. While an actual Inkjet dot is approximately round and overlaps its neighbours, the ideal dot can be modelled by a square. The ideal and actual dot shapes thus become dot gain parameters.
Dot gain is an edge effect, that is it is an effect which manifests itself along edges between printed dots and adjacent unprinted areas. Dot gain is proportional to the ratio between the edge links of a dot pattern and the area of the dot pattern. Two techniques for dealing with dot gain are dispersed dot dithering and clustered dot dithering. In dispersed dot dithering the dot is distributed uniformly over an area, for example for a dot of 50% intensity a chequer board pattern is used. In clustered dot dithering the dot is represented with a single central "coloured" area and an "uncoloured" border with the ratio of the area of "coloured" to "uncoloured" equalling the intensity of the dot to be printed. Dispersed dot dithering is therefore more sensitive to dot gain than clustered dot dithering.
Two adjacent print head segments have a number of overlapping nozzles. In general, there will not be perfect registration between corresponding nozzles in adjacent segments. At a local level there can be a misregistration of plus or minus half the nozzle spacing, that is plus or minus about 8 microns at 1600 dpi. At a higher level, the number of overlapping nozzles can actually vary.
The first approach to smoothly blending the output across the overlap bridge and from one segment to the next consists of blending the continuous tone input to the two segments from one to the other across the overlap region. As output proceeds across the overlap region, the second segment receives an increasing proportion of the input continuous tone value and the first segment receives a correspondingly decreasing proportion as described above with respect to Fig. 3. A linear or higher order interpolation can be used. The dither matrices used to dither the output through the two segments are then registered at the nozzle level.
The first approach has two drawbacks. Firstly, if the dither threshold at a particular dot location is lower than both segments" interpolated continuous tone values then both segments will produce a dot for that location. Since the two dots will overlap, the intensities promised by the two dither matrices will be only partially reproduced, leading to a loss of overall intensity. This can be remedied by ensuring that corresponding nozzles never both produce a dot. This can also be achieved by using the inverse of the dither matrix for alternating segments, or dithering the continuous tone value through a single dither matrix and then assigning the output dot to one or the other nozzle stochastically, according to a probability given by the current interpolation factor.
Secondly, adjacent dots printed by different segments will overlap again leading to a loss of overall intensity.
As shown in Fig. 6, the value for each overlapped segment is plotted along the horizontal axes 60, 62 as VA and VB respectively between the values of 0.0 and 1.0. The calculated output 66 is plotted with respect to the vertical axis 64 as a function, U+B, for values ranging from 0.0 to 1.0. A contour plane 68 shows the resultant values for 1A+B=0.5.
Fig. 6 shows the qualitative shape of the three dimensional function linking the two segments" input continuous tone values V and VB to the observed output intensity U+B. For the first approach, an input continuous tone value V and an interpolation factor f together yield Vpr (1-f) V and Vg = f V. The closer the interpolation factor is to 0.5 the greater the difference between the input continuous tone value and the observed output intensity. For V=1.0, this is illustrated in Fig. 6 by the curve 200 on the vertical VA+VB= 1.0 plane. By definition this curve lies on the function surface. Fig. 6

inaicates mat wtien any kind ot mixing occurs, that is 0.0 V. This forms the basis for the algorithm in appendix A.
The function shows a linear response when only one segment contributes to the output, that is f=0.0 or f=l .0. This assumes of course that the dither matrix includes the effects of dot gain.
The foregoing description has been limited to specific embodiments of this invention . It will be apparent, however, that variations and modifications may be made to the invention, with the attainment of some or all of the advantages of the invention, For example, it will be appreciated that the invention may be embodied in either hardware or software in a suitably programmed digital data processing system, both of which are readily accomplished by those of ordinary skill in the respective arts. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the invention.
static void
ObtainMisregiStrationTransferFunction

(

int dotsPerPixel, int subdotsPerDot, BI_Image const& dotlmage, char const* pDotlmageName, char const* pRefDotlmageName, int const overlapSize, int const overlaplndex, int const misregFactor, BI_Image const& ditherMatrix, BI_LUT& lutv, BI_LUT& lutO, BI LUT& lutl

// 0

overlapSize-1

);
class RLE DotLine
{

public:

int int

RLE_DotLine{)
: m_whiteRun(0), m_blackRun(0) {} RLE_DotLine(int whiteRun, int blackRun)
: m_whiteRun(whiteRun) , in_blackRun(blackRun) {} WhiteRun() const { return m_whiteRun; } BlackRun0 const { return m blackRun; }

private:
int m_whiteRun;
int m_blackRun;
};
typedef vector > RLE_Dot;

static void Usage () {

fprintf(stderr, fprintf(stderr, fprintf(stderr, fprintf(stderr, fprintf(stderr, fprintf(stderr, fprintf(stderr, fprintf(stderr, fprintf(stderr, fprintf(stderr, fprintf(stderr, fprintf(stderr, exit (1) ;

usage: SegitientDither
") ; inputlmageXn"); dotsPerPixel
"); subdotsPerDotXn"); dotlmageXn"); refDotlmageVn"); overlapCenter
"); overlapSizeXn"); misregFactor
"); ditherMatrix
"); outputlmageXn"); outputResolutionXn");

static
void
BadArgument(char const* pErrorMsg)
{
fprintf(stderr, "SegmentDither: argument error: %s
", pErrorMsg);
exit (1) ;
#define CHECK ARGUMENT(cond) if (cond) BadArgument(#cond)
static double MisregDots(int const misregFactor)
{
return (double)misregFactor / 1000;
static int
MisregSubdots(int const misregFactor, int const subdotsPerDot)
{
return (int)BU_Round(MisregDots(misregFactor) * subdotsPerDot)
}
static

void
PutDot (

int const subdotsPerDot,
RLE_Dot consts rleDot,
int const dotRow,
int const dotCol,
int const misregFactor,
BI_Image& outputlmage
int const misregSubdots = MisregSubdots(misregFactor, subdotsPerDot) int const subdotRow = dotRow * subdotsPerDot; int const subdotCol = dotCol * subdotsPerDot;
int const dotOverlap = rleDot.size() - subdotsPerDot; int const dotMargin = dotOverlap / 2;
RLE_Dot::const_iterator ii = rleDot.begin(); for (int i = 0; i int const row = subdotRow - dotMargin + i;
if (row = outputlmage.Height()) continue;
int const whiteRun = {*ii).WhiteRun(); int blackRun = (*ii) .BlackRun ();
int col = subdotCol - dotMargin + whiteRun + misregSubdots; if (col {
blackRun += col; col = 0;
}
if (col + blackRun >= outputlmage.Width())
blackRun = outputlmage.Width() - col; if (blackRun continue;
BU_ExpandBitRun
(
outputlmage.Image(row),
col,
outputlmage.Width 0, blackRun,

static
void
MergeScale
double const scale, ints V, doubles fO, doubles fl
{
double const vScaled = (double)v * scale; if (vScaled (int)BU Round(vScaled)

} else
1

V = 255;
double const fScale = vScaled / 255.0;
fO *= fScale;
fl *= fScale;



static void Dither (

BI_Image consts inputlmage, BI_LUT consts lutDotGain, int const dotsPerPixel, int const subdotsPerDot, BI_Image consts dotlmage, char const* pDotlmageName, char const* pRefDotlmageName, int const overlapCenter, int const overlapSize, int const misregFactor, BI_Image consts ditherMatrix, BI Images outputlmage,

int const outputResolution,
bool const bRetain,
bool const bSkipLHS,
bool const bSkipRHS,
bool const bFixedlnterp = false,
double const fixedFO = 0,
double const fixedFl = 0
// compute overlap interval
int const overlapStart = overiapCenter - (overlapSize / 2);
int const overlapEnd = overlapStart + overlapSize - 1;
// copy and invert dither matrix BI_Image ditherMatrix2; ditherMatrix2 = ditherMatrix; BI_Invert(ditherMatrix2) ;
// initialise and clear output image
int const subdotsPerPixel = dotsPerPixel * subdotsPerDot;
int const bilevelHeight = inputlmage.Height() * subdotsPerPixel;
int const bilevelWidth = inputlmage.Width() * subdotsPerPixel;
if (IbRetain)
{
// initialise
outputlmage.Initialise
(
BI_ColorModel(BI_ColorGrayscale, 1),
bilevelHeight, bilevelWidth, outputResolution, outputResolution
// clear
BI CC* pOutputRow = outputlmage.Image 0;
for (int j = 0; j (
BU_ClearLine(pOutputRow, outputlmage.Width()); pOutputRow += outputlmage.RowSize0;
// convert dot image to RLE RLE Dot rleDot;

for (int i = 0; i int const whiteRun = BU_GetBitRun (
dotImage.Image(i), 0,
dotlmage.Width 0, 0 // white );
int blackRun;
if (whiteRun == dotlmage.Width()) {
blackRun = 0; }
else {
blackRun = BUGetBitRun (
dotlmage.Image(i), whiteRun, dotImage.Width(), 1 // black ); ) rleDot.push_back(RLE_DotLine(whiteRun, blackRun))
// dither contone input image to bi-level output image
BI_CC const* pimage = inputImage.Image();
BI_CC const* pRow = pimage;
BI_CC const* pDither = ditherMatrix.Image();
BI_CC const* pDitherRow = pDither;
BI_CC const* pDither2 = ditherMatrix2.Image();
BI_CC const* pDitherRow2 = pDither2;
int ditherRow = 0;
for (int row = 0; row {
for (int dotRow = 0; dotRow {
int const globalDotRow = (row * dotsPerPixel) + dotRow;
BI_CC const* pPixel = pRow;
BI_CC const* pDitherPixel = pDitherRow;
BI_CC const* pDitherPixel2 = pDitherRow2;
int ditherCol = 0;
for (int col = 0; col
int const vRaw = *pPixel++;
int const vDotGain = lutDotGain[vRaw];
for (int dotCol = 0; dotCol {
int vRawDot = vRaw;
int const tO = *pDitherPixel;
int const tl = tO; //*pDitherPixel2;
int const globalDotCol = (col * dotsPerPixel) +
dotCol;

dither

// interpolate intensities in overlap region and
// one or the other or both
if (IbFixedlnterp &s globalDotCol


overlapStart)
&& vDotGain != 0)
tl;
&& vDotGain != 0))

int const t = tO;
if ( (VDotGain == 255) I I (vDotGain >= t
if (IbSkipLHS) {
PutDot
subdotsPerDot,
rleDot,
globalDotRow,
globalDotCol,
0,
outputlmage
);
else
if (IbFixedlnterp S& overlapEnd {
int const t = (overlapSize == 0) ? tO :
if ((vDotGain == 255) II (vDotGain >= t
if (IbSkipRHS)

PutDot (

subdotsPerDot,
rleDot,
globalDotRow,
globalDotCol,
misregFactor,
outputlmage

) ;
else {
#if 1

MisregDots(misregFactor); overlapSize + misregDots; newOverlapSize / overlapSize;
overlapScale) ;

// account for stretch or shrink
if (IbFixedlnterp)
{
double const misregDots =
double const newOverlapSize =
double const overlapScale =
vRawDot = (int)BU_Round(vRawDot *
if (vRawDot > 255)
vRawDot = 255; //MergeScale(overlapScale, vRawDot,

fO, fl);
#endif

tif 1

// compute interpolation factors double fO, fl; if (bFixedlnterp)
{
fO = fixedFO;
fl = fixedFl; }
else (

// compute overlap index int const overlaplndex =
globalDotCol - overlapStart;
// obtain misregistration LUTs BI_LUT lutv; BI_LUT lutO; BI LUT lutl
ObtainMisregistrationTransferFunction
dotsPerPixel,
subdotsPerDot,
dotlmage,
pDotImageName,
pRefDotlmageName,
overlapSize,
overlaplndex,
misregFactor,
ditherMatrix,
lutv,
lutO,
lutl
);
// retrieve interpolation factors fO = (double)lutO[vRawDot] / 255; fl = (double)lutl[vRawDot] / 255; if (globalDotCol > overlapCenter) BU_Swap(fO, fl);
// adjust intensity for attenuation vRawDot = lutv[vRawDot];
endif

"Raw=%d v=%d
",

// diagnostics
//printf("f0=%5.11f fl=%5.11f (%5.11f)
// fO, fl, fO + fl, vRaw, vRawDot);
// interpolate dither witli jitter
int vd = 0; int vOd = 0; int vld = 0;

if {(vRawDot == 255) || (vRawDot >= tO &S
vRawDot != 0)
vd = 1;
double const rr = (double)rand() /
RAND MAX;
if (vd &S rr
1

vOd = 1;
if (IbSltipLHS)
i
PutDot

subdotsPerDot,
rleDot,
globalDotRow,
globalDotCol,
0,
outputlmage
if (vd && (1.0 - rr) {
vld = 1;
if (!bSl {
PutDot
subdotsPerDot,
rleDot,
globalDotRow,
globalDotCol,
misregFactor,
outputlmage
);

#if 0

if (globalDotRow == 864) (

%3d) ",
vl, vO + vl);

printf("%ld %ld %ld (%3d %3d %3d vd, vOd, vld, vRawDot, vO,
if (vOd + vld printf("?"); if (vOd + vld > vd)
printf("#"); printf("
");

#endif
pDitherPixel++;
pDitherPixel2++;
ditherCol++;
if (ditherCol >= ditherMatrix.Width{))
{
pDitherPixel = pDitherRow;
pDitherPixel2 = pDitherRow2;
ditherCol = 0;
pDitherRow += ditherMatrix.RowSize() ; pDitherRow2 += ditherMatrix2.RowSize (); ditherRow++;
if (ditherRow >= ditherMatrix.Height()) {
pDitherRow = pDither;
pDitherRow2 = pDither2;
ditherRow = 0;
pRow += inputlmage.RowSize{)
static
void
ChangeFileSuffix
(
char const* pPath,
char const* pSuffix,
char const* pExt,

char path[_MAX__PATH] ) {
char drive[_MAX_DRIVE];
char dir[_MAX_DIR];
char fname[_MAX_FNAME];
char ext[_MAX_EXT];
_splitpath(pPath, drive, dir, fname, ext)
strcat(fname, pSuffix);
_makepath(path, drive, dir, fname, pExt);
static
void
LogTransferFunction(char const* pType, double const intensity[], int const v)
{
printf("%s: %03d : %5.11f (%5.11f)
",
pType, V, intensity[v], v - intensity[v]); }
static void
ComputeMisregistrationTransferFunction (
int dotsPerPixel,
int subdotsPerDot,
BI_Image consts dotlmage,
char const* pDotlmageName,
double const fO,
double const fl,
int const misregFactor,
BI_Image consts ditherMatrix,
BI_LUT& lutv,
BI_LUT& lutO,
BI LUT& lutl
// create test image BI_Image testlmage; testImage.Initialise (
BI_ColorModel(BI_ColorGrayscale),
ditherMatrix.Height (),
ditherMatrix.WidthO

// build identity transfer function BI_LUT identityLut; for (int V = 0; v // create output image BI_Image outputlmage;
// compute intensity for each gray level
double intensity[512];
int vLast;
for (V = 0; V {
// compute extended interpolation factors
double fOx, fix;
int vx;
if {V
VX = V;
fOx = fO;
\ fix = fl;
else
{
VX = 255;
double const fScale = {double)v / 255.0;
fOx = fO * fScale;
fix = fl * fScale;
// set test image to next intensity testlmage = BI_Color((BI_CC)vx);
// dither test image to bi-level output Dither
(
testlmage,
identityLut,
dotsPerPixel,
subdotsPerDot,
dotImage,
pDotlmageName,
pDotImageName,
0, 0, // no explicit overlap

misregFactor,
ditherMatrix,
outputlmage,
72,
false,
false,
false,
true,
fOx,
fix

// output resolution // don"t retain output image // don"t skip LHS // don"t skip RHS // fixed interpolation

) ;
// determine intensity of dithered bi-level output
long nDots = 0;
BI_CC const* pRow = outputlmage.Image();
for (int row = 0; row {
nDots += BU_CountBits(pRow, 0, outputlmage.Width ());
pRow += outputlmage.RowSize0; }
intensity[v] = 255 * (double)nDots / outputlmage.PixelCount (); //LogTransferFunction("misreg", intensity, v);
vLast = v;
if (intensity[v] >= 255) break;
}
LogTransferFunction("misreg", intensity, 1);
LogTransferFunction("misreg", intensity, vLast) ;
// create LUTs
for (int X = 0; X {
double d = -1;
for (v = 0; V {
double const d2 = BU_Abs(intensity[v] - x)
if (d d = d2;
if (V {
lutv[x] = v;
int const kO = (int)BU_Round(f0 * 255);
lut0[xj = (BI CC)BU Min(kO, 255);

int const kl = (int)BU_Round(f1 * 255); lutl[x] = (BI COBU Min(kl, 255);
}
else
{

f0=%5.11f fl=%5.11f
",

lutv[x] = 255;
int const kO = (int)BO_Round(f0 * v);
lutO[x] = (BI_CC)BU__Min(kO, 255);
int const kl = (int)BU_Round(f1 * v);
lutl[x] = (BI_CC)BU_Min(kl, 255);
if (kO > 255 II kl > 255)
{
fprintf(stderr, "kO=%d kl=%d (x=%d v=%d
kO, kl, X, V, fO, fl);

static
void
SimplifyFraction(int& n, int& d)
{
for (int i = n; i > 1 && n > 1; —i)
{
if ((d % i) == 0) {
if ((n % i) == 0) {
n /= i; d /= i; }
static void
ObtainMisregistrationTransferFunction
(
int dotsPerPixel, int subdotsPerDot,

Bi_image consts dotlmage, char const* pDotlmageName, char const* pRefDotlmageName, int const overlapSize, int const rawOverlapIndex, int const misregFactor, BI_Image consts ditherMatrix, BI_LUT& lutv, BI_LUTS lutO, BI LUT& lutl

// 0

overlapSize-1

// normalize overlap index
int overlaplndex = rawOverlapIndex;
if (overlaplndex >= ((overlapSize + 1) / 2) )
overlaplndex = (overlapSize - 1) - overlaplndex;
char lutvName[_MAX_PATH] char lutOName[_MAX_PATH] char lutlName[_MAX_PATH] char suffix! MAX FNAME];
int interpNum = overlaplndex + 1; int interpDenom = overlapSize + 1; SimplifyFraction(interpNum, interpDenom);
sprintf(suffix, "_%03d_%02d_%02d",
BU_Abs(misregFactor), interpNum, interpDenom); ChangeFileSuffix(pRefDotlmageName, suffix, ".amp", lutvName);
sprintf(suffix, "_%03d_%02d_%02d_0",
BU_Abs(misregFactor), interpNum, interpDenom); ChangeFileSuffix(pRefDotlmageName, suffix, ".amp", lutOName);
sprintf(suffix, "_%03d_%02d_%02d_l",
BU_Abs(misregFactor), interpNum, interpDenom); ChangeFileSuffix(pRefDotlmageName, suffix, ".amp", lutlName);
try
BU_File lutvFile(lutvName, _0_BINARY | _0_RDONLY);
lutv.Load(lutvFile);
BU_File lutOFile(lutOName, _0_BINARY | _0_RDONLY);
lutO.Load(lutOFile);
BU File lutlFile(lutlName, 0 BINARY | 0 RDONLY);

lutl.Load(lutlFile);
}
catch (...)
{
//if using a reference dot image, LUTs must already exist
if (strcmp(pDotImageName, pRefDotlmageName) != 0)
{
fprintf(stderr, "can"t load %s or %s or %s
", lutvName, lutOName, lutlName);
exit (1) ; }
// determine interpolation factors
double fl = (double)interpNum / interpDenom;
double fO = 1.0 - fl;
ComputeMisregistratlonTransferFunction (
dotsPerPixel,
subdotsPerDot,
dotImage,
pDotImageName,
. fo,
fl,
BU_Abs(misregFactor),
ditherMatrix,
lutv,
lutO,
lutl ) ;
BU_File lutvFile(lutvName, _0_BINARY I _0_WRONLY I _0_CREAT); lutv.Save(lutvFile) ;
BU_File lutOFile(lutOName, _0_BINARy i _0_WRONLY | _0_CREAT); lutO.Save(lutOFile);
BU_File lutlFile(lutlName, _0_BINARY I _0_WRONLY I _0_CREAT); lutl.Save(lutlFile);
static
void
ComputeDotGainTransferFunction
(
int dotsPerPixel, int subdotsPerDot,

BI_Image consts dotlmage, char const* pDotlmageName, BI_Image consts ditherMatrix, BI LUTS lutDotGain
// create test image BI_Image testImage,■ testImage.Initialise (
BI_ColorModel(BI_ColorGrayscale) ,
ditherMatrix.Height() ,
ditherMatrix.Width()
);
// build identity transfer function BI_LUT identityTransferFunction,■ for (int V = 0; V identityTransferFunction[v] = v;
// create output image BI_Image outputImage;
// compute intensity for each gray level double intensity[256]; for (V = 0; V {
// set test image to next intensity testlmage = BI_Color((BI_CC)v);
// dither test image to bi-level output
Dither
{
testlmage,
identityTransferFunction,
dotsPerPixel,
subdotsPerDot,
dotlmage,
pDotImageName,
pDotImageName,
0, 0, // no overlap
0, // no misregistration
ditherMatrix,
outputlmage,
72 // output resolution

false, // don"t retain output image
false, // don"t skip LHS
false // don"t skip RHS
) ;
// determine intensity of dithered bi-level output
long nDots = 0;
BI_CC const* pRow = outputlmage.Image();
for (int row = 0; row {
nDots += BU_CountBits(pRow, 0, outputlmage.Width()); pRow += outputlmage.Rowsize();
)
intensity[v] = 255 * (double)nDots / outputlmage.PixelCount ();
//LogTransferFunction("dot gain", intensity, v); }
LogTransferFunction("dot gain", intensity, 1); LogTransferFunctionC"dot gain", intensity, 255);
// create LUT
for (int X = 0; x {
double d = -1;
for (V = 0; V {
double const d2 = BU_Abs(intensity[v] - x);
if (d {
d = d2;
lutDotGain[x] = v; }
atic id
:ainDotGainTransferFunction
int dotsPerPixel, int subdotsPerDot, BI_Image consts dotlmage, char const* pDotlmageName, char const* pRefDotlmageName, BI Image consts, ditherMatrix,

BI LUT& lutDotGain
char lutName[_MAX_PATH];
ChangeFileSuffix(pRefDotImageName, "", ".amp", lutName); try
(
BU_File lutFile(lutName, _0_BINARY I _0_RDONLY); lutDotGain.Load(lutFile); }
catch (...) {
// if using a reference dot image, LUT must already exist
if (strcmp(pDotlmageName, pRefDotlmageName) != 0)
{
fprintf(stderr, "can"t load %s
", lutName);
exit (1); }
ComputeDotGainTransferFunction (
dotsPerPixel,
subdotsPerDot,
dotlmage,
pDotlmageName,
ditherMatrix,
lutDotGain
) ;
BU_File lutFile(lutName, _0_BINARY I _0_WRONLY | _0_CREAT);
lutDotGain.Save(lutFile);
static void
SegmentDither(int argc, char* argv[])
I
// parse arguments if (argc != 12) Usage(); char const* pInputlmageName = argv[l]; int const dotsPerPixel = atoi(argv[2]); int const subdotsPerDot = atoi (argv [3]); char const* pDotlmageName = argv[4]; char const* pRefDotlmageName = argv[5]; int const overlapCenter = atoi(argv[6]);

int const overlapSize = atoi{argv[7]);
int const misregFactor = atoi(argv[8]);
int const misregSubdots = MisregSubdots(misregFactor, subdotsPerDot);
char const* pDitherMatrixName = argv[9];
char const* pOutputlmageName = argv[10];
int const outputResolution = atoi(argv[11]);
// open input image BI_Image inputlmage;
BI_LoadImage(inputlmage, pInputlmageName); CHECK_ARGUMENT(inputlmage.ColorModel() != BI_ColorModel(BI_ColorGrayscale));
BI_Invert (inputlmage) ; // max is blacl // check arguments
CHECK_ARGUMENT(dotsPerPixel CHECK_ARGUMENT(dotsPerPixel > 16);
CHECK_ARGUMENT(subdotsPerDot CHECK_ARGUMENT(subdotsPerDot > 32);
CHECK_ARGUMENT(overlapCenter CHECK_ARGUMENT(overlapCenter >= inputlmage.Width() * dotsPerPixel);
CHECK_ARGUMENT(overlapSize CHECK_ARGUMENT(misregSubdots CHECK_ARGUMENT(misregSubdots > subdotsPerDot / 2);
CHECK_ARGUMENT(outputResolution // diagnostics
printf("misregSubdots=%d
", misregSubdots);
// open dot image
BI_Image dotlmage;
BI_LoadImage(dotlmage, pDotlmageName);
D)
CHECK_ARGUMENT(dotlmage.ColorModel() != BI_ColorModel(BI_ColorGrayscale,
CHECK_ARGUMENT(dotlmage.Height() // open dither matrix
BI_Image ditherMatrix;
BI Loadlmage(ditherMatrix, pDitherMatrixName);

CHECK_ARGUMENT(ditherMatrix.ColorModel () ! = BI_ColorModel(BI_ColorGrayscale, 8)) ;
CHECK_ARGUMENT(ditherMatrix.Height{) // create output image BI_Image outputlmage;
// obtain dot gain transfer function for particular dot shape BI_LUT lutDotGain; ObtainDotGainTransferFunction (
dotsPerPixel,
subdotsPerDot,
dotlmage,
pDotlmageName,
pRefDotlmageName,
ditherMatrix,
lutDotGain );
// dither input to bi-level output
Dither
(
inputlmage,
lutDotGain,
dotsPerPixel,
subdotsPerDot,
dotlmage,
pDotlmageName,
pRefDotlmageName,
overlapCenter,
overlapSize,
misregFactor,
ditherMatrix,
outputlmage,
outputResolution,
false, // don"t retain output image
false, // don"t skip LHS
false // don"t skip RHS
);
BI_SaveImage(outputlmage, pOutputlmageName);
// dither input to bi-level output (LHS only) BI Image outputlmageLHS;

Dither (
inputImage,
lutDotGain,
dotsPerPixel,
subdotsPerDot,
dotlmage,
pDotImageN ame,
pRefDotImageName,
overlapCenter,
overlapSize,
misregFactor,
ditherMatrix,
outputImageLHS,
outputResolution,
false, // don"t retain output image
false, // don"t skip LHS
true // skip RHS
); BI_SaveImage(outputlmageLHS, "OutLHS.tif");
// dither input to bi-level output (RHS only)
BI_Image outputlmageRHS;
Dither
(
inputImage,
lutDotGain,
dotsPerPixel,
subdotsPerDot,
dotlmage,
pDotImageName,
pRefDotlmageName,
overlapCenter,
overlapSize,
misregFactor,
ditherMatrix,
outputImageRHS,
outputResolution,
false, // don"t retain output image
true, // skip LHS
false // don"t skip RHS
) ;
BI Savelmage(outputlmageRHS, "OutRHS.tif");
// dither input to bi-level output (no interp)

BI_Image outputlmageNoInterp;
Dither
(
inputlmage,
lutDotGain,
dotsPerPixel,
subdotsPerDot,
dotlmage,
pDotImageName,
pRefDotlmageName,
overlapCenter,
overlapSize,
misregFactor,
ditherMatrlx,
outputlmageNoInterp,
outputResolution,
false, // don"t retain output image
false, // skip LHS
false, // don"t skip RHS
true, // fixed interp
0, // fO
0 // fl
);
BI Savelmage(outputlmageNoInterp, "OutNoInterp.tif");
void
main(int argc, char* argv[])
(
try
(
SegmentDither(argc, argv)
catch (BU Error error)
error.Print()
exit (0) ;

WE CLAIM :
1. A method for controlling firing of nozzles within overlapped print head segments of an ink ejection print head, wherein the spatial relationship between adjacent print head segments is variable with time; said method comprising the steps of: (a) determining a measure of the overlap between adjacent print head segments ; (b) creating a half toning pattern for the nozzles in the region of overlap of the overlapping segments; and (c) adjusting said half toning pattern as a function of said measure in the overlapping regions of said print head segments to reduce artifacts produced by the overlapping of said print head segments.
2. The method as claimed in claim 1 wherein said step of determining a measure of the overlap between adjacent print head segments comprises measuring the temperature of the print head segment.
3. The method as claimed in claim 1 wherein said step of determining a measure of the overlap between adjacent print head segments comprises measuring the relative displacement of said overlapping segments.
4. The method as claimed in claim 2 wherein said step of creating a half toning pattern for the nozzles in the region of overlap of the overlapping segments comprises employing a dither matrix with an interpolation function.
5. The method as claimed in claim 4 wherein said step of adjusting said half toning pattern is such that VA + VB is greater than V where VA and VB are the respective independent dither matrix values of the two adjacent segments and V is the continuous tone value to be represented.

6. The method as claimed in claim 5 comprising the step of adjusting the firing of nozzles in adjacent segments such that corresponding nozzles of respective segments never both fire simultaneously.
7. The method as claimed in claim 5 wherein said step comprises the step of using the inverse of the dither matrix for alternating segments.
8. The method as claimed in claim 5 wherein said step comprises the step of assigning the output dot to one or the other nozzle stochastically according to a probability given by a current interpolation factor of said interpolation function.
9. The method as claimed in claim 3 comprising the step of ensuring that corresponding nozzles of adjacent overlapping segments never both produce an output.

Documents:

in-pct-2002-1912-che abstract.jpg

in-pct-2002-1912-che abstract.pdf

in-pct-2002-1912-che assignment.pdf

in-pct-2002-1912-che claims-duplicate.pdf

in-pct-2002-1912-che claims.pdf

in-pct-2002-1912-che correspondence-others.pdf

in-pct-2002-1912-che correspondence-po.pdf

in-pct-2002-1912-che description (complete)-duplicate.pdf

in-pct-2002-1912-che description (complete).pdf

in-pct-2002-1912-che drawings-duplicate.pdf

in-pct-2002-1912-che drawings.pdf

in-pct-2002-1912-che form-1.pdf

in-pct-2002-1912-che form-19.pdf

in-pct-2002-1912-che form-3.pdf

in-pct-2002-1912-che form-4.pdf

in-pct-2002-1912-che form-5.pdf

in-pct-2002-1912-che others.pdf

in-pct-2002-1912-che pct.pdf

in-pct-2002-1912-che petition.pdf


Patent Number 202402
Indian Patent Application Number IN/PCT/2002/1912/CHE
PG Journal Number 05/2007
Publication Date 02-Feb-2007
Grant Date 05-Oct-2006
Date of Filing 22-Nov-2002
Name of Patentee M/S. SILVERBROOK RESEARCH PTY LTD
Applicant Address 393 Darling Street, Balmain, New South Wales 2041
Inventors:
# Inventor's Name Inventor's Address
1 SILVERBROOK, Kia Silverbrook Research Pty Ltd, 393 Darling Street, Balmain, New South Wales 2041
2 LAPSTUN, Paul 13 Duke Avenue, Rodd Point, NSW 2046
PCT International Classification Number B41J 2/145
PCT International Application Number PCT/AU2000/000593
PCT International Filing date 2000-05-24
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 NA