EP4368393A2 - Slice image processing method for 3d printing, system, apparatus, and storage medium - Google Patents

Slice image processing method for 3d printing, system, apparatus, and storage medium Download PDF

Info

Publication number
EP4368393A2
EP4368393A2 EP24155445.0A EP24155445A EP4368393A2 EP 4368393 A2 EP4368393 A2 EP 4368393A2 EP 24155445 A EP24155445 A EP 24155445A EP 4368393 A2 EP4368393 A2 EP 4368393A2
Authority
EP
European Patent Office
Prior art keywords
regions
slice image
printing
contour
region
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.)
Pending
Application number
EP24155445.0A
Other languages
German (de)
French (fr)
Inventor
Xin Wan
Yu Guo
Lingfeng Deng
Dachao ZHOU
Juntao GUO
Hongquan XIAO
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.)
Guangzhou Heygears IMC Inc
Original Assignee
Guangzhou Heygears IMC Inc
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
Priority claimed from CN202110720685.7A external-priority patent/CN115592953B/en
Priority claimed from CN202111002866.2A external-priority patent/CN115723333B/en
Application filed by Guangzhou Heygears IMC Inc filed Critical Guangzhou Heygears IMC Inc
Publication of EP4368393A2 publication Critical patent/EP4368393A2/en
Pending legal-status Critical Current

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/386Data acquisition or data processing for additive manufacturing
    • 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
    • B33Y10/00Processes of additive manufacturing
    • 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/10Processes of additive manufacturing
    • B29C64/106Processes of additive manufacturing using only liquids or viscous materials, e.g. depositing a continuous bead of viscous material
    • B29C64/124Processes of additive manufacturing using only liquids or viscous materials, e.g. depositing a continuous bead of viscous material using layers of liquid which are selectively solidified
    • 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/20Apparatus for additive manufacturing; Details thereof or accessories therefor
    • 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/386Data acquisition or data processing for additive manufacturing
    • B29C64/393Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • 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
    • B33Y30/00Apparatus for additive manufacturing; Details thereof or accessories therefor
    • 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
    • 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
    • B33Y50/02Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/0405Programme-control specially adapted for machine tool control and not otherwise provided for
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4097Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using design data to control NC machines, e.g. CAD/CAM
    • G05B19/4099Surface or curve machining, making 3D objects, e.g. desktop manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/403Edge-driven scaling; Edge-based scaling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/49Nc machine tool, till multiple
    • G05B2219/49008Making 3-D object with model in computer memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2016Rotation, translation, scaling

