Embroidery machine embroidery control method, system, embroidery machine and storage medium

文档序号:1751846 发布日期:2019-11-29 浏览:25次 中文

阅读说明:本技术 绣花机刺绣控制方法、系统、绣花机及存储介质 (Embroidery machine embroidery control method, system, embroidery machine and storage medium ) 是由 周春林 黄智全 张燕鹏 郭铭煌 于 2019-08-22 设计创作,主要内容包括:本发明适用于绣花机技术领域,提供了一种绣花机刺绣控制方法、系统、绣花机及存储介质,该方法包括:对绣花机上的线筒和对应线圈分别进行编号及颜色识别,以得到至少一组筒编号与线颜色之间的对应关系;获取待刺绣图像,并将线颜色与待刺绣图像进行颜色匹配,以获取目标区块;将目标区块与线颜色对应的所述筒编号进行存储,当判断到针对目标区域开始进行刺绣时,调用筒编号对应的绣花针头执行刺绣操作。本发明通过将线颜色与待刺绣图像进行颜色匹配设计、筒编号与线颜色之间的对应存储设计,使得在刺绣时可控制绣花机针对不同目标区域自动进行换针操作,且通过基于目标区块与线颜色对应的所述筒编号之间的对应关系,降低了与原始图像之间的色差。(The present invention is suitable for embroidery machine technical field, provide a kind of embroidery machine embroidery control method, system, embroidery machine and storage medium, this method comprises: on embroidery machine spool and corresponding coil is numbered respectively and color identifies, to obtain the corresponding relationship between at least one set of cylinder number and line color;It obtains to embroidery image, and line color is subjected to color-match with to embroidery image, to obtain target block;Target block cylinder number corresponding with line color is stored, when determine start to be embroidered for target area when, call cylinder to number corresponding embroidery syringe needle and execute embroidery operation.The present invention is by carrying out color matching design with to embroidery image for line color, cylinder numbers the corresponding design Storage between line color, so that controllable embroidery machine needle carries out needle exchange operation to different target region automatically in embroidery, and by reducing the color difference between original image based on the corresponding relationship between the target block cylinder number corresponding with line color.)

The control method 1. a kind of embroidery machine is embroidered, which is characterized in that the described method includes:

To on embroidery machine spool and corresponding coil is numbered respectively and color identification, to obtain at least one set of cylinder number and line Corresponding relationship between color, each spool correspond to an embroidery syringe needle;

It obtains to embroidery image, and the line color is subjected to color-match to embroidery image with described, to obtain target block;

The target block cylinder number corresponding with the line color is stored, and works as and determines for the target When region starts to be embroidered, the corresponding embroidery syringe needle of the cylinder number is called to execute embroidery operation.

The control method 2. embroidery machine as described in claim 1 is embroidered, which is characterized in that it is described by the line color and it is described to Embroidery image carry out color-match the step of include:

Image segmentation is carried out to embroidery image to described, to obtain multiple images block;

The block color of described image block is obtained, and works as the colour-difference determined between the line color and the block color When value is less than difference threshold, presently described image block and the line color successful match are determined;

Presently described image block is set to correspond to the target block of the line color.

The control method 3. embroidery machine as claimed in claim 2 is embroidered, which is characterized in that described to set presently described image block After the step of being set to the target block of the corresponding line color, the method also includes:

When described image block successful match, color filling is carried out to described image block according to the correspondence line color;

When all described image blocks complete color filling, face is carried out to embroidery image to described according to color filling result Color updates, and described shows color is updated to embroidery image.

The control method 4. embroidery machine as claimed in claim 2 is embroidered, which is characterized in that described to be carried out to described to embroidery image The step of image segmentation includes:

The pixel value to pixel each in embroidery image is obtained respectively, and calculates the pixel between the adjacent pixel Difference;

When determining the pixel value difference between the adjacent pixel greater than pixel threshold, according to local default segmentation side It is split to the adjacent pixel.

The control method 5. embroidery machine as described in claim 1 is embroidered, which is characterized in that the area for obtaining described image block After the step of block color, the method also includes:

