CN111368390A - Method for simulating national batik pattern by computer - Google Patents

Method for simulating national batik pattern by computer Download PDF

Info

Publication number
CN111368390A
CN111368390A CN201911073509.8A CN201911073509A CN111368390A CN 111368390 A CN111368390 A CN 111368390A CN 201911073509 A CN201911073509 A CN 201911073509A CN 111368390 A CN111368390 A CN 111368390A
Authority
CN
China
Prior art keywords
pattern
batik
wax printing
patterns
simulating
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
CN201911073509.8A
Other languages
Chinese (zh)
Inventor
张皋鹏
华启耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan University
Original Assignee
Sichuan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan University filed Critical Sichuan University
Priority to CN201911073509.8A priority Critical patent/CN111368390A/en
Publication of CN111368390A publication Critical patent/CN111368390A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method for simulating national batik patterns by a computer, which comprises the following steps: step1, establishing an original batik pattern database, and collecting batik patterns by looking up documents, books or field surveys and the like. Step2, preprocessing an original wax printing pattern, and removing picture information irrelevant to the wax printing pattern to ensure that the wax printing pattern is clear and definite. And Step3, extracting wax printing pattern elements. And Step4, establishing a wax printing pattern primitive library. Step5, refining the wax printing pattern configuration, embedding wax printing pattern elements into the wax printing basic configuration through operations of translation, rotation, scaling, combination, repetition, symmetry and the like to preliminarily generate the pattern with the national wax printing style. Step6, simulating the wax printing fabric texture. And Step7, simulating a wax printing ice pattern effect to generate a final pattern. The invention simulates national batik patterns through a computer, provides modern technical guarantee for the large-scale mass production of batik, is convenient to operate and easy to popularize, and has certain social and economic values.

Description