Definitions

  • the disclosure relates to the technical field of 3D printing, and in particular, to a method, system and apparatus for processing a slice image for 3D printing, and a storage medium.
  • Photocuring 3D printing is the earliest 3D printing and molding technology. Face exposure type photocuring 3D printing is one of the branches of photocuring 3D printing.
  • the technology uses the principle of curing a liquid photosensitive resin after irradiating the liquid photosensitive resin with a light projector.
  • Software is used to slice a three-dimensional digital model of a printout, so as to obtain several slice images. Then the several slice images are successively projected by means of the light projector with a certain wavelength, so as to cause the photosensitive resin to be cured into cured sheets corresponding to the slice images, and the cured sheets are stacked layer by layer, so as to form a three-dimensional object.
  • a user needs to trim the size of the printout due to various reasons (for example, to compensate for curing contraction of the photosensitive resin).
  • size adjustment is performed on the three-dimensional digital model of the printout or the slice images, and an adjustment mode may be to inward or outward offset an image contour of the model.
  • size adjustment mode can only meet the adjustment of a large size; and if a size adjustment parameter is less than a pixel size, an accurate size adjustment requirement cannot be met.
  • size contraction occurs when a photosensitive resin material is cured. Generally, if the size of an exposure surface is larger, the contraction of the material is larger.
  • problems such as printing residues may be caused by continuous exposure of a large-area solid exposure surface, thereby affecting printing accuracy and a printing effect.
  • the embodiments of the disclosure are intended to provide a method, system and apparatus for processing a slice image for 3D printing, and a storage medium, which can meet an accurate size adjustment requirement by compensating on edge pixels of the slice image.
  • an embodiment of the disclosure provides a method for processing a slice image for 3D printing.
  • the method includes the following operations.
  • a slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value are acquired; and a size adjustment value is determined according to the slice image.
  • a grayscale compensation parameter is determined according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • Grayscale processing is respectively performed on edge pixels of a contour in the slice image according to the grayscale compensation parameter, and the processed slice image is used for 3D printing.
  • an embodiment of the disclosure provides a system for processing a slice image for 3D printing.
  • the system includes an acquisition module, a first calculation module, a second calculation module, and a printing module.
  • the acquisition module is configured to acquire a slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value.
  • the first calculation module is configured to determine a size adjustment value according to the slice image.
  • the second calculation module is configured to determine a grayscale compensation parameter according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • the printing module is configured to respectively perform grayscale processing on edge pixels of a contour in the slice image according to the grayscale compensation parameter, wherein the processed slice image is used for 3D printing.
  • an embodiment of the disclosure provides a 3D printing method.
  • the method includes the method for processing the slice image for 3D printing.
  • the method further includes the following operation.
  • 3D printing is performed on the processed slice image.
  • an embodiment of the disclosure provides an apparatus for processing a slice image for 3D printing.
  • the apparatus for processing the slice image for 3D printing includes at least one processor and at least one memory.
  • the at least one memory is configured to store at least one program.
  • the at least one processor When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method for processing the slice image for 3D printing.
  • an embodiment of the disclosure provides a storage medium.
  • the storage medium stores a program that is executable by a processor.
  • the program executable by the processor is configured to execute the method for processing the slice image for 3D printing.
  • an embodiment of the disclosure provides a system for processing a slice image for 3D printing.
  • the system includes a printing unit and a computer device connected to the printing unit.
  • the printing unit is configured to print a three-dimensional model according to an instruction.
  • the computer device includes at least one processor and at least one memory.
  • the at least one memory is configured to store at least one program.
  • the at least one processor When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method for processing the slice image for 3D printing.
  • the size adjustment value is first determined according to the slice image of the three-dimensional model, and the grayscale compensation parameter is then determined according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value; and then grayscale processing are respectively performed on the edge pixels of the contour in the slice image according to the grayscale compensation parameter, and 3D printing is performed. That is to say, an accurate size adjustment requirement is met by compensating the edge pixels of the slice image.
  • a photocuring 3D printing system includes a light projector A1 and a 3D printer.
  • the 3D printer includes a material tray A2, a photosensitive resin material A3, a molding platform A4, and an elevating mechanism A5.
  • a supporting structure at the bottom of the material tray A2 is a transparent structure.
  • a three-dimensional digital model to be printed is sliced to obtain several slice images; the light projector A1 successively projects the slice images, such that the photosensitive resin material A3 in the material tray A2 are successively cured, on the molding platform A4, into cured sheets corresponding to the slice images, and the cured sheets are stacked layer by layer, so as to form a three-dimensional digital model solid; and when the cured sheets are formed each time, the elevating mechanism correspondingly elevates a certain height.
  • B1 is a top view of a three-dimensional digital model to be printed.
  • the three-dimensional digital model is sliced to obtain a plurality of slice images B2; and the slice image of one of the plurality of slice images B2 is B3.
  • the method for processing the slice image for 3D printing of the embodiments of the disclosure may be applied to photocuring three-dimensional printing.
  • the photocuring three-dimensional printing includes Stereo Lithography Appearance (SLA), Digital Light Processing (DLP), Liquid Crystal on Silicon (LCOS), and Liquid Crystal Display (LCD) photocuring printing, and may also be face exposure type photocuring printing, such as DLP, LCOS, and LCD.
  • SLA Stereo Lithography Appearance
  • DLP Digital Light Processing
  • LCOS Liquid Crystal on Silicon
  • LCD Liquid Crystal Display
  • an embodiment of the disclosure provides a method for processing a slice image for 3D printing.
  • the method includes the following steps.
  • a slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value are acquired.
  • the three-dimensional model is a three-dimensional digital model of a printout.
  • a plurality of slice images may be obtained by slicing the three-dimensional digital model.
  • the slice images are successively projected by means of a light source with a certain wavelength, so as to cause photosensitive resin to be cured into cured sheets corresponding to the slice images, and the cured sheets are stacked layer by layer, so as to form a three-dimensional solid which is the printout.
  • the slice images of the three-dimensional model are processed, so as to compensate the size deviation between the printout and the slice images.
  • a contour size of the model in the cured sheet is changed, and there is a positive correlation between a grayscale adjustment parameter and the size adjustment value.
  • a solid line in the figure represents a relationship curve of an actual measured grayscale value and a mean value of a difference of the size deviation
  • a dotted line is a positive correlation curve of a fitted grayscale value and the size deviation.
  • the accuracy of size adjustment may be controlled within a non-integer multiple pixel size range, for example, the size may be adjusted to a corresponding size such as 0.1 pixels, 1.2 pixels, and 10.8 pixels.
  • the adjustment of a non-integer multiple pixel size is to perform different grayscale superposition (for example, when a grayscale in the single pixel is 0-225) in pixels after the edge of a contour map is identified, so as to achieve the adjustment of the non-integer multiple pixel size.
  • a 100% (255) grayscale is superposed to a first pixel on an outer edge on the basis of the contour map, and a 60% (153) grayscale value is superposed to a second pixel.
  • the relationship between the grayscale compensation parameter and the size adjustment value may be obtained from a relationship curve of the grayscale compensation parameter and the size adjustment value; and the relationship between the grayscale compensation parameter and the size adjustment value may also be a discrete point diagram correspondence relationship.
  • corresponding grayscale adjustment parameters are detected according to the several size adjustment values, such that the relationship between the grayscale compensation parameter and the size adjustment value are obtained.
  • the size adjustment value includes, but is not limited to, a specific numerical value of size enlargement or reduction, and a ratio of size enlargement or reduction.
  • the relationship between the grayscale compensation parameter and the size adjustment value may be a curve graph shown in Fig. 4 ; and when the size adjustment value is the ratio of size enlargement or reduction, the relationship between the grayscale compensation parameter and the size adjustment value may be a mapping table of the grayscale compensation parameter and the ratio of size enlargement or reduction, and may also be a curve graph. That is to say, in this embodiment, the form of the relationship between the grayscale compensation parameter and the size adjustment value is not limited.
  • the relationship curves corresponding to different pixel accuracies are slightly different. However, through a plurality of experiments, it has been proven that, the relationship curves corresponding to different pixel accuracies all represent a positive correlation. Acquiring the relationship curve of the grayscale compensation parameter and the size adjustment value is specifically acquiring a relationship curve corresponding to a pixel accuracy of the light projector.
  • a size adjustment value is determined according to the slice image.
  • the size adjustment value needs to be further determined, and the grayscale compensation parameters are further confirmed in sequence.
  • the size adjustment value may be acquired by means of self-inputting by a user, and is set according to an actual requirement of the user.
  • the size adjustment value may be determined by identifying the slice image.
  • the step of determining the size adjustment value according to the slice image includes: determining at least one size adjustment value according to the slice image.
  • one slice image may include a plurality of slice shapes.
  • one slice image involves a plurality of three-dimensional models; and one slice shape may include a plurality of contours, for example, an outer contour and a plurality of inner contours.
  • Each contour may correspond to different grayscale compensation parameters.
  • P000 represents one slice image; P010 represents the slice shape A; P020 represents the slice shape B; P030 represents the slice shape C; P040 represents the slice shape D; P050 represents the slice shape E; P011 represents the contour 1 in the slice shape A; P012 represents the contour 2 in the slice shape A; and P013 represents the contour 3 in the slice shape A. It may be learned from Fig. 5 that, the slice image includes 5 slice shapes, and the slice shape A includes 3 contours.
  • the step of determining at least one size adjustment value according to the slice image includes the following steps.
  • At S201 at least one slice shape in the slice image is identified.
  • contour identification is respectively performed on each slice shape, and the corresponding size adjustment value is determined according to an identified contour.
  • each slice shape in the slice image is enveloped by a corresponding rectangular frame in a plurality of rectangular frames, a plurality of image blocks are segmented on the slice shapes according to the rectangular frames, and each image block corresponds to one slice shape; and then contour identification is performed on the each slice shape, and the corresponding size adjustment value is determined according to the identified contour.
  • a deviation between a printed part size and a design size there may be a deviation between a printed part size and a design size, and the arrow represents a contraction direction.
  • a final contraction size is also different.
  • the aperture of a printed segmented die does not match the design size.
  • an assembly rod, an assembly column, an assembly pile, matching holes and columns, or irregular shapes may be adjusted for size deviation by means of grayscale compensation and grayscale bias.
  • Grayscale bias processing is to increase or reduce the grayscale of the edge contour.
  • the size adjustment value may be determined according to the slice image.
  • a specific determination mode is determined according to an actual application. This embodiment is not specifically limited thereto.
  • the step of respectively performing contour identification on the each slice shape, and determining the corresponding size adjustment value according to the identified contour includes the following step.
  • the contour of the each slice shape is identified, and the size of the contour is calculated.
  • the contour of the slice shape includes an inner contour or an outer contour.
  • the contour of the assembly hole is an inner contour
  • the contour of the assembly rod is an outer contour
  • the contour of the assembly column is an outer contour
  • the contour of the assembly pile is an outer contour.
  • the contour includes an inner contour and an outer contour.
  • the step of identifying the contour of the each slice shape, and calculating the size of the contour includes: identifying the inner contour or the outer contour of the each slice shape, and calculating the size of the inner contour or the size of the outer contour.
  • a solid image is an image that is configured to directly mold a printing product required by a user.
  • the non-solid image may be an image that is configured to mold an auxiliary structure instead of an image that is directly configured to mold the printing product.
  • the non-solid image may include a supporting structure image and a base plate structure image.
  • the step of identifying the inner contour or the outer contour of the each slice shape includes the following steps.
  • a solid image in the each slice shape is identified according to a position attribute of the each slice shape.
  • the step of filtering the assembly hole contour from the closed inner contour or filtering the assembly rod contour from the closed outer contour according to a contour geometry constraint condition includes the following step.
  • the assembly hole contour is filtered from the closed inner contour or the assembly rod contour is filtered from the closed outer contour according to a constraint condition, wherein the constraint condition includes at least one of the following conditions: a constraint condition of a center set, a constraint condition of a contour area, a constraint condition of an ellipse area ratio, a constraint condition of a contour aspect ratio, and a constraint condition of conforming to a convex polygon.
  • all closed inner contours may be searched in the slice image by means of extracting the contour tree.
  • the contour geometry constraint condition includes, but is not limited to, a center set, a hole contour area, an ellipse area ratio, a contour aspect ratio, and conforming to a convex polygon.
  • all hole contours are filtered from the plurality of closed contours. Details are shown in Fig. 8 , dotted portions are the assembly hole obtained through identification.
  • the constraint condition for the center set means that whether central points of the plurality of overlapped (not in the same slice image) closed contours in an Z-axis direction (which specifically may be a direction perpendicular to a slice layer) are all in the same closed contour, where C1 represents a first layer, C2 represents a second layer, C3 represents a third layer, C4 represents a fourth layer, and OA represents the central point of an ellipse of each layer.
  • the constraint condition for the hole contour area means that there is a certain range of the size of a hole, and limitation is performed according to upper and lower area limits corresponding to the range.
  • the constraint condition for the ellipse area ratio means that a contour line is fitted into an ellipse, and an internal area of the contour line is calculated at the same time; whether the constraint condition for the ellipse area ratio is met is determined according to the ratio of the internal area to an ellipse area, and if the ratio is less than a first preset value, it is considered that the constraint condition for the ellipse area ratio is met.
  • the constraint condition for the contour aspect ratio means that there is a certain range for the aspect ratio of the hole; and when the aspect ratio exceeds the certain range, it is considered that the constraint condition for the contour aspect ratio is not met.
  • the constraint condition of conforming to a convex polygon means that one of hole features is an essentially approximate irregular ellipse.
  • a size grade is determined according to the size, and the corresponding size adjustment value is determined according to the size grade.
  • the step of determining the size grade according to the size, and determining the corresponding size adjustment value according to the size grade includes: determining the size grade according to the size of the inner contour, and determining the size adjustment value corresponding to the inner contour according to the size grade of the inner contour, or determining the size grade according to the size of the outer contour, and determining the size adjustment value corresponding to the outer contour according to the size grade of the outer contour.
  • the corresponding size adjustment value is matched, and grayscale processing is performed on the assembly hole contour according to the size adjustment method described above.
  • the step of determining the size grade according to the size, and determining the corresponding size adjustment value according to the size grade includes the following steps.
  • the size grade is determined according to the size and a preset size grading condition.
  • the size is adjusted according to the size grade and a preset size grade adjustment plan, so as to determine the corresponding size adjustment value, wherein the size grade adjustment plan includes reducing a size, keeping the size unchanged, and increasing the size.
  • the size of the assembly hole contour is specifically an average ellipse diameter of the assembly hole contour.
  • the corresponding grayscale compensation parameter is matched for the assembly hole contour within a preset size range, so as to match a corresponding grayscale compensation operation.
  • the average ellipse diameter of the contour is less than a, assembly is too tight, the size of the contour is decreased, and grayscales need to be reduced; when the average ellipse diameter of the contour is in a range [a, b], the assembly is appropriate, the size of the contour is unchanged, and the grayscales do not need to be adjusted; and when the average ellipse diameter of the contour is greater than b, the assembly is too loose, the size of the contour is increased, and the grayscales needs to be increased.
  • a thickness range involved in grayscale processing is a pixel on the edge of the assembly hole contour; and a mask image is generated according to the corresponding grayscale compensation parameter, so as to perform grayscale superposition on edge pixels of the assembly hole contour.
  • the method for processing the slice image for 3D printing further includes the following steps.
  • the assembly hole contour or the assembly rod contour is dilated, so as to obtain a closed image block corresponding to the assembly hole contour or a closed image block corresponding to the assembly rod contour.
  • an assembly hole contour of a slice image adjacent to the slice image is identified according to the closed image block corresponding to the assembly hole contour, or, an assembly rod contour of the slice image adjacent to the slice image is identified according to the closed image block corresponding to the assembly rod contour.
  • all assembly hole contours of the slice image are dilated, so as to obtain the closed image blocks corresponding to the positions of all the assembly holes of the slice image shown in Fig. 11 .
  • closed image blocks By using these closed image blocks, rapid positioning and rapid identification of the assembly hole contours are performed on other slice images that are arranged above or under the current slice image.
  • the assembly rod contour and the assembly hole contour have a different identification mode. Since the bottom of an assembly rod may be added support structures, so as to be hung, the outer contour of the assembly rod does not appear at a first layer, such that contour identification needs to be performed on images at each layer, after the contour is identified, dilation processing is performed, and other layers are identified; and the assembly hole contour may be found at the first layer, after the contour is identified, dilation processing is performed, and other layers are identified.
  • an assembly hole in a three-dimensional solid has a certain depth.
  • the contour shapes of the assembly holes in the plurality of slice images are similar (for example, an overlapping effect or a covering effect is shown in a top view) and contour positions are similar. Therefore, using the closed image blocks as a constraint condition of identifying the assembly hole contour of the adjacent slice image is rational and convenient.
  • a grayscale compensation parameter is determined according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • a first grayscale compensation parameter of the size adjustment value may be correspondingly determined according to the relationship curve of the size adjustment value and the grayscale compensation parameter.
  • the size adjustment value may be determined, and the grayscale compensation parameter is determined accordingly, so as to be used as a grayscale compensation parameter of all edge pixels of the contours in the slice image.
  • the step of determining the grayscale compensation parameter according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value includes: determining at least one grayscale compensation parameter according to the at least one size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • one size adjustment value may be determined according to each contour in the slice image, and the grayscale compensation parameter is determined for each size adjustment value, so as to obtain at least one grayscale compensation parameter.
  • grayscale processing is respectively performed on edge pixels of a contour in the slice image according to the grayscale compensation parameter, and the processed slice image is used for 3D printing.
  • the edge pixels refer to pixels in the contour region in the slice image.
  • 3D printing is performed on the slice image after grayscale processing, such that the print size of the slice image can better meet an actual application requirement. Further, 3D printing may also be performed on the processed slice image.
  • grayscale processing is performed on all the edge pixels of the contours in the slice image by means of the grayscale compensation parameter, so as to improve processing efficiency.
  • the step of respectively performing grayscale processing on the edge pixels of the contours in the slice image according to the grayscale compensation parameter includes: respectively performing grayscale processing on the edge pixels of the corresponding contours in the slice image according to the at least one grayscale compensation parameter, where the processed slice image is used for 3D printing.
  • one size adjustment value may be determined according to each contour in the slice image, and the grayscale compensation parameter is determined for each size adjustment value, so as to obtain at least one grayscale compensation parameter; and grayscale processing is performed on the edge pixels of the corresponding contour by using each grayscale compensation parameter, so as to improve processing accuracy.
  • the embodiments of the disclosure include the following beneficial effects.
  • the size adjustment value is first determined according to the slice image, and the grayscale compensation parameter is then determined according to the size adjustment value and the determined relationship between the grayscale compensation parameter and the size adjustment value; and then grayscale processing and 3D printing are performed on the edge pixels of the contour in the slice image according to the grayscale compensation parameter. That is to say, an accurate size adjustment requirement is met by compensating the edge pixels of the slice image.
  • the above size adjustment mode is only on the basis of the modification of front-end data, and does not take into account the influence of a back-end printing device, and the pixel accuracy and printing format of different printing devices may be different, resulting in a certain influence on size adjustment.
  • the method for processing the slice image for 3D printing further includes the following step.
  • the corresponding size adjustment value is determined according to one or more of a shape parameter, a region parameter, a material parameter, a temperature parameter, or an application type of the each slice shape.
  • the slice shape includes an outer contour and a plurality of inner contours, but partial small inner contours of the outer contour are in the non-functional region, and grayscale compensation does not need to be performed, such that there is no further follow-up operations such as size grading.
  • different material have different curing characteristics, and the degree of curing contraction of the material is also different, such that the grayscale adjustment parameter and the size adjustment value are also different.
  • the application type is an application scenario of the printout. The application scenario may correspond to the material parameter. Some material are developed for a specific application scenario.
  • a zoom factor in an XY direction is added to slice data for size compensation at a previous processing step.
  • Different material correspond to different zoom factors.
  • 0.003 size contraction exists in the XY direction of a certain material, and the zoom factor in the XY direction is adjusted to 1.003 correspondingly at the previous processing step, so as to compensate size contraction.
  • the factor adjustment is effective to the entire model, which is to zoom in and out of the entire slice image, primarily to compensate for the overall contraction of the material.
  • the adjustment of the size of the printout is more convenient.
  • the method for processing the slice image for 3D printing further includes the following step.
  • the offset of a projection point is converted into the offset of a pixel point, and reverse distortion processing is performed according to the offset of the pixel point and the slice image.
  • an actual projection image corresponding to the slice image is deformed, such that a light projecting device for projection needs to be calibrated.
  • the offset of each pixel point is converted by means of the offset of the projection point, and specific steps are as follows.
  • the light projecting device projects an initial projection drawing corresponding to the slice image to a projection platform, a calibration board is placed on the projection platform, and the projection platform is photographed.
  • the shape of the projection drawing is the same as the shape on the calibration board; the shape is a dot matrix; and points may be rectangular or circular.
  • step two calibration point coordinates and actual projection point coordinates are identified according to a photographed image, so as to obtain a calibration point matrix and an actual projection point matrix.
  • a rotation translation operation is performed on the calibration point matrix and/or the actual projection point matrix, a calibration point and an actual projection point are converted into the same image coordinate system, and then a spacing value T0 of the calibration point and the actual projection point in the image coordinate system is calculated.
  • the same image coordinate system may be a coordinate system where the calibration point coordinates are located, or may be a coordinate system where the actual projection point coordinates are located, or may be an image coordinate system other than the coordinate system where the calibration point coordinates are located and the coordinate system where the actual projection point coordinates are located.
  • the T 0 in the image coordinate system is converted into an offset C 1 in a pixel coordinate system, and reverse distortion processing is performed on the initial projection drawing according to the offset C 1 , where both the T 0 and the C 1 are matrices formed by vectors.
  • the C 1 is first acquired by means of the calibration method; and reverse distortion processing is then performed on the projection drawing according to the C 1 . That is, the slice image is calibrated to avoid the influence on the size of the printout due to the device installation error or the lens optical distortion, such that the adjustment of the size of the printout is more accurate.
  • the method for processing the slice image for 3D printing further includes the following steps.
  • a light projector is controlled to project light on a format, and measure format light intensities of several different regions on the format; and a division region is shown in Fig. 12 , and the format may be divided into several regions with an equal area.
  • the minimum format light intensity in the several different regions is used as a reference, and a second grayscale compensation coefficient corresponding to other regions of the format is calculated according to the reference, so as to generate a digital mask.
  • mask compensation is performed, by using the digital mask, on a projection drawing that is projected by the light projector.
  • the projection energy of the light projector there may be deviations in the projection energy of the light projector to various regions of the format, which has an impact on printing accuracy, and has further impact on the accurate adjustment of the print size, such that uniformity calibration needs to be performed on the energy of the format.
  • light intensities which may be detected by using a photometer
  • the minimum light intensity value is then selected from the plurality of regions as the reference, and the second grayscale compensation coefficient corresponding to other regions is calculated according to the reference light intensity value.
  • the product of the second grayscale compensation coefficient and a grayscale value of the projection image may be equivalent to a grayscale value of the projection image under the reference light intensity.
  • the digital mask is generated according to the second grayscale compensation coefficient and position information corresponding to the second grayscale compensation coefficient.
  • Mask compensation is performed, by using the digital mask, on the projection image that is projected by the light projector, so as to obtain a printed image of which exposure surface has uniform light intensity.
  • the method for processing the slice image for 3D printing further includes the following steps.
  • a current-optical power curve is determined according to the format light intensities corresponding to different currents of the light projector.
  • the format light intensity is adjusted according to the current-optical power curve.
  • light intensity calibration is used to calibrate format energy and the corresponding current.
  • the light intensity of the projection format may be detected by inputting different current to the light projector.
  • the ratio of optical power to area is the light intensity, such that the current-optical power curve is obtained as a debugging reference of the optical power. Therefore, when the format light intensity is adjusted, a specific current input value corresponding to the light intensity may be clearly known, such that the control of the format light intensity is more accurate by inputting the current input value to the light projector.
  • the format light intensity refers to the light intensity on the projection format.
  • the optical power of the projection format may also be acquired by inputting different currents to the light projector, so as to obtain the current-optical power curve as the debugging reference of the optical power.
  • the specific current input value corresponding to the light intensity may be clearly known according to the current-optical power curve.
  • the method for processing the slice image for 3D printing further includes the following step.
  • each slice image is separated to obtain a contour region, and a filling region that is defined in the contour region, and the filling region is segmented into several sub-regions, where there is a gap between the adjacent sub-regions in the same slice image, and the adjacent sub-regions of the adjacent slice images are partially overlapped in a perpendicular direction.
  • the method for processing the slice image for 3D printing further includes: slicing the three-dimensional model to generate a series of slice images; and selecting at least two consecutive slice images from the series of slice images.
  • the step of separating the slice images to obtain the contour region, and the filling region that is defined in the contour region, and segmenting the filling region into the several sub-regions includes the following operation.
  • Each of the selected slice images is separated to obtain the contour region, and the filling region that is defined in the contour region, and the filling region is segmented into the several sub-regions.
  • the initial series of slice images are expressed as the first step slice images
  • the segmented slice images are expressed as the second step slice images.
  • the contour region and either of the sub-regions and the gaps are used as exposure regions for exposing and curing in 3D printing.
  • the processed series of slice images includes the slice images that are subjected to contour region and filling region segmentation, and the slice image that are not subjected to contour region and filling region segmentation.
  • an exposure image may be formed by the slice images corresponding to the plurality of printouts. That is, the exposure image is formed by combining a plurality of contour regions and filling regions.
  • the slice images differ from each other. Since the shape of the printout may be irregular, the numbers of light spots between slice layers that are not adjacent to each other may be different. In other words, between the slice layers that are not adjacent to each other, the numbers of combinations of the contour region and the filling region may be different. However, it would have been readily understood by a person skilled in the art that, this does not affect an implementation effect of the solution in this case.
  • the number of the contour regions may be different from the number of the filling regions, because the printout may have an outer contour and an inner contour.
  • a three-dimensional data model of a printout to be printed and molded needs to be acquired first.
  • the step may be acquired by means of scanning or modeling, and is not described herein again.
  • the three-dimensional data model is sliced to obtain a plurality of first slice images for exposure molding.
  • the solution provides a method for pre-processing the slice images, such that when the processed slice images are used for exposure molding, the technical problems can be improved or solved to a certain extent.
  • a contour portion of the slice image is separated, an exposure region of the contour becomes thinner and finer and contracts towards a nearby and dense region, and the contraction is reduced.
  • a high-accuracy region finally required by a photocuring 3D printing model is the contour portion; and the value of the filling region is to increase a connection area between layers, so as to improve the firmness of a model structure. There is no hard requirement for accuracy and shapes.
  • the filling region is divided into several sub-regions, and there is a gap between the adjacent sub-regions.
  • one of the sub-regions and the gaps is exposed, and the other is not exposed, so as to form a non-exposure region.
  • the present of the non-exposure region promotes resin flow of photosensitive resin during a layer-by-layer curing process, facilitating spreading of heat generated by the resin in all directions.
  • the exposure region is separated into several small-area sub-regions, such that a large-area exposure curing region is prevented from continuously releasing heat to cause local overheating of the resin while the contraction is reduced, thereby improving the problem of printing residues.
  • the sub-regions of different second step slice images in a perpendicular direction are partially overlapped in space, and partial overlapping is configured to keep the structural strength.
  • the two-dimensional first slice image may be segmented into the contour region and the filling region.
  • the thickness and size of the contour may be freely controlled according to software algorithm parameters.
  • the embodiments of the disclosure include the following beneficial effects.
  • at least two consecutive slice images are separated to obtain the contour region, and the filling region that is defined in the contour region, and the filling region is segmented into several sub-regions, and there is a gap between the adjacent sub-regions in the same slice image, such that the problem of material contraction and printing residues of photocuring 3D printing is solved. Since the adjacent sub-regions of the adjacent slice images are partially overlapped in the perpendicular direction, the firmness of the model structure is improved.
  • D1 is the contour region
  • D2-1 is the sub-region
  • D2-2 is the gap
  • the sub-region D2-1 and the gap D2-2 jointly form the filling region
  • the sub-region D2-1 and the contour region D1 are used as the exposure regions
  • the gap D2-2 is used as the non-exposure region.
  • D1 is the contour region
  • D2-1 is the sub-region
  • D2-2 is the gap
  • the sub-region D2-1 and the gap D2-2 jointly form the filling region
  • the gap D2-2 and the contour region D1 are used as the exposure regions
  • the sub-region D2-1 is used as the non-exposure region.
  • the gap D2-2 may be a gap of a net structure, when the gap D2-2 is exposed, interlaced lines that form a net may be exposed.
  • the step of segmenting the filling region into the plurality of sub-regions includes: segmenting the filling region into several sub-regions that are in closed shapes.
  • the step of segmenting the filling region into the plurality of sub-regions includes: segmenting the filling region into the several sub-regions that have an equal area and are in closed shapes.
  • the closed shape includes a rectangular shape, a square shape, a triangular shape, or a circular shape.
  • the square shape is selected.
  • the square sub-regions are distributed in the filling region in the form of matrix arrangement.
  • the sub-regions are not connected to each other, and there may be a gap even between the sub-region and the contour region.
  • the filling region is defined in the contour region, such that the filling region is bounded, and the shape of the sub-region close to a boundary may be in an incomplete square shape.
  • the closed shapes of the sub-regions are the square shapes
  • the sub-regions include complete square sub-regions that are densely distributed in the filling region and incomplete square sub-regions that are distributed close to the boundary of the filling region.
  • the adjacent sub-regions of the adjacent slice images are partially overlapped in the perpendicular direction by means of the following step.
  • the sub-regions of the adjacent slice images at the same position in the perpendicular direction are offset by a preset distance along a preset direction.
  • Fig. 15a is a top view of an ith layer slice image on an x-y plane, where i is an integer; and Fig. 15b is a top view of an (i+1)th layer slice image on the x-y plane.
  • the positions of square sub-regions in the (i+1)th layer slice image "offset".
  • the contour region is the boundary of the sub-regions (filling region), and does not offset with the sub-regions.
  • a mesh array (that is, the square sub-regions in matrix arrangement) in the contour region shows an offset effect.
  • Fig. 15c is a top view of ith and (i+1)th layer slice images overlapping on the x-y plane; and Fig. 15d is a cross-sectional view of the ith and (i+1)th layer slice images on the x-y plane.
  • the adjacent square sub-regions in the perpendicular direction are overlapped with each other.
  • the sub-regions of the ith layer is overlapped with the sub-regions of the (i+1)th layer adjacent to the ith layer in the perpendicular direction. It may be seen from Fig. 15 that, dislocation overlapping across layers occurs among the squares, and the square of the next layer covers the gap of the square of the previous layer.
  • a position offset may be set to a cyclic mode. For example, after a four-layer cyclic offset, the square returns to its original position.
  • the position offset may be realized by means of various forms of offset cyclic lists, and the present application is not specifically limited thereto. In one of the embodiments, as a print layer thickness increases, the number of times of a cycle required for the square to return to its original position is decreased.
  • the method for processing the slice image for 3D printing further includes the following operation.
  • Model outer surface identification is performed on a series of two-dimensional second step slice images.
  • the exposed filling region is determined as a model outer surface region, and sub-region segmentation is not performed on the model outer surface region.
  • algorithm verification is performed on each two-dimensional exposure full image; a model outer surface is indirectly identified; if the current slice image has an excess portion compared to the first m slice images or the last m slice images, the excess portion is not subjected to an operation of "segmenting the filling region into several sub-regions". In this way, meshes may be prevented from appearing on a model surface to affect a surface printing effect.
  • nth slice exposure full image By using the nth slice exposure full image as an example, a comparison operation is performed on the first m and the last m exposure full images, so as to find an excess exposure portion of the nth image compared to the first and last m images; and when mesh processing is performed on a filling portion of the nth exposure image, the excess exposure portion is ignored, so as to ensure that the exposure portion is not subjected to mesh division processing when being used as an outer surface, thereby indirectly achieving an outer surface identification result.
  • an F1 layer of the nth layer has an exposed region E1 compared to the first 3 layers, and the exposed region E1 is not subjected to the operation of "segmenting the filling region into several sub-regions".
  • an F2 layer of the n'th layer has an exposed region E2 compared to the last 3 layers, and the exposed region E2 is not subjected to the operation of "segmenting the filling region into several sub-regions”.
  • the method for processing the slice image for 3D printing further includes the following operation.
  • a curing depth of the contour region is set to be greater than or equal to a curing depth of the filling region.
  • increasing the curing depth of the contour region may improve the mechanical properties of parts to a certain extent.
  • the contour region and the filling region may be separately cured, but the exposure energy of the contour region may be different from that of the filling region, which may be realized by differentiating the grayscale, exposure intensity, or exposure duration of the contour region and the filling region; and on the other hand, the contour region and the filling region may be cured at the same time, but the exposure intensity and/or exposure time of the contour region may be greater than that of the filling region.
  • the speed of laser scanning or spot sizes may be controlled.
  • the contour region and the filling region may be cured by using different light sources; the type of the light sources may be the same or different; and when the light sources are different, the contour region may correspond to a point light source-laser light source, and the filling region may correspond to a face light source.
  • the described face light source includes, but is not limited to, a Digital Light Processing (DLP) light source, a Liquid Cristal Display (LCD) light source, or a Liquid Crystal on Silicon (LCOS) light source, and the like.
  • DLP Digital Light Processing
  • LCD Liquid Cristal Display
  • LCOS Liquid Crystal on Silicon
  • an embodiment of the disclosure provides a system for processing a slice image for 3D printing.
  • the system includes an acquisition module, a first calculation module, a second calculation module, and a printing module.
  • the acquisition module is configured to acquire a slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value.
  • the first calculation module is configured to determine a size adjustment value according to the slice image.
  • the second calculation module is configured to determine a grayscale compensation parameter according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • the printing module is configured to respectively perform grayscale processing on edge pixels of a contour in the slice image according to the grayscale compensation parameter, where the processed slice image is used for 3D printing.
  • the content in the above method embodiments is applicable to the present system embodiments.
  • the functions specifically realized by the present system embodiments are the same as those of the above method embodiments.
  • the beneficial effects achieved are the same as the beneficial effects achieved by the above method embodiments.
  • An embodiment of the disclosure provides a 3D printing method.
  • the method includes the method for processing the slice image for 3D printing in any one of the above embodiments.
  • the method further includes: performing 3D printing on a processed slice image.
  • an embodiment of the disclosure provides a method for processing a slice image for 3D printing.
  • the method includes the following steps, which are shown as follows.
  • each slice image is separated to obtain a contour region, and a filling region that is defined in the contour region, and the filling region is segmented into several sub-regions, where there is a gap between the adjacent sub-regions in the same slice image, and the adjacent sub-regions of the adjacent slice images are partially overlapped in a perpendicular direction.
  • the method for processing the slice image for 3D printing further includes: slicing the three-dimensional model to generate a series of slice images; and selecting at least two consecutive slice images from the series of slice images.
  • the step of separating the slice images to obtain the contour region, and the filling region that is defined in the contour region, and segmenting the filling region into the several sub-regions includes the following operation.
  • Each of the selected slice images is separated to obtain the contour region, and the filling region that is defined in the contour region, and the filling region is segmented into the several sub-regions.
  • the initial series of slice images is expressed as the first step slice images
  • the segmented slice images are expressed as the second step slice images.
  • the contour region and either of the sub-regions and the gaps are used as exposure regions for exposing and curing in 3D printing.
  • the processed series of slice images includes the slice images that are subjected to contour region and filling region segmentation, and the slice image that are not subjected to contour region and filling region segmentation.
  • the method for processing the slice image for 3D printing further includes: slicing the three-dimensional model to generate a series of slice images; and selecting at least two consecutive slice images from the series of slice images.
  • the step of separating the slice images to obtain the contour region, and the filling region that is defined in the contour region, and segmenting the filling region into the several sub-regions includes the following operation.
  • Each of the selected slice images is separated to obtain the contour region, and the filling region that is defined in the contour region, and the filling region is segmented into the several sub-regions.
  • the step of segmenting the filling region into the plurality of sub-regions includes: segmenting the filling region into several sub-regions that are in closed shapes.
  • the step of segmenting the filling region into the plurality of sub-regions includes: segmenting the filling region into the several sub-regions that have an equal area and are in closed shapes.
  • the adjacent sub-regions of the adjacent slice images are partially overlapped in the perpendicular direction by means of the following step.
  • the sub-regions of the adjacent slice images at the same position in the perpendicular direction are offset by a preset distance along a preset direction.
  • the method for processing the slice image for 3D printing further includes the following operation.
  • the exposed filling region is determined as a model outer surface region, and sub-region segmentation is not performed on the model outer surface region.
  • the method for processing the slice image for 3D printing further includes the following operation.
  • a curing depth of the contour region is set to be greater than or equal to a curing depth of the filling region.
  • an embodiment of the disclosure provides another system for processing a slice image for 3D printing.
  • the system includes a separation module and a curing module.
  • the separation module is configured to separate each slice image to obtain a contour region, and a filling region that is defined in the contour region, and segment the filling region into several sub-regions, where there is a gap between the adjacent sub-regions in the same slice image, and the adjacent sub-regions of the adjacent slice images are partially overlapped in a perpendicular direction.
  • the curing module is configured to use the contour region and either of the sub-regions and the gaps as exposure regions for exposing and curing in 3D printing.
  • an embodiment of the disclosure provides an apparatus for processing a slice image for 3D printing.
  • the apparatus includes at least one processor and at least one memory.
  • the at least one memory is configured to store at least one program.
  • the at least one processor When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method for processing the slice image for 3D printing.
  • the content in the above method embodiments is applicable to the present apparatus embodiments.
  • the functions specifically realized by the present apparatus embodiments are the same as those of the above method embodiments.
  • the beneficial effects achieved are the same as the beneficial effects achieved by the above method embodiments.
  • an embodiment of the present application further discloses a computer program product or a computer program.
  • the computer program product or the computer program is stored in a computer-readable storage medium.
  • the processor of a computer device may read the computer program from the computer-readable storage medium.
  • the processor executes the computer program, such that the computer device is enabled to execute the above 3D printing method.
  • the content in the above method embodiments is applicable to the present storage medium embodiments.
  • the functions specifically realized by the present storage medium embodiments are the same as those of the above method embodiments.
  • the beneficial effects achieved are the same as the beneficial effects achieved by the above method embodiments.
  • an embodiment of the disclosure provides a system for processing a slice image for 3D printing.
  • the system includes a printing unit and a computer device connected to the printing unit.
  • the printing unit is configured to print a three-dimensional model according to an instruction.
  • the computer device includes at least one processor and at least one memory.
  • the at least one memory is configured to store at least one program.
  • the at least one processor When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method for processing the slice image for 3D printing.
  • the computer device may be electronic devices of different types, and includes, but is not limited to, terminals such as a desktop computer and a laptop computer. It may be seen that, the content in the above method embodiments are applicable to the present system embodiments. The functions specifically realized by the present system embodiments are the same as those of the above method embodiments. The beneficial effects achieved are the same as the beneficial effects achieved by the above method embodiments.
  • the solutions provided in the embodiments of the disclosure may be applied to the technical field of 3D printing.
  • the slice image of the three-dimensional model, and the relationship between the grayscale compensation parameter and the size adjustment value are acquired; the size adjustment value is determined according to the slice image; the grayscale compensation parameter is determined according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value; and grayscale processing is respectively performed on edge pixels of contours in the slice image according to the grayscale compensation parameter, and the processed slice image is used for 3D printing.
  • an accurate size adjustment requirement may be met by compensating the edge pixels of the slice image, such that the disclosure may be widely applied to the technical field of 3D printing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Materials Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Optics & Photonics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Automation & Control Theory (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)

