Field of the Invention
The present invention relates to an image processing technique for reproducing on a recording medium reflection characteristics of an object irradiated with incident light.
Description of Related Art
Spatially Varying Bidirectional Reflectance Distribution Function (SVBRDF) is one technique of describing reflection characteristics of a material with respect to incident light. The SVBRDF describes multi-angular reflection characteristics for each position of a material in accordance with a variation of the angle of incident light/outgoing light. The texture of a material corresponding to a light source/point or view can be reproduced by reproducing the SVBRDF. Yauxiang Lan, Yue Dong, Fabio Pellacini, Xin Tong, in “Bi-Scale Appearance Fabrication”, ACM. Transactions on Graphics(TOG)-SIGGRAPH 2013 Conference Proceedings TOG Homepage archive, July 2013, Volume 32, Issue 4 (hereinbelow, referred to as Xin Tong) discusses a technique of reproducing the SVBRDF on a recording medium. In the technique discussed by Kin Tong, the SVBRDF of a target material is input, and structures approximating the SVBRDF are formed. More specifically, predetermined structures to be formed on the recording medium are prepared, and a combination of the structures is optimized to approximate the reflection characteristics of the target material that have been input.
A characteristic texture of a target material may undesirably be lost in a printed object obtained with the technique discussed by Xin Tong. For example, a material such as velvet features a large difference in color appearance when viewpoint is changed along an elevation angle direction. Thus, the SVBRDF of velvet involves a characteristic reflectance change in the elevation angle direction, but involves no large characteristic reflectance change in an azimuth angle direction. Therefore, reproduction of a velvety texture requires reproduction of the SVBRDF focusing more on the reflectance change in the elevation angle direction than in the azimuth angle direction. However, the optimization in the technique discussed by Xin Tong simply focuses on reduction in the difference from the SVBRDF regardless of the elevation angle direction or the azimuth angle direction despite the risk of approximation error, without taking the characteristics of the actual material (e.g., velvet, as described above) into consideration. Therefore, such whole optimization may fail to sufficiently reproduce the texture of certain materials, such as a velvet cloth. More specifically, the characteristic reflectance change in the elevation angle direction may fail to be sufficiently reproduced due to an influence of reflectance in the azimuth angle direction which is not a characteristic feature of the texture of the material. The same applies to a texture of other materials such as metal (metallic) and satin.
The present invention is directed to addressing the above-noted shortcomings of conventional techniques. To that end, the present disclosure includes various embodiments of image processing apparatus and methods capable of printing with light reflection characteristics reproduced with a higher fidelity to characteristics of a target material.
According to an aspect of the present invention, an image processing apparatus includes a first acquisition unit configured to acquire image data including reflection characteristics information indicating reflection characteristics of a material with respect to incident light, a first calculation unit configured to calculate, from reflection characteristics indicated by the reflection characteristics information corresponding to each of areas included in an area of a predetermined size in an image indicated by the image data, a statistical amount indicating the reflection characteristics of the area with the predetermined size; and a generation unit configured to generate arrangement data representing an arrangement of a structure including a printing material on a recording medium, based on the statistical amount.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
An image processing apparatus according to a first exemplary embodiment will be described below.
In step S1, the display control unit 201 causes the monitor 105 to display a UI screen for prompting the user to input required information, so that the image processing apparatus 1 can receive required information inputs.
In step S3, the setting unit 203 sets the statistical method input as the instruction by the user. The texture of the target material is reproduced on the recording material by approximating the spatially-varying BRDF (SVBRDF) of the target material with a combination of printing materials. However, the combination of printing materials is difficult to achieve perfect approximation to the SVBRDF of the target material, and is required to achieve approximation to the characteristics of the target material close as much as possible to the perfect approximation. The statistical amount calculated based on the statistical method set as described above includes an average value and values such as a standard deviation of the reflection characteristics of the target material in an elevation angle direction or an azimuth angle direction. Thus, the statistical method suitable for the characteristics of the target material can be input as the instruction by the user to be set. In the present exemplary embodiment, the processing S4 and subsequent steps is described under an assumption that a statistical method is set for calculating an average value of the reflectance in the elevation angle direction.
In step S4, the calculation unit 204 uses the SVBRDF of the target material indicated by the image data acquired in step S2, to calculate the statistical amount using the statistical method set in step S3. The processing in step S4 is described in detail below. In step S5, the generation unit 205 generates the arrangement data representing the arrangement of the structure, for approximating the statistical amount of the SVBRDF of the target material calculated in step S4. The processing in step S5 is described in detail below. In step S6, the forming control unit 206 causes the printer 108 to form an image based on the arrangement data generated in step S5. The processing in step S6 is described in detail below.
In step S41, the calculation unit 204 acquires the BRDF of the target material stored in each pixel of the image indicated by the image data acquired in step S2. In step S42, the calculation unit 204 acquires the print processing size of the printer 108. In step S43, the calculation unit 204 calculates the statistical amount of the SVBRDF in a partial area, having the print processing size acquired in step S42, in the image. For example, when the print processing size corresponds to four pixels of the image represented by the image data as illustrated in
In the formula (1), Rθ,0(n) represents the reluctance of a pixel in the print processing size obtained with an elevation angle of θ and with an azimuth angle of 0°. With formula (1), the average value Mθ,0 is calculated for each elevation angle θ. The reflection characteristics information according to the present exemplary embodiment is a reflectance obtained with the azimuth angle fixed to 0°. Therefore, the average value Mθ,0 is calculated with formula (1) with the azimuth angle of 0°. Alternatively, the reflectance of a plurality of azimuth angles may be acquired as the reflection characteristics information, and the average may be calculated by performing calculation similar to formula (1) for each azimuth angle φ. In step S44, the calculation unit 204 determines whether the processing has been completed for all the pixels in the image data. When the processing has been completed on all the pixels (YES in step S44), the processing returns to the flow of
An outline of the processing executed by the generation unit 205 in step S5 is described with reference to
In step S51, the forming control unit 206 acquires the unit structure that can be formed by issuing an instruction to the printer 108. In step S52, the forming control unit 206 acquires the statistical amount the area with the print processing size calculated in step S4. In step S53, the forming control unit 206 determines the two-dimensional arrangement of the unit structures in the area with the print processing size acquired in step S52, and generates arrangement data representing the arrangement. The two-dimensional arrangement may be determined through optimization and the like. For example, the two-dimensional arrangement of the unit structures may be determined so that an evaluation value F, as defined by Equation (2) below, is minimized. More specifically, such processing is executed that the reflectance obtained with unit structures A illustrated in
In the formula of Equation (2), R(θ) is a statistical amount acquired with the elevation angle θ, and T(θ) is reflectance obtained with the unit structures in the two-dimensional arrangement and with the elevation angle θ. R(θ) in the present exemplary embodiment is an average value of the reflectance obtained with the elevation angle θ. In step S54, the forming control unit 206 determines whether the processing has been completed on all the areas with the print processing size (pixels). When all the pixels have been processed (YES in step S54), the processing returns to the flow process of
Now, an image forming operation is described. First of all, when the recording medium 808 is conveyed to the recording start position, the carriage 802 moves over the recording medium 808 along the guide shaft 803, with the ink discharged from the discharge ports of the recording head during the movement. When the carriage 802 moves to one end of the guide shaft 803, the conveyance roller 809 conveys the recording medium 808 in a direction orthogonal to the scanning direction of the carriage 802, by a predetermined amount. In the present exemplary embodiment, this conveyance of the recording medium 808 is referred to as “sheet feed” or “sub scanning”, and the direction of the conveyance is referred to as “sheet feed direction” or “sub-scanning direction”. When the predetermined amount of conveyance of the recording medium 808 is completed, the carriage 802 moves again along the guide shaft 803. An image is formed over the entire recording medium 808 with the scanning by the carriage 802 of the recording head and the sheet feed being repeated. When the printer 108 employs ultraviolet (UV) light curing, UV light may be emitted after the inks are discharged. The recording medium 808 used in the present exemplary embodiment may be in any format capable of forming an image thereon with the recording head. The printer employing inkjet printing method is described in the present exemplary embodiment, but the printer may employ other recording methods such as an electrophotographic method.
Now, the processing executed by the forming control unit 206 is described with reference to
In step S61, the forming control unit 206 acquires the arrangement data representing the two-dimensional arrangement of the unit structure generated in step S5. In step S62, the forming control unit 206 generates four-plane recording amount data for the colored inks (CMYK ink) in accordance with the arrangement data indicating the two-dimensional arrangement of the unit structures, and the color information stored for each pixel of the image data. For example, the colored ink recording amount data may be generated based on a table and the like indicating the correspondence relationship between the color information (RUB value) and the recording amount of each colored ink. In step S63, the forming control unit 206 generates two-plane recording amount data based on the arrangement data indicating the two-dimensional arrangement of the unit structures, and recording amounts of the clear ink and the white ink for reproducing the reflection characteristics stored in the data storage unit 207. In step S64, the forming control unit 206 forms an image by issuing an instruction to the printer 108 for performing recording with each ink, based on the four-plane recording amount data generated in step S62 and the two-plane recording amount data generated in step S63, and the processing is terminated.
The image processing apparatus 1 according to the present exemplary embodiment described above calculates the statistical amount representing the characteristics of a target material from the SVBRDF of the target material, and forms a unit structure on a recording medium with a printing material, so that the reflection characteristics of a surface of the recording medium on which the unit structures are arranged are approximated to the statistical amount. Thus, a printed object can be formed with the characteristics of the target material more favorably reproduced with a higher fidelity.
In the first exemplary embodiment, the user directly inputs the statistical method for calculating a statistical amount. In a second exemplary embodiment, the statistical method representing the characteristics of a target, material is automatically obtained from the SVBRDF of the acquired target material.
The image processing apparatus 1 according to the second exemplary embodiment has similar hardware configuration to that in the first exemplary embodiment.
Thus, the processing executed in step S3 is mainly described, and the description on the other processing is omitted.
In step S31, the setting unit 203 acquires the print processing size of the printer 108. In step S32, the setting unit 203 calculates the average value Mθ,0 and a standard deviation σθ,0 of the reflectance for each elevation angle θ in the area with the print processing size. The average value Mθ,0 can be calculated with formula (1) as in the case described above. The standard deviation σθ,0 can be calculated with the following formula (3).
In the formula (3), N represents the number of pixels within the area with the print processing size. The standard deviation σθ,0 indicates the variation of the luminance at each elevation angle in the area with the print processing size. A target material with a large standard deviation σθ,0 has a characteristic known as a glitter feeling with sparkle points glittering in the elevation angle direction. In step S33, the standard deviationσθ,0 is compared with a predetermined threshold Tθ,0. When σθ,0>Tθ,0 holds true (YES in step S37), the processing proceeds to step S34. On the other hand, when σθ,0≤Tθ,0 holds true (NO in step S37), the processing proceeds to step S35.
Processing in step S34 is executed when the standard deviation σθ,0 is determined to be larger than the threshold Tθ,0. When the standard deviation σθ,0 is larger than the threshold Tθ,0, the setting unit 203 determines that the target material has a glitter feeling, and sets the standard deviation σθ,0 in addition to the average value Mθ,0 as the statistical method for calculating the statistical amount representing the characteristics of the target material. Processing in step S35 is executed when the standard deviation σθ,0 is determined to be not larger than the threshold Tθ,0. When the standard deviation σθ,0 is determined to be not larger than the threshold Tθ,0, the setting unit 203 determines that the target material has no glitter feeling and has the characteristics that can be described by approximating the average luminous characteristics only, and thus sets only the average value Mθ,0 as the statistical method.
In step S36, the setting unit 203 calculates an average value M45,φand standard deviation σ45,φof reflectance for each azimuth angle φ in the area with the print processing size. The average value and the standard deviation σ45,φ are calculated in a manner similar to those described above using formula (1) and formula (3), and thus the description thereof is omitted. The standard deviation σ45,φ represents the variation of luminance at each azimuth angle in the area with the print processing size. The target material with a large standard deviation σ45,φ has a characteristic known as a glitter feeling with sparkle points glittering in the azimuth angle direction. In step S37, the setting unit 203 compares the standard deviation σ45,φ with a standard deviation threshold T45,φ set in advance. When σ45,φ>T45,φ holds true (YES in step S37), the processing proceeds to step S38. When σ45,φ≤T45,φ holds true (NO in step S37), the processing proceeds to step S39.
Processing in step S38 is executed when the standard deviation σ45,φ is determined to be larger than the threshold T45,φ. When the standard deviation σ45,φ is larger than the threshold T45,φ, the setting unit 203 determines that the target material has a glitter feeling, and sets the average M45,φ and the standard deviation σ45,φ as the statistical method for the statistical amount representing the characteristics of the target material. Processing in step S39 is executed when the standard deviation σ45,φ is determined to be not larger than the threshold T45,φ. When the standard deviation σ45,φ is determined to be not larger than the threshold T45,φ, the setting unit 203 determines that the target material has no glitter feeling and has characteristics that can be described by approximating the average luminous characteristics only. Thus, the setting unit 203 sets only the average M45,φ as the statistical method, and the processing returns to the flow process of
As described above, the image processing apparatus described in the present exemplary embodiment sets the statistical method for calculating the statistical amount representing the characteristics of the target material, based on the SVBRDF of the target material. In this way, a printed object favorably approximated to the characteristics of the target material can be automatically formed, without requiring a user input for designating the statistical method.
The reflection characteristics information according to the present exemplary embodiment includes reflectance obtained from various elevation angles with the azimuth angle fixed to 0° (zero degrees), and reflectance obtained from various azimuth angles with the elevation angle fixed to 45°. Therefore, the processing is executed by using the average and the standard deviation obtained with the fixed azimuth angle, or the fixed elevation angle. Alternatively, the SVBRDF with various azimuth angles and elevation angles may be used. In such a case, comparison with the threshold may be performed for each combination between the azimuth angle and the elevation angle. In an example described below with reference to
<Modification>
In the exemplary embodiments described above, the statistical amount includes an average value, a mean value, and a standard deviation of reflectance. However, the statistical amount according to the present invention is not limited thereto. For example, other statistical amounts such as a maximum value, a minimum value, a mode, a skewness, or a kurtosis may be employed.
In the exemplary embodiments described above, the reflection characteristics information of a target material stored in the image data is described as “reflectance obtained by measuring reflected light, from the target material irradiated with light at a projection angle of 45° with respect to a surface of the target material, at plurality of light receiving angles”. However, the reflection characteristics information of the target material is not limited thereto. The projection angle (incident angle) of a light source is not limited to 45° and may be other angles. Furthermore, the SVBRDF based on different projection angles may be employed. In such a case, the light receiving angle may be fixed, or changed together with the projection angle so that SVBRDF with a degree of freedom of 2 is obtained. Data to be measured is not limited to the reflectance data and may be reflection intensity data indicated by spectral radiance, a RGB data obtained by an image sensor, or the like.
In the exemplary embodiment described above, the forming control unit 206 can form two types of unit structures. However, the number of formable types is not limited as long as a plurality of types (two or more types) can be formed.
In the exemplary embodiments described above, the two-dimensional arrangement of the unit structures is determined by using the evaluation value E as a sum of minimum mean square errors. However, the evaluation value according to the present invention is not limited to the minimum mean square error. Any evaluation value indicating a difference from the statistical amount can be employed.
In the first exemplary embodiment described above, the user directly selects the statistical method on the UI screen illustrated in
In the exemplary embodiments described above, the color information is stored in each pixel of an image represented by the input image data. However, the present invention is not limited thereto. The reflection characteristics information may include reflection intensity of reflected light for each wavelength, instead of the color information. When only the reflection characteristic is to be reproduced, image data including no color information may be input, and the image may be formed based only on a correspondence relationship between the unit structures and the recording amount of each ink.
In the exemplary embodiments described above, a colored ink is used as the colored material. Alternatively, colored toner may be used. Similarly, the clear ink may be clear toner, and the white ink may be white toner.
According to the present invention, printing can be achieved with light reflection characteristics reproduced with a higher fidelity to characteristics of a target material.
Other Embodiments
Embodiment (s of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform. the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2016-107412, filed May 30, 2016, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2016-107412 | May 2016 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20090059252 | Coyle | Mar 2009 | A1 |
20140293341 | Yasutomi | Oct 2014 | A1 |
20170247560 | Watanabe | Aug 2017 | A1 |
Number | Date | Country |
---|---|---|
103869984 | Jun 2014 | CN |
104159023 | Nov 2014 | CN |
105144680 | Dec 2015 | CN |
2016-003962 | Jan 2016 | JP |
2006005831 | Jan 2006 | WO |
Entry |
---|
Lan et al., “Bi-Scale Appearance Fabrication”, ACM Transactions ON Graphics (TOG)—SIGGRAPH 2013 Conference Proceedings TOG Homepage archive, vol. 32, Issue 4. |
Number | Date | Country | |
---|---|---|---|
20170346994 A1 | Nov 2017 | US |