Method for simulating national batik pattern by computer
Technical Field
The invention belongs to the technical field of computer aided design, and particularly relates to a method for simulating national batik patterns by a computer.
Background
The wax printing is an ancient traditional textile printing and dyeing handicraft of minority nationalities in China, is called wax vally in the ancient way, is called affair chart in the Miao nationality, is mainly distributed in Guizhou, Sichuan, Yunnan, Hunan and the like at present, has different wax printing pattern styles in different areas, and has the same manufacturing process. In the wax printing process, the wax used as an anti-dyeing agent is naturally cracked, so that the cloth surface presents special 'ice veins' with special flavor, and the ice veins are also known as the 'soul' of wax printing. The wax printing has various themes, which are mainly divided into two categories of natural patterns and geometric patterns, and different areas have patterns with unique style, stable recurrence and extremely high recognition degree. The composition of the batik pattern is rich in rhythmic and rhythmic feelings, has the composition forms of symmetrical composition, central composition, split composition or free fall, and the like, and skillfully combines various animal patterns, plant patterns and geometric patterns to form various composite shapes and medium-shaped shapes, so that the whole picture is harmonious, uniform, vivid and lively and full of imagination.
Along with the development of Chinese market economy and the acceleration of the modernization process, the regression of national culture consciousness is more and more obvious, batik is more and more popular to people as a handcraft with characteristics of southwest minority nationalities, and the market demand is more and more large. However, as a traditional handicraft for textile printing and dyeing, the defects of long manufacturing time, backward dyeing and finishing processing technology, time-consuming processing, manual operation and the like cannot meet the requirements of the modern market. The traditional batik process comprises the steps of pretreatment of grey cloth, picking of polygonum blue, fermentation, waxing, dyeing, dewaxing, rinsing and airing, and only dyeing is carried out, and each piece needs to be soaked for 5-6 days and needs to be soaked repeatedly. How to simulate patterns with national batik styles by a computer for large-scale mass production and rapid production to respond to market demands has become an urgent problem to be solved.
At present, the existing method for producing national batik patterns through computer simulation mainly focuses on simulating ice crack effect of batik through computer algorithm, but the algorithm is complex, the operability and the popularization are poor, and batik patterns of different regions and nationalities are different in style, so how to simulate manual, natural and batik effect through computer simulation, a systematic and effective method is not provided, namely, a method for vividly simulating simulation batik pattern style by comprehensively considering unique patterns, composition forms, color collocation, fabric textures and crack effects of nationalities in different regions.
In conclusion, a systematic and modern computer simulation wax printing pattern method with certain practical operability and popularization is researched, so that modern technical guarantee is provided for large-scale wax printing production, and the method not only has certain historical cultural value for inheriting and protecting wax printing patterns in minority nationality areas in southwest but also has certain social and economic values for popularizing and spreading national handicraft works.
Disclosure of Invention
The invention aims to overcome the defects and provide a method for simulating national batik patterns by a computer, which can be systematized and digitalized and has certain operability and popularization.
The invention discloses a method for simulating national batik patterns by a computer, which comprises the following steps.
Step1, establishing an original batik pattern database, and collecting batik patterns by looking up documents, books or field surveys and the like.
Step2, preprocessing an original batik pattern, performing preprocessing such as cutting, correcting, perspective and zooming on the original batik pattern by using Adobe Photoshop, and removing picture information irrelevant to the batik pattern to make the batik pattern clear and definite.
And Step3, extracting wax printing pattern elements. Analyzing the characteristics of the batik pattern processed by Step2, extracting the pattern elements in the batik pattern, processing the pattern elements by filter-stylization-edge searching, further extracting the edge characteristics of the pattern elements, and storing the JPG format.
And Step4, establishing a batik pattern primitive library, introducing the batik pattern primitives pretreated by Step3 into drawing software Adobe illustrate, drawing the batik pattern primitives by a vector tool, and establishing the batik pattern primitive library.
Step5, refining the configuration of the batik pattern, analyzing the common configuration of the batik pattern, opening Adobe illustrat, extracting the relevant pattern from the batik pattern primitive library established in Step4, embedding the batik pattern primitive into the batik basic configuration through operations of translation, rotation, scaling, combination, repetition, symmetry and the like, and primarily generating the pattern with the national batik style.
Step6, simulating the wax printing fabric texture. And placing the newly-built layer on the bottommost layer, filling background colors, opening a filter, a filter library and textures, selecting texture types, adjusting related parameters, simulating cloth texture textures, and storing the cloth textures in a psd format.
Step7, simulating wax printing ice pattern effect. And (3) introducing the pattern with the wax printing style generated in Step6 into Photoshop, opening a painting brush tool, selecting a crack painting brush, setting painting brush parameters, and randomly distributing the painting brush on the wax printing pattern, wherein the painting brush has a deep color in a painting mode, and the color of the painting brush is lighter than that of a cloth pattern, so that the final simulation effect is completed.
Preferably, the batik pattern primitives of Step3 refer to patterns which are formed in specific territories and national culture, have certain historical cultural significance, repeatedly appear in the batik pattern, are not freely changeable, have unique style and high recognition degree, such as butterfly patterns, bird patterns, dragon patterns, swirl patterns, bronze drum patterns and the like.
Preferably, the Step3 draws the vectorized batik pattern primitive through Adobe illustrater, and if the edges of the batik pattern primitive are clear and simple, vectorizes the batik pattern primitive through the steps of image tracing, expansion, ungrouping, direct tool selection, unnecessary outlier deletion and contour line adjustment.
Preferably, the Step3 draws the vectorized batik pattern primitive by Adobe illustrater, including adjusting the path edge color to white and the fill color to no fill.
Preferably, the ethnic wax printing pattern configuration of the Step5 has a symmetrical, central, split, free-fall and other classical configuration.
Preferably, the pattern primitive in Step5 should conform to the beauty law of wax printing pattern form through repeating, translating, rotating, scaling, combining, symmetry and so on.
Preferably, the batik fabric of Step6 uses tabella, and some regions prefer to use hemp cloth and felt cloth; the Miao nationality of Dengzhai and Sandu loves the cloth surface to be fine diamond-shaped and layer by layer nested grain cloth.
Preferably, the batik cloth print color processing of Step6 includes adjusting lightness, brightness, saturation, color and the like.
Preferably, the crack painting brush setting of Step7 includes size, color and transparency, the painting brush mode is adjusted to be "normal", the color and texture are the same, and the transparency can be automatically adjusted according to the effect.
Preferably, the simulated cracking effect of Step7 is in accordance with the wax-printed crack generation principle, and is randomly arranged in the wax-sealed portion, and the non-wax-sealed portion should not crack.
Preferably, the crack painting brush in the Step7 is not unique, the beeswax ice vein is fine, the paraffin ice vein is rough, the wax ice vein is extra coarse, the painting brush is manufactured or downloaded according to the ice vein effect, the parameters of the painting brush are adjusted, and the optimal effect can be achieved by superposing multiple crack painting brushes when the ice vein effect is simulated.
The present invention has the following advantageous effects.
The invention discloses a method for simulating national batik patterns by a computer, which discloses a method for simulating traditional batik handicrafts by computer-aided design software, and the method has great practicability and operability, improves batik production efficiency and provides modern technical guarantee for mass production of batik.
The method for simulating national batik patterns by the computer ensures that a designer can keep a certain national pattern style during pattern creation by establishing a batik pattern base database and refining a batik pattern classical composition mode in the process of simulating the traditional batik craft works, can design the pattern precision and complexity which cannot be achieved by the traditional batik process by repeating, translating, rotating, zooming, combining, symmetrical and other operations among batik pattern elements, and can be reconstructed on the basis of the pattern elements by modern artistic means, so that the method is favorable for the propagation and development of the traditional batik process.
The method for simulating national batik patterns by the computer restores batik pattern elements in a digital manner through vector drawing software, establishes a vectorized pattern element database, wherein the pattern elements refer to patterns which repeatedly appear in batik patterns, have unique styles and higher recognition degrees, have extremely high artistic value and cultural connotation, and have the beneficial characteristics of no distortion in scaling, adjustable outline, permanent storage of the patterns, random calling and the like in vectorization of the pattern elements, thereby being beneficial to the research of pattern designers on pattern protection, redesign and the like in the future.
The method for simulating national batik patterns by the computer provides a method for conveniently and quickly vectorizing the outline of the pattern primitive by Adobe illustrate and Adobe Photoshop drawing software, reduces the time for extracting the pattern primitive and improves the effect of simulating natural edges of batik.
Compared with a complex algorithm simulation wax printing ice pattern mode, the method for simulating national wax printing patterns by using the computer simulates wax printing ice pattern effect, the size, thickness and spacing of cracks are easier to adjust and control, the color of the cracks can be adjusted at any time, the method has higher practicability, operability and generalizability, the ice pattern simulation effect is better, and the painting brush can be updated and stored at any time, so that the method is easy to propagate and learn.
Drawings
FIG. 1 is a flow chart of the operation of the present invention.
FIG. 2 is a schematic diagram of the extraction of wax printing pattern elements of the present invention.
FIG. 3 shows a typical configuration of the extracted batik pattern of the present invention.
FIG. 4 is a diagram of the effect of the pattern style of the preliminary simulated wax printing of the present invention.
Fig. 5 is a diagram of the effect of a cracked brush of the present invention.
FIG. 6 is a final result diagram of the simulated batik pattern of the present invention.
Fig. 7 is a flower and fruit pattern of the detailed effect diagram of the simulated batik pattern of the invention.
FIG. 8 is a butterfly pattern of a detail effect diagram of the simulated wax printing pattern of the present invention.
FIG. 9 is a caragana print of a detailed effect diagram of a simulated batik pattern of the present invention.
FIG. 10 shows the detail effect of the wax printing pattern of the present invention.
Detailed Description
The method for simulating national batik patterns by a computer is further described below with reference to the accompanying drawings.
In this embodiment, a method for simulating national batik patterns by a computer selects a batik pattern style in the Guizhou region for simulation, and includes the following steps as shown in FIG. 1.
Step1, establishing an original batik pattern database, and collecting batik patterns by looking up documents, books or field surveys and the like.
Step2, preprocessing an original batik pattern, performing preprocessing such as cutting, correcting, perspective and zooming on the original batik pattern by using Adobe Photoshop, and removing picture information irrelevant to the batik pattern to make the batik pattern clear and definite.
And Step3, extracting wax printing pattern elements. As shown in fig. 2, analyzing the characteristics of the batik pattern processed by Step2, extracting the pattern elements in the batik pattern, subjecting the pattern elements to filter-stylization-edge finding processing, further extracting the edge characteristics of the pattern elements, and storing the JPG format.
And Step4, establishing a batik pattern primitive library, introducing the batik pattern primitives pretreated by Step3 into drawing software Adobe illustrate, drawing the batik pattern primitives by a vector tool, and establishing the batik pattern primitive library.
Step5, refining the configuration of the batik pattern, analyzing the common configuration of the refining batik pattern, such as symmetrical, central, split and scattered configuration, as shown in fig. 3. Opening Adobe illustrate, extracting relevant patterns from a batik pattern primitive library established in Step4, embedding the pattern primitives into a batik basic configuration through operations of translation, rotation, scaling, combination, symmetry and the like to preliminarily generate a pattern with a national batik style, as shown in FIG. 4.
Step6, simulating the wax printing fabric texture. And placing the newly-built layer on the bottommost layer, filling background colors, opening a filter, a filter library and textures, selecting texture types, adjusting related parameters, simulating cloth texture textures, and storing the cloth textures in a psd format.
Step7, simulating wax printing ice pattern effect. And (3) introducing the pattern with the wax printing style generated by Step6 into Photoshop, opening a painting brush tool, selecting a crack painting brush, setting painting brush parameters, setting the painting brush effect as shown in figure 5, setting the painting brush parameters, and setting the painting brush in a deep color mode, wherein the painting brush color is lighter than the cloth pattern color, and the painting brush color is randomly distributed on the wax printing style, so that the final simulation effect is shown in figure 6, and the detail effect diagrams are shown in figures 7, 8, 9 and 10.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and any simple modification or equivalent replacement or modification made in accordance with the technical method and inventive concept of the present invention is included in the protection scope of the present invention without departing from the technical solution of the present invention.