Abstract

Disclosed in the disclosure are a method, system and apparatus for processing slice image for 3D printing, and a storage medium. The method includes: acquiring a slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value; determining at least one size adjustment value according to the slice image; determining at least one grayscale compensation parameter according to the at least one size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value; and respectively performing grayscale processing on edge pixels of corresponding contours in the slice image according to the plurality of grayscale compensation parameters, where the processed slice image is used for 3D printing.

Description

    Cross-Reference to Related Application
  • The disclosure claims priority to Chinese Patent Application No. 202110720685.7 filed to the China National Intellectual Property Administration on June 28, 2021 and entitled "Curing Processing Method, System and Apparatus for 3D Printing, and Storage Medium", and claims priority to Chinese Patent Application No. 202111002866.2 filed to the China National Intellectual Property Administration on August 30, 2021 and entitled "3D Printing Method, System and Apparatus for 3D Printing, and Storage Medium", the disclosure of which are hereby incorporated by reference in their entirety.
  • Technical Field
  • The disclosure relates to the technical field of 3D printing, and in particular, to a method, system and apparatus for processing a slice image for 3D printing, and a storage medium.
  • Background
  • Photocuring 3D printing is the earliest 3D printing and molding technology. Face exposure type photocuring 3D printing is one of the branches of photocuring 3D printing. The technology uses the principle of curing a liquid photosensitive resin after irradiating the liquid photosensitive resin with a light projector. Software is used to slice a three-dimensional digital model of a printout, so as to obtain several slice images. Then the several slice images are successively projected by means of the light projector with a certain wavelength, so as to cause the photosensitive resin to be cured into cured sheets corresponding to the slice images, and the cured sheets are stacked layer by layer, so as to form a three-dimensional object.
  • In an actual operation, a user needs to trim the size of the printout due to various reasons (for example, to compensate for curing contraction of the photosensitive resin). Specifically, size adjustment is performed on the three-dimensional digital model of the printout or the slice images, and an adjustment mode may be to inward or outward offset an image contour of the model. However, such size adjustment mode can only meet the adjustment of a large size; and if a size adjustment parameter is less than a pixel size, an accurate size adjustment requirement cannot be met. In addition, size contraction occurs when a photosensitive resin material is cured. Generally, if the size of an exposure surface is larger, the contraction of the material is larger. In addition, problems such as printing residues may be caused by continuous exposure of a large-area solid exposure surface, thereby affecting printing accuracy and a printing effect.
  • Summary
  • In view of this, the embodiments of the disclosure are intended to provide a method, system and apparatus for processing a slice image for 3D printing, and a storage medium, which can meet an accurate size adjustment requirement by compensating on edge pixels of the slice image.
  • According to a first aspect, an embodiment of the disclosure provides a method for processing a slice image for 3D printing. The method includes the following operations.
  • A slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value are acquired; and a size adjustment value is determined according to the slice image.
  • A grayscale compensation parameter is determined according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • Grayscale processing is respectively performed on edge pixels of a contour in the slice image according to the grayscale compensation parameter, and the processed slice image is used for 3D printing.
  • According to a second aspect, an embodiment of the disclosure provides a system for processing a slice image for 3D printing. The system includes an acquisition module, a first calculation module, a second calculation module, and a printing module.
  • The acquisition module is configured to acquire a slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value.
  • The first calculation module is configured to determine a size adjustment value according to the slice image.
  • The second calculation module is configured to determine a grayscale compensation parameter according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • The printing module is configured to respectively perform grayscale processing on edge pixels of a contour in the slice image according to the grayscale compensation parameter, wherein the processed slice image is used for 3D printing.
  • According to a third aspect, an embodiment of the disclosure provides a 3D printing method. The method includes the method for processing the slice image for 3D printing.
  • The method further includes the following operation.
  • 3D printing is performed on the processed slice image.
  • According to a fourth aspect, an embodiment of the disclosure provides an apparatus for processing a slice image for 3D printing. The apparatus for processing the slice image for 3D printing includes at least one processor and at least one memory.
  • The at least one memory is configured to store at least one program.
  • When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method for processing the slice image for 3D printing.
  • According to a fifth aspect, an embodiment of the disclosure provides a storage medium. The storage medium stores a program that is executable by a processor. When being executed by the processor, the program executable by the processor is configured to execute the method for processing the slice image for 3D printing.
  • According to a sixth aspect, an embodiment of the disclosure provides a system for processing a slice image for 3D printing. The system includes a printing unit and a computer device connected to the printing unit.
  • The printing unit is configured to print a three-dimensional model according to an instruction.
  • The computer device includes at least one processor and at least one memory.
  • The at least one memory is configured to store at least one program.
  • When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method for processing the slice image for 3D printing.
  • The embodiments of the disclosure include the following beneficial effects. According to the embodiments of the disclosure, the size adjustment value is first determined according to the slice image of the three-dimensional model, and the grayscale compensation parameter is then determined according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value; and then grayscale processing are respectively performed on the edge pixels of the contour in the slice image according to the grayscale compensation parameter, and 3D printing is performed. That is to say, an accurate size adjustment requirement is met by compensating the edge pixels of the slice image.
  • Brief Description of the Drawings
    • Fig. 1 is a schematic structural diagram of a system for processing a slice image for 3D printing according to an embodiment.
    • Fig. 2 is a slicing flowchart of a three-dimensional model according to an embodiment.
    • Fig. 3 is a schematic diagram of a step process of a method for processing a slice image for 3D printing according to an embodiment.
    • Fig. 4 is a curve of the relationship between a grayscale compensation parameter and a print size deviation value according to an embodiment.
    • Fig. 5 is a schematic structural diagram of a slice image according to an embodiment of the disclosure.
    • Fig. 6 is a schematic diagram of a contraction direction of an inner contour and an outer contour according to an embodiment.
    • Fig. 7 is a diagram of a deviation trend of a design size and an actual size according to an embodiment.
    • Fig. 8 is a schematic structural diagram of a die hole contour filtered from a closed contour according to an embodiment.
    • Fig. 9 is a schematic structural diagram of a closed contour that is identified according to a constraint condition of a center set according to an embodiment.
    • Fig. 10 is a schematic diagram of a result of identifying the diameter of an assembly hole contour according to an embodiment.
    • Fig. 11 is a schematic diagram of a result of identifying a closed image block corresponding to the position of an assembly hole contour according to an embodiment.
    • Fig. 12 is a distribution diagram of format regions according to an embodiment.
    • Fig. 13 is a schematic structural diagram of a contour region and a filling region according to an embodiment.
    • Fig. 14 is a schematic structural diagram of a contour region and a filling region according to another embodiment.
    • Fig. 15 is a schematic structural diagram of adjacent sub-regions of adjacent second step slice images according to an embodiment.
    • Fig. 16 is a schematic diagram of a cross-sectional structure of a three-dimensional model having an exposed region according to an embodiment.
    • Fig. 17 is a structural block diagram of a system for processing a slice image for 3D printing according to an embodiment.
    • Fig. 18 is a schematic diagram of a step process of a method for processing a slice image for 3D printing according to another embodiment.
    • Fig. 19 is a structural block diagram of a system for processing a slice image for 3D printing according to another embodiment.
    • Fig. 20 is a structural block diagram of an apparatus for processing a slice image for 3D printing according to an embodiment.
    • Fig. 21 is another structural block diagram of a system for processing a slice image for 3D printing according to an embodiment.
    Detailed Description of the Embodiments
  • The disclosure is further described in detail below with reference to the accompanying drawings and specific embodiments. The numbering of steps in the following embodiments are only for the convenience of exposition and description, there is no limitation on the sequence among the steps, and an execution sequence of the steps in the embodiments may be adaptively adjusted according to the understanding of the person skilled in the art.
  • It should be understood that the use of the terms "a plurality of" and "several" are to be interpreted as meaning that there is at least one item, that is, there is one or more items.
  • As shown in Fig. 1, a photocuring 3D printing system includes a light projector A1 and a 3D printer. The 3D printer includes a material tray A2, a photosensitive resin material A3, a molding platform A4, and an elevating mechanism A5. A supporting structure at the bottom of the material tray A2 is a transparent structure. A three-dimensional digital model to be printed is sliced to obtain several slice images; the light projector A1 successively projects the slice images, such that the photosensitive resin material A3 in the material tray A2 are successively cured, on the molding platform A4, into cured sheets corresponding to the slice images, and the cured sheets are stacked layer by layer, so as to form a three-dimensional digital model solid; and when the cured sheets are formed each time, the elevating mechanism correspondingly elevates a certain height.
  • As shown in Fig. 2, B1 is a top view of a three-dimensional digital model to be printed. The three-dimensional digital model is sliced to obtain a plurality of slice images B2; and the slice image of one of the plurality of slice images B2 is B3.
  • It is to be noted that, the method for processing the slice image for 3D printing of the embodiments of the disclosure may be applied to photocuring three-dimensional printing. The photocuring three-dimensional printing includes Stereo Lithography Appearance (SLA), Digital Light Processing (DLP), Liquid Crystal on Silicon (LCOS), and Liquid Crystal Display (LCD) photocuring printing, and may also be face exposure type photocuring printing, such as DLP, LCOS, and LCD.
  • As shown in Fig. 3, an embodiment of the disclosure provides a method for processing a slice image for 3D printing. The method includes the following steps.
  • At S100, a slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value are acquired.
  • For example, the three-dimensional model is a three-dimensional digital model of a printout. A plurality of slice images may be obtained by slicing the three-dimensional digital model. The slice images are successively projected by means of a light source with a certain wavelength, so as to cause photosensitive resin to be cured into cured sheets corresponding to the slice images, and the cured sheets are stacked layer by layer, so as to form a three-dimensional solid which is the printout.
  • Due to various reasons (for example, curing contraction of the photosensitive resin) during printing, there is a size deviation between the size of the printout and the slice images of the three-dimensional model, such that the size of the printout needs to be trimmed. For example, the slice images of the three-dimensional model are processed, so as to compensate the size deviation between the printout and the slice images.
  • It is to be noted that, through extensive experiments, it has been proven that, after grayscale adjustment is performed on a model contour edge of a single slice image, a contour size of the model in the cured sheet is changed, and there is a positive correlation between a grayscale adjustment parameter and the size adjustment value. As shown in Fig. 4, a solid line in the figure represents a relationship curve of an actual measured grayscale value and a mean value of a difference of the size deviation, and a dotted line is a positive correlation curve of a fitted grayscale value and the size deviation. After corresponding grayscale processing is performed on an outermost pixel of the model contour edge, the contour size of the model (that is, a solid three-dimensional model) in the cured sheet may be adjusted. The accuracy of size adjustment may be controlled within a non-integer multiple pixel size range, for example, the size may be adjusted to a corresponding size such as 0.1 pixels, 1.2 pixels, and 10.8 pixels. The adjustment of a non-integer multiple pixel size is to perform different grayscale superposition (for example, when a grayscale in the single pixel is 0-225) in pixels after the edge of a contour map is identified, so as to achieve the adjustment of the non-integer multiple pixel size. In an example with 1.6 pixels needing to be dilated, a 100% (255) grayscale is superposed to a first pixel on an outer edge on the basis of the contour map, and a 60% (153) grayscale value is superposed to a second pixel. In another example with 1.6 pixels needing to be dilated, and a 100% (255) grayscale is superposed to the first pixel on the outer edge on the basis of the contour map, a 40% (102) grayscale value is superposed to the second pixel, and a 20% (51) grayscale value is superposed to a third pixel. It is to be noted that, in this embodiment, the number of pixels when grayscale superposition is performed in pixels is not limited, and the grayscale values of pixel superposition from outside to inside are decreased progressively on the basis of the contour map.
  • For example, the relationship between the grayscale compensation parameter and the size adjustment value may be obtained from a relationship curve of the grayscale compensation parameter and the size adjustment value; and the relationship between the grayscale compensation parameter and the size adjustment value may also be a discrete point diagram correspondence relationship. For example, corresponding grayscale adjustment parameters are detected according to the several size adjustment values, such that the relationship between the grayscale compensation parameter and the size adjustment value are obtained.
  • It is to be noted that, the size adjustment value includes, but is not limited to, a specific numerical value of size enlargement or reduction, and a ratio of size enlargement or reduction. When the size adjustment value is the specific numerical value of size enlargement or reduction, the relationship between the grayscale compensation parameter and the size adjustment value may be a curve graph shown in Fig. 4; and when the size adjustment value is the ratio of size enlargement or reduction, the relationship between the grayscale compensation parameter and the size adjustment value may be a mapping table of the grayscale compensation parameter and the ratio of size enlargement or reduction, and may also be a curve graph. That is to say, in this embodiment, the form of the relationship between the grayscale compensation parameter and the size adjustment value is not limited.
  • It is understandable by a person skilled in the art that, the relationship curves corresponding to different pixel accuracies are slightly different. However, through a plurality of experiments, it has been proven that, the relationship curves corresponding to different pixel accuracies all represent a positive correlation. Acquiring the relationship curve of the grayscale compensation parameter and the size adjustment value is specifically acquiring a relationship curve corresponding to a pixel accuracy of the light projector.
  • At S200, a size adjustment value is determined according to the slice image.
  • After the relationship between the grayscale compensation parameter and the size adjustment value is obtained, the size adjustment value needs to be further determined, and the grayscale compensation parameters are further confirmed in sequence. In some embodiments of the present application, the size adjustment value may be acquired by means of self-inputting by a user, and is set according to an actual requirement of the user. For example, in this embodiment, the size adjustment value may be determined by identifying the slice image.
  • In an embodiment, the step of determining the size adjustment value according to the slice image includes: determining at least one size adjustment value according to the slice image.
  • It is to be noted that, one slice image may include a plurality of slice shapes. For example, one slice image involves a plurality of three-dimensional models; and one slice shape may include a plurality of contours, for example, an outer contour and a plurality of inner contours. Each contour may correspond to different grayscale compensation parameters. Referring to Fig. 5, P000 represents one slice image; P010 represents the slice shape A; P020 represents the slice shape B; P030 represents the slice shape C; P040 represents the slice shape D; P050 represents the slice shape E; P011 represents the contour 1 in the slice shape A; P012 represents the contour 2 in the slice shape A; and P013 represents the contour 3 in the slice shape A. It may be learned from Fig. 5 that, the slice image includes 5 slice shapes, and the slice shape A includes 3 contours.
  • In an embodiment, the step of determining at least one size adjustment value according to the slice image includes the following steps.
  • At S201, at least one slice shape in the slice image is identified.
  • At S202, contour identification is respectively performed on each slice shape, and the corresponding size adjustment value is determined according to an identified contour.
  • For example, referring to Fig. 5, first, when the slice shapes in the slice image are identified, the each slice shape is enveloped by a corresponding rectangular frame in a plurality of rectangular frames, a plurality of image blocks are segmented on the slice shapes according to the rectangular frames, and each image block corresponds to one slice shape; and then contour identification is performed on the each slice shape, and the corresponding size adjustment value is determined according to the identified contour.
  • Due to curing contraction of photosensitive resin, as shown in Fig. 6, there may be a deviation between a printed part size and a design size, and the arrow represents a contraction direction. As shown in Fig. 7, since the Z-axis cross-sectional width and aperture of a part are different, a final contraction size is also different. In a dental application case, the aperture of a printed segmented die (abutment tooth model) does not match the design size. When the design aperture of the part is small, an actual print aperture is too small, resulting in too tight fitting; and when the design aperture of the part is large, the actual print aperture is too large, resulting in too loose fitting and insufficient accuracy. The arrow represents a deviation direction. Therefore, appropriate trimming needs to be performed on the inner contour or the outer contour of the model, so as to compensate a size deviation during actual molding. For example, for an assembly hole, an assembly rod, an assembly column, an assembly pile, matching holes and columns, or irregular shapes may be adjusted for size deviation by means of grayscale compensation and grayscale bias. Grayscale bias processing is to increase or reduce the grayscale of the edge contour.
  • Using the relationship between the grayscale adjustment parameter and the size adjustment value to solve the problem of size deviation caused by curing contraction of material has outstanding beneficial effect. The size adjustment value may be determined according to the slice image. A specific determination mode is determined according to an actual application. This embodiment is not specifically limited thereto.
  • In an embodiment, the step of respectively performing contour identification on the each slice shape, and determining the corresponding size adjustment value according to the identified contour includes the following step.
  • At S210, the contour of the each slice shape is identified, and the size of the contour is calculated.
  • For example, the contour of the slice shape includes an inner contour or an outer contour. For example, the contour of the assembly hole is an inner contour, the contour of the assembly rod is an outer contour, the contour of the assembly column is an outer contour, and the contour of the assembly pile is an outer contour.
  • In an embodiment, the contour includes an inner contour and an outer contour. The step of identifying the contour of the each slice shape, and calculating the size of the contour includes: identifying the inner contour or the outer contour of the each slice shape, and calculating the size of the inner contour or the size of the outer contour.
  • As at least one alternative embodiment, in 3D printing, a solid image is an image that is configured to directly mold a printing product required by a user. For a non-solid image, according to an application scenario of the three-dimensional model, the non-solid image may be an image that is configured to mold an auxiliary structure instead of an image that is directly configured to mold the printing product. The non-solid image may include a supporting structure image and a base plate structure image.
  • In an embodiment, the step of identifying the inner contour or the outer contour of the each slice shape includes the following steps.
  • At S211, a solid image in the each slice shape is identified according to a position attribute of the each slice shape.
  • At S212, an inner contour or an outer contour in the solid image is extracted.
  • In an embodiment, the step of filtering the assembly hole contour from the closed inner contour or filtering the assembly rod contour from the closed outer contour according to a contour geometry constraint condition includes the following step.
  • At S2121, the assembly hole contour is filtered from the closed inner contour or the assembly rod contour is filtered from the closed outer contour according to a constraint condition, wherein the constraint condition includes at least one of the following conditions: a constraint condition of a center set, a constraint condition of a contour area, a constraint condition of an ellipse area ratio, a constraint condition of a contour aspect ratio, and a constraint condition of conforming to a convex polygon.
  • As at least one alternative embodiment, all closed inner contours may be searched in the slice image by means of extracting the contour tree. The contour geometry constraint condition includes, but is not limited to, a center set, a hole contour area, an ellipse area ratio, a contour aspect ratio, and conforming to a convex polygon. By means of the contour geometry constraint condition, all hole contours are filtered from the plurality of closed contours. Details are shown in Fig. 8, dotted portions are the assembly hole obtained through identification.
  • It is to be noted that, as shown in Fig. 9, the constraint condition for the center set means that whether central points of the plurality of overlapped (not in the same slice image) closed contours in an Z-axis direction (which specifically may be a direction perpendicular to a slice layer) are all in the same closed contour, where C1 represents a first layer, C2 represents a second layer, C3 represents a third layer, C4 represents a fourth layer, and OA represents the central point of an ellipse of each layer. The constraint condition for the hole contour area means that there is a certain range of the size of a hole, and limitation is performed according to upper and lower area limits corresponding to the range. The constraint condition for the ellipse area ratio means that a contour line is fitted into an ellipse, and an internal area of the contour line is calculated at the same time; whether the constraint condition for the ellipse area ratio is met is determined according to the ratio of the internal area to an ellipse area, and if the ratio is less than a first preset value, it is considered that the constraint condition for the ellipse area ratio is met. The constraint condition for the contour aspect ratio means that there is a certain range for the aspect ratio of the hole; and when the aspect ratio exceeds the certain range, it is considered that the constraint condition for the contour aspect ratio is not met. The constraint condition of conforming to a convex polygon means that one of hole features is an essentially approximate irregular ellipse.
  • At S220, a size grade is determined according to the size, and the corresponding size adjustment value is determined according to the size grade.
  • In an embodiment, the step of determining the size grade according to the size, and determining the corresponding size adjustment value according to the size grade includes: determining the size grade according to the size of the inner contour, and determining the size adjustment value corresponding to the inner contour according to the size grade of the inner contour, or determining the size grade according to the size of the outer contour, and determining the size adjustment value corresponding to the outer contour according to the size grade of the outer contour.
  • As at least one alternative embodiment, on the basis of the size grade of the outer contour or the inner contour, the corresponding size adjustment value is matched, and grayscale processing is performed on the assembly hole contour according to the size adjustment method described above.
  • In an embodiment, the step of determining the size grade according to the size, and determining the corresponding size adjustment value according to the size grade includes the following steps.
  • At S221, the size grade is determined according to the size and a preset size grading condition.
  • At S222, the size is adjusted according to the size grade and a preset size grade adjustment plan, so as to determine the corresponding size adjustment value, wherein the size grade adjustment plan includes reducing a size, keeping the size unchanged, and increasing the size.
  • Referring to Fig. 10, the size of the assembly hole contour is specifically an average ellipse diameter of the assembly hole contour. According to a preset size grading condition, the corresponding grayscale compensation parameter is matched for the assembly hole contour within a preset size range, so as to match a corresponding grayscale compensation operation.
  • For example, when the average ellipse diameter of the contour is less than a, assembly is too tight, the size of the contour is decreased, and grayscales need to be reduced; when the average ellipse diameter of the contour is in a range [a, b], the assembly is appropriate, the size of the contour is unchanged, and the grayscales do not need to be adjusted; and when the average ellipse diameter of the contour is greater than b, the assembly is too loose, the size of the contour is increased, and the grayscales needs to be increased.
  • During grayscale processing, a thickness range involved in grayscale processing is a pixel on the edge of the assembly hole contour; and a mask image is generated according to the corresponding grayscale compensation parameter, so as to perform grayscale superposition on edge pixels of the assembly hole contour.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following steps.
  • At S213, after an assembly hole contour or an assembly rod contour of one slice image is identified, the assembly hole contour or the assembly rod contour is dilated, so as to obtain a closed image block corresponding to the assembly hole contour or a closed image block corresponding to the assembly rod contour.
  • At S214, an assembly hole contour of a slice image adjacent to the slice image is identified according to the closed image block corresponding to the assembly hole contour, or, an assembly rod contour of the slice image adjacent to the slice image is identified according to the closed image block corresponding to the assembly rod contour.
  • After the assembly hole of the slice image is identified, all assembly hole contours of the slice image are dilated, so as to obtain the closed image blocks corresponding to the positions of all the assembly holes of the slice image shown in Fig. 11. By using these closed image blocks, rapid positioning and rapid identification of the assembly hole contours are performed on other slice images that are arranged above or under the current slice image.
  • As at least one alternative embodiment, the assembly rod contour and the assembly hole contour have a different identification mode. Since the bottom of an assembly rod may be added support structures, so as to be hung, the outer contour of the assembly rod does not appear at a first layer, such that contour identification needs to be performed on images at each layer, after the contour is identified, dilation processing is performed, and other layers are identified; and the assembly hole contour may be found at the first layer, after the contour is identified, dilation processing is performed, and other layers are identified.
  • It is understandable by a person skilled in the art that, an assembly hole in a three-dimensional solid has a certain depth. After the three-dimensional model is sliced, the contour shapes of the assembly holes in the plurality of slice images are similar (for example, an overlapping effect or a covering effect is shown in a top view) and contour positions are similar. Therefore, using the closed image blocks as a constraint condition of identifying the assembly hole contour of the adjacent slice image is rational and convenient.
  • At S300, a grayscale compensation parameter is determined according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • As at least one alternative embodiment, after the size adjustment value is determined, a first grayscale compensation parameter of the size adjustment value may be correspondingly determined according to the relationship curve of the size adjustment value and the grayscale compensation parameter.
  • It is to be noted that, the size adjustment value may be determined, and the grayscale compensation parameter is determined accordingly, so as to be used as a grayscale compensation parameter of all edge pixels of the contours in the slice image.
  • In an embodiment, the step of determining the grayscale compensation parameter according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value includes: determining at least one grayscale compensation parameter according to the at least one size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • As at least one alternative embodiment, one size adjustment value may be determined according to each contour in the slice image, and the grayscale compensation parameter is determined for each size adjustment value, so as to obtain at least one grayscale compensation parameter.
  • At S400, grayscale processing is respectively performed on edge pixels of a contour in the slice image according to the grayscale compensation parameter, and the processed slice image is used for 3D printing.
  • The edge pixels refer to pixels in the contour region in the slice image.
  • As at least one alternative embodiment, after grayscale processing is performed on the edge pixels of the slice image according to the determined first grayscale compensation parameter, 3D printing is performed on the slice image after grayscale processing, such that the print size of the slice image can better meet an actual application requirement. Further, 3D printing may also be performed on the processed slice image.
  • As at least one alternative embodiment, when the size adjustment value is determined, and one grayscale compensation parameter is determined accordingly, grayscale processing is performed on all the edge pixels of the contours in the slice image by means of the grayscale compensation parameter, so as to improve processing efficiency.
  • In an embodiment, the step of respectively performing grayscale processing on the edge pixels of the contours in the slice image according to the grayscale compensation parameter includes: respectively performing grayscale processing on the edge pixels of the corresponding contours in the slice image according to the at least one grayscale compensation parameter, where the processed slice image is used for 3D printing.
  • As at least one alternative embodiment, one size adjustment value may be determined according to each contour in the slice image, and the grayscale compensation parameter is determined for each size adjustment value, so as to obtain at least one grayscale compensation parameter; and grayscale processing is performed on the edge pixels of the corresponding contour by using each grayscale compensation parameter, so as to improve processing accuracy.
  • The embodiments of the disclosure include the following beneficial effects. According to the embodiments of the disclosure, the size adjustment value is first determined according to the slice image, and the grayscale compensation parameter is then determined according to the size adjustment value and the determined relationship between the grayscale compensation parameter and the size adjustment value; and then grayscale processing and 3D printing are performed on the edge pixels of the contour in the slice image according to the grayscale compensation parameter. That is to say, an accurate size adjustment requirement is met by compensating the edge pixels of the slice image.
  • The above size adjustment mode is only on the basis of the modification of front-end data, and does not take into account the influence of a back-end printing device, and the pixel accuracy and printing format of different printing devices may be different, resulting in a certain influence on size adjustment.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following step.
  • At S001, the corresponding size adjustment value is determined according to one or more of a shape parameter, a region parameter, a material parameter, a temperature parameter, or an application type of the each slice shape.
  • It is to be noted that, depending on the shape parameter is to realize the purpose of adaptively matching size adjustment parameters according to the complexity of the contour shape. Depending on the region parameter is because there may be at least one functional region and/or a non-functional region on a printout, and some functional regions does not need to store size compensation. For example, the slice shape includes an outer contour and a plurality of inner contours, but partial small inner contours of the outer contour are in the non-functional region, and grayscale compensation does not need to be performed, such that there is no further follow-up operations such as size grading. For the material parameter, different material have different curing characteristics, and the degree of curing contraction of the material is also different, such that the grayscale adjustment parameter and the size adjustment value are also different. The application type is an application scenario of the printout. The application scenario may correspond to the material parameter. Some material are developed for a specific application scenario.
  • As at least one alternative embodiment, during photocuring printing, there is a problem of overall size contraction of a material during conversion from a liquid state to a solid state. A zoom factor in an XY direction is added to slice data for size compensation at a previous processing step. Different material correspond to different zoom factors. For example, 0.003 size contraction exists in the XY direction of a certain material, and the zoom factor in the XY direction is adjusted to 1.003 correspondingly at the previous processing step, so as to compensate size contraction. The factor adjustment is effective to the entire model, which is to zoom in and out of the entire slice image, primarily to compensate for the overall contraction of the material. In combination with the accurate adjustment effect generated by the first grayscale compensation parameter on an image size, the adjustment of the size of the printout is more convenient.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following step.
  • At S002, the offset of a projection point is converted into the offset of a pixel point, and reverse distortion processing is performed according to the offset of the pixel point and the slice image.
  • As at least one alternative embodiment, due to a device installation error or the influence of lens optical distortion, an actual projection image corresponding to the slice image is deformed, such that a light projecting device for projection needs to be calibrated. The offset of each pixel point is converted by means of the offset of the projection point, and specific steps are as follows.
  • At step one, the light projecting device projects an initial projection drawing corresponding to the slice image to a projection platform, a calibration board is placed on the projection platform, and the projection platform is photographed. The shape of the projection drawing is the same as the shape on the calibration board; the shape is a dot matrix; and points may be rectangular or circular.
  • At step two, calibration point coordinates and actual projection point coordinates are identified according to a photographed image, so as to obtain a calibration point matrix and an actual projection point matrix.
  • At step three, a rotation translation operation is performed on the calibration point matrix and/or the actual projection point matrix, a calibration point and an actual projection point are converted into the same image coordinate system, and then a spacing value T0 of the calibration point and the actual projection point in the image coordinate system is calculated.
  • As at least one alternative embodiment, the same image coordinate system may be a coordinate system where the calibration point coordinates are located, or may be a coordinate system where the actual projection point coordinates are located, or may be an image coordinate system other than the coordinate system where the calibration point coordinates are located and the coordinate system where the actual projection point coordinates are located.
  • At step four, the T0 in the image coordinate system is converted into an offset C1 in a pixel coordinate system, and reverse distortion processing is performed on the initial projection drawing according to the offset C1, where both the T0 and the C1 are matrices formed by vectors.
  • Before the slice image is projected (that is, 3D printing being performed on the slice image), the C1 is first acquired by means of the calibration method; and reverse distortion processing is then performed on the projection drawing according to the C1. That is, the slice image is calibrated to avoid the influence on the size of the printout due to the device installation error or the lens optical distortion, such that the adjustment of the size of the printout is more accurate.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following steps.
  • At S0031, a light projector is controlled to project light on a format, and measure format light intensities of several different regions on the format; and a division region is shown in Fig. 12, and the format may be divided into several regions with an equal area.
  • At S0032, the minimum format light intensity in the several different regions is used as a reference, and a second grayscale compensation coefficient corresponding to other regions of the format is calculated according to the reference, so as to generate a digital mask.
  • At S0033, mask compensation is performed, by using the digital mask, on a projection drawing that is projected by the light projector.
  • As at least one alternative embodiment, in the same format, there may be deviations in the projection energy of the light projector to various regions of the format, which has an impact on printing accuracy, and has further impact on the accurate adjustment of the print size, such that uniformity calibration needs to be performed on the energy of the format. By projecting light on the format, light intensities (which may be detected by using a photometer) of a plurality of different regions on the format is measured; and the minimum light intensity value is then selected from the plurality of regions as the reference, and the second grayscale compensation coefficient corresponding to other regions is calculated according to the reference light intensity value. The product of the second grayscale compensation coefficient and a grayscale value of the projection image may be equivalent to a grayscale value of the projection image under the reference light intensity. The digital mask is generated according to the second grayscale compensation coefficient and position information corresponding to the second grayscale compensation coefficient. Mask compensation is performed, by using the digital mask, on the projection image that is projected by the light projector, so as to obtain a printed image of which exposure surface has uniform light intensity.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following steps.
  • At S0041, a current-optical power curve is determined according to the format light intensities corresponding to different currents of the light projector.
  • At S0042, the format light intensity is adjusted according to the current-optical power curve.
  • As at least one alternative embodiment, on the basis of optical uniformity calibration, light intensity calibration is used to calibrate format energy and the corresponding current. The light intensity of the projection format may be detected by inputting different current to the light projector. The ratio of optical power to area is the light intensity, such that the current-optical power curve is obtained as a debugging reference of the optical power. Therefore, when the format light intensity is adjusted, a specific current input value corresponding to the light intensity may be clearly known, such that the control of the format light intensity is more accurate by inputting the current input value to the light projector. The format light intensity refers to the light intensity on the projection format. It is to be noted that, in the method the optical power of the projection format may also be acquired by inputting different currents to the light projector, so as to obtain the current-optical power curve as the debugging reference of the optical power. When the format light intensity is adjusted, the specific current input value corresponding to the light intensity may be clearly known according to the current-optical power curve.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following step.
  • At S004, each slice image is separated to obtain a contour region, and a filling region that is defined in the contour region, and the filling region is segmented into several sub-regions, where there is a gap between the adjacent sub-regions in the same slice image, and the adjacent sub-regions of the adjacent slice images are partially overlapped in a perpendicular direction.
  • In an embodiment, before the each slice image is separated to obtain the contour region, and the filling region that is defined in the contour region, the method for processing the slice image for 3D printing further includes: slicing the three-dimensional model to generate a series of slice images; and selecting at least two consecutive slice images from the series of slice images.
  • In an embodiment, the step of separating the slice images to obtain the contour region, and the filling region that is defined in the contour region, and segmenting the filling region into the several sub-regions includes the following operation.
  • Each of the selected slice images is separated to obtain the contour region, and the filling region that is defined in the contour region, and the filling region is segmented into the several sub-regions.
  • For ease of expression, in the following, the initial series of slice images are expressed as the first step slice images, and the segmented slice images are expressed as the second step slice images.
  • At S005, the contour region and either of the sub-regions and the gaps are used as exposure regions for exposing and curing in 3D printing. It is to be noted that, the processed series of slice images includes the slice images that are subjected to contour region and filling region segmentation, and the slice image that are not subjected to contour region and filling region segmentation.
  • It is to be noted that, for a molding platform of a printer, since there may be a plurality of printouts on the molding platform, when a light source is exposed each time, an exposure image may be formed by the slice images corresponding to the plurality of printouts. That is, the exposure image is formed by combining a plurality of contour regions and filling regions. Although the solution is described with respect to a single printout, it does not prevent the solution from being used in situations where the plurality of printouts are printed on the same version.
  • It is understandable by a person skilled in the art that, either the sub-regions or the gaps is used as the exposure region.
  • In addition, even for a single printout, the slice images differ from each other. Since the shape of the printout may be irregular, the numbers of light spots between slice layers that are not adjacent to each other may be different. In other words, between the slice layers that are not adjacent to each other, the numbers of combinations of the contour region and the filling region may be different. However, it would have been readily understood by a person skilled in the art that, this does not affect an implementation effect of the solution in this case.
  • Finally, it would have been readily understood by a person skilled in the art that, for a single combination of the contour region and the filling region, although there is a correspondence relationship between the contour region and the filling region, the number of the contour regions may be different from the number of the filling regions, because the printout may have an outer contour and an inner contour.
  • As at least one alternative embodiment, before photocuring 3D printing is performed, a three-dimensional data model of a printout to be printed and molded needs to be acquired first. The step may be acquired by means of scanning or modeling, and is not described herein again. Then, the three-dimensional data model is sliced to obtain a plurality of first slice images for exposure molding. However, if the first slice images are directly used, large material contraction and printing residues occur. Therefore, the solution provides a method for pre-processing the slice images, such that when the processed slice images are used for exposure molding, the technical problems can be improved or solved to a certain extent.
  • Due to the curing characteristic of a photosensitive resin material, if a curing size is larger, contraction is larger. A contour portion of the slice image is separated, an exposure region of the contour becomes thinner and finer and contracts towards a nearby and dense region, and the contraction is reduced. A high-accuracy region finally required by a photocuring 3D printing model is the contour portion; and the value of the filling region is to increase a connection area between layers, so as to improve the firmness of a model structure. There is no hard requirement for accuracy and shapes.
  • The filling region is divided into several sub-regions, and there is a gap between the adjacent sub-regions. During exposing and curing, one of the sub-regions and the gaps is exposed, and the other is not exposed, so as to form a non-exposure region. The present of the non-exposure region promotes resin flow of photosensitive resin during a layer-by-layer curing process, facilitating spreading of heat generated by the resin in all directions. In addition, the exposure region is separated into several small-area sub-regions, such that a large-area exposure curing region is prevented from continuously releasing heat to cause local overheating of the resin while the contraction is reduced, thereby improving the problem of printing residues.
  • Meanwhile, the sub-regions of different second step slice images in a perpendicular direction are partially overlapped in space, and partial overlapping is configured to keep the structural strength.
  • As at least one alternative embodiment, by means of a software algorithm such as an erosion algorithm, the two-dimensional first slice image may be segmented into the contour region and the filling region. The thickness and size of the contour may be freely controlled according to software algorithm parameters.
  • The embodiments of the disclosure include the following beneficial effects. According to the embodiments of the disclosure, at least two consecutive slice images are separated to obtain the contour region, and the filling region that is defined in the contour region, and the filling region is segmented into several sub-regions, and there is a gap between the adjacent sub-regions in the same slice image, such that the problem of material contraction and printing residues of photocuring 3D printing is solved. Since the adjacent sub-regions of the adjacent slice images are partially overlapped in the perpendicular direction, the firmness of the model structure is improved.
  • In a specific embodiment, as shown in Fig. 13, D1 is the contour region, D2-1 is the sub-region, and D2-2 is the gap; the sub-region D2-1 and the gap D2-2 jointly form the filling region; the sub-region D2-1 and the contour region D1 are used as the exposure regions; and the gap D2-2 is used as the non-exposure region.
  • As at least one alternative embodiment, as shown in Fig. 14, D1 is the contour region, D2-1 is the sub-region, and D2-2 is the gap; the sub-region D2-1 and the gap D2-2 jointly form the filling region; the gap D2-2 and the contour region D1 are used as the exposure regions; and the sub-region D2-1 is used as the non-exposure region. In a specific example, the gap D2-2 may be a gap of a net structure, when the gap D2-2 is exposed, interlaced lines that form a net may be exposed.
  • In an embodiment, the step of segmenting the filling region into the plurality of sub-regions includes: segmenting the filling region into several sub-regions that are in closed shapes.
  • In an embodiment, the step of segmenting the filling region into the plurality of sub-regions includes: segmenting the filling region into the several sub-regions that have an equal area and are in closed shapes.
  • As at least one alternative embodiment, the closed shape includes a rectangular shape, a square shape, a triangular shape, or a circular shape. In this embodiment of the present application, the square shape is selected. As shown in Fig. 13, the square sub-regions are distributed in the filling region in the form of matrix arrangement.
  • It is to be noted that, due to the presence of the gaps, the sub-regions are not connected to each other, and there may be a gap even between the sub-region and the contour region. In addition, it is understandable that, the filling region is defined in the contour region, such that the filling region is bounded, and the shape of the sub-region close to a boundary may be in an incomplete square shape. In other words, for example, the closed shapes of the sub-regions are the square shapes, the sub-regions include complete square sub-regions that are densely distributed in the filling region and incomplete square sub-regions that are distributed close to the boundary of the filling region.
  • In an embodiment, the adjacent sub-regions of the adjacent slice images are partially overlapped in the perpendicular direction by means of the following step.
  • The sub-regions of the adjacent slice images at the same position in the perpendicular direction are offset by a preset distance along a preset direction.
  • As at least one alternative embodiment, as shown in Fig. 15, Fig. 15a is a top view of an ith layer slice image on an x-y plane, where i is an integer; and Fig. 15b is a top view of an (i+1)th layer slice image on the x-y plane. Compared with the positions of square sub-regions in the ith layer slice image, the positions of square sub-regions in the (i+1)th layer slice image "offset". It is to be noted that, the contour region is the boundary of the sub-regions (filling region), and does not offset with the sub-regions. As at least one alternative embodiment, for the slice images of two layers, a mesh array (that is, the square sub-regions in matrix arrangement) in the contour region shows an offset effect. As at least one alternative embodiment, referring to Fig. 15c and Fig. 15d, Fig. 15c is a top view of ith and (i+1)th layer slice images overlapping on the x-y plane; and Fig. 15d is a cross-sectional view of the ith and (i+1)th layer slice images on the x-y plane. In the adjacent two-layer slice images, the adjacent square sub-regions in the perpendicular direction are overlapped with each other. That is, the sub-regions of the ith layer is overlapped with the sub-regions of the (i+1)th layer adjacent to the ith layer in the perpendicular direction. It may be seen from Fig. 15 that, dislocation overlapping across layers occurs among the squares, and the square of the next layer covers the gap of the square of the previous layer.
  • In an optional embodiment, a position offset may be set to a cyclic mode. For example, after a four-layer cyclic offset, the square returns to its original position. The position offset may be realized by means of various forms of offset cyclic lists, and the present application is not specifically limited thereto. In one of the embodiments, as a print layer thickness increases, the number of times of a cycle required for the square to return to its original position is decreased.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following operation.
  • Model outer surface identification is performed on a series of two-dimensional second step slice images.
  • That is to say, if the current second step slice image has an exposed filling region compared to the first several or last several slice images of the current second step slice image, the exposed filling region is determined as a model outer surface region, and sub-region segmentation is not performed on the model outer surface region.
  • As at least one alternative embodiment, algorithm verification is performed on each two-dimensional exposure full image; a model outer surface is indirectly identified; if the current slice image has an excess portion compared to the first m slice images or the last m slice images, the excess portion is not subjected to an operation of "segmenting the filling region into several sub-regions". In this way, meshes may be prevented from appearing on a model surface to affect a surface printing effect.
  • By using the nth slice exposure full image as an example, a comparison operation is performed on the first m and the last m exposure full images, so as to find an excess exposure portion of the nth image compared to the first and last m images; and when mesh processing is performed on a filling portion of the nth exposure image, the excess exposure portion is ignored, so as to ensure that the exposure portion is not subjected to mesh division processing when being used as an outer surface, thereby indirectly achieving an outer surface identification result.
  • As at least one alternative embodiment, as shown in Fig. 16, an F1 layer of the nth layer has an exposed region E1 compared to the first 3 layers, and the exposed region E1 is not subjected to the operation of "segmenting the filling region into several sub-regions". Likewise, an F2 layer of the n'th layer has an exposed region E2 compared to the last 3 layers, and the exposed region E2 is not subjected to the operation of "segmenting the filling region into several sub-regions".
  • It is to be noted that, when the sub-regions and the gaps are divided sufficiently small, even if outer surface identification is not performed, surface meshes of a printed model may be invisible.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following operation.
  • A curing depth of the contour region is set to be greater than or equal to a curing depth of the filling region.
  • In this implementation, increasing the curing depth of the contour region may improve the mechanical properties of parts to a certain extent.
  • As at least one alternative embodiment, for a photocuring printing method of face exposure, on the one hand, the contour region and the filling region may be separately cured, but the exposure energy of the contour region may be different from that of the filling region, which may be realized by differentiating the grayscale, exposure intensity, or exposure duration of the contour region and the filling region; and on the other hand, the contour region and the filling region may be cured at the same time, but the exposure intensity and/or exposure time of the contour region may be greater than that of the filling region.
  • For a point light source type photocuring used in the method for processing the slice image for 3D printing, for example, Stereo lithography Apparatus (SLA) photocuring printing, the speed of laser scanning or spot sizes may be controlled.
  • Alternatively, the contour region and the filling region may be cured by using different light sources; the type of the light sources may be the same or different; and when the light sources are different, the contour region may correspond to a point light source-laser light source, and the filling region may correspond to a face light source. In this embodiment of the disclosure, the described face light source includes, but is not limited to, a Digital Light Processing (DLP) light source, a Liquid Cristal Display (LCD) light source, or a Liquid Crystal on Silicon (LCOS) light source, and the like. As shown in Fig. 17, an embodiment of the disclosure provides a system for processing a slice image for 3D printing. The system includes an acquisition module, a first calculation module, a second calculation module, and a printing module.
  • The acquisition module is configured to acquire a slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value.
  • The first calculation module is configured to determine a size adjustment value according to the slice image.
  • The second calculation module is configured to determine a grayscale compensation parameter according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value.
  • The printing module is configured to respectively perform grayscale processing on edge pixels of a contour in the slice image according to the grayscale compensation parameter, where the processed slice image is used for 3D printing.
  • It may be seen that, the content in the above method embodiments is applicable to the present system embodiments. The functions specifically realized by the present system embodiments are the same as those of the above method embodiments. The beneficial effects achieved are the same as the beneficial effects achieved by the above method embodiments.
  • An embodiment of the disclosure provides a 3D printing method.
  • The method includes the method for processing the slice image for 3D printing in any one of the above embodiments.
  • The method further includes: performing 3D printing on a processed slice image.
  • As shown in Fig. 18, an embodiment of the disclosure provides a method for processing a slice image for 3D printing. The method includes the following steps, which are shown as follows.
  • At S500, each slice image is separated to obtain a contour region, and a filling region that is defined in the contour region, and the filling region is segmented into several sub-regions, where there is a gap between the adjacent sub-regions in the same slice image, and the adjacent sub-regions of the adjacent slice images are partially overlapped in a perpendicular direction.
  • In an optional embodiment, before the each slice image is separated to obtain the contour region, and the filling region that is defined in the contour region, the method for processing the slice image for 3D printing further includes: slicing the three-dimensional model to generate a series of slice images; and selecting at least two consecutive slice images from the series of slice images.
  • In an optional embodiment, the step of separating the slice images to obtain the contour region, and the filling region that is defined in the contour region, and segmenting the filling region into the several sub-regions includes the following operation.
  • Each of the selected slice images is separated to obtain the contour region, and the filling region that is defined in the contour region, and the filling region is segmented into the several sub-regions.
  • For ease of expression, in the following, the initial series of slice images is expressed as the first step slice images, and the segmented slice images are expressed as the second step slice images.
  • At S600, the contour region and either of the sub-regions and the gaps are used as exposure regions for exposing and curing in 3D printing. It is to be noted that, the processed series of slice images includes the slice images that are subjected to contour region and filling region segmentation, and the slice image that are not subjected to contour region and filling region segmentation.
  • In an embodiment, before the each slice image is separated to obtain the contour region, and the filling region that is defined in the contour region, the method for processing the slice image for 3D printing further includes: slicing the three-dimensional model to generate a series of slice images; and selecting at least two consecutive slice images from the series of slice images.
  • In an embodiment, the step of separating the slice images to obtain the contour region, and the filling region that is defined in the contour region, and segmenting the filling region into the several sub-regions includes the following operation.
  • Each of the selected slice images is separated to obtain the contour region, and the filling region that is defined in the contour region, and the filling region is segmented into the several sub-regions.
  • In an embodiment, the step of segmenting the filling region into the plurality of sub-regions includes: segmenting the filling region into several sub-regions that are in closed shapes.
  • In an embodiment, the step of segmenting the filling region into the plurality of sub-regions includes: segmenting the filling region into the several sub-regions that have an equal area and are in closed shapes.
  • In an embodiment, the adjacent sub-regions of the adjacent slice images are partially overlapped in the perpendicular direction by means of the following step.
  • The sub-regions of the adjacent slice images at the same position in the perpendicular direction are offset by a preset distance along a preset direction.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following operation.
  • If the current slice image has an exposed filling region compared to the first several or last several slice images of the current slice image, the exposed filling region is determined as a model outer surface region, and sub-region segmentation is not performed on the model outer surface region.
  • In an embodiment, the method for processing the slice image for 3D printing further includes the following operation.
  • A curing depth of the contour region is set to be greater than or equal to a curing depth of the filling region.
  • As shown in Fig. 19, an embodiment of the disclosure provides another system for processing a slice image for 3D printing. The system includes a separation module and a curing module.
  • The separation module is configured to separate each slice image to obtain a contour region, and a filling region that is defined in the contour region, and segment the filling region into several sub-regions, where there is a gap between the adjacent sub-regions in the same slice image, and the adjacent sub-regions of the adjacent slice images are partially overlapped in a perpendicular direction.
  • The curing module is configured to use the contour region and either of the sub-regions and the gaps as exposure regions for exposing and curing in 3D printing.
  • As shown in Fig. 20, an embodiment of the disclosure provides an apparatus for processing a slice image for 3D printing. The apparatus includes at least one processor and at least one memory.
  • The at least one memory is configured to store at least one program.
  • When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method for processing the slice image for 3D printing.
  • It may be seen that, the content in the above method embodiments is applicable to the present apparatus embodiments. The functions specifically realized by the present apparatus embodiments are the same as those of the above method embodiments. The beneficial effects achieved are the same as the beneficial effects achieved by the above method embodiments.
  • In addition, an embodiment of the present application further discloses a computer program product or a computer program. The computer program product or the computer program is stored in a computer-readable storage medium. The processor of a computer device may read the computer program from the computer-readable storage medium. The processor executes the computer program, such that the computer device is enabled to execute the above 3D printing method. Similarly, the content in the above method embodiments is applicable to the present storage medium embodiments. The functions specifically realized by the present storage medium embodiments are the same as those of the above method embodiments. The beneficial effects achieved are the same as the beneficial effects achieved by the above method embodiments.
  • As shown in Fig. 21, an embodiment of the disclosure provides a system for processing a slice image for 3D printing. The system includes a printing unit and a computer device connected to the printing unit.
  • The printing unit is configured to print a three-dimensional model according to an instruction.
  • The computer device includes at least one processor and at least one memory.
  • The at least one memory is configured to store at least one program.
  • When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method for processing the slice image for 3D printing.
  • As at least one alternative embodiment, the computer device may be electronic devices of different types, and includes, but is not limited to, terminals such as a desktop computer and a laptop computer. It may be seen that, the content in the above method embodiments are applicable to the present system embodiments. The functions specifically realized by the present system embodiments are the same as those of the above method embodiments. The beneficial effects achieved are the same as the beneficial effects achieved by the above method embodiments.
  • The preferred embodiments of the disclosure are described in detail above, but the disclosure is not limited to the described embodiments. Those skilled in the art can make various equivalent modifications or replacements without departing from the spirit of the disclosure. These equivalent modifications or replacements all fall in the scope defined by the claims of this application.
  • Industrial Applicability
  • The solutions provided in the embodiments of the disclosure may be applied to the technical field of 3D printing. In the embodiments of the disclosure, the slice image of the three-dimensional model, and the relationship between the grayscale compensation parameter and the size adjustment value are acquired; the size adjustment value is determined according to the slice image; the grayscale compensation parameter is determined according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value; and grayscale processing is respectively performed on edge pixels of contours in the slice image according to the grayscale compensation parameter, and the processed slice image is used for 3D printing. By means of the embodiments of the disclosure, an accurate size adjustment requirement may be met by compensating the edge pixels of the slice image, such that the disclosure may be widely applied to the technical field of 3D printing.

