Image processing device, recording device, image processing method and storage medium
By quantizing the image data using a jitter mask with specific frequency characteristics in the three-dimensional space, the problem of difficulty in forming a three-dimensional image in the prior art is solved, and efficient image dispersion and image quality improvement are achieved.
Patent Information
- Application Number
- CN202110711587.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-06-30
- Filing Date
- 2021-06-25
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-06-25
AI Technical Summary
The prior art is difficult to form images outside a two-dimensional plane, especially images with three-dimensional shapes.
A three-dimensional jitter mask is used to quantize the image data in the three-dimensional space to generate display data, ensuring that the mask has specific frequency characteristics when the different planes are cut off, so as to form spatial frequency characteristics with more high-frequency and low-frequency components.
The image formation of the surface of three-dimensional shaped object objects is realized, which improves the dispersion and image quality of the image, reduces the graininess and improves the effect of image processing.
Smart Images

Figure CN113858803B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an image processing device, a recording device, an image processing method and a program. Background Art
[0002] Conventionally, there is known a technique for forming an image on a two-dimensional plane by performing halftone processing using a two-dimensional dither mask as described in Patent Document 1.
[0003] However, the conventional technology has a problem that it is impossible to form an image in a shape other than a two-dimensional plane.
[0004] Patent Document 1: Japanese Patent Application Publication No. 2010-214962 Summary of the invention
[0005] In order to solve the above problems, an image processing device according to one embodiment of the present invention is characterized in that it includes: an acquisition unit that acquires first image data, the first image data representing a grayscale value of an image to be displayed by each of a plurality of pixels in a three-dimensional first space when the image is displayed in the first space; and a generation unit that quantizes the grayscale value represented by the first image data by using a three-dimensional first dither mask having a plurality of threshold values corresponding to the plurality of pixels in the first space, thereby generating first display data, the three-dimensional first dither mask being set such that, when the first space is cut by a first plane, the plurality of threshold values in the first plane have a frequency characteristic in a spatial frequency domain in which high-frequency components higher than a predetermined frequency are more than low-frequency components lower than the predetermined frequency, and when the first space is cut by a second plane that is not parallel to the first plane, the plurality of threshold values in the second plane have a frequency characteristic in a spatial frequency domain in which high-frequency components higher than the predetermined frequency are more than low-frequency components lower than the predetermined frequency.
[0006] In addition, a recording device involved in another embodiment of the present invention is characterized in that it forms an image for an object object with a three-dimensional shape, and comprises: a head unit that ejects liquid; a control unit that controls the ejection of liquid from the head unit to form the image for the object object through a plurality of points formed by the liquid ejected from the head unit, the control unit controls the ejection of liquid from the head unit so that when the object object has a first surface, the distribution of the plurality of points on the first surface has a frequency characteristic in a spatial frequency domain in which high-frequency components higher than a predetermined frequency are more than low-frequency components lower than the predetermined frequency, and when the object object has a second surface extending in a direction different from the first surface, the distribution of the plurality of points on the second surface has a frequency characteristic in a spatial frequency domain in which high-frequency components higher than a predetermined frequency are more than low-frequency components lower than the predetermined frequency.
[0007] In addition, an image processing method according to one embodiment of the present invention is characterized in that it comprises: an acquisition step of acquiring first image data, wherein the first image data represents a grayscale value of an image to be displayed by each of a plurality of pixels in a three-dimensional first space when the image is displayed in the first space; and a generation step of quantizing the grayscale value represented by the first image data by using a three-dimensional first dither mask having a plurality of threshold values corresponding to the plurality of pixels in the first space, thereby generating first display data, wherein the three-dimensional first dither mask is set such that, when the first space is cut by a first plane, the plurality of threshold values in the first plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more than low-frequency components lower than the predetermined frequency in a spatial frequency domain, and when the first space is cut by a second plane which is not parallel to the first plane, the plurality of threshold values in the second plane have a frequency characteristic in which high-frequency components higher than the predetermined frequency are more than low-frequency components lower than the predetermined frequency in a spatial frequency domain.
[0008] In addition, a program according to one embodiment of the present invention is characterized in that it causes a computer to function as a component, the component comprising: an acquisition unit that acquires first image data, the first image data representing a grayscale value of an image to be displayed by each of a plurality of pixels in a three-dimensional first space when the image is displayed in the first space; and a generation unit that quantizes the grayscale value represented by the first image data by using a three-dimensional first dither mask having a plurality of threshold values corresponding to the plurality of pixels in the first space, thereby generating first display data, the three-dimensional first dither mask being such that, when the first space is cut using a first plane, the plurality of threshold values in the first plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency in a spatial frequency domain, and when the first space is cut using a second plane that is not parallel to the first plane, the plurality of threshold values in the second plane have a frequency characteristic in which high-frequency components higher than the predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency in a spatial frequency domain. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 It is an explanatory diagram showing an example of a recording system Sys according to an embodiment of the present invention.
[0010] Figure 2 A functional block diagram showing an example of the structure of the terminal device 1.
[0011] Figure 3 It is a functional block diagram showing an example of the structure of the recording device 5.
[0012] Figure 4 It is an explanatory diagram showing an example of the image forming space SP.
[0013] Figure 5 1 is an explanatory diagram showing an example of the image data GD.
[0014] Figure 6 3 is an explanatory diagram showing an example of the dither mask DZ.
[0015] Figure 7 It is an explanatory diagram showing an example of the curve FB1.
[0016] Figure 8 is a flowchart showing an example of a dither mask generation process.
[0017] Fig. 9 is a flowchart showing an example of quantization processing.
[0018] Fig.101 is an explanatory diagram showing an example of the configuration of the threshold value Dd in the dither mask DZ.
[0019] Fig.11 1 is an explanatory diagram showing an example of the configuration of the threshold value Dd in the dither mask DZ.
[0020] Fig.12 1 is an explanatory diagram showing an example of the configuration of the threshold value Dd in the dither mask DZ.
[0021] Fig.13 1 is an explanatory diagram showing an example of the dither mask DZ-A according to Reference Example 1.
[0022] Fig.14 1 is an explanatory diagram showing an example of the dither mask DZ-A according to Reference Example 1.
[0023] Fig.15 1 is an explanatory diagram showing an example of the dither mask DZ-A according to Reference Example 1.
[0024] Fig.16 It is an explanatory diagram showing an example of the dither mask DZ-B involved in Reference Example 2.
[0025] Fig.17 It is an explanatory diagram showing an example of the dither mask DZ-B involved in Reference Example 2.
[0026] Fig.18 It is an explanatory diagram showing an example of the dither mask DZ-B involved in Reference Example 2.
[0027] Fig.19 3 is an explanatory diagram showing an example of the dither mask DZ.
[0028] Fig. 20 3 is an explanatory diagram showing an example of the dither mask DZ.
[0029] Fig.21 3 is an explanatory diagram showing an example of the dither mask DZ.
[0030] Fig. 22 This is an explanatory diagram showing an example of the image forming space SP according to the first modification.
[0031] Fig.23 1 is a functional block diagram showing an example of the configuration of the terminal device 1A.
[0032] Fig.24 1 is an explanatory diagram showing an example of the dither mask DZ-X.
[0033] Fig.251 is an explanatory diagram showing an example of the configuration of the threshold value Dd in the dither mask DZ-X.
[0034] Fig.26 1 is an explanatory diagram showing an example of the dither mask DZ-Y.
[0035] Fig. 27 1 is an explanatory diagram showing an example of the dither mask DZ-Z.
[0036] Fig.28 This is a functional block diagram showing an example of the configuration of a terminal device 1B according to Modification 2.
[0037] Fig.29 It is a functional block diagram showing an example of the structure of a terminal device 1C involved in Modification Example 6.
[0038] Fig.30 This is a flowchart showing an example of quantization processing according to Modification Example 7. DETAILED DESCRIPTION
[0039] Hereinafter, the method for implementing the present invention will be described with reference to the accompanying drawings. However, in each of the accompanying drawings, the size and scale of each part are appropriately different from the actual situation. In addition, although the embodiments described below are preferred specific examples of the present invention and various technically preferred limitations are added, in the following description, as long as there is no record of particularly limiting the present invention, the scope of the present invention is not limited to these methods.
[0040] A. Implementation Method
[0041] The recording system Sys according to this embodiment will be described.
[0042] In the present embodiment, the recording system Sys is a system for forming an image G on the surface SF of the target object Obj having a three-dimensional shape. In addition, the recording system Sys can also form an image G for the target object Obj having a two-dimensional shape.
[0043] 1. Overview of the Recording System Sys
[0044] In the following, first, in reference to Figures 1 to 3 At the same time, an example of an outline of the structure of the recording system Sys involved in this embodiment is described.
[0045] Figure 1 It is an explanatory diagram showing an example of the recording system Sys.
[0046] like Figure 1 As illustrated, the recording system Sys includes a terminal device 1 and a recording device 5 .
[0047] The terminal device 1 generates display data Img representing the image G formed on the surface SF of the target object Obj by the recording system Sys.
[0048] The recording device 5 forms an image G represented by the display data Img on the surface SF of the target object Obj based on the display data Img generated by the terminal device 1 .
[0049] In addition, if Figure 1 As illustrated, the terminal device 1 sets a three-dimensional coordinate system having an X-axis, a Y-axis, and a Z-axis in an image forming space SP as a three-dimensional space in which the object Obj exists. In the following, a direction along the X-axis is referred to as the +X direction, a direction opposite to the +X direction is referred to as the -X direction, a direction along the Y-axis is referred to as the +Y direction, a direction opposite to the +Y direction is referred to as the -Y direction, a direction along the Z-axis is referred to as the +Z direction, and a direction opposite to the +Z direction is referred to as the -Z direction. In addition, in the following, the +X direction and the -X direction are sometimes collectively referred to as the X-axis direction, the +Y direction and the -Y direction are collectively referred to as the Y-axis direction, and the +Z direction and the -Z direction are collectively referred to as the Z-axis direction. In addition, although the present embodiment assumes that the terminal device 1 sets the X-axis, the Y-axis, and the Z-axis to be orthogonal to each other, the present invention is not limited to this method, as long as the X-axis, the Y-axis, and the Z-axis are defined to intersect with each other.
[0050] Figure 2 A functional block diagram showing an example of the structure of the terminal device 1.
[0051] like Figure 2 As illustrated, the terminal device 1 includes a terminal control unit 2 and a storage unit 3 .
[0052] The storage unit 3 stores the image data GD, the dither mask DZ, and the control program Pgt of the terminal device 1 .
[0053] Here, the image data GD, for example, represents an image Gf that a user of the recording system Sys wants to form on the surface SF of the object Obj using the recording system Sys. Specifically, the image data GD represents the grayscale value of the image Gf corresponding to each pixel of the plurality of pixels Px constituting the image forming space SP. In addition, although the details will be described below, the recording system Sys is sometimes unable to express the grayscale value of the image Gf represented by the image data GD. Therefore, the recording system Sys forms an image G that expresses the image Gf with a grayscale value that the recording system Sys can express. Specifically, the recording system Sys applies quantization processing to the image data GD by using the jitter mask DZ stored in the storage unit 3, thereby generating display data Img, and forms the image G represented by the generated display data Img on the surface SF of the object Obj. In this embodiment, as described later, the image data GD is set to 8-bit 256-value data, the display data Img is set to 1-bit binary data, and a halftone process (binarization process) is implemented as a quantization process to convert the 256-value low grayscale to binary.
[0054] like Figure 2 As shown in the example, the terminal control unit 2 is configured to include one or more CPUs and controls various parts of the terminal device 1. Here, CPU is an abbreviation of Central Processing Unit. The one or more CPUs provided in the terminal control unit 2 can function as the image data acquisition unit 21, the dither mask generation unit 22, and the display data generation unit 23 by executing the control program Pgt stored in the storage unit 3 and operating according to the control program Pgt.
[0055] The image data acquisition unit 21 acquires the image data GD stored in the storage unit 3. In addition, although the image data GD is stored in the storage unit 3 as an example in the present embodiment, the present invention is not limited to this method. The image data GD may be stored in an external device outside the terminal device 1, for example. In this case, the image data acquisition unit 21 only needs to acquire the image data GD from the external device.
[0056] The dither mask generation unit 22 generates a dither mask DZ, and causes the storage unit 3 to store the generated dither mask DZ.
[0057] The display data generating unit 23 generates display data Img by applying quantization processing to the image data GD using the dither mask DZ.
[0058] Figure 3 It is a functional block diagram showing an example of the structure of the recording device 5.
[0059] like Figure 3 As illustrated, the recording device 5 includes a recording control unit 6 , a head unit 7 , an ink supply unit 8 , and a robot arm 9 .
[0060] The recording control unit 6 includes a processing circuit such as a CPU or FPGA and a storage circuit such as a semiconductor memory, and controls each element of the recording device 5. Here, FPGA is an abbreviation of Field Programmable Gate Array. The processing circuit provided in the recording control unit 6 can function as a head control unit 61 and an arm control unit 62.
[0061] The head control unit 61 generates a drive control signal SI for controlling the drive of the head unit 7 based on the display data Img. In addition, the head control unit 61 generates a drive signal Com for driving the head unit 7 and a control signal Ctr-L for controlling the ink supply unit 8.
[0062] The arm control unit 62 generates a control signal Ctr-R for controlling the position and posture of the robot arm 9 in the image forming space SP based on the display data Img.
[0063] The head unit 7 includes a driving signal supply section 71 and a recording head 72 .
[0064] The recording head 72 includes a plurality of ejection sections D. The ejection sections D are driven by a drive signal Com, thereby ejecting the ink filled in the ejection sections D.
[0065] The driving signal supply unit 71 switches whether to supply the driving signal Com to each of the plurality of discharge units D based on the driving control signal SI.
[0066] In addition, in the present embodiment, a case where the head unit 7 is attached to the tip of the robot arm 9 is assumed as an example.
[0067] The ink supply unit 8 supplies the ink stored in the ink supply unit 8 to the head unit 7 based on the control signal Ctr-L.
[0068] The robot arm 9 changes the position and posture of the tip of the robot arm 9 in the image forming space SP based on the control signal Ctr-R. As a result, the robot arm 9 changes the position and posture of the head unit 7 in the image forming space SP so that the head unit 7 installed at the tip of the robot arm 9 is in a position and posture that is preferred for forming an image G on the surface SF of the target object Obj.
[0069] As described above, when the display data Img is supplied, the recording control unit 6 controls the ejection of ink from the plurality of ejection portions D provided on the head unit 7 by means of the drive control signal SI generated based on the display data Img. In addition, the recording control unit 6 controls the position and posture in the image forming space SP of the head unit 7 mounted at the top end of the robot 9 by means of the control signal Ctr-R generated based on the display data Img. Therefore, the recording device 5 can form an image G corresponding to the display data Img for the surface SF of the object Obj arranged in the image forming space SP. Hereinafter, the process in which the recording device 5 forms the image G corresponding to the display data Img for the surface SF of the object Obj is sometimes referred to as a printing process.
[0070] 2. Various data
[0071] In the following, in reference to Figures 4 to 7 At the same time, an example of various data stored in the recording system Sys involved in this embodiment is described.
[0072] First, in order to explain various data stored in the recording system Sys, a plurality of pixels Px arranged in the image forming space SP will be explained.
[0073] Figure 4 1 is an explanatory diagram showing an example of a plurality of pixels Px arranged in the image forming space SP.
[0074] like Figure 4 As illustrated, in the image forming space SP involved in the present embodiment, Mx pixels Px are arranged in the X-axis direction, My pixels Px are extended in the Y-axis direction, and Mz pixels Px are extended in the Z-axis direction, so that a total of Mx*My*Mz pixels Px are arranged. Here, the value Mx is a natural number greater than 2, the value My is a natural number greater than 2, and the value Mz is a natural number greater than 2. In addition, the value Mx, the value My, and the value Mz are preferably natural numbers greater than 128.
[0075] In this embodiment, as an example, it is assumed that the value Mx, the value My, and the value Mz are natural numbers greater than or equal to 256. In addition, the natural number M is defined as "M = Mx*My*Mz" below. That is, in this embodiment, M pixels Px are arranged in the image forming space SP.
[0076] Furthermore, in the following, a variable mx of a natural number satisfying 1≤mx≤Mx is imported, a variable my of a natural number satisfying 1≤my≤My is imported, and a variable mz of a natural number satisfying 1≤mz≤Mz is imported. Figure 4As illustrated, among the M pixels Px existing in the image forming space SP, the pixel Px located at the mxth position from the -X side to the +X side in the X-axis direction, the myth position from the -Y side to the +Y side in the Y-axis direction, and the mzth position from the -Z side to the +Z side in the Z-axis direction is sometimes referred to as a pixel Px (mx, my, mz). In addition, hereinafter, the position of the pixel Px (mx, my, mz) in the image forming space SP in the X-axis direction is referred to as "X[mx]", the position of the pixel Px (mx, my, mz) in the image forming space SP in the Y-axis direction is referred to as "Y[my]", and the position of the pixel Px (mx, my, mz) in the image forming space SP in the Z-axis direction is referred to as "Z[mz]". That is, the position of the pixel Px (mx, my, mz) in the image forming space SP is expressed as (X, Y, Z) = (X[mx], Y[my], Z[mz]).
[0077] Figure 5 is an explanatory diagram for explaining an example of image data GD. Figure 5 In FIG. 1 , a case where the surface SF of the target object Obj includes a plane SF1 , a plane SF2 , and a plane SF3 is assumed as an example.
[0078] As described above, the image data GD is data representing the image Gf. Specifically, the image data GD represents the grayscale value that should be displayed by each of the M pixels Px existing in the image forming space SP in order to display the image Gf in the image forming space SP. Figure 5 As illustrated, the grayscale value of the image Gf in the pixel Px (mx, my, mz) represented by the image data GD is referred to as a grayscale value Gg (mx, my, mz).
[0079] In the present embodiment, it is assumed that the grayscale value Gg(mx, my, mz) is a natural number between the minimum grayscale value Gg-min and the maximum grayscale value Gg-max. Specifically, in the present embodiment, for example, it is assumed that the grayscale value Gg-min is "0" and the grayscale value Gg-max is "255". Moreover, in the present embodiment, it is assumed that the grayscale value Gg(mx, my, mz) is any one of the 256 values from "0" to "255".
[0080] In addition, in the present embodiment, for a pixel Px(mx, my, mz) on the surface SF where the target object Obj does not exist in the image forming space SP, the grayscale value Gg(mx, my, mz) is set to the grayscale value Gg-min. In addition, in the present embodiment, when the grayscale value Gg(mx, my, mz) is the grayscale value Gg-min, the pixel Px(mx, my, mz) is a pixel Px that does not display anything. That is, in the present embodiment, in the pixel Px(mx, my, mz) where the grayscale value Gg(mx, my, mz) is the grayscale value Gg-min, the image Gf does not exist.
[0081] Figure 6 2 is an explanatory diagram for explaining an example of the dither mask DZ.
[0082] like Figure 6 As illustrated, the dither mask DZ has M thresholds Dd corresponding to the M pixels Px in the image forming space SP. Hereinafter, the threshold Dd corresponding to the pixel Px (mx, my, mz) is referred to as the threshold Dd (mx, my, mz).
[0083] In addition, in this embodiment, the M threshold values Dd corresponding to the M pixels Px may be expressed as threshold values Dd[1] to Dd[M] with an eye on the size of the threshold value Dd. In this embodiment, it is assumed that when the value m is set to a natural number satisfying "1≤m≤M", the threshold value Dd[m] satisfies the following equations (1) to (3).
[0084] Dd[1]=1+Gg-min......Formula (1)
[0085] Dd[M]=Gg-max...Equation (2)
[0086] Dd[m]≤Dd[m+1]……Formula (3)
[0087] However, the threshold value Dd[1] may satisfy “Dd[1]≧1+Gg-min” instead of the above equation (1). Furthermore, the threshold value Dd[M] may satisfy “Dd[M]≤Gg-max” instead of the above equation (2).
[0088] In addition, in the present embodiment, for the sake of convenience, the M thresholds Dd[1] to Dd[M] of the dither mask DZ are grouped into one or more thresholds Dd[m] that are equal to each other. That is, in the present embodiment, the M thresholds Dd[1] to Dd[M] of the dither mask DZ are divided into a plurality of groups so that the one or more thresholds Dd[m] belonging to each group are equal to each other. Moreover, in the present embodiment, the thresholds Dd[1] to Dd[M] are determined so that the number of thresholds Dd[m] belonging to each group is approximately equal to each other. In other words, in the present embodiment, the thresholds Dd[1] to Dd[M] are determined so that the number of thresholds Dd[m] belonging to one group is approximately the same as the number of thresholds Dd[m] belonging to other groups. This is because the grayscale value Gg represented by the image data GD can be appropriately reproduced by the display data Img described later, regardless of whether it is any value from the grayscale value Gg-min to the grayscale value Gg-max.
[0089] In addition, hereinafter, the pixel Px corresponding to the threshold value Dd[m] is sometimes expressed as a pixel Px[m].
[0090] The jitter mask DZ used in this embodiment configures the thresholds Dd[1] to Dd[M] in such a way that the dispersion of the multiple thresholds Dd[m] below the intermediate near threshold Dd[mh] which is smaller than the threshold Dd[M] which is larger than the threshold Dd[1] is higher. When quantitatively evaluating the dispersion of the multiple thresholds Dd[m] in the jitter mask DZ, a conversion from the spatial domain to the spatial frequency domain is performed for the multiple thresholds Dd[m] possessed by the jitter mask DZ, so that the spatial frequency characteristics in the spatial frequency domain of the multiple thresholds Dd[m] can be used. In addition, an example of the configuration of the thresholds Dd[1] to Dd[M] in the spatial domain of the actual jitter mask DZ uses Figure 10 to Figure 12 This will be described later and will not be described here.
[0091] Figure 7 : This is an explanatory diagram for explaining the spatial frequency characteristics of the threshold values Dd[1] to Dd[M] when the dither mask DZ is cut off by the plane PL1. Specifically, Figure 7 A curve FB1 is shown which shows the relationship between the spatial frequencies of the threshold values Dd[1] to Dd[M] and the power spectrum at each spatial frequency, that is, the amount of the frequency component at each spatial frequency.
[0092] In the following, an example of a method for generating the curve FB1 is described. First, the image forming space SP is cut using the plane PL1. Second, the pixel Px corresponding to the threshold Dd[m] determined to be a value below the middle near threshold Dd[mh] among the multiple thresholds Dd[m] corresponding to the multiple pixels Px located on the plane PL1 is set as an ON pixel, and the pixel Px corresponding to the threshold Dd[m] determined to be a value larger than the middle near threshold Dd[mh] is set as an OFF pixel. Third, a two-dimensional Fourier transform is applied to the multiple ON pixels in the plane PL1, and the spatial frequency and the amount of the frequency component of the configuration of the multiple ON pixels in the plane PL1 are obtained. The curve having the spatial frequency obtained in this way as the horizontal axis and the amount of each frequency component as the vertical axis is Figure 7 In addition, regarding the method of replacing multiple threshold values Dd[m] located in a specific plane among multiple threshold values Dd[m] of the three-dimensional jitter mask DZ from the spatial domain to the spatial frequency domain, please refer to "T. Mitsa and KJ Parker, "Digital Halftoning using a Blue Noise Mask", Proc. SPIE 1452, pp.47-56 (1991)".
[0093] like Figure 7 As shown in the example, the curve FB1 involved in this embodiment has the following characteristics: the frequency component between the lowest frequency fmin which is the lowest frequency in the spatial frequency of the configuration of the plurality of ON pixels located on the plane PL1 and the intermediate frequency fmid is smaller than the frequency component between the highest frequency fmax which is the highest frequency in the spatial frequency of the configuration of the plurality of ON pixels located on the plane PL1 and the intermediate frequency fmid. In other words, Figure 7 In the curve FB1, the integral value of the spatial frequency in the range from the lowest frequency fmin to the intermediate frequency fmid is smaller than the integral value of the spatial frequency in the range from the intermediate frequency fmid to the maximum frequency fmax. Here, the intermediate frequency fmid refers to the frequency between the intermediate frequency fmid and the maximum frequency fmax. More specifically, the intermediate frequency fmid may be, for example, a frequency represented by "fmid = {fmin + fmax} ÷ 2".
[0094] Hereinafter, this characteristic in which the frequency component between the lowest frequency fmin and the middle frequency fmid in the spatial frequency domain is less than the frequency component between the middle frequency fmid and the highest frequency fmax is referred to as a "predetermined spatial frequency characteristic".
[0095] In addition, hereinafter, the following curve having a predetermined spatial frequency characteristic is expressed as "the jitter mask DZ has a predetermined spatial frequency characteristic within a plane", and the curve is a curve that represents the relationship between the spatial frequency of a plane and the amount of each frequency component in the spatial frequency domain of the plane, obtained by dividing the multiple threshold values Dd of the jitter mask DZ corresponding to the multiple pixels Px located on a plane cutting the image forming space SP into ON pixels and OFF pixels in the same manner as above and applying a two-dimensional Fourier transform to the multiple ON pixels on the plane.
[0096] That is, the dither mask DZ used in the present embodiment has a predetermined spatial frequency characteristic within the plane PL1.
[0097] In addition, in the present embodiment, plane PL1 may be a plane parallel to the X-axis direction. In other words, plane PL1 may be a plane having a normal vector extending in a direction perpendicular to the X-axis direction. Specifically, plane PL1 may be a plane perpendicular to the YZ plane. Furthermore, plane PL1 may be a plane parallel to the Y-axis direction. In other words, plane PL1 may be a plane having a normal vector extending in a direction perpendicular to the Y-axis direction. Specifically, plane PL1 may be a plane parallel to the XY plane. As an example of plane PL1, plane Z=Z[1].
[0098] In addition, the near-middle threshold value Dd[mh] preferably satisfies the following formula (4).
[0099] (1-γ1)*Dd[1]+γ1*Dd[M]≤Dd[mh]
[0100] ≤(1-γ2)*Dd[1]+γ2*Dd[M]...Equation (4)
[0101] Here, the value γ1 is a real number satisfying “0.2≤γ1≤0.5”, for example, and the value γ2 is a real number satisfying “0.5≤γ1≤0.8”, for example. In this embodiment, the case where the value γ1 is “0.2” and the value γ2 is “0.8” is assumed.
[0102] As an example, when the threshold Dd[1] is set to "1" and the threshold Dd[M] is set to "255", the value γ1 is "0.2" and the value γ2 is "0.8", the middle near threshold Dd[mh] is "51≤Dd[mh]≤204". The middle near threshold Dd[mh] is, for example, "64". When multiple thresholds Dd from the threshold Dd[1], i.e. "1" to the threshold Dd[M], i.e. "255" are arranged in order, it is the threshold Dd[m] located at approximately 1 / 4 from the threshold Dd[1].
[0103] In addition, if Figure 7 As illustrated, the curve FB1 involved in the present embodiment has a peak value on the highest frequency fmax side compared to the intermediate frequency fmid. Therefore, in the present embodiment, the case where the following curve has a peak value on the highest frequency fmax side compared to the intermediate frequency fmid can also be referred to as a "predetermined spatial frequency characteristic", wherein the curve is a curve representing the relationship between the spatial frequency of a plane and the amount of each frequency component in the spatial frequency domain of the plane obtained by dividing the multiple threshold values Dd of the dither mask DZ corresponding to the multiple pixels Px located on a plane cutting the image forming space SP into ON pixels and OFF pixels in the same manner as described above and applying a two-dimensional Fourier transform to the multiple ON pixels on the plane.
[0104] More specifically, in the present embodiment, the predetermined spatial frequency characteristic refers to a blue noise characteristic. However, in the present embodiment, it is not limited to the case where the predetermined spatial frequency characteristic is a blue noise characteristic. In the present embodiment, the predetermined spatial frequency characteristic only needs to be a frequency characteristic having fewer frequency components on the lowest frequency fmin side compared to the intermediate frequency fmid in the spatial frequency domain compared to the white noise characteristic. In other words, the predetermined spatial frequency characteristic only needs to be closer to the blue noise characteristic than the white noise characteristic. In other words, the predetermined spatial frequency characteristic only needs to be no closer to the red noise characteristic than the white noise characteristic. For example, in the present embodiment, the predetermined spatial frequency characteristic may also be a purple noise characteristic.
[0105] In addition, as a method for generating the curve FB1, for example, it can also be considered in the following manner. That is, first, the image forming space SP is cut by the plane PL1. Second, a curved surface PC1 is generated in which a plurality of threshold values Dd corresponding to a plurality of pixels Px located on the plane PL1 are represented as heights from the bottom surface when the plane PL1 is set as the bottom surface. Third, the amount of each frequency component in the spatial frequency domain of the curved surface PC1 is obtained by applying a two-dimensional Fourier analysis to the curved surface PC1. Thus, a curve FB1 representing the relationship between the spatial frequency of the curved surface PC1 and the amount of each frequency component in the spatial frequency domain of the curved surface PC1 can be generated.
[0106] In addition, the dither mask DZ involved in this embodiment also has a predetermined spatial frequency characteristic in a plane PL2 different from the plane PL1. Here, the plane PL2 refers to a plane extending in a direction different from the plane PL1. In other words, the plane PL2 refers to a plane having a normal vector extending in a direction different from the normal vector of the plane PL1. For example, the plane PL2 may also be a plane orthogonal to the plane PL1. In other words, the plane PL2 may also be a plane having a normal vector extending in a direction orthogonal to the normal vector of the plane PL1.
[0107] Furthermore, in the present embodiment, plane PL2 may be a plane parallel to the Y-axis direction. In other words, plane PL2 may be a plane having a normal vector extending in a direction orthogonal to the Y-axis direction. Specifically, plane PL2 may be a plane perpendicular to the XZ plane. Furthermore, plane PL2 may be a plane parallel to the Z-axis direction. In other words, plane PL2 may be a plane having a normal vector extending in a direction orthogonal to the Z-axis direction. Specifically, plane PL2 may be a plane parallel to the YZ plane. As an example of plane PL2, plane X=X[1].
[0108] In addition, the dither mask DZ involved in this embodiment may also have a predetermined spatial frequency characteristic in a plane PL3 different from the plane PL1 and the plane PL2. Here, the plane PL3 refers to a plane parallel to the plane PL1. In other words, the plane PL3 refers to a plane having a normal vector extending in the same direction as the normal vector of the plane PL1.
[0109] Furthermore, in the present embodiment, plane PL3 may be a plane parallel to the X-axis direction. In other words, plane PL3 may be a plane having a normal vector extending in a direction orthogonal to the X-axis direction. Specifically, plane PL3 may be a plane perpendicular to the YZ plane. Furthermore, plane PL3 may be a plane parallel to the Y-axis direction. In other words, plane PL3 may be a plane having a normal vector extending in a direction orthogonal to the Y-axis direction. Specifically, plane PL3 may be a plane parallel to the XY plane. As an example of plane PL3, plane Z=Z[2].
[0110] In addition, the dither mask DZ involved in this embodiment may also have a predetermined spatial frequency characteristic in a plane PL4 different from the planes PL1 to PL3. Here, the plane PL4 refers to a plane parallel to the plane PL2. In other words, the plane PL4 refers to a plane having a normal vector extending in the same direction as the normal vector of the plane PL2.
[0111] Furthermore, in the present embodiment, plane PL4 may be a plane parallel to the Y-axis direction. In other words, plane PL4 may be a plane having a normal vector extending in a direction orthogonal to the Y-axis direction. Specifically, plane PL4 may be a plane perpendicular to the XZ plane. Furthermore, plane PL4 may be a plane parallel to the Z-axis direction. In other words, plane PL4 may be a plane having a normal vector extending in a direction orthogonal to the Z-axis direction. Specifically, plane PL4 may be a plane parallel to the YZ plane. As an example of plane PL4, plane X=X[2].
[0112] In addition, the jitter mask DZ involved in the present embodiment may also have a predetermined spatial frequency characteristic in a plane PL5 different from the planes PL1 to PL4. Here, plane PL5 refers to a plane extending in a direction different from plane PL1 and plane PL2. In other words, plane PL5 refers to a plane having a normal vector extending in a direction different from the normal vector of plane PL1 and extending in a direction different from the normal vector of plane PL2. For example, plane PL5 may also be a plane orthogonal to plane PL1 and plane PL2. In other words, plane PL5 may also be a plane having a normal vector extending in a direction orthogonal to the normal vector of plane PL1 and extending in a direction orthogonal to the normal vector of plane PL2.
[0113] Furthermore, in the present embodiment, plane PL5 may be a plane parallel to the Z-axis direction. In other words, plane PL5 may be a plane having a normal vector extending in a direction perpendicular to the Z-axis direction. Specifically, plane PL5 may be a plane perpendicular to the XY plane. Furthermore, plane PL5 may be a plane parallel to the X-axis direction. In other words, plane PL5 may be a plane having a normal vector extending in a direction perpendicular to the X-axis direction. Specifically, plane PL5 may be a plane parallel to the XZ plane. As an example of plane PL5, plane Y=Y[1].
[0114] In addition, the dither mask DZ involved in this embodiment may also have a predetermined spatial frequency characteristic in a plane PL6 different from the planes PL1 to PL5. Here, the plane PL6 refers to a plane parallel to the plane PL5. In other words, the plane PL6 refers to a plane having a normal vector extending in the same direction as the normal vector of the plane PL5.
[0115] Furthermore, in the present embodiment, plane PL6 may be a plane parallel to the Z-axis direction. In other words, plane PL6 may be a plane having a normal vector extending in a direction perpendicular to the Z-axis direction. Specifically, plane PL6 may be a plane perpendicular to the XY plane. Furthermore, plane PL6 may be a plane parallel to the X-axis direction. In other words, plane PL6 may be a plane having a normal vector extending in a direction perpendicular to the X-axis direction. Specifically, plane PL6 may be a plane parallel to the XZ plane. As an example of plane PL6, plane Y=Y[2].
[0116] Furthermore, the dither mask DZ according to the present embodiment may have a predetermined spatial frequency characteristic in an arbitrary plane parallel to the plane PL1 among planes that cut the image forming space SP.
[0117] Furthermore, the dither mask DZ according to the present embodiment may have a predetermined spatial frequency characteristic in an arbitrary plane parallel to the plane PL2 among planes that cut the image forming space SP.
[0118] Furthermore, the dither mask DZ according to the present embodiment may have a predetermined spatial frequency characteristic in an arbitrary plane parallel to the plane PL5 among planes that cut the image forming space SP.
[0119] In addition, for example, when the normal vector of a plane is represented as vector V1 = (v1x, v1y, v1z), and the normal vector of the other plane is represented as vector V2 = (v2x, v2y, v2z) of the same length as vector V1, "one plane and the other planes extend in different directions" can also be expressed as at least one of "|v1x|≠|v2x|", "|v1y|≠|v2y|", and "|v1z|≠|v2z|" being true.
[0120] 3. Record the work of the system
[0121] In the following, in reference to Figure 8 as well as Fig. 9 At the same time, an example of the operation of the recording system Sys involved in this embodiment is described.
[0122] Figure 8 1 is a flowchart showing an example of the operation of the recording system Sys when the recording system Sys executes the dither mask generation process. Here, the dither mask generation process refers to a process of generating a dither mask DZ.
[0123] like Figure 8 As illustrated, when the dither mask generation process starts, the dither mask generation unit 22 sets the variable m to “1” ( S10 ).
[0124] Next, the dither mask generator 22 selects a pixel Px[1] corresponding to the threshold value Dd[1] from the M pixels Px in the image forming space SP (S11). Specifically, in step S11, the dither mask generator 22 may, for example, randomly select the pixel Px[1] from the M pixels Px. In addition, in step S11, the dither mask generator 22 may, for example, select a predetermined pixel Px that is determined in advance from the M pixels Px as the pixel Px[1].
[0125] Next, the dither mask generation unit 22 sets the threshold value Dd(mx, my, mz) corresponding to the pixel Px(mx, my, mz) selected as the pixel Px[1] as the threshold value Dd[1] (S12). Specifically, in step S12, the dither mask generation unit 22 sets the threshold value Dd(mx, my, mz) corresponding to the pixel Px(mx, my, mz) selected as the pixel Px[1] to "1+Gg-min". More specifically, since the grayscale value Gg-min is "0" in the present embodiment, the dither mask generation unit 22 sets the threshold value Dd(mx, my, mz) corresponding to the pixel Px(mx, my, mz) selected as the pixel Px[1] to "1" in step S12.
[0126] Next, the dither mask generator 22 calculates the potential value Ep for each pixel Px other than the pixels Px[1] to Px[m] (S13). In addition, the pixel for which the threshold value Dd[m] is not determined is referred to as a residual pixel PxZ hereinafter. For example, in step S13, the residual pixel PxZ is a pixel Px other than the pixels Px[1] to Px[m].
[0127] Here, the potential value Ep refers to a value expressed by the following formula (5) using the individual potential value Ek[m].
[0128] Ep=Ek[1]+Ek[2]+…+Ek[m]…Equation (5)
[0129] The potential value Ep is represented by the following equation (6) instead of equation (5) when "m=1", and is represented by the following equation (7) instead of equation (5) when "m=2".
[0130] Ep=Ek[1]……Formula (6)
[0131] Ep=Ek[1]+Ek[2]……Formula (7)
[0132] Here, the individual potential value Ek[m] refers to a value expressed by the following formula (8).
[0133] Ek[m]=Cs[m]÷(R[m])β… Formula (8)
[0134] Here, the distance R[m] is a value indicating the distance between the pixel Px[m] and the residual pixel PxZ. In addition, the value β is a real number greater than "1" and preferably "2". In addition, the coefficient Cs[m] is a positive real number. The coefficient Cs[m] can be, for example, a predetermined constant or a value determined based on the threshold value Dd[m].
[0135] Next, the jitter mask generation unit 22 calculates the variable m by adding "1" (S14). In addition, in the present embodiment, as described above, the threshold value Dd[m+1] is the same value as the threshold value Dd[m], or a value greater than the threshold value Dd[m] by "1". As described above, the threshold values Dd[1] to Dd[M] are divided into a plurality of groups according to the threshold values Dd of the same value. In the present embodiment, as an example, a case where the threshold values Dd[1] to Dd[M] are divided into "Gg-max-Gg-min+1" groups is assumed. In addition, in the present embodiment, as an example, a case where the threshold values Dd of a predetermined number Q belong to each group is assumed. Here, the predetermined number Q is a value determined based on the value "Gg-max-Gg-min+1" and the value M. For example, the predetermined number Q may be a value obtained by rounding off a value calculated by, for example, dividing the value M by the value "Gg-max-Gg-min+1". For example, when M is "8*8*8=512", the grayscale value Gg-min is "0", and the grayscale value Gg-max is "255", the predetermined number Q becomes "512÷256=2". Moreover, in this case, when the variable w is introduced to become "1≤w≤255", the threshold value Dd[2*w-1] and the threshold value Dd[2*w] belong to the group corresponding to the grayscale value Gg and "w".
[0136] Furthermore, the dither mask generator 22 selects a pixel Px[m] from one or more residual pixels PxZ in the image forming space SP based on the potential value Ep determined corresponding to each residual pixel PxZ (S15). Specifically, in step S15, the dither mask generator 22 selects a residual pixel PxZ having the smallest potential value Ep from one or more residual pixels PxZ as the pixel Px[m].
[0137] Next, the dither mask generator 22 sets the threshold value Dd(mx, my, mz) corresponding to the pixel Px(mx, my, mz) selected as the pixel Px[m] in step S15 as the threshold value Dd[m] ( S16 ).
[0138] Thereafter, the dither mask generating unit 22 determines whether the variable m is "M" (S17). If the result of the determination is negative, the dither mask generating unit 22 advances the process to step S13. On the other hand, if the result of the determination is positive, the dither mask generating unit 22 ends the dither mask generating process.
[0139] Fig. 9 1 is a flowchart showing an example of the operation of the recording system Sys when the recording system Sys executes the quantization process. As described above, the quantization process is a process of generating display data Img based on the image data GD.
[0140] like Fig. 9 As illustrated, when the quantization process starts, the display data generating unit 23 selects a pixel Px (mx, my, mz) from the M pixels Px in the image forming space SP ( S20 ).
[0141] Next, the display data generating unit 23 determines whether the grayscale value Gg(mx, my, mz) corresponding to the pixel Px(mx, my, mz) selected in step S20 among the multiple grayscale values Gg represented by the image data GD is above the threshold value Dd(mx, my, mz) corresponding to the pixel Px(mx, my, mz) selected in step S20 among the multiple threshold values Dd represented by the jitter mask DZ (S21).
[0142] In addition, in the present embodiment, the display data Img represents the grayscale of the image G displayed by each of the M pixels Px existing in the image forming space SP in order to form the image G on the surface SF of the object Obj existing in the image forming space SP. Specifically, in the present embodiment, the display data Img represents that the image G displayed by each pixel Px existing in the image forming space SP is the highest grayscale value Gg-1 or the lowest grayscale value Gg-0. For example, in the present embodiment, the highest grayscale value Gg-1 is "1" and the lowest grayscale value Gg-0 is "0". That is, the display data Img is data in which the grayscale of the image G displayed by each of the M pixels Px is represented by the two values of "1" and "0". In addition, the pixel Px that displays the image G with the highest grayscale value Gg-1, that is, the grayscale value becomes "1" refers to the pixel Px formed with a dot by the ink ejected from the recording device 5. In addition, the pixel Px that displays the image G with the lowest grayscale value Gg-0, that is, the grayscale value becomes "0" is a pixel Px that does not form a dot. Hereinafter, the pixel Px that displays the image G with the highest grayscale value Gg-1, that is, the grayscale value becomes "1" so that a dot is formed is referred to as a dot-forming pixel Px-1. In addition, the pixel Px that displays the image G with the lowest grayscale value Gg-0, that is, the grayscale value becomes "0" so that a dot is not formed is referred to as a dot-non-forming pixel Px-0.
[0143] like Fig. 9 As illustrated, when the result of the determination in step S21 is affirmative, the display data generating unit 23 sets the grayscale of the image G displayed by the pixel Px (mx, my, mz) in the display data Img to the maximum grayscale value Gg-1, ie, "1" (S22).
[0144] On the other hand, if the result of the judgment in step S21 is negative, the display data generating unit 23 sets the grayscale of the image G displayed by the pixel Px (mx, my, mz) in the display data Img to the minimum grayscale value Gg-0, that is, "0" (S23).
[0145] Next, the display data generating unit 23 determines whether the maximum grayscale value Gg-1, ie, "1", or the minimum grayscale value Gg-0, ie, "0" is set for all the M pixels Px in the image forming space SP in the display data Img (S24).
[0146] Then, if the result of the determination in step S24 is negative, the display data generating unit 23 advances the process to step S20. On the other hand, if the result of the determination in step S24 is positive, the display data generating unit 23 ends the quantization process.
[0147] Furthermore, as described above, the recording device 5 forms the image G for the surface SF of the target object Obj arranged in the image formation space SP based on the display data Img generated by the quantization process.
[0148] Specifically, the head control unit 61 generates a drive control signal SI, which instructs to eject ink and form dots for the pixel Px whose display data Img indicates the highest grayscale value Gg-1, i.e., "1", and instructs not to eject ink and not form dots for the pixel Px whose display data Img indicates the lowest grayscale value Gg-0, i.e., "0". Moreover, the head unit 7 ejects ink to the pixel Px in the image forming space SP based on the drive control signal SI. Thus, the recording device 5 forms dots at the pixel Px whose display data Img indicates the highest grayscale value Gg-1, i.e., "1", so that the image G can be formed on the surface SF of the object Obj arranged in the image forming space SP.
[0149] 4. Relationship between dither mask and display data
[0150] In the following, in reference to Figures 10 to 12 At the same time, an example of the dither mask DZ involved in this embodiment and an example of the generated display data Img are described.
[0151] Fig.10 : is an explanatory diagram showing the relationship between the plurality of threshold values Dd corresponding to the plurality of pixels Px located on the plane PL1 and the display data Img among the plurality of threshold values Dd included in the dither mask DZ. Fig.11 : is an explanatory diagram showing the relationship between the plurality of threshold values Dd corresponding to the plurality of pixels Px located on the plane PL2 and the display data Img among the plurality of threshold values Dd included in the dither mask DZ. Fig.12 : is an explanatory diagram showing the relationship between the plurality of threshold values Dd corresponding to the plurality of pixels Px located on the plane PL5 and the display data Img among the plurality of threshold values Dd included in the dither mask DZ. Figures 10 to 12 In , each numerical value represents a threshold value Dd determined by a pixel Px. Figures 10 to 12 In FIG. 1 , a pixel Px surrounded by a thick frame and having a dot added thereto represents a dot-forming pixel Px-1 whose dot formation is determined by the display data Img.
[0152] In addition, Figures 10 to 12 In the example shown, it is assumed that plane PL1 is a plane where "Z=Z[1]", plane PL2 is a plane where "X=X[1]", and plane PL5 is a plane where "Y=Y[1]". Figures 10 to 12In the example shown, it is assumed that the surface SF of the target object Obj includes a plane PL1, a plane PL2, and a plane PL5. Figures 10 to 12 In the example shown, it is assumed that "Mx=8", "My=8", "Mz=8", "M=8*8*8=512", and thus there are 512 pixels Px in the image forming space SP. Figure 10 to Figure 12 In the example shown, a case is assumed where the grayscale value Gg-min is "0", the grayscale value Gg-max is "255", the threshold value Dd[1] is "1", and thus the threshold value Dd[M] is "255".
[0153] In addition, hereinafter, the grayscale value near the middle between the grayscale value Gg-min and the grayscale value Gg-max is referred to as the middle grayscale value Gg-mid. Here, the middle grayscale value Gg-mid refers to, for example, a grayscale value satisfying the following equation (9).
[0154] (1-γ3)*Gg-min+γ3*Gg-max≤Gg-mid
[0155] ≤(1-γ4)*Gg-min+γ4*Gg-max...Equation (9)
[0156] Here, the value γ3 is, for example, a real number satisfying "0.2≤γ3≤0.5", and the value γ4 is, for example, a real number satisfying "0.5≤γ4≤0.8". In this embodiment, a case where the value γ3 is "0.2" and the value γ4 is "0.8" is assumed. That is, in this embodiment, a case where the grayscale value Gg-mid near the middle is "51≤Gg-mid≤204" is assumed. In addition, Figures 10 to 12 In the example shown, it is assumed that the grayscale values Gg in the plurality of pixels Px represented by the image data GD are all the grayscale values Gg-mid near the middle, that is, "64". This corresponds to 1 / 4 of the 256-level grayscale value Gg. Figures 10 to 12 In the illustrated example, it is assumed that the grayscale values Gg of the plurality of pixels Px included in the planes PL1 , PL2 , and PL5 in the image data GD are all grayscale values Gg-mid near the middle.
[0157] like Fig.10As illustrated, when the grayscale value Gg represented by the image data GD is the grayscale value Gg-mid near the middle, the multiple points forming the pixel Px-1 among the multiple pixels Px existing on the plane PL1 are not locally present in a specific area, but are arranged in a highly dispersed manner. In other words, the distribution of the multiple points forming the pixel Px-1 among the multiple pixels Px existing on the plane PL1 has a "predetermined spatial frequency characteristic" in the spatial frequency domain. In other words, when the grayscale value Gg represented by the image data GD is the grayscale value Gg-mid near the middle, the distribution of the multiple points formed on the plane PL1 has a "predetermined spatial frequency characteristic" in the spatial frequency domain. Here, "the distribution of multiple points in a plane has a predetermined spatial frequency characteristic" means that the curve representing the relationship between the spatial frequency of the plane and the amount of each frequency component in the spatial frequency domain of the plane obtained by applying a two-dimensional Fourier transform to the point forming pixel Px-1 among the multiple pixels Px has the above-mentioned predetermined spatial frequency characteristic. In addition, "the distribution of multiple points in a plane has a predetermined spatial frequency characteristic" can also be understood as the following situation, that is, when a curved surface is generated in which the value indicating whether a point is formed at each pixel among multiple pixels Px located on a plane that cuts the image forming space SP is expressed as the height from the bottom surface when the plane is set as the bottom edge, a curve indicating the relationship between the spatial frequency of the curved surface and the amount of each frequency component in the spatial frequency domain of the curved surface has a predetermined spatial frequency characteristic.
[0158] Likewise, if Fig.11 As illustrated, when the grayscale value Gg represented by the image data GD is the grayscale value Gg-mid near the middle, the multiple points forming the pixel Px-1 among the multiple pixels Px existing on the plane PL2 are not locally present in a specific area, but are arranged in a highly dispersed manner. In other words, the distribution of the multiple points forming the pixel Px-1 among the multiple pixels Px existing on the plane PL2 has a "predetermined spatial frequency characteristic" in the spatial frequency domain. In other words, when the grayscale value Gg represented by the image data GD is the grayscale value Gg-mid near the middle, the distribution of the multiple points formed on the plane PL2 has a "predetermined spatial frequency characteristic" in the spatial frequency domain.
[0159] Likewise, if Fig.12As illustrated, when the grayscale value Gg represented by the image data GD is the grayscale value Gg-mid near the middle, the multiple points forming the pixel Px-1 among the multiple pixels Px existing on the plane PL5 are not locally present in a specific area, but are arranged in a highly dispersed manner. In other words, the distribution of the multiple points forming the pixel Px-1 among the multiple pixels Px existing on the plane PL5 has a "predetermined spatial frequency characteristic" in the spatial frequency domain. In other words, when the grayscale value Gg represented by the image data GD is the grayscale value Gg-mid near the middle, the distribution of the multiple points formed on the plane PL5 has a "predetermined spatial frequency characteristic" in the spatial frequency domain.
[0160] As described above, according to this embodiment, Figures 10 to 12 As illustrated, since the distribution of the threshold value of the dither mask DZ has a predetermined spatial frequency characteristic, when the grayscale value Gg represented by the image data GD is a grayscale value Gg-mid near the middle, the distribution of the plurality of points formed on the surface SF of the object Obj located in the image formation space SP also has the predetermined spatial frequency characteristic. In other words, according to the present embodiment, when the grayscale value Gg represented by the image data GD is a grayscale value Gg-mid near the middle, the dispersion of the plurality of points formed on the surface SF of the object Obj can be improved.
[0161] 5. Reference Example and Effects of the Embodiment Compared with the Reference Example
[0162] In the following, in reference to Figures 13 to 21 At the same time, the dither mask involved in the reference example and the effects of this embodiment compared with the reference example are described.
[0163] In addition, Figures 13 to 21 In the example shown, it is assumed that "Mx=3", "My=3", "Mz=3", "M=3*3*3=27", and thus there are 27 pixels Px in the image forming space SP. Figures 13 to 21 In the example shown, it is assumed that the grayscale value Gg-min is "0", the grayscale value Gg-max is "9", and thus the threshold value Dd[1] is "1" and the threshold value Dd[M] is "9". Figures 13 to 21 In the example shown, it is assumed that the grayscale value Gg-mid near the middle is "2≤Gg-mid≤7". Figures 13 to 21 In the example shown, it is assumed that the grayscale values Gg in the plurality of pixels Px represented by the image data GD are all "4". Figures 13 to 21In the illustrated example, it is assumed that the grayscale values Gg in the plurality of pixels Px represented by the image data GD are all grayscale values Gg-mid near the middle.
[0164] Figures 13 to 15 This is an explanatory diagram for explaining Reference Example 1.
[0165] Reference Example 1 uses a two-dimensional dither mask DZ-A in which multiple thresholds corresponding to multiple pixels Px in a two-dimensional space are determined. The dither mask DZ-A extends in a direction parallel to the XY plane. The dither mask DZ-A is set in a manner having predetermined spatial frequency characteristics in the spatial frequency domain in order to be able to configure the points in a dispersed manner. Here, in Reference Example 1, the same dither mask DZ-A is used for three planes, namely, plane Z=Z[1], plane Z=Z[2], and plane Z=Z[3]. In Reference Example 1, the dither mask DZ-A is used to perform two-dimensional quantization processing on plane Z=Z[1], plane Z=Z[2], and plane Z=Z[3], respectively.
[0166] like Fig.13 As illustrated, the dither mask DZ-A has a plurality of threshold values Dd in the plane Z=Z[1], and the plurality of threshold values Dd are arranged so as to have a predetermined spatial frequency characteristic. That is, the dither mask DZ-A can be arranged so as to form a pixel Px-1 for a plurality of points in the plane Z=Z[1] so as to have a predetermined spatial frequency characteristic in the spatial frequency domain. Therefore, in Reference Example 1, when the surface SF of the target object Obj includes the plane Z=Z[1], the recording device 5 can disperse the points in the plane Z=Z[1].
[0167] Furthermore, the dither mask DZ-A has a plurality of threshold values Dd in the plane Z=Z[2] that are arranged in the same manner as in the plane Z=Z[1]. Therefore, in Reference Example 1, when the surface SF of the object Obj includes the plane Z=Z[2], the recording device 5 can disperse the points in the plane Z=Z[2].
[0168] Furthermore, the dither mask DZ-A has a plurality of threshold values Dd in the plane Z=Z[3] that are arranged in the same manner as in the plane Z=Z[1]. Therefore, in Reference Example 1, when the surface SF of the object Obj includes the plane Z=Z[3], the recording device 5 can disperse the points in the plane Z=Z[3].
[0169] On the other hand, plane Y=Y[1], plane Y=Y[2], plane Y=Y[3], plane X=X[1], plane X=X[2], and plane X=X[3] are divided and quantized using three two-dimensional dither masks DZ-A.
[0170] For example, Fig.14 As illustrated, among the nine pixels of plane Y=Y[1], the three pixels located on plane Z=Z[1] are quantized using the two-dimensional dither mask DZ-A corresponding to plane Z=Z[1], the three pixels located on plane Z=Z[2] are quantized using the two-dimensional dither mask DZ-A corresponding to plane Z=Z[2], and the three pixels located on plane Z=Z[3] are quantized using the two-dimensional dither mask DZ-A corresponding to plane Z=Z[3]. Since three identical dither masks DZ-A are used in reference example 1 as described above, among the nine pixels of plane Y=Y[1], the three pixels located on plane Z=Z[1], the three pixels located on plane Z=Z[2], and the three pixels located on plane Z=Z[3] correspond to the same threshold values, respectively. Therefore, in reference example 1, Fig.14 As shown in FIG. 1 , on plane Y=Y[1], dots are continuously formed at three pixels of plane X=X[1] and three pixels of plane X=X[3], but no dots are formed at three pixels of plane X=X[2]. Therefore, in Reference Example 1, when the surface SF of the object Obj includes the plane Y=Y[1], the recording device 5 cannot disperse the dots in the plane Y=Y[1].
[0171] If we consider it in the same way, in Reference Example 1, Fig.14 As shown, no point is formed at any of the nine pixels on the plane Y=Y[2]. Therefore, in Reference Example 1, when the surface SF of the object Obj includes the plane Y=Y[2], the recording device 5 cannot configure points in the plane Y=Y[2].
[0172] If we consider it in the same way, in Reference Example 1, Fig.14 As shown in FIG. 1 , on plane Y=Y[3], dots are continuously formed at three pixels of plane X=X[1] and three pixels of plane X=X[3], but no dots are formed at three pixels of plane X=X[2]. Therefore, in Reference Example 1, when the surface SF of the object Obj includes the plane Y=Y[3], the recording device 5 cannot disperse the dots in the plane Y=Y[3].
[0173] If we consider it in the same way, in Reference Example 1, Fig.15As shown, on the plane X=X[1], dots are continuously formed at three pixels of the plane Y=Y[1] and three pixels of the plane Y=Y[3], while on the other hand, dots are not formed at three pixels of the plane Y=Y[2]. Therefore, in Reference Example 1, when the surface SF of the object Obj includes the plane X=X[1], the recording device 5 cannot disperse the dots in the plane X=X[1].
[0174] If we consider it in the same way, in Reference Example 1, Fig.15 As shown, no point is formed at any of the nine pixels on the plane X=X[2]. Therefore, in Reference Example 1, when the surface SF of the object Obj includes the plane X=X[2], the recording device 5 cannot configure points in the plane X=X[2].
[0175] If we consider it in the same way, we can see that Fig.15 As shown, on the plane X=X[3], dots are continuously formed at three pixels of the plane Y=Y[1] and three pixels of the plane Y=Y[3], while no dots are formed at three pixels of the plane Y=Y[2]. In Reference Example 1, when the surface SF of the object Obj includes the plane X=X[3], the recording device 5 cannot disperse the dots in the plane X=X[3].
[0176] As described above, in Reference Example 1, the same two-dimensional dither mask DZ-A extending in a direction parallel to the XY plane is applied to plane Z=Z[1], plane Z=Z[2], and plane Z=Z[3], respectively, and display data is generated. Therefore, in Reference Example 1, when the surface SF of the object Obj is parallel to the XY plane, the recording device 5 can disperse the points on the surface SF, but when the surface SF of the object Obj is not parallel to the XY plane, the recording device 5 cannot adjust the arrangement of the points on the surface SF, and as a result, the recording device 5 continuously arranges the points and cannot disperse the points. Therefore, in Reference Example 1, a grainy feeling is generated on the image G formed on the surface SF of the object Obj, resulting in a decrease in the image quality of the image G. Furthermore, on mutually parallel planes, planes on which points are concentrated (plane X=X[1], plane X=X[3], plane Y=Y[1], and plane Y=Y[3]) and planes on which no points are arranged (plane X=X[2] and plane Y=Y[2]) are mixed together, resulting in a significant difference in image quality depending on the surface SF of the target object Obj.
[0177] Figures 16 to 18 This is an explanatory diagram used to illustrate Reference Example 2.
[0178] Reference Example 2 uses a two-dimensional dither mask DZ-B1 in which a plurality of thresholds corresponding to a plurality of pixels Px in a two-dimensional space are defined for the plane Z=Z[1]. The dither mask DZ-B1 extends in a direction parallel to the XY plane. The dither mask DZ-B1 is set to have a predetermined spatial frequency characteristic in the spatial frequency domain in order to disperse the points.
[0179] Furthermore, for plane Z=Z[2], a dither mask DZ-B2 is used in which the multiple threshold values Dd of the dither mask DZ-B1 are slid by one pixel in the +X direction. Specifically, the dither mask DZ-B2 is a dither mask obtained by sliding the multiple threshold values Dd in the plane X=X[1] in the dither mask DZ-B1 toward the plane X=X[2], sliding the multiple threshold values Dd in the plane X=X[2] toward the plane X=X[3], and sliding the multiple threshold values Dd in the plane X=X[3] toward the plane X=X[1].
[0180] Furthermore, for plane Z=Z[3], a dither mask DZ-B3 is used in which the multiple threshold values Dd of the dither mask DZ-B1 are slid by two pixels in the +X direction. Specifically, the dither mask DZ-B3 is obtained by sliding the multiple threshold values Dd in the plane X=X[1] in the dither mask DZ-B1 toward the plane X=X[3], sliding the multiple threshold values Dd in the plane X=X[2] toward the plane X=X[1], and sliding the multiple threshold values Dd in the plane X=X[3] toward the plane X=X[2].
[0181] In reference example 2, two-dimensional quantization processing is performed on plane Z=Z[1] using dither mask DZ-B1, two-dimensional quantization processing is performed on plane Z=Z[2] using dither mask DZ-B2, and two-dimensional quantization processing is performed on plane Z=Z[3] using dither mask DZ-B3.
[0182] like Fig.16 As illustrated, the dither mask DZ-B1 has a plurality of threshold values Dd in the plane Z=Z[1], and the plurality of threshold values Dd are arranged so as to have a predetermined spatial frequency characteristic. That is, the dither mask DZ-B1 can be arranged so as to form a pixel Px-1 for a plurality of points in the plane Z=Z[1] so as to have a predetermined spatial frequency characteristic in the spatial frequency domain. Therefore, in Reference Example 2, when the surface SF of the target object Obj includes the plane Z=Z[1], the recording device 5 can disperse the points in the plane Z=Z[1].
[0183] On the other hand, the dither mask DZ-B2 is a dither mask obtained by sliding the plurality of threshold values Dd of the dither mask DZ-B1 in the above manner. As a result, the dither mask DZ-B2 does not have a predetermined spatial frequency characteristic in the spatial frequency domain. Therefore, in Reference Example 2, when the surface SF of the target object Obj includes the plane Z=Z[2], the dispersion of the points formed by the recording device 5 in the plane Z=Z[2] is lower than the dispersion of the points formed by the recording device 5 in the plane Z=Z[1].
[0184] Furthermore, the dither mask DZ-B3 is a dither mask obtained by sliding the plurality of threshold values Dd of the dither mask DZ-B1 in the above manner. As a result, the dither mask DZ-B3 does not have a predetermined spatial frequency characteristic in the spatial frequency domain. Therefore, in Reference Example 2, when the surface SF of the object Obj includes the plane Z=Z[3], the dispersion of the points formed by the recording device 5 in the plane Z=Z[3] is lower than the dispersion of the points formed by the recording device 5 in the plane Z=Z[1].
[0185] On the other hand, plane Y=Y[1], plane Y=Y[2], plane Y=Y[3], plane X=X[1], plane X=X[2], and plane X=X[3] are segmented and quantized using three two-dimensional jitter masks DZ-B1, jitter mask DZ-B2, and jitter mask DZ-B3, as in reference example 1.
[0186] For example, Fig.17As shown in the example, of the nine pixels on the plane Y=Y[1], the three pixels on the plane Z=Z[1] are quantized by the two-dimensional dither mask DZ-B1 corresponding to the plane Z=Z[1], the three pixels on the plane Z=Z[2] are quantized by the two-dimensional dither mask DZ-B2 corresponding to the plane Z=Z[2], and the three pixels on the plane Z=Z[3] are quantized by the two-dimensional dither mask DZ-B3 corresponding to the plane Z=Z[3]. Here, the three pixels on the plane Y=Y[1] and on the plane Z=Z[1] correspond to the threshold values Dd of "1", "6", and "4" of the dither mask DZ-B1 in order from the -X direction toward the +X direction. Furthermore, the three pixels located on the plane Y=Y[1] and on the plane Z=Z[2] correspond to the threshold values Dd of "4", "1", and "6" of the dither mask DZ-B2 in order from the -X direction toward the +X direction. Furthermore, the three pixels located on the plane Y=Y[1] and on the plane Z=Z[3] correspond to the threshold values Dd of "6", "4", and "1" of the dither mask DZ-B3 in order from the -X direction toward the +X direction. Therefore, in Reference Example 2, Fig.17 As shown, if Fig.14 Compared with the plane Y=Y[1] of the y-axis, the dispersion of points in the plane Y=Y[1] is higher. However, if compared with the Fig. 20 Compared with the plane Y=Y[1], Fig.17 The number of points arranged on the plane Y=Y[1] is large, so the dispersion of the points is also low. That is, Fig.17 The plane Y=Y[1] does not reach the state described later. Fig. 20 The preferred dispersion is the plane Y=Y[1].
[0187] If we consider it in the same way, in Reference Example 2, Fig.17 As shown, no point is formed at any of the nine pixels in plane Y=Y[2]. Therefore, in Reference Example 2, when the surface SF of the object Obj includes the plane Y=Y[2], the recording device 5 cannot configure points in the plane Y=Y[2].
[0188] If we consider it in the same way, we can see that in Reference Example 2, Fig.17 As shown, if Fig.14 Compared with the plane Y=Y[3], the dispersion of points can be improved within the plane Y=Y[3]. However, if compared with the plane Y=Y[3] described later, Fig. 20Therefore, in Reference Example 2, when the surface SF of the object Obj includes the plane Y=Y[3], the recording device 5 cannot sufficiently disperse the points in the plane Y=Y[3].
[0189] If we consider it in the same way, we can see that in Reference Example 2, Fig.18 As shown in the example, if Fig.15 Compared with the plane X = X[1], the dispersion of points can be improved within the plane X = X[1]. However, if compared with the plane X = X[1] described later, Fig.21 Therefore, in Reference Example 2, when the surface SF of the object Obj includes the plane X=X[1], the recording device 5 cannot sufficiently disperse the points in the plane X=X[1].
[0190] If we consider it in the same way, we can see that in Reference Example 2, Fig.18 As shown in the example, if Fig.15 Compared with the plane X = X[2], the dispersion of points can be improved on the plane X = X[2]. However, if compared with the plane X = X[2] described later, Fig.21 Therefore, in Reference Example 2, when the surface SF of the object Obj includes the plane X=X[2], the recording device 5 cannot sufficiently disperse the points in the plane X=X[2].
[0191] In addition, in Reference Example 2, Fig.18 As shown in the example, the dispersion of the points can be improved in the plane X=X[3]. Therefore, in Reference Example 2, when the surface SF of the object Obj includes the plane X=X[3], the recording device 5 can disperse the points in the plane X=X[3]. However, in Reference Example 2, the dispersion of the points in planes other than the plane X=X[3] and the plane Z=Z[1] is low, resulting in a low possibility that the points are sufficiently dispersedly arranged on the surface SF of the object Obj.
[0192] As described above, in Reference Example 2, a two-dimensional dither mask DZ-B1 extending in a direction parallel to the XY plane is applied to the plane Z=Z[1], a two-dimensional dither mask DZ-B2 having a threshold value obtained by sliding a plurality of threshold values Dd possessed by the dither mask DZ-B1 is applied to the plane Z=Z[2], and a two-dimensional dither mask DZ-B3 having a threshold value obtained by sliding a plurality of threshold values Dd possessed by the dither mask DZ-B1 is applied to the plane Z=Z[3], thereby generating display data. Therefore, in Reference Example 2, the recording device 5 may not be able to sufficiently disperse the points with respect to the surface SF. Therefore, in Reference Example 2, a grainy feeling is generated in the image G formed on the surface SF of the object Obj, resulting in a decrease in the image quality of the image G.
[0193] Figures 19 to 21 1 and 2 are explanatory diagrams for explaining the dither mask DZ according to the present embodiment. As described above, in the present embodiment, unlike Reference Examples 1 and 2 in which a two-dimensional dither mask is applied, a three-dimensional dither mask DZ is applied.
[0194] like Figures 19 to 21 As illustrated, the dither mask DZ has a plurality of threshold values Dd in any one of the planes Z=Z[1], Z=Z[2], Z=Z[3], Y=Y[1], Y=Y[2], Y=Y[3], X=X[1], X=X[2], and X=X[3], and the plurality of threshold values Dd are arranged so as to have a predetermined spatial frequency characteristic. That is, the dither mask DZ is arranged so as to form a pixel Px-1 for a plurality of points so as to have a predetermined spatial frequency characteristic in the spatial frequency domain in each of the planes Z=Z[1], Z=Z[2], Z=Z[3], Y=Y[1], Y=Y[2], Y=Y[3], X=X[1], X=X[2], and X=X[3]. Therefore, in the present embodiment, when the surface SF of the object Obj includes planes Z=Z[1], plane Z=Z[2], plane Z=Z[3], plane Y=Y[1], plane Y=Y[2], plane Y=Y[3], plane X=X[1], plane X=X[2], and plane X=X[3], the recording device 5 can disperse the dots in the planes. Therefore, in the present embodiment, compared with the above-mentioned reference examples 1 and 2, the graininess of the image G formed on the surface SF of the object Obj can be reduced, and the degradation of the image quality of the image G can be suppressed.
[0195] 6. Summary of implementation methods
[0196] As described above, the terminal device 1 involved in the present embodiment is characterized in that it comprises: an image data acquisition unit 21, which acquires image data GD, wherein the image data GD represents the grayscale value Gg of the image Gf that should be displayed by each of the M pixels Px in the image forming space SP when the image Gf is displayed in the three-dimensional image forming space SP; and a display data generation unit 23, which quantizes the grayscale value Gg represented by the image data GD by using a three-dimensional dither mask DZ having M threshold values Dd corresponding to the M pixels Px in the image forming space SP, thereby generating display data. Img, the jitter mask DZ is set so that, when the image forming space SP is cut off by using the plane PL1, the multiple threshold values Dd in the plane PL1 have a predetermined spatial frequency characteristic in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain, and when the image forming space SP is cut off by using the plane PL2 extending in a direction different from the plane PL1, the multiple threshold values Dd in the plane PL2 have a predetermined spatial frequency characteristic in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain.
[0197] That is, in the terminal device 1 involved in this embodiment, the display data generation unit 23 quantizes the grayscale value Gg represented by the image data GD by using the dither mask DZ having a predetermined spatial frequency characteristic in the plane PL1 and having a predetermined spatial frequency characteristic in the plane PL2 extending in a direction different from the plane PL1, thereby generating the display data Img. Therefore, according to this embodiment, when forming the image G of a three-dimensional shape such as the plane PL1 and the plane PL2, it is possible to suppress the occurrence of graininess in the image G. That is, according to this embodiment, when forming the image G of a three-dimensional shape such as the plane PL1 and the plane PL2, it is possible to suppress the reduction in the image quality of the image G caused by the occurrence of graininess in the image G.
[0198] In addition, in the present embodiment, the terminal device 1 is an example of an “image processing device”, the image data acquisition unit 21 is an example of an “acquisition unit”, the display data generation unit 23 is an example of a “generation unit”, the image forming space SP is an example of a “first space”, the image data GD is an example of a “first image data”, the jitter mask DZ is an example of a “first jitter mask”, the display data Img is an example of a “first display data”, the intermediate frequency fmid is an example of a “predetermined frequency”, the plane PL1 is an example of a “first plane”, and the plane PL2 is an example of a “second plane”.
[0199] In addition, in the terminal device 1 involved in the present embodiment, the feature can also be set that the jitter mask DZ is, when the image forming space SP is cut off using the plane PL3 parallel to the plane PL1, the multiple threshold values Dd in the plane PL3 have a predetermined spatial frequency characteristic in the spatial frequency domain in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid, and when the image forming space SP is cut off using the plane PL4 parallel to the plane PL2, the multiple threshold values Dd in the plane PL4 have a predetermined spatial frequency characteristic in the spatial frequency domain in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid.
[0200] Therefore, according to the present embodiment, when the image G having a three-dimensional shape including the plane PL1 , the plane PL2 , the plane PL3 , and the plane PL4 is formed, the occurrence of graininess in the image G can be suppressed.
[0201] In addition, in this embodiment, the plane PL3 is an example of the “third plane”, and the plane PL4 is an example of the “fourth plane”.
[0202] In addition, in the terminal device 1 involved in the present embodiment, the feature can also be set that the jitter mask DZ is, when the image forming space SP is cut off using an arbitrary plane parallel to the plane PL1, the multiple threshold values Dd in the plane have a predetermined spatial frequency characteristic in the spatial frequency domain that the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid, and when the image forming space SP is cut off using an arbitrary plane parallel to the plane PL2, the multiple threshold values Dd in the plane have a predetermined spatial frequency characteristic in the spatial frequency domain that the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid.
[0203] Therefore, according to the present embodiment, when forming the image G having a three-dimensional shape including a plane parallel to the plane PL1 and a plane parallel to the plane PL2 , it is possible to suppress the occurrence of graininess in the image G.
[0204] In addition, in the terminal device 1 involved in the present embodiment, the feature can also be set that the jitter mask DZ is, when the image forming space SP is cut off using the plane PL5 extending in a direction different from the plane PL1 and the plane PL2, the multiple thresholds Dd in the plane PL5 have a predetermined spatial frequency characteristic in the spatial frequency domain in which the high-frequency components higher than the intermediate frequency fmid are greater than the low-frequency components lower than the intermediate frequency fmid.
[0205] Therefore, according to the present embodiment, when the image G having a three-dimensional shape including the plane PL1 , the plane PL2 , and the plane PL5 is formed, the occurrence of graininess in the image G can be suppressed.
[0206] In addition, in this embodiment, the plane PL5 is an example of the "fifth plane".
[0207] In addition, in the terminal device 1 involved in the present embodiment, the feature can also be set that the jitter mask DZ is, when the image forming space SP is cut off using the plane PL6 parallel to the plane PL5, the multiple thresholds Dd in the plane PL6 have a predetermined spatial frequency characteristic in the spatial frequency domain in which the high-frequency components higher than the intermediate frequency fmid are greater than the low-frequency components lower than the intermediate frequency fmid.
[0208] Therefore, according to the present embodiment, when the image G having a three-dimensional shape including the plane PL1 , the plane PL2 , the plane PL5 , and the plane PL6 is formed, the occurrence of graininess in the image G can be suppressed.
[0209] In addition, in this embodiment, plane PL6 is an example of the "sixth plane".
[0210] In addition, in the terminal device 1 involved in the present embodiment, the feature can also be set that the jitter mask DZ is, when the image forming space SP is cut off using an arbitrary plane parallel to the plane PL5, a plurality of threshold values Dd in the plane have a predetermined spatial frequency characteristic in the spatial frequency domain in which a plurality of high-frequency components higher than the intermediate frequency fmid are more than low-frequency components lower than the intermediate frequency fmid.
[0211] Therefore, according to this embodiment, when forming an image G having a three-dimensional shape having a plane parallel to plane PL1, a plane parallel to plane PL2, and a plane parallel to plane PL5, the occurrence of graininess in image G can be suppressed.
[0212] In addition, in the terminal device 1 involved in the present embodiment, the feature can also be set as that the M pixels Px in the image forming space SP include: Mx pixels Px, which are arranged in a manner extending in the +X direction; My pixels Px, which are arranged in a manner extending in the +Y direction orthogonal to the +X direction; Mz pixels Px, which are arranged in a manner extending in the +Z direction orthogonal to the +X direction and the +Y direction, and the plane PL1 is a plane having a normal vector extending in a direction perpendicular to the +X direction, and the plane PL2 is a plane having a normal vector extending in a direction perpendicular to the +Y direction.
[0213] Therefore, according to the present embodiment, when forming the three-dimensional image G having the plane parallel to the +X direction and the plane parallel to the +Y direction, it is possible to suppress the occurrence of graininess in the image G.
[0214] In addition, in the present embodiment, the +X direction is an example of the “first direction”, the +Y direction is an example of the “second direction”, and the +Z direction is an example of the “third direction”.
[0215] In the terminal device 1 according to the present embodiment, the plane PL1 may be characterized as a plane having a normal vector extending in a direction perpendicular to the +Y direction, and the plane PL2 may be characterized as a plane having a normal vector extending in a direction perpendicular to the +Z direction.
[0216] Therefore, according to the present embodiment, when forming the three-dimensional image G having a plane parallel to the XY plane and a plane parallel to the YZ plane, it is possible to suppress the occurrence of graininess in the image G.
[0217] In addition, in the terminal device 1 involved in this embodiment, the characteristics can also be set that the multiple thresholds Dd in the plane PL1 have frequency characteristics different from the white noise characteristics in the spatial frequency domain, and the multiple thresholds Dd in the plane PL2 have frequency characteristics different from the white noise characteristics in the spatial frequency domain.
[0218] Specifically, in the terminal device 1 involved in this embodiment, the characteristics may be set such that the multiple thresholds Dd in the plane PL1 have blue noise characteristics in the spatial frequency domain, and the multiple thresholds Dd in the plane PL2 have blue noise characteristics in the spatial frequency domain.
[0219] Therefore, according to the present embodiment, when the image G having a three-dimensional shape is formed, it is possible to suppress the occurrence of a grainy feeling in the image G.
[0220] Furthermore, the terminal device 1 according to the present embodiment may be characterized in that the display data generating section 23 supplies the display data Img to the recording device 5 including the head unit 7 that ejects ink based on the display data Img.
[0221] In addition, the recording device 5 involved in the present embodiment is characterized in that it forms an image G for an object Obj of a three-dimensional shape, and comprises: a head unit 7 that ejects ink; a recording control unit 6 that controls the ejection of ink from the head unit 7 to form an image G for the object Obj through a plurality of points formed by the ink ejected from the head unit 7, and the recording control unit 6 controls the ejection of ink from the head unit 7 so that when the object Obj has a first surface, the distribution of the plurality of points on the first surface has a predetermined spatial frequency characteristic in which high-frequency components higher than an intermediate frequency fmid are more than low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain, and when the object Obj has a second surface extending in a direction different from the first surface, the distribution of the plurality of points on the second surface has a predetermined spatial frequency characteristic in which high-frequency components higher than an intermediate frequency fmid are more than low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain.
[0222] Therefore, according to the present embodiment, when an image G is formed for an object Obj having a three-dimensional shape such as a first surface and a second surface, it is possible to suppress the occurrence of graininess in the image G. That is, according to the present embodiment, when an image G having a three-dimensional shape such as a first surface and a second surface is formed, it is possible to suppress the reduction in the image quality of the image G due to the occurrence of graininess in the image G.
[0223] In addition, in the present embodiment, the recording control unit 6 is an example of a “control unit”, and the ink is an example of a “liquid”.
[0224] In addition, in the recording device 5 involved in this embodiment, the characteristics can also be set that the distribution of multiple points on the first surface has a frequency characteristic different from the white noise characteristic in the spatial frequency domain, and the distribution of multiple points on the second surface has a frequency characteristic different from the white noise characteristic in the spatial frequency domain.
[0225] Specifically, in the recording device 5 involved in this embodiment, the distribution of multiple points on the first plane may have a blue noise characteristic in the spatial frequency domain, and the distribution of multiple points on the second plane may have a blue noise characteristic in the spatial frequency domain.
[0226] Therefore, according to the present embodiment, when the image G is formed for the target object Obj having a three-dimensional shape having a first surface and a second surface, the occurrence of graininess in the image G can be suppressed.
[0227] In addition, the image processing method involved in the present embodiment is characterized in that it comprises: a process of obtaining image data GD, wherein the image data GD represents a grayscale value Gg of the image Gf that should be displayed by each of M pixels Px in the image forming space SP when the image Gf is displayed in the three-dimensional image forming space SP; and a process of generating display data Img by quantizing the grayscale value Gg represented by the image data GD using a three-dimensional dithering mask DZ having M threshold values Dd corresponding to the M pixels Px in the image forming space SP, wherein the dithering mask DZ is, When the image forming space SP is cut off using plane PL1, the multiple threshold values Dd in plane PL1 have a predetermined spatial frequency characteristic in the spatial frequency domain in which high-frequency components higher than the intermediate frequency fmid are more than low-frequency components lower than the intermediate frequency fmid, and when the image forming space SP is cut off using plane PL2 extending in a direction different from plane PL1, the multiple threshold values Dd in plane PL2 have a predetermined spatial frequency characteristic in the spatial frequency domain in which high-frequency components higher than the intermediate frequency fmid are more than low-frequency components lower than the intermediate frequency fmid.
[0228] Therefore, according to the present embodiment, when the image G having a three-dimensional shape such as the plane PL1 and the plane PL2 is formed, the occurrence of graininess in the image G can be suppressed.
[0229] In addition, the control program Pgt involved in the present embodiment is characterized in that it enables one or more CPUs provided on the terminal device 1 to function as the following components, the components being: an image data acquisition unit 21, which acquires image data GD, wherein the image data GD represents a grayscale value Gg of the image Gf that should be displayed by each of the M pixels Px in the image forming space SP when the image Gf is displayed in the three-dimensional image forming space SP; and a display data generation unit 23, which generates a grayscale value Gg represented by the image data GD by using a three-dimensional dither mask DZ having M threshold values Dd corresponding to the M pixels Px in the image forming space SP. Gg is quantized to generate display data Img, and the jitter mask DZ is such that, when the image forming space SP is cut off by using the plane PL1, the multiple threshold values Dd in the plane PL1 have a predetermined spatial frequency characteristic in the spatial frequency domain, in which the high-frequency components higher than the intermediate frequency fmid are compared with the low-frequency components lower than the intermediate frequency fmid, and when the image forming space SP is cut off by using the plane PL2 extending in a direction different from the plane PL1, the multiple threshold values Dd in the plane PL2 have a predetermined spatial frequency characteristic in the spatial frequency domain, in which the high-frequency components higher than the intermediate frequency fmid are compared with the low-frequency components lower than the intermediate frequency fmid.
[0230] Therefore, according to the present embodiment, when the image G having a three-dimensional shape such as the plane PL1 and the plane PL2 is formed, the occurrence of graininess in the image G can be suppressed.
[0231] B. Modification
[0232] The above-described embodiments can be modified in various ways. Specific modified embodiments are exemplified below. Two or more embodiments arbitrarily selected from the following examples can be appropriately combined within a range that does not contradict each other.
[0233] Modification 1
[0234] Although the above embodiment illustrates the case where the quantization process is performed using the dither mask DZ of the same size as the image formation space SP, the present invention is not limited to this embodiment. For example, the quantization process may be performed using a plurality of dither masks of a smaller size than the image formation space SP.
[0235] Fig. 22 It is an explanatory diagram for explaining the image forming space SP in this modification.
[0236] like Fig. 22 As illustrated, in this modification, the image forming space SP includes a plurality of unit spaces SS. Fig. 22 In the example, the case where the image forming space SP includes the unit space SS-0, the unit space SS-X adjacent in the +X direction when viewed from the unit space SS-0, the unit space SS-Y adjacent in the +Y direction when viewed from the unit space SS-0, and the unit space SS-Z adjacent in the +Z direction when viewed from the unit space SS-0 is illustrated. In this modified example, each unit space SS is configured with a total of Mx*My*Mz=M pixels Px including Mx pixels Px extending in the X-axis direction, My pixels Px extending in the Y-axis direction, and Mz pixels Px extending in the Z-axis direction.
[0237] In addition, in this modification, a plurality of dither masks are provided corresponding to a plurality of unit spaces SS included in the image forming space SP. Specifically, in this modification, it is assumed that Fig. 22 As shown in the example, a dither mask DZ corresponding to the unit space SS-0, a dither mask DZ-X corresponding to the unit space SS-X, a dither mask DZ-Y corresponding to the unit space SS-Y, and a dither mask DZ-Z corresponding to the unit space SS-X are provided. Each dither mask has M threshold values Dd corresponding to the M pixels Px included in the unit space SS corresponding to the dither mask.
[0238] In addition, in this variant example, it is envisioned that the image data GD includes unit image data GS-0, unit image data GS-X, unit image data GS-Y and unit image data GS-Z, wherein the unit image data GS-0 represents the grayscale value that should be displayed by each of the M pixels Px contained in the unit space SS-0 in order to form the image Gf on the surface SF of the object object Obj, the unit image data GS-X represents the grayscale value that should be displayed by each of the M pixels Px contained in the unit space SS-X in order to form the image Gf on the surface SF of the object object Obj, the unit image data GS-Y represents the grayscale value that should be displayed by each of the M pixels Px contained in the unit space SS-Y in order to form the image Gf on the surface SF of the object object Obj, and the unit image data GS-Z represents the grayscale value that should be displayed by each of the M pixels Px contained in the unit space SS-Z in order to form the image Gf on the surface SF of the object object Obj.
[0239] In addition, in this variant example, it is assumed that the display data Img includes unit display data Img-0, unit display data Img-X, unit display data Img-Y and unit display data Img-Z, wherein the unit display data Img-0 represents the grayscale value that should be displayed by each of the M pixels Px contained in the unit space SS-0 in order to form the image G on the surface SF of the object object Obj, the unit display data Img-X represents the grayscale value that should be displayed by each of the M pixels Px contained in the unit space SS-X in order to form the image G on the surface SF of the object object Obj, the unit display data Img-Y represents the grayscale value that should be displayed by each of the M pixels Px contained in the unit space SS-Y in order to form the image G on the surface SF of the object object Obj, and the unit display data Img-Z represents the grayscale value that should be displayed by each of the M pixels Px contained in the unit space SS-Z in order to form the image G on the surface SF of the object object Obj.
[0240] Fig.23 This is a functional block diagram showing an example of the configuration of a terminal device 1A provided in the recording system according to this modification. The recording system according to this modification is configured in the same manner as the recording system Sys according to the embodiment, except that the terminal device 1 is replaced with the terminal device 1A.
[0241] like Fig.23As illustrated, the terminal device 1A is different from the terminal device 1 according to the embodiment in that it includes a terminal control unit 2A instead of the terminal control unit 2 and includes a storage unit 3A instead of the storage unit 3 .
[0242] The terminal control unit 2A is different from the terminal control unit 2 according to the embodiment in that it includes a dither mask generating unit 22A instead of the dither mask generating unit 22 and a display data generating unit 23A instead of the display data generating unit 23 .
[0243] The storage unit 3A is different from the storage unit 3 according to the embodiment in that it stores the dither mask DZ-X, the dither mask DZ-Y, and the dither mask DZ-Z in addition to the dither mask DZ, and stores the control program Pgt-A instead of the control program Pgt. In addition, the terminal control unit 2A can function as the image data acquisition unit 21, the dither mask generation unit 22A, and the display data generation unit 23A by executing the control program Pgt-A stored in the storage unit 3A by one or more CPUs provided in the terminal control unit 2A and operating according to the control program Pgt-A.
[0244] The dither mask generating unit 22A generates a dither mask DZ-X, a dither mask DZ-Y, and a dither mask DZ-Z in addition to the dither mask DZ.
[0245] The display data generating unit 23A generates unit display data Img-0 by applying quantization processing to the unit image data GS-0 using the dither mask DZ, generates unit display data Img-X by applying quantization processing to the unit image data GS-X using the dither mask DZ-X, generates unit display data Img-Y by applying quantization processing to the unit image data GS-Y using the dither mask DZ-Y, and generates unit display data Img-Z by applying quantization processing to the unit image data GS-Z using the dither mask DZ-Z.
[0246] Fig.24 It is an explanatory diagram for explaining the dither mask DZ-X.
[0247] like Fig.24 As illustrated, the dither mask generating unit 22A according to the present modification generates the dither mask DZ-X based on the dither mask DZ.
[0248] Specifically, first, the dither mask generating unit 22A generates the dither mask DZ by the dither mask generating process described above.
[0249] Next, the dither mask generator 22A divides the unit space SS-0 corresponding to the dither mask DZ into a subspace SB-X1 and a subspace SB-X2. Here, the subspace SB-X1 refers to a space located on the -X side of the dividing plane LX parallel to the YZ plane in the unit space SS-0 when the unit space SS-0 is divided by the dividing plane LX. In addition, the subspace SB-X2 refers to a space located on the +X side of the dividing plane LX in the unit space SS-0.
[0250] Next, the jitter mask generating unit 22A slides the partial jitter mask DZ-X1 composed of the multiple threshold values Dd included in the jitter mask DZ and corresponding to the multiple pixels Px included in the partial space SB-X1 in the +X direction, and slides the partial jitter mask DZ-X2 composed of the multiple threshold values Dd included in the jitter mask DZ and corresponding to the multiple pixels Px included in the partial space SB-X2 in the -X direction.
[0251] Then, the dither mask generating section 22A generates the dither mask DZ-X by connecting the partial dither mask DZ-X1 to the +X side of the partial dither mask DZ-X2.
[0252] Fig.25 An explanatory diagram for illustrating an example of the relationship between a plurality of threshold values Dd included in a jitter mask DZ and corresponding to a plurality of pixels Px located on a plane Z=Z[1], and a plurality of threshold values Dd included in a jitter mask DZ-X and corresponding to a plurality of pixels Px located on a plane Z=Z[1].
[0253] In addition, Fig.25 In the example shown, Figures 10 to 12 The example shown also assumes a case where "Mx=8", "My=8", "Mz=8", "M=8*8*8=512", and thus there are 512 pixels Px in the image forming space SP. Fig.25 In the example shown, Figures 10 to 12 The example shown similarly assumes a case where the grayscale value Gg-min is "0", the grayscale value Gg-max is "255", and thus the threshold value Dd[1] is "1" and the threshold value Dd[M] is "255".
[0254] like Fig.25 As illustrated, the dither mask DZ is composed of a partial dither mask DZ-X1 and a partial dither mask DZ-X2 arranged on the +X side of the partial dither mask DZ-X1.
[0255] In contrast, the dither mask DZ-X is composed of the partial dither mask DZ-X2 and the partial dither mask DZ-X1 disposed on the +X side of the partial dither mask DZ-X2. That is, the dither mask DZ-X is a dither mask obtained by replacing the relative positional relationship in the X-axis direction between the partial dither mask DZ-X1 and the partial dither mask DZ-X2 of the dither mask DZ.
[0256] Fig.26 It is an explanatory diagram for explaining the dither mask DZ-Y.
[0257] like Fig.26 As illustrated, the dither mask generating unit 22A according to the present modification generates the dither mask DZ-Y based on the dither mask DZ.
[0258] Specifically, first, the dither mask generating unit 22A generates the dither mask DZ by the dither mask generating process described above.
[0259] Next, the dither mask generator 22A divides the unit space SS-0 corresponding to the dither mask DZ into a subspace SB-Y1 and a subspace SB-Y2. Here, the subspace SB-Y1 refers to a space located on the -Y side of the dividing plane LY parallel to the XZ plane in the unit space SS-0 when the unit space SS-0 is divided by the dividing plane LY. In addition, the subspace SB-Y2 refers to a space located on the +Y side of the dividing plane LY in the unit space SS-0.
[0260] Next, the jitter mask generating unit 22A slides the partial jitter mask DZ-Y1 composed of the multiple threshold values Dd included in the jitter mask DZ and corresponding to the multiple pixels Px included in the partial space SB-Y1 in the +Y direction, and slides the partial jitter mask DZ-Y2 composed of the multiple threshold values Dd included in the jitter mask DZ and corresponding to the multiple pixels Px included in the partial space SB-Y2 in the -Y direction.
[0261] Then, the dither mask generating section 22A generates the dither mask DZ-Y by connecting the partial dither mask DZ-Y1 to the +Y side of the partial dither mask DZ-Y2.
[0262] Fig. 27 It is an explanatory diagram for explaining the dither mask DZ-Z.
[0263] like Fig. 27 As illustrated, the dither mask generating unit 22A according to the present modification generates the dither mask DZ-Z based on the dither mask DZ.
[0264] Specifically, first, the dither mask generating unit 22A generates the dither mask DZ by the dither mask generating process described above.
[0265] Next, the dither mask generator 22A divides the unit space SS-0 corresponding to the dither mask DZ into a subspace SB-Z1 and a subspace SB-Z2. Here, the subspace SB-Z1 refers to a space located on the -Z side of the dividing plane LZ in the unit space SS-0 when the unit space SS-0 is divided by the dividing plane LZ parallel to the XY plane. In addition, the subspace SB-Z2 refers to a space located on the +Z side of the dividing plane LZ in the unit space SS-0.
[0266] Next, the jitter mask generating unit 22A slides the partial jitter mask DZ-Z1 composed of multiple threshold values Dd included in the jitter mask DZ and corresponding to the multiple pixels Px included in the partial space SB-Z1 in the +Z direction, and slides the partial jitter mask DZ-Z2 composed of multiple threshold values Dd included in the jitter mask DZ and corresponding to the multiple pixels Px included in the partial space SB-Z2 in the -Z direction.
[0267] Then, the dither mask generating section 22A generates the dither mask DZ-Z by connecting the partial dither mask DZ-Z1 to the +Z side of the partial dither mask DZ-Z2.
[0268] As described above, according to this modification, the same dither mask DZ is not uniformly applied to a plurality of unit spaces SS, but a plurality of dither masks are applied thereto. Therefore, according to this modification, when the image G is formed across a plurality of unit spaces SS, it is possible to prevent the same pattern from being repeatedly formed in the cycle of the unit space SS.
[0269] Furthermore, according to the present modification, the dither mask generator 22A generates the dither mask DZ-X, the dither mask DZ-Y, and the dither mask DZ-Z based on the dither mask DZ without performing the dither mask generation process. Therefore, according to the present modification, compared with a method of generating the dither mask DZ-X, the dither mask DZ-Y, and the dither mask DZ-Z by the dither mask generation process, the processing load associated with the generation of the dither mask DZ-X, the dither mask DZ-Y, and the dither mask DZ-Z can be reduced.
[0270] As described above, the terminal device 1A involved in this variant example is characterized in that it has: an image data acquisition unit 21, which acquires unit image data GS-0 and unit image data GS-X, wherein the unit image data GS-0 represents the grayscale value Gg of the image Gf to be displayed by each of the M pixels Px in the unit space SS-0 when the image Gf is displayed in the three-dimensional unit space SS-0, and the unit image data GS-X represents the grayscale value Gg of the image Gf to be displayed in the three-dimensional unit space SS-X adjacent to the unit space SS-0. In the above case, the grayscale value Gg of the image Gf that should be displayed by each pixel in the M pixels Px in the unit space SS-X should be displayed; the display data generating unit 23A, which quantizes the grayscale value represented by the unit image data GS-0 by using a three-dimensional dithering mask DZ having M threshold values Dd corresponding to the M pixels Px in the unit space SS-0, thereby generating the unit display data Img-0, and quantizes the grayscale value represented by the unit image data GS-X by using a three-dimensional dithering mask DZ-X having M threshold values Dd corresponding to the M pixels Px in the unit space SS-X. The grayscale value represented by quantizes to generate the unit display data Img-X, and the dither mask DZ is set so that when the unit space SS-0 is cut off by the plane PL1, the multiple threshold values Dd in the plane PL1 have a predetermined spatial frequency characteristic in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain, and when the unit space SS-0 is cut off by the plane PL2 extending in a direction different from the plane PL1, the multiple threshold values Dd in the plane PL2 have a predetermined spatial frequency characteristic in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain. The predetermined spatial frequency characteristic is that the high-frequency components of mid are larger than the low-frequency components lower than the intermediate frequency fmid, the unit space SS-0 is divided into partial space SB-X1 and partial space SB-X2, the jitter mask DZ-X has multiple thresholds Dd, and the multiple thresholds Dd are configured to swap the relative position relationship between the multiple thresholds Dd existing in the partial space SB-X1 and the multiple thresholds Dd existing in the partial space SB-X2 among the M thresholds Dd corresponding to the M pixels Px in the unit space SS-0 possessed by the jitter mask DZ.
[0271] Therefore, according to this modification, when an image G that exists across the unit space SS-0 and the unit space SS-X and has a three-dimensional shape such as the plane PL1 and the plane PL2 is formed, it is possible to suppress the occurrence of graininess in the image G. That is, according to this embodiment, when an image G that exists across the unit space SS-0 and the unit space SS-X and has a three-dimensional shape such as the plane PL1 and the plane PL2 is formed, it is possible to suppress the reduction in the image quality of the image G caused by the occurrence of graininess in the image G.
[0272] In addition, in the present embodiment, the terminal device 1A is an example of an “image processing device”, the image data acquisition unit 21 is an example of an “acquisition unit”, the display data generation unit 23A is an example of a “generation unit”, the unit space SS-0 is an example of a “first space”, the unit space SS-X is an example of a “second space”, the unit image data GS-0 is an example of a “first image data”, the unit image data GS-X is an example of a “second image data”, the dither mask DZ is an example of a “first dither mask”, the dither mask DZ-X is an example of a “second dither mask”, the unit display data Img-0 is an example of a “first display data”, the unit display data Img-X is an example of a “second display data”, the plane PL1 is an example of a “first plane”, the plane PL2 is an example of a “second plane”, the intermediate frequency fmid is an example of a “predetermined frequency”, the partial space SB-X1 is an example of a “first partial space”, and the partial space SB-X2 is an example of a “second partial space”.
[0273] In addition, in the terminal device 1A involved in the present variant example, the feature can also be set that the multiple pixels Px of the image forming space SP including the unit space SS-0 and the unit space SS-X include: two or more pixels Px arranged in a manner extending in the +X direction, two or more pixels Px arranged in a manner extending in the +Y direction orthogonal to the +X direction, and two or more pixels Px arranged in a manner extending in the +Z direction orthogonal to the +X direction and the +Y direction, and the unit space SS-X is located in the +X direction when observed from the unit space SS-0.
[0274] In addition, in the terminal device 1A involved in this variant, the feature can also be set as follows: the image data acquisition unit 21 acquires unit image data GS-Y, wherein the unit image data GS-Y represents the grayscale value Gg of the image Gf that should be displayed by each of the M pixels Px in the unit space SS-Y when the image Gf is displayed in the three-dimensional unit space SS-Y adjacent to the unit space SS-0, and the display data generation unit 23A quantizes the grayscale value represented by the unit image data GS-Y by using a three-dimensional dither mask DZ-Y having M threshold values Dd corresponding to the M pixels Px in the unit space SS-Y, thereby generating unit display data Img-Y, and the unit space SS-0 is divided into partial spaces SB-Y 1 and partial space SB-Y2, the jitter mask DZ-Y has a plurality of threshold values Dd, and the plurality of threshold values Dd are configured to swap the relative positional relationship of the plurality of threshold values Dd existing in the partial space SB-Y1 and the plurality of threshold values Dd existing in the partial space SB-Y2 among the M threshold values Dd corresponding to the M pixels Px in the unit space SS-0 possessed by the jitter mask DZ, so that the direction of the unit space SS-X when observed from the unit space SS-0 is different from the direction of the unit space SS-Y when observed from the unit space SS-0, and the direction of the partial space SB-X2 when observed from the partial space SB-X1 is different from the direction of the partial space SB-Y2 when observed from the partial space SB-Y1.
[0275] Therefore, according to this variation, when an image G that exists across unit space SS-0, unit space SS-X, and unit space SS-Y and has a three-dimensional shape such as plane PL1 and plane PL2 is formed, the occurrence of graininess in image G can be suppressed.
[0276] In addition, in the present embodiment, the unit space SS-Y is an example of the “third space”, the unit image data GS-Y is an example of the “third image data”, the jitter mask DZ-Y is an example of the “third jitter mask”, the unit display data Img-Y is an example of the “third display data”, the partial space SB-Y1 is an example of the “third partial space”, and the partial space SB-Y2 is an example of the “fourth partial space”.
[0277] Modification 2
[0278] In the above-mentioned embodiment and modification 1, the image Gf represented by the image data GD and the image G represented by the display data Img may include a plurality of colors. In this case, a plurality of dither masks may be provided in a one-to-one correspondence with the plurality of colors of the image Gf represented by the image data GD and the image G represented by the display data Img.
[0279] Fig.28 This is a functional block diagram showing an example of the configuration of a terminal device 1B provided in the recording system according to this modification. The recording system according to this modification is configured in the same manner as the recording system Sys according to the embodiment, except that the terminal device 1 is replaced with the terminal device 1B.
[0280] like Fig.28 As illustrated, the terminal device 1B is different from the terminal device 1 according to the embodiment in that it includes a terminal control unit 2B instead of the terminal control unit 2 and a storage unit 3B instead of the storage unit 3 .
[0281] The terminal control unit 2B is different from the terminal control unit 2 according to the embodiment in that it includes a dither mask generating unit 22B instead of the dither mask generating unit 22 and a display data generating unit 23B instead of the display data generating unit 23 .
[0282] In the present modification, it is assumed that the image Gf represented by the image data GD and the image G represented by the display data Img are represented by four colors: cyan, magenta, yellow, and black.
[0283] Moreover, in this modified example, it is assumed that the image data GD includes image data GD-Cy, image data GD-Mg, image data GD-Yl, and image data GD-Bk, wherein the image data GD-Cy represents the blue-green grayscale value that should be displayed by each pixel in the M pixels Px included in the image forming space SP in order to form the image Gf on the surface SF of the object Obj, and the image data GD-Mg represents the blue-green grayscale value that should be displayed by each pixel in the M pixels Px included in the image forming space SP in order to form the image Gf on the surface SF of the object Obj. The image data GD-Yl represents the magenta grayscale value displayed by each of the M pixels Px included in the image forming space SP in order to form the image Gf on the surface SF of the object Obj, and the image data GD-Bk represents the black grayscale value displayed by each of the M pixels Px included in the image forming space SP in order to form the image Gf on the surface SF of the object Obj.
[0284] In addition, in the present variant example, it is envisaged that the display data Img includes display data Img-Cy, display data Img-Mg, display data Img-Yl and display data Img-Bk, wherein the display data Img-Cy represents the cyan grayscale value that should be displayed by each of the M pixels Px included in the image forming space SP in order to form the image G on the surface SF of the object object Obj, the display data Img-Mg represents the magenta grayscale value that should be displayed by each of the M pixels Px included in the image forming space SP in order to form the image G on the surface SF of the object object Obj, the display data Img-Yl represents the yellow grayscale value that should be displayed by each of the M pixels Px included in the image forming space SP in order to form the image G on the surface SF of the object object Obj, and the display data Img-Bk represents the black grayscale value that should be displayed by each of the M pixels Px included in the image forming space SP in order to form the image G on the surface SF of the object object Obj.
[0285] The storage unit 3B stores image data GD including image data GD-Cy, image data GD-Mg, image data GD-Yl and image data GD-Bk, dither masks DZ-Cy, dither masks DZ-Mg, dither masks DZ-Yl and dither masks DZ-Bk, and a control program Pgt-B.
[0286] Here, the dither mask DZ-Cy refers to a dither mask used when applying quantization processing to the image data GD-Cy. The dither mask DZ-Cy has, for example, M thresholds Dd corresponding to the M pixels Px in the image forming space SP. The dither mask DZ-Cy has a predetermined spatial frequency characteristic at least in the plane PL1 and the plane PL2, and may also have a predetermined spatial frequency characteristic in part or all of the planes PL3 to PL6.
[0287] The dither mask DZ-Mg is a dither mask used when quantizing the image data GD-Mg. The dither mask DZ-Mg has, for example, M thresholds Dd corresponding to the M pixels Px in the image forming space SP. The dither mask DZ-Mg has predetermined spatial frequency characteristics at least in the planes PL1 and PL2, and may also have predetermined spatial frequency characteristics in part or all of the planes PL3 to PL6.
[0288] The dither mask DZ-Y1 is used when the image data GD-Y1 is subjected to quantization processing. The dither mask DZ-Y1 has, for example, M threshold values Dd corresponding to the M pixels Px in the image forming space SP. The dither mask DZ-Y1 has predetermined spatial frequency characteristics at least in the planes PL1 and PL2, and may also have predetermined spatial frequency characteristics in part or all of the planes PL3 to PL6.
[0289] The dither mask DZ-Bk is a dither mask used when quantizing the image data GD-Bk. The dither mask DZ-Bk has, for example, M thresholds Dd corresponding to the M pixels Px in the image forming space SP. The dither mask DZ-Bk has predetermined spatial frequency characteristics at least in the planes PL1 and PL2, and may also have predetermined spatial frequency characteristics in part or all of the planes PL3 to PL6.
[0290] Furthermore, the dither mask DZ-Cy, the dither mask DZ-Mg, the dither mask DZ-Y1, and the dither mask DZ-Bk may have a configuration in which the threshold values Dd are equal to each other, or may have a configuration in which the threshold values Dd are different from each other.
[0291] The terminal control unit 2B can function as an image data acquisition unit 21, a jitter mask generation unit 22B, and a display data generation unit 23B by executing a control program Pgt-B stored in the storage unit 3B through one or more CPUs provided in the terminal control unit 2B and working according to the control program Pgt-B.
[0292] The dither mask generating section 22B generates the dither mask DZ-Cy, the dither mask DZ-Mg, the dither mask DZ-Y1, and the dither mask DZ-Bk through the above-described dither mask generating process.
[0293] The display data generating unit 23B generates display data Img-Cy by applying quantization processing to the image data GD-Cy using the dither mask DZ-Cy, generates display data Img-Mg by applying quantization processing to the image data GD-Mg using the dither mask DZ-Mg, generates display data Img-Yl by applying quantization processing to the image data GD-Yl using the dither mask DZ-Yl, and generates display data Img-Bk by applying quantization processing to the image data GD-Bk using the dither mask DZ-Bk.
[0294] As described above, according to the present variation, since a plurality of dither masks are provided in a one-to-one correspondence with a plurality of colors of the image Gf represented by the image data GD and the image G represented by the display data Img, when the image Gf represented by the image data GD and the image G represented by the display data Img are color images, the occurrence of a grainy feeling in the image G can be suppressed.
[0295] As described above, the terminal device 1B involved in this variant example is characterized in that it includes: an image data acquisition unit 21, which acquires image data GD-Cy and image data GD-Mg, wherein the image data GD-Cy represents the grayscale value of the cyan image that should be displayed by each of the M pixels Px in the image forming space SP when a cyan image is displayed in the three-dimensional image forming space SP, and the image data GD-Mg represents the magenta color that should be displayed by each of the M pixels Px in the image forming space SP when a magenta image is displayed in the image forming space SP. a display data generating unit 23B, which quantizes the grayscale value represented by the image data GD-Cy by using a three-dimensional dithering mask DZ-Cy having M threshold values Dd corresponding to the M pixels Px in the image forming space SP, thereby generating display data Img-Cy corresponding to cyan in the display data Img, and quantizes the grayscale value represented by the image data GD-Mg by using a three-dimensional dithering mask DZ-Mg having M threshold values Dd corresponding to the M pixels Px in the image forming space SP, thereby generating display data Img-Cy corresponding to magenta in the display data Img. According to Img-Mg, the dither mask DZ-Cy is set so that, when the image forming space SP is cut by plane PL1, the multiple threshold values Dd in plane PL1 have a predetermined spatial frequency characteristic in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain, and when the image forming space SP is cut by plane PL2 extending in a direction different from that of plane PL1, the multiple threshold values Dd in plane PL2 have a predetermined spatial frequency characteristic in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain. The dither mask DZ-Mg is set so that, when the image forming space SP is cut off by using the plane PL1, the multiple threshold values Dd in the plane PL1 have a predetermined spatial frequency characteristic in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain, and when the image forming space SP is cut off by using the plane PL2 extending in a direction different from the plane PL1, the multiple threshold values Dd in the plane PL2 have a predetermined spatial frequency characteristic in which the high-frequency components higher than the intermediate frequency fmid are more than the low-frequency components lower than the intermediate frequency fmid in the spatial frequency domain.
[0296] That is, in the image processing device involved in this variation, it is characterized that the first image data includes: first color image data, which represents the grayscale value of the image of the first color that should be displayed by each of the plurality of pixels in the first space when the image of the first color is displayed in the first space; second color image data, which represents the grayscale value of the image of the second color that should be displayed by each of the plurality of pixels in the first space when the image of the second color is displayed in the first space, the generating unit quantizes the grayscale value represented by the first color image data by using a three-dimensional first color dithering mask having a plurality of threshold values corresponding to the plurality of pixels in the first space, thereby generating the first color display data corresponding to the first color in the first display data, and quantizes the grayscale value represented by the second color image data by using a three-dimensional second color dithering mask having a plurality of threshold values corresponding to the plurality of pixels in the first space, thereby generating the second color display data corresponding to the second color in the first display data, The first color dither mask and the second color dither mask are different from each other, and the first color dither mask is set so that when the first space is cut by the first plane, a plurality of threshold values in the first plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more than low-frequency components lower than the predetermined frequency in a spatial frequency domain, and when the first space is cut by the second plane, a plurality of threshold values in the second plane have a frequency characteristic in which high-frequency components higher than the predetermined frequency are more than low-frequency components lower than the predetermined frequency in a spatial frequency domain, and the second color dither mask is set so that when the first space is cut by the first plane, a plurality of threshold values in the first plane have a frequency characteristic in which high-frequency components higher than the predetermined frequency are more than low-frequency components lower than the predetermined frequency in a spatial frequency domain, and when the first space is cut by the second plane, a plurality of threshold values in the second plane have a frequency characteristic in which high-frequency components higher than the predetermined frequency are more than low-frequency components lower than the predetermined frequency in a spatial frequency domain.
[0297] That is, in the terminal device 1 involved in this modification, the display data generating unit 23B generates display data Img-Cy by quantizing the grayscale value represented by the image data GD-Cy using a dither mask DZ-Cy having a predetermined spatial frequency characteristic in the plane PL1 and having a predetermined spatial frequency characteristic in the plane PL2 extending in a direction different from the plane PL1, and generates display data Img-Mg by quantizing the grayscale value represented by the image data GD-Mg using a dither mask DZ-Mg having a predetermined spatial frequency characteristic in the plane PL1 and having a predetermined spatial frequency characteristic in the plane PL2 extending in a direction different from the plane PL1. Therefore, according to this modification, when an image G having a three-dimensional shape such as the plane PL1 and the plane PL2 is formed and the image G is composed of a plurality of colors, it is possible to suppress the occurrence of a grainy feeling in the image G. That is, according to this variation, when forming an image G having a three-dimensional shape such as plane PL1 and plane PL2 and composed of multiple colors, the reduction in image quality of image G caused by the graininess of image G can be suppressed.
[0298] In addition, in the present variation, the terminal device 1B is an example of an “image processing device”, the image data acquisition unit 21 is an example of an “acquisition unit”, the display data generation unit 23B is an example of a “generation unit”, the image forming space SP is an example of a “first space”, cyan is an example of a “first color”, magenta is an example of a “second color”, the cyan image is an example of an “image of the first color”, the magenta image is an example of an “image of the second color”, the image data GD-Cy is an example of “first color image data”, the image data GD-Mg is an example of “second color image data”, the dither mask DZ-Cy is an example of a “first color dither mask”, the dither mask DZ-Mg is an example of a “second color dither mask”, the display data Img-Cy is an example of “first color display data”, the display data Img-Mg is an example of “second color display data”, the intermediate frequency fmid is an example of a “predetermined frequency”, the plane PL1 is an example of a “first plane”, and the plane PL2 is an example of a “second plane”.
[0299] In addition, in the terminal device 1B involved in the present variant, the feature can also be set as follows: the image data acquisition unit 21 acquires image data GD-Cy corresponding to cyan in the image data GD, and image data GD-Mg corresponding to magenta in the image data GD, and the display data generation unit 23B applies quantization processing to the image data GD-Cy by using a dither mask DZ to generate display data Img-Cy corresponding to cyan in the display data Img, and applies quantization processing to the image data GD-Mg by using other dither masks DZ to generate display data Img-Mg corresponding to magenta in the display data Img, and one dither mask DZ and other dither masks DZ are different from each other.
[0300] Modification 3
[0301] In the above-described embodiment and Modifications 1 and 2, the value Mx, the value My, and the value Mz may be values satisfying the following formula (10). In the following formula (10), α is a natural number greater than or equal to 2.
[0302] Mx=My=Mz=2α……Equation (10)
[0303] Modification 4
[0304] In the above-mentioned embodiment and modifications 1 to 3, the terminal control unit 2 , the terminal control unit 2A or the terminal control unit 2B, and the storage unit 3 , the storage unit 3A or the storage unit 3B may be mounted on the recording device 5 .
[0305] In the above-described embodiment and Modifications 1 to 3, the terminal device 1 , the terminal device 1A, or the terminal device 1B may include the recording control unit 6 , the head unit 7 , the ink supply unit 8 , and the robot arm 9 .
[0306] Modification 5
[0307] Although the robot arm 9 changes the position and posture of the head unit 7 in the image forming space SP in the above-mentioned embodiment and modified examples 1 to 4, the present invention is not limited to this method. It is also possible to set the robot arm 9 to be able to change the position and posture of the target object Obj in the image forming space SP. In this case, it is also possible to set the position and posture of the head unit 7 to be fixed in the image forming space SP.
[0308] Modification 6
[0309] In the above-described embodiment and Modifications 1 to 5, the terminal control unit 2, the terminal control unit 2A, and the terminal control unit 2B include the dither mask generator 22, the dither mask generator 22A, or the dither mask generator 22B, but the present invention is not limited to this embodiment.
[0310] Fig.29 This is a functional block diagram showing an example of the configuration of a terminal device 1C included in the recording system according to this modification. The recording system according to this modification is configured in the same manner as the recording system Sys according to the embodiment, except that the terminal device 1 is replaced with the terminal device 1C.
[0311] like Fig.29 As illustrated, the terminal device 1C is different from the terminal device 1 involved in the embodiment in that it includes a terminal control unit 2C instead of the terminal control unit 2 and a storage unit 3C instead of the storage unit 3. The terminal control unit 2C is configured in the same manner as the terminal control unit 2 involved in the embodiment, except that it does not include the dither mask generating unit 22. The storage unit 3C is configured in the same manner as the storage unit 3 involved in the embodiment, except that it stores the control program Pgt-C instead of the control program Pgt. In addition, the terminal control unit 2C can function as the image data acquisition unit 21 and the display data generation unit 23 by executing the control program Pgt-C stored in the storage unit 3C by one or more CPUs provided in the terminal control unit 2C and operating according to the control program Pgt-C. In addition, in this modified example, it can also be set that the image data acquisition unit 21 acquires the dither mask DZ from an external device existing outside the terminal device 1C and causes the storage unit 3 to store it.
[0312] Modification 7
[0313] Although the so-called halftone processing is performed as quantization processing to generate binary display data Img from multi-valued image data GD in the above-mentioned embodiment and modified examples 1 to 5, the present invention is not limited to this method. In modified example 7, when integers satisfying 2<θ<Φ are set as θ and Φ, display data Img of Φ value is generated from image data GD of θ value. Hereinafter, as an example, the case where Φ=5, that is, the display data Img of five values is generated is described in detail. In addition, for the image data GD, θ=256.
[0314] Fig.30 This is a flowchart showing an example of the operation of the recording system Sys when the recording system Sys executes the quantization processing in the modification 7.
[0315] like Fig.30 As illustrated, when the quantization process starts, the display data generating unit 23 selects a pixel Px (mx, my, mz) from the M pixels Px in the image forming space SP ( S30 ).
[0316] Next, the display data generating unit 23 divides the grayscale value Gg(mx, my, mz) corresponding to the pixel Px(mx, my, mz) selected in step S30 among the multiple grayscale values Gg represented by the image data GD by a predetermined value determined in advance, thereby obtaining the quotient GgA(mx, my, mz) and remainder GgB(mx, my, mz) (S31).
[0317] Here, the predetermined value is the quotient calculated by dividing the grayscale number θ of the image data GD by the number obtained by subtracting 1 from the grayscale number Φ of the display data Img. In the modification 7, as described above, θ=256 and Φ=5. Therefore, the predetermined value is θ / (Φ-1)=64.
[0318] For example, when the grayscale value Gg(mx, my, mz)=128, the quotient GgA(mx, my, mz)=2, and the remainder GgB(mx, my, mz)=0. Furthermore, for example, when the grayscale value Gg(mx, my, mz)=32, the quotient GgA(mx, my, mz)=0, and the remainder GgB(mx, my, mz)=32. Furthermore, for example, when the grayscale value Gg(mx, my, mz)=96, the quotient GgA(mx, my, mz)=1, and the remainder GgB(mx, my, mz)=32.
[0319] Next, the display data generation unit 23 determines whether the remainder GgB(mx, my, mz) corresponding to the pixel Px(mx, my, mz) selected in step S30 is greater than the threshold value Dd(mx, my, mz) corresponding to the pixel Px(mx, my, mz) selected in step S30 among the multiple threshold values Dd(mx, my, mz) represented by the jitter mask DZ (S32).
[0320] The dither mask DZ used here is determined in the same manner as in the above-described embodiment. However, the threshold value Dd[M] satisfies the following equation (11) instead of the equation (2) shown in the embodiment.
[0321] Dd[M]=GgB-max……Formula (11)
[0322] GgB-max in equation (11) is the maximum value of the remainder GgB(mx, my, mz) described above. That is, it is the value obtained by subtracting 1 from the predetermined value. In variation 7, as described above, GgB-max=predetermined value-1=63.
[0323] like Fig.30 As illustrated, when the result of the judgment in step S32 is affirmative, the display data generating unit 23 sets the grayscale represented by the pixel Px(mx, my, mz) in the display data Img to the value obtained by adding 1 to the quotient GgA(mx, my, mz) (S33).
[0324] On the other hand, when the result of the determination in step S32 is negative, the display data generating unit 23 sets the grayscale represented by the pixel Px(mx, my, mz) in the display data Img as the quotient GgA(mx, my, mz) (S34).
[0325] For example, when the grayscale value Gg(mx, my, mz)=128 in the pixel Px(mx, my, mz) selected in step S30, the remainder GgB(mx, my, mz)=0 is obtained in the above manner. On the other hand, since the threshold Dd(mx, my, mz)≥1 is satisfied in any pixel Px(mx, my, mz) according to formula (1), "GgB(mx, my, mz)<Dd(mx, my, mz)". Therefore, in step S34, the grayscale of the display data Img in the pixel Px(mx, my, mz) is set to the quotient GgA(mx, my, mz)=2.
[0326] In addition, for example, in the case where the grayscale value Gg(mx, my, mz)=32 in the pixel Px(mx, my, mz) selected in step S30, the remainder GgB(mx, my, mz)=32 is obtained in the above manner. Therefore, when the threshold value Dd(mx, my, mz) of the pixel Px(mx, my, mz) selected in step S30 in the dither mask DZ is greater than 32, the grayscale of the display data Img in the pixel Px(mx, my, mz) is set to the quotient GgA(mx, my, mz)=0 in step S34. On the other hand, when the threshold value Dd(mx, my, mz) of the pixel Px(mx, my, mz) selected in step S30 in the dither mask DZ is less than 32, the grayscale of the display data Img in the pixel Px(mx, my, mz) is set to the value obtained by adding "1" to the quotient GgA(mx, my, mz) in step S33, that is, "1".
[0327] In addition, for example, in the case where the grayscale value Gg(mx, my, mz)=96 in the pixel Px(mx, my, mz) selected in step S30, the remainder GgB(mx, my, mz)=32 is obtained in the above manner. Therefore, when the threshold value Dd(mx, my, mz) of the pixel Px(mx, my, mz) selected in step S30 in the dither mask DZ is greater than 32, the grayscale of the display data Img in the pixel Px(mx, my, mz) is set to the quotient GgA(mx, my, mz)=1 in step S34. On the other hand, when the threshold value Dd(mx, my, mz) of the pixel Px(mx, my, mz) selected in step S30 in the dither mask DZ is less than 32, the grayscale of the display data Img in the pixel Px(mx, my, mz) is set to the value obtained by adding "1" to the quotient GgA(mx, my, mz) in step S33, that is, "2".
[0328] Thus, the grayscale of the display data Img in the pixel Px (mx, my, mz) is set to any one of "0" to "4".
[0329] Next, the display data generating unit 23 determines whether or not the grayscales of the display data are set for all of the M pixels Px in the image forming space SP in the display data Img ( S35 ).
[0330] Then, if the result of the determination in step S35 is negative, the display data generating unit 23 advances the process to step S30. On the other hand, if the result of the determination in step S35 is positive, the display data generating unit 23 ends the quantization process.
[0331] In addition, the five-value display data Img generated in the above manner can be used in various ways. For example, the five-value display data Img can also be used to make the applied drive waveform different. For example, it can also be set so that when the display data Img = "0", no ink is ejected, when the display data Img = "1", approximately 1pl of ink is ejected, when the display data Img = "2", approximately 2pl of ink is ejected, when the display data Img = "3", approximately 3pl of ink is ejected, and when the display data Img = "4", approximately 4pl of ink is ejected. In addition, the five-value display data Img can also be used to make the number of ink ejections relative to 1 pixel different. For example, it can also be set so that when the display data Img = "0", no ink is ejected, when the display data Img = "1", ink is ejected once, when the display data Img = "2", ink is ejected twice, when the display data Img = "3", ink is ejected three times, and when the display data Img = "4", ink is ejected four times.
[0332] Explanation of symbols
[0333] 1…terminal device; 2…terminal control unit; 3…storage unit; 5…recording device; 6…recording control unit; 7…head unit; 8…ink supply unit; 9…robot arm; 21…image data acquisition unit; 22…jitter mask generation unit; 23…display data generation unit; 61…head control unit; 62…arm control unit; 71…drive signal supply unit; 72…recording head; D…ejection unit; DZ…jitter mask; Sys…recording system.
Claims
1. An image processing device, characterized in that: have: an acquisition unit that acquires first image data, the first image data indicating a grayscale value of an image that should be displayed by each of a plurality of pixels in a first three-dimensional space when the image is displayed in the first space; a generating unit configured to generate first display data by quantizing grayscale values represented by the first image data using a three-dimensional first dither mask having a plurality of thresholds corresponding to a plurality of pixels in the first space, The three-dimensional first dither mask is set to, When the first space is cut off by the first plane, The plurality of thresholds in the first plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency in the spatial frequency domain. When the first space is cut by a second plane which is not parallel to the first plane, The plurality of thresholds in the second plane have a frequency characteristic in which, in the spatial frequency domain, high-frequency components higher than the predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency.
2. The image processing device according to claim 1, wherein: The three-dimensional first dither mask is set to, When the first space is cut by a third plane parallel to the first plane, The plurality of thresholds in the third plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency in the spatial frequency domain. When the first space is cut by a fourth plane parallel to the second plane, The plurality of thresholds in the fourth plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency in the spatial frequency domain.
3. The image processing device according to claim 1 or 2, characterized in that: The three-dimensional first dither mask is set to, When the first space is cut by an arbitrary plane parallel to the first plane, The plurality of thresholds in the plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency in the spatial frequency domain. When the first space is cut by an arbitrary plane parallel to the second plane, The plurality of threshold values in the plane have a frequency characteristic in which, in the spatial frequency domain, high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency.
4. The image processing device according to claim 1, wherein: The three-dimensional first dither mask is set to, When the first space is cut by a fifth plane extending in a direction different from the first plane and the second plane, The plurality of thresholds in the fifth plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency in the spatial frequency domain.
5. The image processing device according to claim 4, characterized in that The three-dimensional first dither mask is set to, When the first space is cut by a sixth plane parallel to the fifth plane, The plurality of threshold values in the sixth plane have a frequency characteristic in which, in the spatial frequency domain, high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency.
6. The image processing device according to claim 4 or 5, characterized in that: The three-dimensional first dither mask is set to, When the first space is cut by an arbitrary plane parallel to the fifth plane, The plurality of threshold values in the plane have a frequency characteristic in which, in the spatial frequency domain, high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency.
7. The image processing device according to claim 1, wherein: The plurality of pixels in the first space include: two or more pixels arranged so as to extend in a first direction, two or more pixels arranged so as to extend in a second direction orthogonal to the first direction, and two or more pixels arranged so as to extend in a third direction orthogonal to the first direction and the second direction, The first plane is a plane having a normal vector extending in a direction perpendicular to the first direction, The second plane is a plane having a normal vector extending in a direction perpendicular to the second direction.
8. The image processing device according to claim 7, wherein: The first plane is a plane having a normal vector extending in a direction perpendicular to the second direction, The second plane is a plane having a normal vector extending in a direction perpendicular to the third direction.
9. The image processing device according to claim 1, wherein: The plurality of thresholds in the first plane have frequency characteristics different from white noise characteristics in the spatial frequency domain, The plurality of thresholds in the second plane have frequency characteristics different from white noise characteristics in the spatial frequency domain.
10. The image processing device according to claim 1, wherein: The plurality of thresholds in the first plane have blue noise characteristics in the spatial frequency domain, The plurality of thresholds in the second plane have blue noise characteristics in the spatial frequency domain.
11. The image processing device according to claim 1, wherein: The acquisition unit acquires second image data, the second image data indicating a grayscale value of an image to be displayed by each of a plurality of pixels in a three-dimensional second space adjacent to the first space when the image is displayed in the second space. The generating unit generates second display data by quantizing grayscale values represented by the second image data using a three-dimensional second dither mask having a plurality of thresholds corresponding to a plurality of pixels in the second space, The first space is divided into a first partial space and a second partial space, The three-dimensional second jitter mask has multiple thresholds, and the multiple thresholds are configured to swap the relative positional relationship between the multiple thresholds existing in the first partial space and the multiple thresholds existing in the second partial space among the multiple thresholds corresponding to the multiple pixels in the first space and possessed by the three-dimensional first jitter mask.
12. The image processing device according to claim 11, wherein: The plurality of pixels in the three-dimensional space including the first space and the second space include: two or more pixels arranged so as to extend in a first direction, two or more pixels arranged so as to extend in a second direction orthogonal to the first direction, two or more pixels arranged so as to extend in a third direction orthogonal to the first direction and the second direction, The second partial space is located in the first direction, the second direction or the third direction when viewed from the first partial space.
13. The image processing device according to claim 11 or 12, characterized in that: The acquisition unit acquires third image data, the third image data indicating a grayscale value of an image to be displayed by each of a plurality of pixels in a three-dimensional third space adjacent to the first space when the image is displayed in the third space. The generating unit generates third display data by quantizing the grayscale value represented by the third image data using a three-dimensional third dither mask having a plurality of thresholds corresponding to a plurality of pixels in the third space, The first space is divided into a third space and a fourth space, The three-dimensional third dither mask has a plurality of thresholds, and the plurality of thresholds are configured to exchange a relative positional relationship between a plurality of thresholds existing in the third partial space and a plurality of thresholds existing in the fourth partial space, among a plurality of thresholds corresponding to a plurality of pixels in the first space and having the three-dimensional first dither mask. The direction in which the second space is located when viewed from the first space is different from the direction in which the third space is located when viewed from the first space, The direction in which the second partial space is located when viewed from the first partial space is different from the direction in which the fourth partial space is located when viewed from the third partial space.
14. The image processing device according to claim 1, wherein: In the first space, When α is set to a natural number greater than 2, In the first direction, there are 2 α pixels, In a second direction orthogonal to the first direction, two α pixels, and Two α pixels.
15. The image processing device according to claim 1, wherein: A head unit is provided, and the head unit discharges liquid based on the first display data.
16. The image processing device according to claim 1 or 2, characterized in that: The generating unit supplies the first display data to a recording device including a head unit that discharges liquid based on the first display data.
17. The image processing device according to claim 1, wherein: The acquisition unit acquires first color image data corresponding to a first color in the first image data and second color image data corresponding to a second color different from the first color in the first image data. The generating unit generates first color display data corresponding to the first color in the first display data by applying quantization processing to the first color image data using one of the three-dimensional first dither masks, and By applying quantization processing to the second color image data using the other three-dimensional first dither mask, second color display data corresponding to the second color in the first display data is generated, One of the three-dimensional first dither masks is different from the other three-dimensional first dither masks.
18. A recording device, characterized in that: It forms an image of a three-dimensional object and has: a head unit, which ejects liquid; a control unit that controls the ejection of the liquid from the head unit so as to form the image on the target object through a plurality of dots formed by the liquid ejected from the head unit, The control unit controls the ejection of liquid from the head unit so that, when the target object has a first surface, distribution of a plurality of points on the first surface has a frequency characteristic in a spatial frequency domain in which high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency, And when the object has a second surface extending in a direction different from the first surface, the distribution of multiple points on the second surface has a frequency characteristic in the spatial frequency domain that has more high-frequency components higher than a predetermined frequency than low-frequency components lower than the predetermined frequency.
19. The recording device according to claim 18, characterized in that The distribution of the plurality of points on the first surface has a frequency characteristic different from a white noise characteristic in the spatial frequency domain, The distribution of the plurality of points on the second plane has a frequency characteristic different from a white noise characteristic in a spatial frequency domain.
20. The recording device according to claim 18 or 19, characterized in that The distribution of the plurality of points on the first surface has a blue noise characteristic in the spatial frequency domain, The distribution of the plurality of points on the second surface has a blue noise characteristic in the spatial frequency domain.
21. An image processing method, characterized in that: have: an acquisition step of acquiring first image data, wherein the first image data represents a grayscale value of an image that should be displayed by each of a plurality of pixels in a first three-dimensional space when the image is displayed in the first space; a generating step of quantizing the grayscale value represented by the first image data by using a three-dimensional first dither mask having a plurality of thresholds corresponding to a plurality of pixels in the first space, thereby generating first display data; The three-dimensional first dither mask is set to, When the first space is cut by using a first plane, a plurality of threshold values in the first plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency in a spatial frequency domain. When the first space is cut by a second plane which is not parallel to the first plane, The plurality of thresholds in the second plane have a frequency characteristic in which, in the spatial frequency domain, high-frequency components higher than the predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency.
22. A storage medium, characterized in that: The computer stores a program for causing the computer to function as the following components: an acquisition unit that acquires first image data, the first image data indicating a grayscale value of an image that should be displayed by each of a plurality of pixels in a first three-dimensional space when the image is displayed in the first space; a generating unit configured to generate first display data by quantizing grayscale values represented by the first image data using a three-dimensional first dither mask having a plurality of thresholds corresponding to a plurality of pixels in the first space, The three-dimensional first dither mask is set to, When the first space is cut by using a first plane, a plurality of threshold values in the first plane have a frequency characteristic in which high-frequency components higher than a predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency in a spatial frequency domain. When the first space is cut by a second plane which is not parallel to the first plane, The plurality of thresholds in the second plane have a frequency characteristic in which, in the spatial frequency domain, high-frequency components higher than the predetermined frequency are more numerous than low-frequency components lower than the predetermined frequency.
