METHOD OF GLOSS CORRECTION
20170274598 · 2017-09-28
Assignee
Inventors
Cpc classification
B33Y10/00
PERFORMING OPERATIONS; TRANSPORTING
B29K2995/0022
PERFORMING OPERATIONS; TRANSPORTING
B29C64/112
PERFORMING OPERATIONS; TRANSPORTING
B29C64/386
PERFORMING OPERATIONS; TRANSPORTING
B33Y30/00
PERFORMING OPERATIONS; TRANSPORTING
B33Y50/00
PERFORMING OPERATIONS; TRANSPORTING
B33Y50/02
PERFORMING OPERATIONS; TRANSPORTING
H04N1/54
ELECTRICITY
B29C64/20
PERFORMING OPERATIONS; TRANSPORTING
International classification
B33Y50/02
PERFORMING OPERATIONS; TRANSPORTING
B33Y30/00
PERFORMING OPERATIONS; TRANSPORTING
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]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
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
[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
[0040]
[0041] As is further shown in
[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
[0047]
[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]
[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]
[0052] For some of the points in the x-y-plane,
[0053] The pattern shown in
[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
[0055]
[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
[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
[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
[0060]
[0061] Then, the environments are shifted as has been indicated by dotted lines in
[0062] Then, the shifting operation is repeated, possibly in a different direction, as has been indicated by dotted lines in
[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
[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]
[0067] Conversely,
[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
[0071] The essential steps of a method according to the invention have been summarized in
[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.