Claims (15)

  1. A method for processing a slice image for 3D printingcomprising:
    separating each slice image to obtain a contour region, and a filling region that is defined in the contour region, and segmenting the filling region into several sub-regions, wherein there is a gap between adjacent sub-regions in the same slice image, and the adjacent sub-regions of adjacent slice images are partially overlapped in a perpendicular direction; and
    using the contour region and either of the sub-regions and the gaps as exposure regions for exposing and curing in 3D printing.
  2. The method for processing the slice image for 3D printing as claimed in claim 1, wherein before the slice images are separated to obtain the contour region, and the filling region that is defined in the contour region, the method for processing the slice image for 3D printing further comprises:
    slicing a three-dimensional model to generate a series of slice images; and
    selecting at least two consecutive slice images from the series of slice images; and
    separating the slice images to obtain the contour region, and the filling region that is defined in the contour region, and segmenting the filling region into the several sub-regions comprises:
    separating the selected slice images to obtain contour regions, and filling regions that are defined in the contour regions, and segmenting the filling regions into the several sub-regions.
  3. The method for processing the slice image for 3D printing as claimed in claim 1, wherein segmenting the filling regions into the several sub-regions comprises: segmenting the filling regions into the several sub-regions that are in closed shapes.
  4. The method for processing the slice image for 3D printing as claimed in claim 3, wherein the several sub-regions obtained by segmenting the filling regions comprise: complete square sub-regions that are distributed in the filling regions and incomplete square sub-regions that are distributed close to a boundary of the filling regions.
  5. The method for processing the slice image for 3D printing as claimed in claim 3, wherein the contour region is a boundary of the sub-regions, and is free from an offset along with the sub-regions.
  6. The method for processing the slice image for 3D printing as claimed in claim 3, wherein segmenting the filling regions into the several sub-regions comprises: segmenting the filling regions into the several sub-regions that have an equal area and are in closed shapes.
  7. The method for processing the slice image for 3D printing as claimed in claim 6, wherein a position offset is set to a cyclic mode, wherein the cyclic mode refers to that as a print layer thickness increases, the number of times of a cycle required for a square to return to an original position is decreased.
  8. The method for processing the slice image for 3D printing as claimed in claim 6, wherein the adjacent sub-regions of the adjacent slice images are partially overlapped in the perpendicular direction by means of the following step:
    offsetting, by a preset distance, the sub-regions of the adjacent slice images at the same position in the perpendicular direction along a preset direction.
  9. The method for processing the slice image for 3D printing as claimed in claim 1, further comprising:
    if the current slice image has an exposed filling region compared to the first several or last several slice images of the current slice image, determining the exposed filling region as a model outer surface region without being performed sub-region segmentation on.
  10. The method for processing the slice image for 3D printing as claimed in claim 1, further comprising:
    setting a curing depth of the contour region to be greater than or equal to a curing depth of the filling region.
  11. The method for processing the slice image for 3D printing as claimed in claim 1, when exposing the filling region and the contour region at the same time, an exposure intensity and/or exposure time of the contour region is greater than that of the filling region.
  12. The method for processing the slice image for 3D printing as claimed in claim 11, wherein the filling region and the contour region are cured by using different light sources;
    wherein the different light sources comprise a point light source corresponding to the contour region and a face light source corresponding to the filling region.
  13. A system for processing a slice image for 3D printing, comprising:
    an acquisition module, configured to acquire a slice image of a three-dimensional model, and a relationship between a grayscale compensation parameter and a size adjustment value;
    a first calculation module, configured to determine a size adjustment value according to the slice image;
    a second calculation module, configured to determine a grayscale compensation parameter according to the size adjustment value and the relationship between the grayscale compensation parameter and the size adjustment value; and
    a printing module, configured to respectively perform grayscale processing on edge pixels of a contour in the slice image according to the grayscale compensation parameter, wherein the processed slice image is used for 3D printing.
  14. An apparatus for processing a slice image for 3D printing, comprising:
    at least one processor, and
    at least one memory, configured to store at least one program, wherein
    when the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method for processing the slice image for 3D printing according to any one of claims 1 to 12.
  15. A storage medium, storing a program that is executable by a processor, wherein, when being executed by the processor, the program executable by the processor is configured to execute the method for processing the slice image for 3D printing according to any one of claims 1 to 12.