Claims (10)

1. A method for simulating national batik patterns by a computer is characterized by comprising the following steps:
step1, establishing an original batik pattern database, and collecting batik patterns by looking up documents, books or field investigation and the like; step2, preprocessing an original batik pattern, namely preprocessing the original batik pattern by utilizing Adobe Photoshop, such as cutting, correcting, perspective, zooming and the like, and removing picture information irrelevant to the batik pattern to make the batik pattern clear and definite; step3, extracting wax printing pattern elements, analyzing the characteristics of the wax printing pattern processed by the Step2, extracting the pattern elements in the wax printing pattern, carrying out filter-stylization-edge searching processing on the pattern elements, further extracting the edge characteristics of the pattern elements, and storing a JPG format; step4, establishing a batik pattern primitive library, importing the batik pattern primitives pretreated by Step3 into drawing software Adobeillustrate, drawing the batik pattern primitives by a vector tool, and establishing the batik pattern primitive library; step5, refining the configuration of the batik pattern, analyzing the common configuration of the batik pattern, opening Adobe illustrat, extracting the relevant pattern from the batik pattern primitive library established in Step4, embedding the batik pattern primitive into the batik basic configuration through operations of translation, rotation, scaling, combination, repetition, symmetry and the like to preliminarily generate the pattern with the national batik style; step6, simulating a wax printing fabric texture, placing a newly-built layer at the bottommost layer, filling a background color, opening a filter-filter library-texture, selecting a texture type, adjusting related parameters, simulating a fabric texture, and storing the fabric texture in a psd format; and Step7, simulating a wax printing ice pattern effect, introducing a pattern with a wax printing style generated in Step6 into Photoshop, opening a painting brush tool, selecting a crack painting brush, setting painting brush parameters, and randomly distributing the painting brush on the wax printing pattern in a deep color mode, wherein the painting brush color is lighter than the cloth pattern color, so that the final simulation effect is completed.
2. The method as claimed in claim 1, wherein the batik pattern elements are patterns formed in specific regions and national culture, which have certain historical cultural significance, repeatedly appear in the batik pattern, are not changeable at will, have unique style and high recognition degree, such as butterfly patterns, fish bird patterns, dragon patterns, swirl patterns, bronze drum patterns, etc.
3. The method for simulating national batik pattern according to claim 1, wherein the vectorized batik pattern primitive is drawn by Adobe illustrater, and if the batik pattern primitive has clear and simple edges, the vectorized batik pattern primitive is obtained by the steps of image tracing, expansion, ungrouping, direct tool selection, unnecessary outlier deletion, contour line adjustment.
4. The method of claim 1, wherein the drawing of the vectorized batik pattern primitive by Adobe illustrat comprises adjusting a path edge color to white and a fill color to no fill.
5. The method for simulating national batik pattern by computer according to claim 1, wherein the configuration of the national batik pattern has a symmetrical, central, split, free-fall, or other classical configuration.
6. The method of claim 1, wherein the pattern elements are selected from the group consisting of repetition, translation, rotation, scaling, combination, symmetry, and combinations thereof, in accordance with the aesthetic rules of the wax printing pattern.
7. The method for simulating national batik pattern by computer according to claim 1, wherein the batik fabric is made of muslin, and some regions like linen and wool; the Miao nationality of Dengzhai and Sandu loves the cloth surface to be fine diamond-shaped and layer by layer nested grain cloth.
8. The method of claim 1, wherein the color processing of the batik cloth marks comprises adjusting lightness, brightness, saturation, color, etc.
9. The method of claim 1, wherein the crack brush setting comprises size, direction, color and transparency, the brush mode is adjusted to be 'dark color', the color is slightly lighter than the cloth grain color, and the transparency is automatically adjusted according to the simulation effect.
10. The method of claim 1, wherein the crazing effect is simulated by using a painting brush, the crazing crack generation principle is met, the crazing crack generation principle is randomly arranged on the wax-sealed part, cracks do not occur on the wax-unsealed part, the crack painting brush is not unique, the fineness of the wax ice-print painting brush is simulated, the roughness of the paraffin ice-print painting brush is simulated, the extra thickness of the wood wax ice-print painting brush is simulated, the painting brush is manufactured by self according to the ice-print effect or downloaded and the parameters of the painting brush are adjusted, and the best effect can be achieved by superposing multiple kinds of crack painting brushes when the ice-print effect is simulated.
CN201911073509.8A 2019-11-06 2019-11-06 Method for simulating national batik pattern by computer Pending CN111368390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911073509.8A CN111368390A (en) 2019-11-06 2019-11-06 Method for simulating national batik pattern by computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911073509.8A CN111368390A (en) 2019-11-06 2019-11-06 Method for simulating national batik pattern by computer