When non-successful match between the block color and all line colors, thread-changing prompt is issued.

The control method 6. embroidery machine as described in claim 1 is embroidered, which is characterized in that the spool on embroidery machine and right Answer coil be numbered respectively and color identify the step of after, the method also includes:

The spool is performed image display, shows image to obtain line source, and aobvious to the line source according to number recognition result Label is numbered in the correspondence spool in diagram picture;

The correspondence spool in image, which carries out color filling and rgb value mark, to be shown to the line source according to color recognition result Note.

The control system 7. a kind of embroidery machine is embroidered, which is characterized in that the system comprises:

Spool identification module, for on embroidery machine spool and corresponding coil is numbered respectively and color identifies, to obtain Corresponding relationship between at least one set of cylinder number and line color, each spool correspond to an embroidery syringe needle;

Color matching module carries out color to embroidery image with described for obtaining to embroidery image, and by the line color Match, to obtain target block;

Syringe needle control module for storing the target block cylinder number corresponding with the line color, and is worked as It determines when starting to be embroidered for the target area, calls the cylinder to number the corresponding embroidery syringe needle and execute embroidery Operation.

The control system 8. embroidery machine as claimed in claim 7 is embroidered, which is characterized in that the Color matching module is also used to:

Image segmentation is carried out to embroidery image to described, to obtain multiple images block;

The block color of described image block is obtained, and works as the colour-difference determined between the line color and the block color When value is less than difference threshold, presently described image block and the line color successful match are determined;

Presently described image block is set to correspond to the target block of the line color.

9. a kind of embroidery machine, which is characterized in that including storage equipment and processor, the storage equipment is for storing computer Program, the processor runs the computer program so that the embroidery machine executes according to claim 1 to described in 6 any one Embroidery machine embroider control method.

10. a kind of storage medium, which is characterized in that it is stored with computer used in embroidery machine as claimed in claim 9 Program, the computer program realize embroidery machine embroidery control method as claimed in any one of claims 1 to 6 when being executed by processor The step of.

Technical field

The invention belongs to embroidery machine technical field more particularly to a kind of embroidery machine embroidery control method, system, embroidery machine and Storage medium.

Background technique

The mode multiplicity of embroidery, plane embroidery, the Three-dimensional embroidery etc. usually carried out using line as raw material pass through the mutual folded of embroider line Add and embodies embroidered pattern stereovision;Or concave-convex 3 D pattern is embodied with embroider line and other fabric combinations, method performance is exquisite Aestheticism.Scientific and technological progress, embroidery technology are also gradually combined with intelligent control with the development of the times, existing embroidering process In, user can carry out pattern embroidery, Jin Eryou by the way that the pattern for needing to embroider is input to embroidery machine to automatically control embroidery machine Effect improves embroidery efficiency, and in embroidery machine embroidering process, the coil color connected on syringe needle will directly affect pattern effect, Therefore, people in embroidery machine embroidering process, increasingly pay attention to by the selection of coil color.

In the actual use process of current embroidery machine, due to artificial in the color displays and practical embroidery machine of embroidery image The spool of loading is inconsistent, and then causes the effect for actually embroidering out and original image color difference huge, is especially supported The embroidery machine of polychrome, can only be by carry out spool coil color replacement manually, to reach the effect for reducing embroidery color difference Fruit, and then lead to embroidery inefficiency and cumbersome.

Summary of the invention

Be designed to provide a kind of embroidery machine embroidery control method, system, embroidery machine and the storage of the embodiment of the present invention are situated between Matter, it is intended to solve in existing embroidery machine embroidery control method, due in the color displays and practical embroidery machine of embroidery image The biggish problem of image color difference caused by the spool being manually packed into is inconsistent.

The embodiments of the present invention are implemented as follows, a kind of embroidery machine embroidery control method, which comprises

To on embroidery machine spool and corresponding coil is numbered respectively and color identification, to obtain at least one set of cylinder number Corresponding relationship between line color, each spool correspond to an embroidery syringe needle;

It obtains to embroidery image, and the line color is subjected to color-match to embroidery image with described, to obtain target Block;

