CN113147037B - 3D printing image processing method, device and equipment and storage medium - Google Patents

3D printing image processing method, device and equipment and storage medium Download PDF

Info

Publication number
CN113147037B
CN113147037B CN202110349100.5A CN202110349100A CN113147037B CN 113147037 B CN113147037 B CN 113147037B CN 202110349100 A CN202110349100 A CN 202110349100A CN 113147037 B CN113147037 B CN 113147037B
Authority
CN
China
Prior art keywords
image data
slice image
data set
target
variable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110349100.5A
Other languages
Chinese (zh)
Other versions
CN113147037A (en
Inventor
徐超
谢尧斌
黄中琨
陈艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hansen Software Co.,Ltd.
Original Assignee
Shenzhen Hosonsoft Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hosonsoft Co Ltd filed Critical Shenzhen Hosonsoft Co Ltd
Priority to CN202110349100.5A priority Critical patent/CN113147037B/en
Publication of CN113147037A publication Critical patent/CN113147037A/en
Application granted granted Critical
Publication of CN113147037B publication Critical patent/CN113147037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/379Handling of additively manufactured objects, e.g. using robots
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P10/00Technologies related to metal processing
    • Y02P10/25Process efficiency

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Manufacturing & Machinery (AREA)
  • Materials Engineering (AREA)
  • Robotics (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Optics & Photonics (AREA)

Abstract

The invention discloses a method, a device and equipment for processing a 3D printing image and a storage medium, and relates to the technical field of ink-jet printing. The 3D printing image processing method provided by the embodiment of the invention forms the target slice image data set by splicing and combining the reference slice image data set and the variable slice image data set, thereby realizing various different 3D printing schemes, being capable of quickly and effectively carrying out customized 3D printing and realizing quick batch production of similar 3D printing products with only part of different details.

Description

3D printing image processing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of ink-jet printing, in particular to a 3D printing image processing method, device and equipment and a storage medium.
Background
Currently, 3D Printing technologies mainly include a stereolithography Apparatus (SLA), a Selective Laser Sintering (SLS), a Layered Object Manufacturing (LOM), a Three-Dimensional inkjet Printing (3 DP), and so on. The common characteristic of the above technology is that based on the digital three-dimensional model file of the target object to be printed, the three-dimensional model is cut into a plurality of layers of slices according to a certain layer thickness by using the layering technology, the three-dimensional object is converted into a plurality of layers of slices to be stacked, wherein each slice layer corresponds to one slice image, and the printing is carried out according to the slice image corresponding to the slice layer during the printing.
When personalized customized printing of 3D objects is carried out, different printing schemes can be different only in partial areas, and the printing and forming of most areas are the same as a whole, for example, when 3D printing of a plurality of bottles is carried out, the bottle bodies are the same, but the bottle caps are different according to different customized schemes. When such personalized customization schemes are printed, each time one bottle is printed, the three-dimensional model of the bottle needs to be layered again, the printed image data needs to be processed, and the like, so that the batch printing is not convenient to rapidly carry out.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a device and a storage medium for 3D printing image processing, so as to solve the technical problem in the prior art that batch printing cannot be performed quickly because image processing is performed once for each time a three-dimensional model with only a part of different areas is printed.
In a first aspect, an embodiment of the present invention provides a 3D printing image processing method, where the method includes:
layering three-dimensional models of a plurality of three-dimensional objects to be printed to obtain all layered slice image data;
determining at least one reference slice image data set and a variable slice image data set according to the slice image data, wherein the reference slice image data set comprises a plurality of reference slice image data, and the variable slice image data set comprises a plurality of variable slice image data;
and combining the reference slice image data set and the variable slice image data set to generate a plurality of target slice image data sets, wherein one target slice image data set corresponds to the three-dimensional object to be printed, one target slice image data set comprises a plurality of target slice image data, and one target slice image data corresponds to image data of a slice layer.
Preferably, the combining the reference slice image data set and the variable slice image data set to generate a plurality of target slice image data sets comprises:
determining a combination mode of a reference slice image data set and a variable slice image data set;
determining the number and the sequence of the images of the target slice image data set and the target slice image data corresponding to the image sequence according to the combination mode;
and generating a target slice image data set of the target three-dimensional model according to the number of the images of the target slice image data set and the target slice image data corresponding to the image sequence.
Preferably, the determining the number of images and the image sequence of the target slice image data set according to the combination mode, and the target slice image data corresponding to the image sequence further includes:
and determining the height and the width of the image corresponding to the target slice image data according to the width and the height of the image corresponding to the reference slice image data and the width and the height of the image corresponding to the variable slice image data.
Preferably, the reference slice image data set and the variable slice image data set adopt a first type of combination, and the height and the width of the image corresponding to the target slice image data are determined according to the width and the height of the image corresponding to the reference slice image data and the width and the height of the image corresponding to the variable slice image data as follows:
hf = Hs + Hv, where Hf is the height of the corresponding image of the target slice image data; hs is the height of the image corresponding to the reference slice image data, and Hv is the height of the image corresponding to the variable slice image data;
wf = max { Ws, wv }, where Wf is a width of an image corresponding to the target slice image data, ws is a width of an image corresponding to the reference slice image data, and Wv is a width of an image corresponding to the variable slice image data.
Preferably, the reference slice image data set and the variable slice image data set adopt a second type of combination, and the height and the width of the image corresponding to the target slice image data are determined according to the width and the height of the image corresponding to the reference slice image data and the width and the height of the image corresponding to the variable slice image data as follows:
hf = Hs + Hv, where Hf is the height of the corresponding image of the target slice image data; hs is the height of the image corresponding to the reference slice image data, and Hv is the height of the image corresponding to the variable slice image data;
max { Ws, wv } < Wf ≦ max { Ws, wv } + Wv, where Wf is a width of the target slice image data corresponding image, ws is the reference slice image data width, and Wv is the variable slice image data width.
Preferably, the reference slice image data set and the variable slice image data set adopt a third type of combination mode, and the height and the width of the image corresponding to the target slice image data are determined according to the width and the height of the image corresponding to the reference slice image data and the width and the height of the image corresponding to the variable slice image data as follows:
hf = Hs, wherein Hf is the height of the corresponding image of the target slice image data; hs is the height of the image corresponding to the reference slice image data;
wf = Ws, wf being a width of an image corresponding to the target slice image data, ws being a width of the reference slice image data.
In a second aspect, an embodiment of the present invention provides a 3D printing method, where the method includes:
processing slice image data of a three-dimensional object to be printed according to the 3D printing image processing method of any one of the first aspect, and acquiring a target slice image data set corresponding to the three-dimensional object to be printed;
acquiring printing data of each slice layer of the three-dimensional object to be printed according to the target slice image data set;
and printing a corresponding cut sheet layer according to the printing data.
In a third aspect, an embodiment of the present invention provides a 3D printing image processing apparatus, including:
the layering module is used for layering the three-dimensional models of the three-dimensional objects to be printed to obtain all layered slice image data;
the slice image set determining module is used for determining at least one reference slice image data set and a variable slice image data set according to the slice image data, wherein the reference slice image data set comprises a plurality of reference slice image data, and the variable slice image data set comprises a plurality of variable slice image data;
and the target slice image set determining module is used for combining the reference slice image data set and the variable slice image data set to generate a plurality of target slice image data sets, wherein one target slice image data set corresponds to the three-dimensional object to be printed, the target slice image data set comprises a plurality of target slice image data, and one target slice image data corresponds to image data of a slice layer.
In a fourth aspect, an embodiment of the present invention provides a 3D printing image processing apparatus, including: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of the first aspect of the embodiments described above.
In a fourth aspect, embodiments of the present invention provide a storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of the first aspect in the above embodiments.
In conclusion, the beneficial effects of the invention are as follows:
according to the 3D printing image processing method, the device, the equipment and the storage medium provided by the embodiment of the invention, the target slice image data set is formed by splicing and combining the reference slice image data set and the variable slice image data set, so that various different 3D printing schemes are realized, customized 3D printing can be rapidly and effectively carried out, and rapid and batch production of similar 3D printing products with different details is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, without making creative efforts, other drawings can be obtained according to the drawings, and these drawings are all within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a 3D printing image processing method according to an embodiment of the present invention.
Fig. 2a is a schematic diagram of a first combination manner of a reference slice image data set and a variable slice image data set according to an embodiment of the present invention.
Fig. 2b is a schematic diagram of a second combination manner of the reference slice image data set and the variable slice image data set according to the embodiment of the present invention.
Fig. 2c is a schematic diagram of a third combination manner of the reference slice image data set and the variable slice image data set according to the embodiment of the present invention.
Fig. 3 is a schematic diagram of reference slice image data and variable slice image data in a top view direction according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a first type of stitching manner between reference slice image data and variable slice image data according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a second type of stitching manner between reference slice image data and variable slice image data according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of a third type of stitching manner between the reference slice image data and the variable slice image data according to the embodiment of the present invention.
Fig. 7 is a schematic diagram of a fourth type of stitching manner between the reference slice image data and the variable slice image data according to the embodiment of the present invention.
Fig. 8 is a schematic diagram of a fifth type of stitching manner between the reference slice image data and the variable slice image data according to the embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a 3D-print image processing apparatus according to an embodiment of the present invention.
Fig. 10 is a schematic configuration diagram of a 3D printing image processing apparatus of an embodiment of the present invention.
Detailed Description
Features of various aspects and exemplary embodiments of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
Example one
When the target object is printed in 3D, it can be seen that an image set is printed in sequence, that is, the three-dimensional model of the target object is layered into images, then the printing of "slices" layer by layer is performed in sequence, and finally all slices are superimposed into the target object, obviously, one image corresponds to one "slice". The embodiment of the invention firstly carries out layering on a three-dimensional model of a plurality of three-dimensional objects to be printed to obtain all layered slice image data, then determines a reference slice image data set and a variable slice image data set, and then generates a target slice image data set required by the plurality of three-dimensional objects to be printed by combining the reference slice image data set and the variable slice image data set, thereby realizing the rapid printing of various personalized schemes.
Referring to fig. 1, an embodiment of the present invention provides a 3D printing image processing method, including:
s1: layering three-dimensional models of a plurality of three-dimensional objects to be printed to obtain all layered slice image data;
s2: determining at least one reference slice image data set and a variable slice image data set according to the slice image data, wherein the reference slice image data set comprises a plurality of reference slice image data, and the variable slice image data set comprises a plurality of variable slice image data;
s3: and combining the reference slice image data set and the variable slice image data set to generate a plurality of target slice image data sets, wherein one target slice image data set corresponds to the three-dimensional object to be printed, the target slice image data set comprises a plurality of target slice image data, and one target slice image data corresponds to image data of a slice layer.
Specifically, a three-dimensional model of a plurality of three-dimensional objects to be printed is layered, and all layered slice image data are acquired. For the respective corresponding slice image data only containing partially different three-dimensional objects of the same type, the slice image data corresponding to the same part is the same, but only the slice data corresponding to the different parts are different, and according to the slice image data, a plurality of same slice image data sets and different slice image data sets can be divided, namely a reference slice image data set and a variable slice image data set required for batch printing of the target object are determined. The reference slice image data set comprises a plurality of reference slice image data, the variable slice image data set also comprises a plurality of variable slice image data, the reference slice image data set is invariable in the whole batch printing process, and the variable slice image data set is selected according to different printing customization schemes. The number of the reference slice image data sets and the number of the variable slice image data sets are not limited, and for example, one reference slice image data set and a plurality of variable slice image data sets may be combined to generate a target slice image data set of the printing target object, or a plurality of reference slice image data sets and a plurality of variable slice image data sets may be combined to generate a target slice image data set of the printing target object. The height of the image corresponding to the reference slice image data may be the same as or different from the height of the image corresponding to the variable slice image data, and the width of the image corresponding to the reference slice image data may be the same as or different from the width of the image corresponding to the variable slice image data, which is not limited herein.
In the present embodiment, how to generate a target slice image data set of a printing target object from a reference slice image data set and a variable slice image data set is described with a reference slice image data set and a variable slice image data set. Specifically, the method comprises the following steps:
s21: determining a combination mode of a reference slice image data set and a variable slice image data set;
s22: determining the number and the sequence of the images of the target slice image data set and the target slice image data corresponding to the image sequence according to the combination mode;
s23: and generating a target slice image data set of the target three-dimensional model according to the number of the images of the target slice image data set and the target slice image data corresponding to the image sequence.
The reference slice image data set is regarded as being formed by stacking a plurality of images having a certain thickness (here, the thickness is equal to the slice thickness) in the 3D print slice stacking direction, and similarly, the variable slice image data set is regarded as being formed by stacking a plurality of images having a certain thickness (here, the thickness is equal to the slice thickness) in the 3D print slice stacking direction, and the basic image set and the variable slice image data set are formed in different combinations (stacks). Therefore, first, a combination of the reference slice image data set and the variable slice image data set is determined according to the shape of the target object or a customization scheme, wherein the combination includes at least a first combination, a second combination and a third combination. Fig. 2a shows a first combination of a reference slice image data set and a variable slice image data set. Images in the reference slice image data set and the variable slice image data set are not stitched. Wherein S [ N ] represents a reference slice image data set, N reference slice image data are in the reference slice image data set, V [ M ] represents a variable slice image data set, and M variable slice image data are in the variable slice image data set, each image of the M variable slice image data represents a slice layer, where N and M are natural numbers greater than 0, and K is the number of images in the target slice image data set, and the number of images in the target slice image data set is known to be K = N + M. The relationship of the target slice image data set to the reference slice image data set and the variable slice image data set is represented by the following formula set (1):
f [ i ] = S [ i ],0<i is not more than N, and i is a natural number;
f [ N + j ] = V [ j ],0<j is less than or equal to M, and j is a natural number.
Each target slice image data in the target slice image data set is a print image for printing a corresponding slice layer, namely, an image in the S [ N ] reference slice image data set is printed when printing a first slice layer to an Nth slice layer, and an image in the V [ M ] variable slice image data set is printed when printing an N +1 th layer to an N + M th layer.
In some embodiments, the relative position between the reference slice image data set and the variable slice image data set may be the reference slice image data set above, and the variable slice image data set below, such as bottom left, bottom right, etc., all within the scope of the present invention.
In one embodiment, fig. 2b illustrates a second type of combination of a reference slice image data set and a variable slice image data set. And splicing partial images in the reference slice image data set and the variable slice image data set. The number of image stitching between the reference slice image data set and the variable slice image data set in the stacking direction is set to be L, L < N and L < M, that is, L images in the reference slice image data need to be combined with L images in the variable slice image data to be called L target object images, and the other images do not change. At this time, the number of images N of the target slice image data set is equal to or less than K < N + M, K = N + M-L, and the relationship of the target slice image data set with the reference slice image data set and the variable slice image data set is represented by the following formula set (2):
f [ i ] = S [ i ],0<i is not more than N-L, and i is a natural number;
f [ j ] = S [ j ] + V [ q ], N-L < j is less than or equal to N,0<q is less than or equal to L, and j and q are natural numbers.
F [ N + p ] = V [ L + p ],0<p is not more than M-L, and p is a natural number.
Each target slice image data in the target slice image data set is a print image corresponding to the slice layer, namely when printing a first slice layer to an N-L slice layer, an image in the reference slice image data set is used, when printing an N-L +1 to an N slice layer, an image spliced by the reference slice image data set and the variable slice image data set is used, and when printing an N +1 layer to an N + M-L layer, an image in the variable slice image data set is used.
In some embodiments, the reference slice image data set and the variable slice image data set are partially stitched in the stacking direction, and the relative position between the reference slice image data set and the variable slice image data set may be above the reference slice image data set and below the variable slice image data set, such as below left, below right, and the like, and are within the scope of the present invention.
In one embodiment, as shown in fig. 2c, which is a schematic diagram of a third combination of the reference slice image data set and the variable slice image data set, it can be seen that the reference slice image data and the variable slice image data are all spliced in the stacking direction, and the number K of images in the target slice image data set is the larger of N and M, i.e., K = max { N, M }. In the present embodiment, M < N, and the reference slice image data and the variable slice image data are stitched into the target slice image data starting from the R +1 th image, the relationship of the target slice image data set with the reference slice image data set and the variable slice image data set is represented by the following formula set (3):
f [ i ] = S [ i ],0<i is not more than R, and i is a natural number;
f [ R + j ] = S [ R + j ] + V [ j ], R < j is less than or equal to M, and j is a natural number;
f [ R + N + q ] = S [ R + N + q ],0<q is not more than N-M-R, and q is a natural number.
Each target slice image data in the target slice image data set is a print image for printing a corresponding slice layer, namely, when printing a first slice layer to an R-th slice layer, an image in the reference slice image data set is used, when printing an R + 1-R + M-th slice layer, an image spliced by the reference slice image data set and the variable slice image data set is used, and when printing an R + M + 1-N layer, an image in the variable slice image data set is used.
In another embodiment, the reference slice image data set and the variable slice image data set are all spliced in the stacking direction, the number M of images in the variable slice image data set is greater than the number N of the reference slice image data set, or the number M of images in the variable slice image data set is equal to the number N of the reference slice image data set, and the relationship between the target slice image data set and the reference slice image data set and the variable slice image data set can be obtained with reference to the formula group (3), which is not described herein again.
When the reference slice image data set and the variable slice image data set are spliced in the stacking direction, part of the target slice image data in the target slice image data set is formed by splicing the reference slice image data and the variable slice image data. The reference slice image data and the variable slice image data are spliced in different modes, and the height and the width of the corresponding image of the target slice image data formed by splicing the reference slice image data and the variable slice image data are also different. As shown in fig. 3, the reference slice image data set sn includes N images, each having a width Ws and a height Hs in a top view. The variable slice image data set V [ M ] includes M images, each having a width Wv and a height Hv when viewed in a top view.
In one embodiment, as shown in fig. 4, the reference slice image data and the variable slice image data are merged in a first type of manner, that is, they are merged in the height direction, in the width direction, the width of the corresponding image of the reference slice image data is greater than the width of the variable slice image data, and the width range of the variable slice image data is within the width range of the reference slice image data. The target slice image data is formed by splicing reference slice image data and variable slice image data, the height Hf = Hs + Hv of the image corresponding to the target slice image data, wherein Hs is the height of the image corresponding to the reference slice image data, and Hv is the height of the image corresponding to the variable slice image data; a width Wf = max { Ws, wv } of the target-slice-image-data corresponding image, where Ws is a width of the reference-slice-image-data corresponding image, wv is a width of the variable-slice-image-data corresponding image, and Wf is a larger value of the reference-slice-image-data width and the variable-slice-image-data width.
In one embodiment, as shown in fig. 5, the reference slice image data and the variable slice image data are merged in the second type, that is, they are merged in the width direction, in the height direction, the height of the image corresponding to the reference slice image data is greater than the height of the image corresponding to the variable slice image data, and the height range of the image corresponding to the variable slice image data is within the height range of the image corresponding to the reference slice image data. The target slice image data is formed by splicing reference slice image data and variable slice image data, and the height Wf = Ws + Wv of the image corresponding to the target slice image data, wherein Ws is the height of the image corresponding to the reference slice image data, and Wv is the height of the image corresponding to the variable slice image data; the target slice image data corresponds to an image having a width Hf = max { Hs, hv }, where Hs is a width of the reference slice image data corresponding to the image, hv is a width of the variable slice image data corresponding to the image, and Wf is a larger value of the reference slice image data width and the variable slice image data width.
In one embodiment, as shown in fig. 6, a third type of stitching manner is used for the reference slice image data and the variable slice image data, where the reference slice image data and the variable slice image data are stitched in the height direction, partially overlapped in the width direction, and the length of the overlapped part is a, then the height Hf = Hs + Hv of the image corresponding to the target slice image data is set, where Hs is the height of the image corresponding to the reference slice image data, and Hv is the height of the image corresponding to the variable slice image data; a width Wf = Ws + Wv-a of the target slice image data corresponding image, where Ws is a width of the reference slice image data corresponding image and Wv is a width of the variable slice image data corresponding image.
In one embodiment, as shown in fig. 7, a fourth type of stitching manner is used for the reference slice image data and the variable slice image data, where the reference slice image data and the variable slice image data are stitched in the width direction, partially overlapped in the height direction, and the length of the overlapped part is set to be B, then the height Hf = Hs + Hv-B of the image corresponding to the target slice image data, where Hs is the height of the image corresponding to the reference slice image data, and Hv is the height of the image corresponding to the variable slice image data; and the width Wf = Ws + Wv of the image corresponding to the target slice image data, wherein Ws is the width of the image corresponding to the reference slice image data, and Wv is the width of the image corresponding to the variable slice image data.
In one embodiment, as shown in fig. 8, the fifth type of stitching mode is implemented for the reference slice image data and the variable slice image data, the reference slice image data and the variable slice image data are completely overlapped, and the variable slice image data is in the reference slice image data. Then the target slice image data corresponds to the height of the image Hf = Hs and the target slice image data corresponds to the width of the image Wf = Ws. Wherein Hs is the height of the image corresponding to the reference slice image data, and Ws is the width of the image corresponding to the reference slice image data. For example, in some practical applications, the image data in the variable slice image data is all 0, and the variable slice image data is in the reference slice image data, which indicates that the area where the variable slice image data is located is the hollow print.
In some embodiments, there are other ways to stitch the reference slice image data and the variable slice image data, and all the stitching ways modified or derived based on the embodiments of the present invention are within the scope of the present invention.
After the reference slice image data set and the variable slice image data set are spliced by the reference slice image data set and variable slice image data set splicing part, target slice image data of the splicing part is generated. And determining the number of images of the target slice image data according to the combination mode of the reference slice image data set and the variable slice image data set, and splicing the target slice image data of the part, thereby generating the target slice image data set. The target slice image data set comprises images of all slice layers of the target three-dimensional model, and the number of slices of the target three-dimensional model is the number of images in the target slice image data set. When various similar 3D objects with different details and the same most area are printed, because the reference slice image data set represents the image data set of the same area, and the variable slice image data set represents the image data set of different areas, when similar products with different details are printed, the reference slice image data set can be changed without changing the variable slice image data set part, namely, the processing of the printing data only needs to consider the image processing of the variable slice image data set part, thereby greatly saving time and improving the printing efficiency.
In summary, according to the 3D print image processing method of the embodiment of the present invention, the reference slice image data set and the variable slice image data set are spliced and combined to form the target slice image data set, so that various 3D printing schemes are implemented, customized 3D printing can be performed quickly and effectively, and quick mass production of similar 3D printing products with different details is implemented.
Example two
The embodiment of the invention provides a 3D printing method, which comprises the following steps:
processing slice image data of a three-dimensional object to be printed according to the 3D printing image processing method in the first embodiment to obtain a target slice image data set corresponding to the three-dimensional object to be printed;
acquiring printing data of each slice layer of the three-dimensional object to be printed according to the target slice image data set;
and printing a corresponding cut sheet layer according to the printing data.
According to the 3D printing method provided by the embodiment of the invention, various three-dimensional objects of the same type only with different parts are printed, before printing, the three-dimensional model of the three-dimensional object to be printed can be analyzed, and the combination of the corresponding reference slice image set and the variable slice image set is determined according to the three-dimensional model, so that the target slice image data set corresponding to the three-dimensional object to be printed is determined. The 3D printing method provided by the embodiment of the invention can be used for quickly and effectively performing customized 3D printing and realizing quick batch production of 3D printing products with different parts of details.
EXAMPLE III
Referring to fig. 9, an embodiment of the present invention provides a 3D printing image processing apparatus 10, including 10:
the layering module 11 is used for layering three-dimensional models of a plurality of three-dimensional objects to be printed to obtain all layered slice image data;
a slice image set determining module 12, configured to determine at least one reference slice image data set and a variable slice image data set according to the slice image data, where the reference slice image data set includes a plurality of reference slice image data, and the variable slice image data set includes a plurality of variable slice image data;
a target slice image set determining module 13, configured to combine the reference slice image data set and the variable slice image data set to generate a plurality of target slice image data sets, where one target slice image data set corresponds to the three-dimensional object to be printed, the target slice image data set includes a plurality of target slice image data, and one target slice image data corresponds to image data of a slice layer.
Preferably, the target slice image data set generation module 12 further comprises:
a combination mode determination unit configured to determine a combination mode of the reference slice image data set and the variable slice image data set;
the target slice image data determining unit is used for determining the number and the sequence of the images of the target slice image data set and the target slice image data corresponding to the image sequence according to the combination mode;
and the target slice image data set generating unit is used for generating a target slice image data set of the target three-dimensional model according to the number of images of the target slice image data set and the target slice image data corresponding to the image sequence.
Preferably, the target slice image data determination unit further includes:
and the height and width determining unit of the image corresponding to the target slice image data is used for determining the height and width of the image corresponding to the target slice image data according to the width and height of the image corresponding to the reference slice image data and the width and height of the image corresponding to the variable slice image data.
According to the 3D printing image processing device provided by the embodiment of the invention, the target slice image data set is formed by splicing and combining the reference slice image data set and the variable slice image data set, so that various different 3D printing schemes are realized, customized 3D printing can be rapidly and effectively carried out, and rapid batch production of 3D printing products with different parts of details is realized.
Example four
In addition, the 3D printing image processing method according to the embodiment of the present invention described in conjunction with fig. 10 may be implemented by a 3D printing image processing apparatus. Fig. 10 is a schematic diagram illustrating a hardware configuration of a 3D printing image processing apparatus according to an embodiment of the present invention.
The 3D printing image processing apparatus may comprise a processor 301 and a memory 302 storing computer program instructions.
In particular, the processor 301 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
Memory 302 may include mass storage for data or instructions. By way of example, and not limitation, memory 302 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 302 may include removable or non-removable (or fixed) media, where appropriate. The memory 302 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 302 is a non-volatile solid-state memory. In a particular embodiment, the memory 302 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
The processor 301 realizes any one of the 3D printing image processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 302.
In one example, the 3D printing image processing apparatus may further include a communication interface 303 and a bus 310. As shown in fig. 10, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 to complete communication therebetween.
The communication interface 303 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiment of the present invention.
Bus 310 includes hardware, software, or both to couple the components of the image packet printing device to each other. By way of example, and not limitation, bus 310 may include Accelerated Graphics Port (AGP) or other graphics bus, enhanced Industrial Standard Architecture (EISA) bus, front Side Bus (FSB), hyper Transport (HT) interconnect, industrial Standard Architecture (ISA) bus, infiniband interconnect, low Pin Count (LPC) bus, memory bus, micro Channel Architecture (MCA) bus, peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial Advanced Technology Attachment (SATA) bus, video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 310 may include one or more buses, where appropriate. Although specific buses have been described and illustrated with respect to embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
EXAMPLE five
In addition, in combination with the 3D printing image processing method in the above embodiment, an embodiment of the present invention may be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by the processor 301, implement any of the 3D printing image processing methods in the above embodiments.
In summary, according to the 3D print image processing method, apparatus, device, and storage medium provided by the embodiments of the present invention, the reference slice image data set and the variable slice image data set are spliced and combined to form the target slice image data set, so that various 3D printing schemes are implemented, customized 3D printing can be performed quickly and effectively, and quick mass production of 3D print products with different details is implemented.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include an electronic circuit, a semiconductor memory device, a ROM, a flash memory, an Erasable ROM (EROM), a floppy disk, a CD-ROM, an optical disk, a hard disk, an optical fiber medium, a Radio Frequency (RF) link, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments noted in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (9)

1. A 3D printed image processing method, characterized in that the method comprises:
layering three-dimensional models of a plurality of three-dimensional objects to be printed to obtain all layered slice image data;
determining at least one reference slice image data set and a variable slice image data set according to the slice image data, wherein the reference slice image data set comprises a plurality of reference slice image data, and the variable slice image data set comprises a plurality of variable slice image data;
combining the reference slice image data set and the variable slice image data set to generate a plurality of target slice image data sets, wherein one target slice image data set corresponds to the three-dimensional object to be printed, one target slice image data set comprises a plurality of target slice image data, and one target slice image data corresponds to image data of a slice layer; wherein said combining the reference slice image data set and the variable slice image data set to generate a plurality of target slice image data sets comprises:
determining a combination mode of a reference slice image data set and a variable slice image data set;
determining the number and the sequence of the images of the target slice image data set and the target slice image data corresponding to the image sequence according to the combination mode;
generating a target slice image data set of a target three-dimensional model according to the number of images of the target slice image data set and target slice image data corresponding to the image sequence; when the reference slice image data set and the variable slice image data set are spliced in the stacking direction, part of target slice image data in the target slice image data set is formed by splicing the reference slice image data and the variable slice image data, the splicing modes of the reference slice image data and the variable slice image data are different, and the heights and the widths of the images corresponding to the target slice image data formed by splicing the reference slice image data and the variable slice image data are also different.
2. The 3D print image processing method according to claim 1, wherein said determining the number of images and the image order of the target slice image data set according to the combination mode, and the target slice image data corresponding to the image order further comprises:
and determining the height and the width of the image corresponding to the target slice image data according to the width and the height of the image corresponding to the reference slice image data and the width and the height of the image corresponding to the variable slice image data.
3. The 3D printed image processing method according to claim 2, wherein the reference slice image data set and the variable slice image data set are combined in a first type, and the height and the width of the image corresponding to the target slice image data are determined according to the width and the height of the image corresponding to the reference slice image data and the width and the height of the image corresponding to the variable slice image data as follows:
hf = Hs + Hv, where Hf is the height of the corresponding image of the target slice image data; hs is the height of the image corresponding to the reference slice image data, and Hv is the height of the image corresponding to the variable slice image data;
wf = max { Ws, wv }, where Wf is a width of an image corresponding to the target slice image data, ws is a width of an image corresponding to the reference slice image data, and Wv is a width of an image corresponding to the variable slice image data.
4. The 3D print image processing method according to claim 2, wherein the reference slice image data set and the variable slice image data set are combined in a second type, and the height and width of the image corresponding to the target slice image data are determined according to the width and height of the image corresponding to the reference slice image data and the width and height of the image corresponding to the variable slice image data as follows:
hf = Hs + Hv, where Hf is a height of a corresponding image of the target slice image data; hs is the height of the image corresponding to the reference slice image data, and Hv is the height of the image corresponding to the variable slice image data;
max { Ws, wv } < Wf ≦ max { Ws, wv } + Wv, where Wf is a width of the target slice image data corresponding image, ws is the reference slice image data width, and Wv is the variable slice image data width.
5. The 3D print image processing method according to claim 2, wherein the reference slice image data set and the variable slice image data set adopt a third type of combination, and the height and width of the image corresponding to the target slice image data are determined according to the width and height of the image corresponding to the reference slice image data and the width and height of the image corresponding to the variable slice image data as follows:
hf = Hs, where Hf is the height of the corresponding image of the target slice image data; hs is the height of the image corresponding to the reference slice image data;
wf = Ws, wf being the width of the image corresponding to the target slice image data, ws being the width of the reference slice image data.
6. A method of 3D printing, the method comprising:
the 3D printing image processing method according to any one of claims 1 to 5, processing the slice image data of the three-dimensional object to be printed, and acquiring a target slice image data set corresponding to the three-dimensional object to be printed;
acquiring printing data of each slice layer of the three-dimensional object to be printed according to the target slice image data set;
and printing a corresponding cut sheet layer according to the printing data.
7. A 3D-printed image processing apparatus, characterized in that the apparatus comprises:
the layering module is used for layering the three-dimensional models of the three-dimensional objects to be printed to acquire all layered slice image data;
the slice image set determining module is used for determining at least one reference slice image data set and a variable slice image data set according to the slice image data, wherein the reference slice image data set comprises a plurality of reference slice image data, and the variable slice image data set comprises a plurality of variable slice image data;
a target slice image set determining module, configured to combine the reference slice image data set and the variable slice image data set to generate a plurality of target slice image data sets, where one target slice image data set corresponds to the three-dimensional object to be printed, the target slice image data set includes a plurality of target slice image data, and one target slice image data corresponds to image data of a slice layer; the target slice image set determining module is further used for determining a combination mode of a reference slice image data set and a variable slice image data set, determining the number and the sequence of images of the target slice image data set and target slice image data corresponding to the image sequence according to the combination mode, and generating a target slice image data set of a target three-dimensional model according to the number of images of the target slice image data set and the target slice image data corresponding to the image sequence;
when the reference slice image data set and the variable slice image data set are spliced in the stacking direction, part of target slice image data in the target slice image data set is formed by splicing the reference slice image data and the variable slice image data, the reference slice image data and the variable slice image data are spliced in different modes, and the heights and the widths of the images corresponding to the target slice image data spliced by the reference slice image data and the variable slice image data are also different.
8. A 3D-printing image processing apparatus characterized by comprising: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of claims 1-5.
9. A storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1-5.
CN202110349100.5A 2021-03-31 2021-03-31 3D printing image processing method, device and equipment and storage medium Active CN113147037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110349100.5A CN113147037B (en) 2021-03-31 2021-03-31 3D printing image processing method, device and equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110349100.5A CN113147037B (en) 2021-03-31 2021-03-31 3D printing image processing method, device and equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113147037A CN113147037A (en) 2021-07-23
CN113147037B true CN113147037B (en) 2023-03-21

Family

ID=76885733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110349100.5A Active CN113147037B (en) 2021-03-31 2021-03-31 3D printing image processing method, device and equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113147037B (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107443751A (en) * 2017-08-15 2017-12-08 青岛三迪时空增材制造有限公司 Custom-built system and its business model based on 3D printing technique

Also Published As

Publication number Publication date
CN113147037A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
US7870527B2 (en) Method for stacked pattern design of printed circuit board and system thereof
CN111862035B (en) Training method of light spot detection model, light spot detection method, device and medium
CN109754434A (en) Camera calibration method, apparatus, user equipment and storage medium
CN104735348B (en) Double-camera photographing method and system
US11593232B2 (en) Method and device for verifying a neuron function in a neural network
CN112887897B (en) Terminal positioning method, device and computer readable storage medium
CN106483940A (en) Processing meanss, production system and the processing method using processing meanss
CN113147037B (en) 3D printing image processing method, device and equipment and storage medium
CN112053153A (en) Endorsement signature data storage method and device, electronic equipment and readable storage medium
CN110928503B (en) Data addressing method, device, equipment and storage medium for regional random printing
CN103578077B (en) A kind of image zoom processing method and relevant apparatus
CN115393815A (en) Road information generation method and device, electronic equipment and computer readable medium
CN106708544A (en) Method and apparatus for assisting in firmware upgrading of electronic devices, and terminal
CN113282063B (en) Arrangement method and device for sewing production line
CN108880565B (en) Coding and decoding method of polarization code and communication equipment
CN114611674A (en) Lightweight method and device of U-net model
CN106791274A (en) A kind of scene detection method and device
CN113052301B (en) Neural network generation method and device, electronic equipment and storage medium
CN114729811A (en) Position estimation device, vehicle, position estimation method, and position estimation program
CN106961555B (en) Data processing method and device
CN110443251A (en) Instrument image recognition methods and device
CN112804026B (en) Frequency and time frequency interleaving method and system in OFDM system
CN116559782B (en) AGV positioning method, system, medium and equipment based on vibration sensor
CN113610075B (en) Lightweight label text box detection method, device, terminal and storage medium
CN116522831B (en) Method, device, equipment and storage medium for correcting gate-level netlist

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong

Patentee after: Shenzhen Hansen Software Co.,Ltd.

Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000

Patentee before: SHENZHEN HOSONSOFT Co.,Ltd.

CP03 Change of name, title or address