Publications (1)

Publication Number Publication Date
CN111368390A true CN111368390A (en) 2020-07-03

Family

ID=71208024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911073509.8A Pending CN111368390A (en) 2019-11-06 2019-11-06 Method for simulating national batik pattern by computer

Country Status (1)

Country Link
CN (1) CN111368390A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870645A (en) * 2014-03-12 2014-06-18 天津大学 Wax printing stamping pattern emulation method with ice vein effects
CN105426598A (en) * 2015-11-10 2016-03-23 四川大学 Method for designing and making manual tufted blanket by computer
CN106202607A (en) * 2016-06-23 2016-12-07 四川大学 A kind of Sichuan embroidery Ridge tracing technology based on computer-aided design
CN107045551A (en) * 2017-04-26 2017-08-15 湖南人文科技学院 A kind of Hunan embroidery image is gene constructed and Hunan embroidery image digitazation processing method
CN108573028A (en) * 2018-03-19 2018-09-25 四川大学 Patterned digital protection technology is knitted by a kind of ethnic group

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870645A (en) * 2014-03-12 2014-06-18 天津大学 Wax printing stamping pattern emulation method with ice vein effects
CN105426598A (en) * 2015-11-10 2016-03-23 四川大学 Method for designing and making manual tufted blanket by computer
CN106202607A (en) * 2016-06-23 2016-12-07 四川大学 A kind of Sichuan embroidery Ridge tracing technology based on computer-aided design
CN107045551A (en) * 2017-04-26 2017-08-15 湖南人文科技学院 A kind of Hunan embroidery image is gene constructed and Hunan embroidery image digitazation processing method
CN108573028A (en) * 2018-03-19 2018-09-25 四川大学 Patterned digital protection technology is knitted by a kind of ethnic group

