1. Field of the Invention
The invention relates to 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.
2. Description of the Related Art
Three-dimensional objects, including reliefs, may be printed for example with an ink jet printer in which droplets of curable ink are expelled onto the print substrate in several layers so as to build up the object. A relief is a printed object wherein pixels are characterized by a heigth besides the conventional color channels. This technology may be used for example for printing replica of originals, e.g. paintings or other art work, that have been scanned-in with a 3D-scanner. It turns out however, that the surface gloss of the replica may differ significantly from the gloss of the original object in certain surface areas. This may happen for example when the original has a relatively flat surface region which, however, has a certain roughness on a scale that is too small to be resolved by the 3D-scanner. In the original, the roughness will result in a low gloss of that surface region, whereas, on the printed replica, the corresponding region has a very smooth surface with high gloss, which results in disturbing specular reflections that are not observed on the original object.
It is therefore an object of the invention to provide a method that permits to mitigate such gloss deviations.
In order to achieve this object, a method according to the invention is characterized by the steps of:
In this method, the segmentation step permits to specify surface regions of the object such that the surface gloss is substantially uniform within each region but differs from region to region. These gloss differences may then be used for selectively applying a surface treatment to at least some of the regions in order to reduce the gloss differences.
More specific optional features of the invention are indicated in the dependent claims.
In one embodiment, a similarity criterion that specifies a glossy region may be that the difference between two normal vectors assigned to any two points within that region is, in absolute value, smaller than a certain threshold. When this criterion is fulfilled, all the normal vectors will point essentially in the same direction. Consequently, when light from a remote light source is incident on that region, the light will be reflected essentially in the same direction at any point within the region, so that a specular reflection is observed and the surface region appears glossy.
Another similarity criterion, characterizing a region with low gloss, may be that the normal vectors assigned to the points in that region show large variations even for points that are separated only by a short distance in the x-y-plane.
It is convenient to require that the high-gloss regions should have a certain minimum size in both, the x-direction and the y-direction. Those parts of the set in which the regions with essentially equal normal vectors are smaller than the minimum size may then be considered to be rough and to constitute, jointly, low-gloss region.
A suitable value for the minimum size of the regions may for example be in the order of magnitude of 0.5 mm which is close to the spatial resolution of the naked human eye. Then, the segmentation will only produce glossy regions which are large enough to be perceived as extended areas to which a gloss value can reasonably be assigned.
Another useful similarity criterion for glossy areas may be that the difference between the normal vectors of two points has to be smaller than a certain threshold only for points that are separated by a distance smaller than a certain limit distance. A substantially equivalent criterion would be that the derivative of the normal vector N(x, y) along any continuous path within the region is smaller, in absolute value, than a certain threshold. These criteria permit that, even within the same glossy region, the difference between the normal vectors of two points may be substantial, provided that these points are separated by a large distance. Then, a smooth but curved surface area of the object may be qualified as glossy even though the normal vectors in two distant parts of this area may point into totally different directions.
Yet another similarity criterion may require that the normal vectors of all points within the region are approximately normal to the x-y-plane, which means that this region is not only smooth and glossy but is essentially horizontal. It may in fact be useful to distinguish between horizontal flat surface regions and other flat surface regions that have a certain inclination. Since the print process consists in applying several layers of ink on the print substrate, horizontal surface regions will normally have a high gloss, whereas the gloss of inclined regions may be lower, because, on a small scale, the height of the surface changes step-wise in increments which correspond to the thickness of an individual ink layer, and these incremental height changes give rise to a certain roughness and hence a lower gloss.
It will be observed that the normal vectors N(x, y) are three-dimensional vectors which have, accordingly, not only an x-component and a y-component but also a z-component. The normal vectors constitute a vector field that may be calculated from the height map by applying a derivation filter such as a Sobel filter, a Scharr filter or the like. The result of the filtering process will be a two-dimensional vector corresponding to the gradient of the surface that is represented by a height map. This gradient is the projection of the normal vector onto the x-y-plane. The z-component of the normal vector may, in principle, be selected arbitrarily. It is convenient however to select the z-component such that the three-dimensional normal vector is normalized to unit length so that three-dimensional normal vector represents the actual inclination of the surface of the object.
The segmentation process may involve morphological opening and closing techniques which will automatically assure that the glossy regions have the required minimum size.
In a simple case, the point set in the x-y-plane may be segmented into regions which are either glossy or mat. In more elaborated embodiments, however, it is possible to apply similarity criteria which specify more than two different gloss values.
The surface treatments that are applied in the print process for reducing the gloss differences may for example comprise applying (printing) a layer of transparent ink on the rough surface regions in order to increase the gloss. Conversely, isolated bumps or ridges of transparent ink may be printed on glossy surface areas. This will reduce the gloss because the light is diffracted irregularly at the bumps or ridges.
Other types of surface treatment may comprise accelerating or intensifying the curing of the ink in order to decrease the gloss or, conversely, delaying or reducing the intensity of curing in order to permit the ink droplets to coalesce and hence to increase the gloss. For example, in case of ink jet printing with UV-curable ink, the surface treatment may comprise controlling the intensity and/or on and off state of the curing lamps.
Embodiment examples will now be described in conjunction with the drawings, wherein:
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.
As is shown in
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.
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
As is further shown in
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.
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.
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.
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.
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
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.
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).
For some of the points in the x-y-plane,
The pattern shown in
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
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
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.
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
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
Then, the environments are shifted as has been indicated by dotted lines in
Then, the shifting operation is repeated, possibly in a different direction, as has been indicated by dotted lines in
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.
It is possible that, in the initial step shown in
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.
Conversely,
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.
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.
Gloss differences may also be caused by the inclination of the surface. For example, while the top layer 48 of the colored ink in
The essential steps of a method according to the invention have been summarized in
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.
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.
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.
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).
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.
Finally, in step S6, the object 18 is printed and the surface treatment is applied as specified in step S5.
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.
Number | Date | Country | Kind |
---|---|---|---|
16161684.2 | Mar 2016 | EP | regional |