METHOD OF GLOSS CORRECTION

20170274598 · 2017-09-28

Assignee

Inventors

Cpc classification

International classification

Abstract

A method of gloss correction in a process of printing a three-dimensional object, wherein a print head is moved in two directions parallel to a substrate to slicewise apply material building the object up to a height as defined in a height map, comprising the steps of: deriving, from the height map, a normal map which assigns to any point of the object surface a normal vector that is normal to the surface of the object; segmenting the surface points into at least two regions in which the normal vectors of points in the region fulfill a predefined similarity criterion that is related to a surface gloss of the object; for each region, estimating an expected surface gloss value of the object; calculating a gloss correction map based on a difference between the estimated surface gloss values for said at least two regions; and applying to the object a surface treatment in accordance with the gloss correction map.

Claims

1. A method of gloss correction in a process of printing a three-dimensional object, wherein a print head is moved in a main scanning direction x and a sub-scanning direction y relative to a print substrate, the method comprising the steps of: a) providing a height map z(x, y) which defines the object to be printed by assigning to each point in a set of points in an x-y-plane that is spanned by the main scanning direction x and the sub-scanning direction y a height value z(x, y) of a surface of the object; b) deriving, from the height map, a normal map which assigns to each point in the set a normal vector N(x, y) that is normal to the surface of the object at that point; c) segmenting the set of points into at least two regions in which the normal vectors of all points in the region fulfill a predefined similarity criterion that is related to a surface gloss of the object; d) for each region, estimating an expected surface gloss value of the object; e) calculating a gloss correction map on the basis of a difference between the estimated surface gloss values for said at least two regions; and f) while printing the object, applying to the object a surface treatment in accordance with the gloss correction map.

2. The method according to claim 1, wherein said at least two regions comprise regions of at least two different classes, one class being a class of regions which have a size larger than a predetermined minimum size and for which the similarity criterion is that the normal vectors N(x, y) deviate from the vertical by not more than a given threshold value.

3. The method according to claim 1, wherein said at least two regions comprise regions of more than two classes, each class being characterized by a given standard normal vector, and the similarity criteria for these regions are that the normal vector at all points in the region deviates from the corresponding standard normal vector by not more than a given threshold.

4. The method according to claim 1, wherein said at least two regions comprise at least one region of a class for which the similarity criterion is that the partial derivatives of the normal vector N(x, y) in the direction x and in the direction (y) at all points within the region are smaller than a given threshold value.

5. The method according to claim 1, wherein the step of segmenting comprises applying at least one of a morphological opening operation and a morphological closing operation.

6. The method according to claim 1, wherein the surface treatment comprises a step of applying transparent ink on a smooth surface such that the transparent ink forms a rougher surface.

7. The method according to claim 1, wherein the surface treatment comprises a step of applying transparent ink on a rough surface such that the transparent ink forms a smoother surface.

8. The method according to claim 1, wherein the print process comprises the application of radiation curable ink, wherein the surface treatment comprises a step of controlling a radiation source for curing the ink.

9. A printer for printing three-dimensional objects, the printer comprising a print head arranged to be moved in a main scanning direction x and a sub-scanning direction y relative to a print substrate, and an electronic controller, wherein the controller is configured to perform a method according to claim 1.

10. A software product comprising program code on a machine-readable medium, wherein the program code, when loaded into a controller of a printer for printing three-dimensional objects, causes the controller to perform a method according to claim 1.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Embodiment examples will now be described in conjunction with the drawings, wherein:

[0027] FIG. 1 is a schematic view of an ink jet print head and a three-dimensional object printed thereby;

[0028] FIG. 2 illustrates specular and diffuse reflection of light at the surface of the printed object;

[0029] FIG. 3 shows a (one-dimensional) height map and normal vectors as determined by the height map;

[0030] FIG. 4 shows schematically a normal map of the printed object shown in FIGS. 1 and 2;

[0031] FIG. 5 shows a zenith angle map of the printed object;

[0032] FIG. 6 shows the result of a segmentation process applied to the zenith angle map shown in FIG. 5;

[0033] FIGS. 7 to 10 illustrate a segmentation process for a part of the normal map shown in FIG. 4;

[0034] FIGS. 11 and 12 are enlarged sectional views of parts of a printed object for illustrating different surface treatment techniques; and

[0035] FIG. 13 is a flow diagram showing the essential steps of a method according to the invention.

DETAILED DESCRIPTION OF EMBODIMENTS

[0036] The present invention will now be described with reference to the accompanying drawings, wherein the same or similar elements are identified with the same reference numeral.

