CN105155153B - The processing method that a kind of computer embroidering machine part style is shown - Google Patents

The processing method that a kind of computer embroidering machine part style is shown Download PDF

Info

Publication number
CN105155153B
CN105155153B CN201510543383.1A CN201510543383A CN105155153B CN 105155153 B CN105155153 B CN 105155153B CN 201510543383 A CN201510543383 A CN 201510543383A CN 105155153 B CN105155153 B CN 105155153B
Authority
CN
China
Prior art keywords
coordinate system
style
needle tracking
coordinate
touch area
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.)
Expired - Fee Related
Application number
CN201510543383.1A
Other languages
Chinese (zh)
Other versions
CN105155153A (en
Inventor
李江
朱阳
马保离
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN SOLARPEX TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN SOLARPEX TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN SOLARPEX TECHNOLOGY Co Ltd filed Critical SHENZHEN SOLARPEX TECHNOLOGY Co Ltd
Priority to CN201510543383.1A priority Critical patent/CN105155153B/en
Publication of CN105155153A publication Critical patent/CN105155153A/en
Application granted granted Critical
Publication of CN105155153B publication Critical patent/CN105155153B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

The invention discloses the processing method that a kind of computer embroidering machine part style is shown, comprise the following steps:Generated according to style file by the first coordinate system and show embroidery pattern preview graph;Obtain the coordinate of touch point of the user on the first coordinate system;According to the size for the touch area for touching point coordinates and setting, touch area is determined;According to coordinate position of the touch area in the first coordinate system, into style file, extraction related data is decoded;Setting second coordinate system parallel with the first coordinate system.Touch area will be fallen into the first coordinate system, the style needle tracking for decoding to obtain is transformed into the second coordinate system, and is amplified by the multiplication factor of setting;Amplification window is opened up according to the multiplication factor of setting and the size of touch area on a display screen, using the needle tracking in the second coordinate system after amplification as local style needle tracking, shown in window is amplified.The present invention can clearly and accurately show the true needle tracking of local style and host memory consumption is little.

Description

The processing method that a kind of computer embroidering machine part style is shown
[technical field]
The present invention relates to computerized embroidery, more particularly to the processing method that a kind of computer embroidering machine part style is shown.
[background technology]
At this stage the host computer of computer embroidering machine can according to the preview graph of the style file generated embroidery pattern of decoding, with Just user checks.A kind of for example, household computerized embroidery machine embroidery flower of Application No. CN200710187467.1 disclosure of the invention Sample method for viewing thumbnail, including:Step A:Pattern thumbnail data are generated according to style file data;Step B:According to described Thumbnail corresponding to the generation of pattern thumbnail data;Step C:Set delay counter to flash the animation of the thumbnail to carry out Delay process, when the delay counter time delay count number then, according to the color lump breviary that the selection of current color lump value is anti-aobvious Figure;Step D:Refresh the thumbnail and show.Because this preview graph is non-vector artwork form, therefore work as to enter thumbnail During row amplification, display can distortion.So that checking the local detail of style becomes meaningless.Even if use high-resolution figure Piece, also only it is to expend excessive internal memory and tie down system, the picture after amplification can not understand the trend for reflecting true needle tracking.
[content of the invention]
The technical problem to be solved in the present invention is to provide it is a kind of being capable of the clearly and accurately true needle tracking of Display pattern, master The processing method that the little computer embroidering machine part style of machine memory consumption is shown.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is that a kind of computer embroidering machine part style shows The processing method shown, comprises the following steps:
101st, generated according to style file on host display by the first coordinate system and show embroidery pattern preview graph;
102nd, the coordinate of touch point of the user on the first coordinate system is obtained;
103rd, according to the size for the touch area for touching point coordinates and setting.Determine touch area;
104th, the coordinate position according to touch area in the first coordinate system, related data progress is extracted into style file Decoding;
105th, second coordinate system parallel with the first coordinate system is set.Touch area will be fallen into the first coordinate system, will be solved The style needle tracking that code obtains is transformed into the second coordinate system, and the needle tracking in the second coordinate system is put by the multiplication factor of setting Greatly;
106th, amplification window is opened up according to the multiplication factor of setting and the size of touch area on a display screen, after amplification The second coordinate system in needle tracking as local style needle tracking, shown in window is amplified.
The processing method that computer embroidering machine part style of the present invention is shown can clearly and accurately show the true of local style Real needle tracking, clearly reflect the trend of true needle tracking.And host memory consumption is little.
[brief description of the drawings]
The present invention is further detailed explanation with reference to the accompanying drawings and detailed description.
Fig. 1 is the flow chart of computer embroidering machine part style display processing method of the embodiment of the present invention.
Fig. 2 is the schematic diagram of computer embroidering machine part style display processing method of the embodiment of the present invention.
[embodiment]
The processing method that computer embroidering machine part style of the present invention is shown, comprises the following steps:
101st, generated according to style file on host display by the first coordinate system and show embroidery pattern preview graph;
102nd, the coordinate of touch point of the user on the first coordinate system is obtained;
103rd, according to the size for the touch area for touching point coordinates and setting.Determine touch area;
104th, the coordinate position according to touch area in the first coordinate system, related data progress is extracted into style file Decoding;
105th, second coordinate system parallel with the first coordinate system is set.Touch area will be fallen into the first coordinate system, will be solved The style needle tracking that code obtains is transformed into the second coordinate system, and the needle tracking in the second coordinate system is put by the multiplication factor of setting Greatly;
106th, amplification window is opened up according to the multiplication factor of setting and the size of touch area on a display screen, after amplification The second coordinate system in needle tracking as local style needle tracking, shown in window is amplified.
The specific practice of the embodiment of the present invention is as shown in Figure 1:
①:During initialization, magnification region size is determined;Obtain and sat between actual embroidery pattern data and style preview picture Target mapping relations.
②:Obtain the coordinate of touch point of the user in preview picture.
③:Obtain the multiplication factor of user's setting.
④:According to the magnification region size of budget, and touch point coordinates.Determine touch area.
⑤:Touch area size and the viewing area size being mapped in new coordinate system continue to have.Change is region Position in a coordinate system.
⑥:Due to needing the details of observation needle tracking, therefore picture can not be directly amplified.Need to enter from drafting needle tracking Hand.Decoded needle tracking coordinate value is amplified by specified multiple, and drawn in new coordinate system and painting canvas.Draw Rule be:The style file that need to be drawn is decoded, obtains all style needle tracking coordinate values, and be amplified by multiplication factor;Time The coordinate value gone through after all amplifications, only coordinate value, which fall into the viewing area specified, just to be needed to draw.So, in specified amplification The needle tracking newly drawn is shown in region, it is possible to reach the effect for checking needle tracking details.
The principle of the embodiment of the present invention is as shown in Figure 2:
①:Determined to need the location point P of magnification region size and region in a coordinate system by touch point;
②:By location point P according to multiplication factor, the point P ' being mapped in new coordinate system.What is obtained is in new coordinate system Need the region of drafting picture.The style needle tracking coordinate for decoding is amplified by multiplication factor;During drafting, needle tracking is judged Whether coordinate falls into drawing area.If it is satisfied, then drawing the pin needle tracking, otherwise do not have to draw.Because needle tracking coordinate is amplified to Specified multiple, and viewing area is constant, so as to reach the effect of display needle tracking details.
③:Picture after amplification is shown in the origin position of view, thus needs to move in the region after drafting Origin.
④:Mapping rear region size is amplified according to multiplication factor, therefore during display, after directly can translating Region be shown in the viewing area specified.Picture after amplification actually needs to be shown in the first coordinate system (actual seat Mark system) in, and the amplification picture is drawn in the second coordinate system (mapping point system).Therefore, need exist for drawing Picture on the second coordinate system, move in the first coordinate system.
The method of above example of the present invention can generate the preview picture of embroidery pattern, and can carry out style part The amplification of needle tracking, there is reflection style locally true needle tracking;Multiplication factor is adjustable;Reduce the memory consumption liftings that amplification is brought The beneficial effect of the drafting speed of true needle tracking.

Claims (1)

1. the processing method that a kind of computer embroidering machine part style is shown, it is characterised in that comprise the following steps:
101st, generated according to style file on host display by the first coordinate system and show embroidery pattern preview graph;
102nd, the coordinate of touch point of the user on the first coordinate system is obtained;
103rd, according to the size for the touch area for touching point coordinates and setting, touch area is determined;
104th, the coordinate position according to touch area in the first coordinate system, into style file, extraction related data is solved Code;
105th, second coordinate system parallel with the first coordinate system is set, touch area will be fallen into the first coordinate system, decoded To style needle tracking be transformed into the second coordinate system, the needle tracking in the second coordinate system is amplified by the multiplication factor of setting;
106th, amplification window is opened up according to the multiplication factor of setting and the size of touch area on a display screen, by after amplification Needle tracking in two coordinate systems is shown as local style needle tracking in window is amplified;
Wherein, needle tracking is amplified by the multiplication factor of setting, and drawn, the rule of drafting is:What decoding need to be drawn Style file, all style needle tracking coordinate values are obtained, and be amplified by multiplication factor;The coordinate value after all amplifications is traveled through, Only coordinate value falls into the viewing area specified and just needs to draw.
CN201510543383.1A 2015-08-28 2015-08-28 The processing method that a kind of computer embroidering machine part style is shown Expired - Fee Related CN105155153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510543383.1A CN105155153B (en) 2015-08-28 2015-08-28 The processing method that a kind of computer embroidering machine part style is shown

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510543383.1A CN105155153B (en) 2015-08-28 2015-08-28 The processing method that a kind of computer embroidering machine part style is shown

Publications (2)

Publication Number Publication Date
CN105155153A CN105155153A (en) 2015-12-16
CN105155153B true CN105155153B (en) 2018-03-16

Family

ID=54796183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510543383.1A Expired - Fee Related CN105155153B (en) 2015-08-28 2015-08-28 The processing method that a kind of computer embroidering machine part style is shown

Country Status (1)

Country Link
CN (1) CN105155153B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110941375B (en) * 2019-11-26 2023-09-05 腾讯科技(深圳)有限公司 Method, device and storage medium for locally amplifying image

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4535709A (en) * 1983-06-16 1985-08-20 Aktiengesellschaft Adolph Saurer Switchable braking mechanism, especially for the individual threads of an embroidery machine
KR20060036274A (en) * 2004-10-25 2006-04-28 엘지전자 주식회사 A method and a apparatus of generating thumbnail image for mobile phone
CN101446008A (en) * 2007-11-27 2009-06-03 飞跃中科(台州)数控系统有限公司 Embroidery pattern thumbnail display method of household computerized embroidery machine
CN101661329A (en) * 2009-09-22 2010-03-03 北京中星微电子有限公司 Operating control method and device of intelligent terminal
CN102793565A (en) * 2012-08-16 2012-11-28 无锡祥生医学影像有限责任公司 Image local amplification method and device for touch screen ultrasonic diagnostic apparatus
CN103955339A (en) * 2014-04-25 2014-07-30 华为技术有限公司 Terminal operation method and terminal equipment
CN104793862A (en) * 2015-04-10 2015-07-22 深圳市美贝壳科技有限公司 Control method for zooming in and out wireless projection photos

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4535709A (en) * 1983-06-16 1985-08-20 Aktiengesellschaft Adolph Saurer Switchable braking mechanism, especially for the individual threads of an embroidery machine
KR20060036274A (en) * 2004-10-25 2006-04-28 엘지전자 주식회사 A method and a apparatus of generating thumbnail image for mobile phone
CN101446008A (en) * 2007-11-27 2009-06-03 飞跃中科(台州)数控系统有限公司 Embroidery pattern thumbnail display method of household computerized embroidery machine
CN101661329A (en) * 2009-09-22 2010-03-03 北京中星微电子有限公司 Operating control method and device of intelligent terminal
CN102793565A (en) * 2012-08-16 2012-11-28 无锡祥生医学影像有限责任公司 Image local amplification method and device for touch screen ultrasonic diagnostic apparatus
CN103955339A (en) * 2014-04-25 2014-07-30 华为技术有限公司 Terminal operation method and terminal equipment
CN104793862A (en) * 2015-04-10 2015-07-22 深圳市美贝壳科技有限公司 Control method for zooming in and out wireless projection photos

Also Published As

Publication number Publication date
CN105155153A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN103377119B (en) A kind of non-standard control automated testing method and device
US9141746B1 (en) System and method to drag instance master physical shell
US9311756B2 (en) Image group processing and visualization
TWI536248B (en) Method and system for classified displaying desktop icons
US20140359538A1 (en) Systems and methods for moving display objects based on user gestures
WO2014059886A1 (en) Method and apparatus for obtaining image
CN106959808A (en) A kind of system and method based on gesture control 3D models
TW201133329A (en) Touch control electric apparatus and window operation method thereof
CN102855132B (en) A kind of choosing method of Drawing Object and system
WO2017152703A1 (en) Three-dimensional tag implementation method and device
JP6220079B2 (en) Display control apparatus, display control method, and display control program
CN106126489A (en) A kind of report file dynamic chart edit methods and system
CN103971586B (en) electronic map generating method and device
KR20150034296A (en) Hit testing method and apparatus
TWI556195B (en) Image segmentation device and image segmentation method
CN106971417B (en) A kind of method and system showing three-dimensional scatter plot in a browser
CN112215914B (en) System and method for interactive image caricature generation by an electronic device
CN103207730A (en) Generation method and generator for localizable dragging type flow chart
CN105155153B (en) The processing method that a kind of computer embroidering machine part style is shown
US10073612B1 (en) Fixed cursor input interface for a computer aided design application executing on a touch screen device
TW201401157A (en) Text editing system and method of electronic device
WO2017036409A1 (en) Site acquisition method, server, client and system
US20190114831A1 (en) Computer-aided techniques for designing detailed three-dimensional objects
CN102682020B (en) File management system and method
US11062491B1 (en) Graph plotter and replicator tool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180316

Termination date: 20180828