EP24155445.0A 2021-06-28 2022-06-27 Slice image processing method for 3d printing, system, apparatus, and storage medium Pending EP4368393A2 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110720685.7A CN115592953B (en) 2021-06-28 2021-06-28 Curing processing method, system, device and storage medium for 3D printing
CN202111002866.2A CN115723333B (en) 2021-08-30 2021-08-30 3D printing method, system, device and storage medium
EP22831986.9A EP4364926A1 (en) 2021-06-28 2022-06-27 Slice image processing method for 3d printing, system, apparatus, and storage medium
PCT/CN2022/101638 WO2023274172A1 (en) 2021-06-28 2022-06-27 Slice image processing method for 3d printing, system, apparatus, and storage medium

Related Parent Applications (2)

Application Number Title Priority Date Filing Date
EP22831986.9A Division-Into EP4364926A1 (en) 2021-06-28 2022-06-27 Slice image processing method for 3d printing, system, apparatus, and storage medium
EP22831986.9A Division EP4364926A1 (en) 2021-06-28 2022-06-27 Slice image processing method for 3d printing, system, apparatus, and storage medium

Publications (1)

Publication Number Publication Date
EP4368393A2 true EP4368393A2 (en) 2024-05-15

Family

ID=84690082

Family Applications (2)

Application Number Title Priority Date Filing Date
EP22831986.9A Pending EP4364926A1 (en) 2021-06-28 2022-06-27 Slice image processing method for 3d printing, system, apparatus, and storage medium
EP24155445.0A Pending EP4368393A2 (en) 2021-06-28 2022-06-27 Slice image processing method for 3d printing, system, apparatus, and storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
EP22831986.9A Pending EP4364926A1 (en) 2021-06-28 2022-06-27 Slice image processing method for 3d printing, system, apparatus, and storage medium