[0037] As is shown in FIG. 1, a carriage 10 of an ink jet printer is movable in a main scanning direction x along a guide rail 12 and carries on its bottom side a number of print heads 14 arranged to eject droplets of curable ink downwardly towards a print substrate 16 in order to print a three-dimensional object 18 by superposing a plurality of layers of ink. In the example shown, the carriage 10 has six print heads for printing with UV-curable ink in the colors cyan, magenta, blue, black and white. A sixth print head is provided for printing with transparent ink. A curing lamp 20 is provided at either end of the row of print heads 14 for curing each freshly deposited layer of ink by irradiating it with UV light. The printer is controlled by an electronic controller Cont in which a software for performing the method according to the invention is loaded.

[0038] The height of the object 18 in a height direction z normal to the main scanning direction x is controlled by controlling the number of ink layers that are superposed at each x-position.

[0039] In the example shown, a surface 22 of the object 18 on the top side and the lateral sides is formed by a mosaic of flat facets 24 which differ in size and in their orientation in space. Since FIG. 1 shows only a two-dimensional section of the object 18, the facets 24 appear as straight lines.

[0040] FIG. 2 shows the same sectional view of the object 18 as FIG. 1 and further shows a bundle of parallel light rays 26 which are incident upon the surface 22 and are reflected at that surface in directions that are determined by the inclination of the facets 24 at the respective points of incidence. The rays 26 may be considered to originate from a bright illumination lamp disposed at such a large distance from the object 18 that the rays 26 are practically parallel.

[0041] As is further shown in FIG. 2, the surface 22, at least in the sectional plane shown in FIG. 2, may be divided into different regions a-e which have different reflection and gloss properties. In the region “a”, the surface 22 is flat and forms a relatively steep slope. The rays 26 incident in this region are all reflected in the same direction as is indicated by parallel arrows 28 with black arrow heads. Thus, in this region “a”, the surface 22 is glossy and causes specular reflections.

[0042] In the region b, the surface 22 is composed of a large number of small facets which, however, have all a very low inclination, so that the surface in the region b, as a whole, is practically horizontal. The rays 26 incident on that surface are reflected not exactly in the same direction but in very similar directions, as is indicated by arrows 30 with black arrow heads. Since the arrows 30 are almost parallel to each other, the surface in the region b will also be perceived as glossy.

[0043] In the neighboring region c, the surface 22 as a whole is also horizontal, but the relatively small facets have larger inclinations. As a consequence, the rays 26 incident in this region are diffusely reflected in different directions as has been indicated by arrows 32 with white arrow heads. In this region, the surface will have a matt appearance, i.e. a low gloss.

[0044] In the region d, the surface as a whole is inclined, but all the facets in that region have essentially the same inclination, so that all rays 26 are reflected in the same direction, as is indicated by arrows 34 with black arrow heads. The surface in this region will therefore appear glossy.

[0045] Finally, in the region e, the surface as a whole is inclined, but the individual facets have inclinations that significantly differ from one another, so that the incident light is again diffusely reflected, as has been indicated by arrows 36 with white arrow heads. In this region, the surface will have a matt appearance, i.e. a low gloss.

[0046] It will be understood that the object 18 and also its surface regions a-e are extended also in a direction y normal to the plane of the drawings in FIGS. 1 and 2. The guide rail 12 shown in FIG. 1 is therefore movable also in the direction y which is called the sub-scanning direction.

[0047] FIG. 3 shows a height map z(x, y) which indicates, for each point in the x-y-plane, the height of the surface of the object. What is shown in FIG. 3 is only the part of the height map with a constant y-value that represents the sectional plane in FIGS. 1 and 2.

[0048] This height map can be used for calculating, for each point in the x-y-plane, a normal vector N(x, y) which is a unit vector (length units are arbitrary) pointing in the direction normal to the surface 22 at that point. The x-component of the normal vector may be calculated by partial differentiation of the height map z(x, y) in the x-direction, and the y-component of the normal vector can be obtained by partial differentiation of z(x, y) in the y-direction. The z-component of the normal vector may then be scaled such that the normal vector has unit length.

[0049] FIG. 3 shows examples of normal vectors N(x, y) for a number of selected points x1-x8 on the x-axis. It can be seen that the normal vectors at the points x1 and x2 in the region “a” are identical, the normal vectors at the points x3 and x4 in the region b are almost identical, just as the normal vectors at the points x7 and x8 in the region d, whereas the normal vectors at the points x5 and x6 in the matt region c greatly differ from one another. Thus, the normal vectors N(x, y) can be used for classifying the regions a-e.