The target block cylinder number corresponding with the line color is stored, and works as and determines for described When target area starts to be embroidered, the corresponding embroidery syringe needle of the cylinder number is called to execute embroidery operation.

Further, described to include: by the line color and described the step of carrying out color-match to embroidery image

Image segmentation is carried out to embroidery image to described, to obtain multiple images block;

The block color of described image block is obtained, and works as the face determined between the line color and the block color When value of chromatism is less than difference threshold, presently described image block and the line color successful match are determined;

Presently described image block is set to correspond to the target block of the line color.

Further, described to set presently described image block to correspond to the target block of the line color After step, the method also includes:

When described image block successful match, color is carried out to described image block according to the correspondence line color and is filled out It fills;

When all described image blocks complete color filling, according to color filling result to it is described to embroidery image into Row color updates, and described shows color is updated to embroidery image.

Further, described to include: to described the step of carrying out image segmentation to embroidery image

The pixel value to pixel each in embroidery image is obtained respectively, and is calculated between the adjacent pixel Pixel value difference;

When determining the pixel value difference between the adjacent pixel greater than pixel threshold, according to local default point Direction is cut to be split the adjacent pixel.

Further, after the step of block color for obtaining described image block, the method also includes:

When non-successful match between the block color and all line colors, thread-changing prompt is issued.

Further, the spool on embroidery machine and corresponding coil are numbered respectively and the step of colors identifies Later, the method also includes:

The spool is performed image display, shows image to obtain line source, and according to number recognition result to the line Source shows that label is numbered in the correspondence spool in image;

The correspondence spool in image, which carries out color filling and rgb value, to be shown to the line source according to color recognition result Label.

The another object of the embodiment of the present invention is to provide a kind of embroidery machine embroidery control system, the system comprises:

Spool identification module, for on embroidery machine spool and corresponding coil is numbered respectively and color identifies, with The corresponding relationship between at least one set of cylinder number and line color is obtained, each spool corresponds to an embroidery syringe needle;

Color matching module carries out face to embroidery image with described for obtaining to embroidery image, and by the line color Colour matching, to obtain target block;

Syringe needle control module, for the target block cylinder number corresponding with the line color to be stored, And when determine start to be embroidered for the target area when, call the corresponding embroidery syringe needle of cylinder number to execute Embroidery operation.

Further, the Color matching module is also used to:

Image segmentation is carried out to embroidery image to described, to obtain multiple images block;

The block color of described image block is obtained, and works as the face determined between the line color and the block color When value of chromatism is less than difference threshold, presently described image block and the line color successful match are determined;

Presently described image block is set to correspond to the target block of the line color.

The another object of the embodiment of the present invention is to provide a kind of embroidery machine, including storage equipment and processor, described Storage equipment is for storing computer program, and the processor runs the computer program so that embroidery machine execution is above-mentioned Embroidery machine embroider control method.

The another object of the embodiment of the present invention is to provide a kind of storage medium, and being stored in above-mentioned embroidery machine is made The step of computer program, which realizes above-mentioned embroidery machine embroidery control method when being executed by processor.

The embodiment of the present invention, by by the line color and it is described to embroidery image carry out color-match design so that The corresponding relationship between line color is numbered for the coil of the same or similar color of different target site polling, and based on cylinder, So that in embroidery, controllable embroidery machine needle carries out needle exchange operation to different target region automatically, and by being based on the target area Corresponding relationship between the block cylinder number corresponding with the line color, effectively reduces the color between original image Difference improves embroidery quality.

Detailed description of the invention

Fig. 1 is the flow chart for the embroidery machine embroidery control method that first embodiment of the invention provides;

Fig. 2 is the flow chart for the embroidery machine embroidery control method that second embodiment of the invention provides;

Fig. 3 is the structural schematic diagram for the embroidery machine embroidery control system that third embodiment of the invention provides;

Fig. 4 is the structural schematic diagram for the embroidery machine that fourth embodiment of the invention provides.

Specific embodiment

In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.

In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种适用于个性化的大规模刺绣生产系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!