Similar Documents

Publication Publication Date Title
CN109035381B (en) Cartoon picture hair rendering method and storage medium based on UE4 platform
CN107045551B (en) Hunan embroidery image gene construction and Hunan embroidery image digital processing method
CN101887366A (en) Digital simulation and synthesis technology with artistic style of Yunnan heavy-color painting
Zhang et al. Generation of Kandinsky art
Fish et al. SketchPatch: Sketch stylization via seamless patch-level synthesis
Zhou et al. A controllable stitch layout strategy for random needle embroidery
Doyle et al. Automated pebble mosaic stylization of images
Chua Bezier brushstrokes
CN111368390A (en) Method for simulating national batik pattern by computer
Mi et al. Droplet: a virtual brush model to simulate Chinese calligraphy and painting
CN104143202A (en) Automatic generation method of abstract drip painting on basis of hierarchical modeling
Yang et al. Paint with stitches: A random-needle embroidery rendering method
Li et al. Rendering and Presentation of 3D digital ink landscape painting
Joseph et al. Recreating Traditional Indonesian Batik with Neural Style Transfer in AI Artistry
Sharma et al. Fusion of Indian folk arts Madhubani and Warli for designing of apparels using CAD
Zhang et al. Shrubbery-shell inspired 3D model stylization
Li et al. Design of dig-art imitating batik pattern
Rahman Using generative adversarial networks for content generation in games
Schwank et al. The trees of the Jungle Book
Yang et al. Ink-and-wash painting based on the image of pine tree using mean curvature flow
Han et al. Pattern Derivative Design of Black Copper Infused with Silver Using AI-based Pattern Generation and Image Style Transfer Algorithm
Wang et al. Flower Factory: A Component-based Approach for Rapid Flower Modeling
Cui [Retracted] The Computer‐Aided Design Algorithm of Dyeing and Weaving Graphics from the Perspective of Public Art
O'Donovan et al. Felt-based rendering
Novayanti et al. 3D Low Poly Asset Creation Based on Balinese Local Wisdom Concept

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200703