[0050] A first classification scheme may distinguish only between horizontal regions and non-horizontal regions. In that case, it is sufficient to consider the zenith angles φ which the normal vectors form with the vertical direction (z).

[0051] FIG. 4 shows the shape of the regions a-e in the x-y-plane. It turns out that the regions c and e are actually contiguous.

[0052] For some of the points in the x-y-plane, FIG. 4 shows also the projections of the normal vectors onto the x-y-plane. The length of this projection is the sine of the zenith angle φ. Thus, short vectors in FIG. 4 indicate small zenith angles and consequently an essentially horizontal surface, whereas long vectors in FIG. 4 indicate large zenith angles and consequently a steeper slope of the surface.

[0053] The pattern shown in FIG. 4 may therefore be considered as a zenith angle map indicating the zenith angle φ (x, y) for each point in the x-y-plane. In order to distinguish between horizontal and non-horizontal regions, this zenith angle map may be thresholded with a suitable threshold value so as to obtain a binary zenith angle map 38 as shown in FIG. 5. The almost horizontal region b can be recognized, but it still contains some islands 40 where the zenith angle happens to be larger than the threshold value. Conversely, all the rest of the surface 22 is basically classified as non-horizontal but still includes some almost horizontal spots 42.

[0054] In order for a horizontal surface region to be perceived as glossy or mat, it is required that the region has a certain minimum size (e.g. 0.5 mm) in both the x-direction and the y-direction. In the example shown in FIG. 5, the islands 40 and the spots 42 are below this minimum size and should therefore be eliminated. In practice, this can be achieved by applying a morphological opening and closing algorithm, as is well known in the art. The result is shown in FIG. 6, where the surface 22 of the object is segmented into the horizontal region b and all the rest which is non-horizontal.

[0055] FIG. 6 may be considered as a gloss correction map which determines where a surface treatment should be applied in order to equalize the gloss in the two regions.

[0056] In practice, it may in many cases not be sufficient to identify just horizontal glossy regions, because other regions, such as the regions a and d in FIGS. 2 and 4 which are inclined but not very rough, may also have an undesired gloss.

[0057] In order to be able to identify such regions, the simple classification scheme that has been described above, based on the zenith angle, may be extended to a scheme that includes more classes for the normal vectors N(x, y). For example, it is possible to define a number n=5 of classes of normal vectors, in which each class is represented by a different standard normal vector. In this example, the five standard normal vectors may be considered as the normal vectors of the five faces of a four-sided truncated pyramid. Then, each normal vector N(x, y) would be classified in the class belonging to the standard normal vector with which it has the highest similarity (i.e. the difference between the normal vector and the standard normal vector is smallest). This will result in a normal vector map with regions which each belong to one of five classes, one of the classes representing horizontal regions and the other four classes representing inclined regions with different orientations. Then, again, a segmentation process such as morphological opening and closing may be applied in order to eliminate islands and to join closely adjacent regions which belong to the same class.

[0058] Of course, this scheme may be extended by increasing the number n of classes as desired. However, these schemes would only help to identify regions such as the region d which have an essentially uniform gradient. It would however not help for identifying the region “a” in FIG. 4, for example, where the normal vectors (and also their projections on x-y-plane) point into substantially different directions, so that different sub-regions of the region “a” would be classified in different classes. These sub-regions of the region “a” could still be recognized as glossy regions, provided that their size is still large enough. However, if the classification leads to a subdivision of the region “a” into ever smaller sub-regions (which will happen when the number n is increased), the region “a” will no longer be identified as a set of glossy sub-regions but will erroneously be classified as one rough, non-glossy region.

[0059] It may therefore be appropriate to apply a similarity criterion that does not simply require that all normal vectors are similar to the same standard normal vector, but instead requires only that the variation of the normal vectors is slow when the coordinates x and y are varied. An example of such a scheme is shown in FIGS. 7 to 10.

[0060] FIG. 7 shows the regions “a” and “b” which, however, have not yet been classified. The classification starts by arbitrarily selecting certain start points that are scattered over the x-y-plane, and by considering an environment 44, 46 (e.g. a circle with a diameter of 0.5 mm) around each start point. Then it is checked for each environment 44, 46 whether the largest difference between two normal vectors in this environment is smaller than a threshold value. If this is the case, the environment becomes the nucleus of a glossy region. If the criterion is not fulfilled, the start point is randomly shifted in the x-y-plane and the process is repeated. In the example shown in FIG. 7, the environment 44 is classified as horizontal, and the environment 46 is classified as a slope.