Country Status (3)

Country Link
US (2) US20240116250A1 (en)
EP (2) EP4364926A1 (en)
WO (1) WO2023274172A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117681438B (en) * 2024-02-02 2024-04-05 北京航空航天大学 Method and system for 3D printing appliance based on gray scale regulation and control

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6474995B2 (en) * 2014-11-11 2019-02-27 ローランドディー.ジー.株式会社 Slice data creation device, slice data creation method, program, and computer-readable recording medium
CN104669625B (en) * 2015-03-12 2017-06-09 上海联泰三维科技有限公司 Photocuring 3 D-printing method and printing equipment based on projection
HUE057536T2 (en) * 2016-12-12 2022-05-28 Luxexcel Holding Bv Printing system and method for printing a three-dimensional optical structure, providing real-time quality control of the printed optical structure
CN106584844A (en) * 2016-12-16 2017-04-26 山东大学苏州研究院 Method and device for improving part precision of surface forming additive manufacturing system
CN107756814A (en) * 2017-11-28 2018-03-06 上海联泰科技股份有限公司 Detecting system, method and the 3D printing equipment being applicable
CN107972266B (en) * 2017-12-15 2020-07-03 博纳云智(天津)科技有限公司 High-precision smooth printing method of DLP (digital light processing) photocuring 3D printer
WO2019173000A1 (en) * 2018-03-08 2019-09-12 Velo3D, Inc. Calibration in three-dimensional printing
CN110142959B (en) * 2019-06-24 2021-01-22 中原工学院 Method for rapidly determining exposure time parameter of DLP photosensitive resin 3D printing
CN110435154A (en) * 2019-08-12 2019-11-12 爱迪特(秦皇岛)科技股份有限公司 For the image processing method of 3D printing, device, electronic equipment and storage medium
CN112959661B (en) * 2021-01-26 2024-02-02 深圳市创必得科技有限公司 LCD photo-curing 3D printing uniform light optimization compensation method and device