[0061] Then, the environments are shifted as has been indicated by dotted lines in FIG. 7, and it is checked whether the similarity criterion is also fulfilled for the shifted environments. If yes, the old and the new environment are united; if not, the new environment is discarded. The result of this first shift operation is shown in FIG. 8, where a larger horizontal environment 44′ has been formed whereas the environment 46 has remained the same.

[0062] Then, the shifting operation is repeated, possibly in a different direction, as has been indicated by dotted lines in FIG. 8, and the similarity criterion is applied once again in order to either enlarge the environment or leave it as it is. In this way, as is shown in FIG. 9, a larger horizontal environment 44″ is created, and the environment 46 has now also been enlarged successfully to become a new environment 46′.

[0063] This process is iterated until an enlarged environment 44m exhausts almost the entire region “b” and an enlarged environment 46″ exhausts almost the entire region “a”. Then, morphological opening and closing or other techniques may be applied for closing the gaps and regularizing the borders.

[0064] It is possible that, in the initial step shown in FIG. 7, two or more start points are selected within the same region. In that case, the enlarged environments growing from these start points will “collide” at some point and will then be merged.

[0065] Once the glossy and non-glossy regions of the surface 22 have been identified (i.e. the gloss correction map has been established), the object 18 is printed and a surface treatment is applied for equalizing the gloss.

[0066] FIG. 11 shows an example of a surface treatment operation which is applied to the glossy horizontal region “b” in order to reduce the gloss. To that end, when a top layer 48 of colored (or black or white) ink has been formed, a pattern of finely distributed bumps 50 or ridges is formed on the layer 48 with transparent ink. This has the effect that light beams incident upon and reflected at the layer 48 will be refracted by the transparent ink of the bump 50 and will therefore be reflected diffusely in different directions, so that the gloss value of the region “b” is reduced.

[0067] Conversely, FIG. 12 shows an example of a surface treatment for increasing the gloss of the rough horizontal region “c”. In that case, the colored ink forms a rough surface with small-sized facets 24 which have different orientations, so that notches 52 are formed between the facets. These notches 52 are filled up with transparent ink so as to create a smooth surface with increased gloss.

[0068] In many cases it will be sufficient to distinguish just between glossy and non-glossy surface regions, so that the gloss correction may be achieved by either applying or not applying a surface treatment.

[0069] It is possible however to distinguish between different grades of gloss, for example by applying different thresholds in the assessment of similarity between the normal vectors. Then, the intensity of the surface treatment may be adapted in accordance with the differences between the grades of gloss.

[0070] Gloss differences may also be caused by the inclination of the surface. For example, while the top layer 48 of the colored ink in FIG. 11 forms a relatively smooth surface, a surface layer 54 in the sloping region “a” resembles more a staircase, due to the finite thickness of the individual ink layers. This may result in gloss differences between the regions “a” and “b” although both regions are regarded as smooth. FIG. 11 further shows a region “f” where the gloss of the sloped surface has been increased by applying a layer 56 of transparent ink.

[0071] The essential steps of a method according to the invention have been summarized in FIG. 13.

[0072] In step S1, a height map is provided that defines the shape of the body 18 to be printed. This height map may for example be obtained by scanning a real object in order to make a replica of that object. On the other hand, when the object to be printed has been designed on a computer, the height map can readily be obtained from the computer-generated model of the object.

[0073] In step S2, a normal map is calculated on the basis of the height map. The normal map may be a binary map distinguishing only between two types of normal vectors (vertical and not-vertical) or may be a multi-valued map distinguishing between different classes of normal vectors.

[0074] In step S3, the x-y-plane, or rather the area that is covered by the object to be printed, is segmented into regions in which the normal vectors are similar in the sense that they fulfill one of the similarity criteria that have been described earlier.

[0075] In step S4, a gloss value is estimated for each of the regions that have been identified in step S3. This step is trivial when the distinction is made only between two gloss values (glossy or not glossy).

[0076] Step S5 is a step of calculating a gloss correction map which assigns a necessary amount of gloss correction to each of the regions. In a typical example, it will be the purpose of the gloss correction map to equalize the gloss on the surface of the printed object. The gloss correction map may however be calculated on the basis of other criteria when specific gloss effects are desired.

[0077] Finally, in step S6, the object 18 is printed and the surface treatment is applied as specified in step S5.

[0078] The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.