Also Published As

Publication number Publication date
WO2023274172A1 (en) 2023-01-05
US20240116249A1 (en) 2024-04-11
US20240116250A1 (en) 2024-04-11
EP4364926A1 (en) 2024-05-08

Similar Documents

Publication Publication Date Title
US20240116250A1 (en) Method, System and Apparatus for Processing Slice Image for 3D Printing, and Storage Medium
US20230081400A1 (en) Enhanced three dimensional printing of vertical edges
CN103381660B (en) Three-dimensional printing device
US10759110B2 (en) Light homogenization method for multi-source large-scale surface exposure 3D printing
JP7132927B2 (en) Photo-curable three-dimensional printing method and apparatus
US10350834B2 (en) Slice image creation device, three-dimensional printing system, and slice image creation method
US20160288426A1 (en) Region determination device for slice model, three-dimensional printing system, and region determination method for slice model
EP3354459A1 (en) Three-dimensional printing method
US20210018897A1 (en) Model-Adaptive Multi-Source Large-Scale Mask Projection 3D Printing System
US10169494B2 (en) Slice image creation device and three-dimensional printing system
CN115837747A (en) Calibration method, projection method and 3D printing method for splicing light source modules
CN113103587B (en) Control method and control system for 3D printing and 3D printing equipment
CN115723333B (en) 3D printing method, system, device and storage medium
US11370165B2 (en) Method for improving resolution in LCD screen based 3D printers
CN111645315B (en) Three-dimensional printing method, three-dimensional printing device, computer equipment and storage medium
CN115592953A (en) Curing processing method, system and device for 3D printing and storage medium
CN112862705B (en) Device, equipment, method and storage medium for optimizing edge antialiasing of photo-cured slice image
US8298732B2 (en) Exposure method and method of making a semiconductor device
CN116852708A (en) Light source mechanism projection area processing method and device and nonvolatile storage medium
CN116551987A (en) Printing method for optimizing 3D printing surface quality
US20220281178A1 (en) Systems and methods for three-dimensional printing and products produced thereby
CN114103124B (en) Three-dimensional printing method, device, equipment and computer readable medium for top compensation
WO2023107571A1 (en) System and method for three-dimensional (3d) printing
CN116088279A (en) Direct-writing type photoetching machine, photoetching pattern compensation method thereof and storage medium
CN116968316A (en) Model collision detection method, device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN PUBLISHED

REG Reference to a national code

Ref country code: DE

Ref legal event code: R079

Free format text: PREVIOUS MAIN CLASS: B33Y0050000000

Ipc: B29C0064124000

AC Divisional application: reference to earlier application

Ref document number: 4364926

Country of ref document: EP

Kind code of ref document: P

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR