CN1704247A - Image treatment method - Google Patents

Image treatment method Download PDF

Info

Publication number
CN1704247A
CN1704247A CN 200410046198 CN200410046198A CN1704247A CN 1704247 A CN1704247 A CN 1704247A CN 200410046198 CN200410046198 CN 200410046198 CN 200410046198 A CN200410046198 A CN 200410046198A CN 1704247 A CN1704247 A CN 1704247A
Authority
CN
China
Prior art keywords
processing
stick
time
disposal
page
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.)
Granted
Application number
CN 200410046198
Other languages
Chinese (zh)
Other versions
CN1305683C (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.)
Primax Electronics Ltd
Original Assignee
Destiny Technology Corp
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 Destiny Technology Corp filed Critical Destiny Technology Corp
Priority to CNB2004100461983A priority Critical patent/CN1305683C/en
Publication of CN1704247A publication Critical patent/CN1704247A/en
Application granted granted Critical
Publication of CN1305683C publication Critical patent/CN1305683C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a graph processing method which decides what processing method can be used to improve the speed of graph processing. It first ascertains weather there are a lot of graphs in one page, if it is, then divides the page into many bats and samples them, then uses first processing method and second processing method to do graph processing to the sampling bats, so that it can know which processing method spends the least time, and then dose graph processing to this page by this method.

Description

The method of processing graphics
Technical field
The present invention relates to a kind of method of processing graphics, be applied to the printing action of printer.
Background technology
General printer is being done the figure processing, when printing with work, can adopt dual mode, first disposal route is the processing of being done at the figure that change color is arranged (for example: figure of layer change color or the like is arranged gradually), because the color of each point is different in the figure, so first disposal route must be converted to cmyk color space from rgb color space as colour gamut with each point in the figure one by one, remake the processing of layouting, just after graph data self-access address is taken out, do color gamut conversion again after doing logical operation earlier, and deposit in destination address.Second disposal route be at no change color figure (for example: the processing of being done figure of monochromatic no change color or the like), because the color of each point is identical in the figure, so second disposal route is different from the first above-mentioned disposal route, second disposal route does not need one by one each point in the figure to be done the logical operation of colour gamut conversion, and only need after the taking-up of graphic documentation self-access address, make in the figure color wherein do the colour gamut conversion, can change the color of other point in the figure in the lump, and deposit in destination address again, just second disposal route is that the color of figure part (in the figure wherein) is converted to cmyk color space from rgb color space as colour gamut, again with the processing of layouting in the lump of the shape part of figure.Because when processing graphics, normally adopt first disposal route or the figure of the whole page or leaf of second disposal methods one, certainly, at the number of figure more for a long time, when adopting different disposal methods figure, in the time cost, have the situation of suitable big-difference, yet, currently used first disposal route or the mode of second disposal route of determining, not good, so which kind of disposal methods figure decision adopts, be quite important to reduce the time that is spent, and necessary technology.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method of processing graphics, the time that is spent during with the minimizing processing graphics.
General printer is in processing graphics, when printing with work, can adopt dual mode, first disposal route is the processing of being done at the figure that change color is arranged (for example: figure of layer change color or the like is arranged gradually), because the color of each point is different in the figure, so first disposal route must be converted to cmyk color space from rgb color space as colour gamut with each point in the figure one by one, remake the processing of layouting, just after graph data self-access address is taken out, do color gamut conversion again after doing logical operation earlier, and deposit in destination address.Second disposal route be at no change color figure (for example: the processing of being done figure of monochromatic no change color or the like), because the color of each point is identical in the figure, so second disposal route is different from the first above-mentioned disposal route, second disposal route does not need one by one each point in the figure to be done the logical operation of colour gamut conversion, and only need after the taking-up of graphic documentation self-access address, make in the figure color wherein do the colour gamut conversion, can change the color of other point in the figure in the lump, and deposit in destination address again, just second disposal route system is converted to cmyk color space from rgb color space as colour gamut with the color part of figure (in the figure wherein), again with the processing of layouting in the lump of the shape part of figure.Because when processing graphics, normally adopt first disposal route or the figure of second disposal methods, one whole page or leaf, certainly, at the number of figure more for a long time, when adopting different disposal methods figure, having the situation of suitable big-difference in the time cost, so which kind of disposal methods figure decision adopts, is necessary to reduce the time that is spent.
The method of disclosed processing graphics according to the present invention, be in order to determine one of above-mentioned disposal route, to improve the processing speed of figure, mainly be to confirm in one page, whether have the number of figure more earlier, and two kinds of disposal routes that adopt have the situation of suitable big-difference in the time cost, when such situation is arranged, must cut apart several sticks of this page one-tenth, and stick taken a sample, and with first disposal route and second disposal route stick of sampling being made figure handles, with the time less that graphics process was spent of knowing which kind of disposal route is done, and deal with the figure of this processing method to this page.The present invention includes the following step:
At first, confirm in one page the processing command of the figure of this page greater than to the processing command of the literal of this page and to the processing command of the image of this page.
Cut apart several sticks of this page one-tenth again, and store, and in several sticks, take a sample, form several sampling sticks, and store.
Then, with first disposal route and second disposal methods stick of respectively taking a sample, and obtain first processing time and second processing time.
At last, confirm less person in first processing time and second processing time, and obtain corresponding disposal route, again this page or leaf of disposal methods according to this.
So can do the figure processing to this page or leaf according to first disposal route or second disposal route of above-mentioned gained, and spend the less time.
Therefore, the method for a kind of processing graphics provided by the invention, its characteristics are that this method includes following steps:
Confirm in one page the processing command of the figure of this page greater than to the processing command of the literal of this page and to the processing command of the image of this page;
Cut apart a plurality of sticks of this page one-tenth, and store;
In these a plurality of sticks, take a sample, form a plurality of sampling sticks, and store;
Respectively be somebody's turn to do the sampling stick with one first disposal route and one second disposal methods, and obtain one first processing time and one second processing time, wherein this first disposal route is for to be converted to cmyk color space from rgb color space as colour gamut with figure, remake the processing of layouting, and this second disposal route is for being converted to cmyk color space from rgb color space as colour gamut with the color of figure part, again with the processing of layouting in the lump of the shape part of figure;
Confirm less person in this first processing time and this second processing time, and obtain a corresponding disposal route; And
According to this page or leaf of this disposal methods.
The method of above-mentioned processing graphics, its characteristics are, should respectively be somebody's turn to do the sampling stick with one first disposal route and one second disposal methods, also include the following step and obtain the step in one first processing time and one second processing time:
Obtain one of them in this sampling stick;
Be somebody's turn to do the sampling stick with this first disposal methods, and obtain a very first time;
Storage is through this sampling stick and this very first time of this first disposal methods;
Be somebody's turn to do the sampling stick with this second disposal methods, and obtained for one second time;
Storage is through this sampling stick and this second time of this second disposal methods;
Confirm to handle the stick of respectively should taking a sample; And
Summation respectively is somebody's turn to do this very first time of sampling stick, and reach summation and respectively should take a sample this second time of stick, and obtain this first processing time and obtain this second processing time, and storage.
The method of above-mentioned processing graphics, its characteristics are that the step of complying with this this page or leaf of disposal methods also includes the following step:
Obtain undressed this stick, form a plurality of processing sticks;
Be somebody's turn to do one of them that handle stick with this disposal methods;
Storage is through this processing stick of this disposal methods;
Confirm to handle respectively and should handle stick;
Take out previous this sampling stick that stores through this disposal methods; And
Merging is through this sampling stick and this processing stick of this disposal methods.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is a main process flow diagram of the present invention;
Fig. 2 is the process flow diagram of step 104 of the present invention among Fig. 1;
Fig. 3 is the process flow diagram of step 106 of the present invention among Fig. 1; And
Fig. 4 is the sampling mode synoptic diagram.
Embodiment
General printer is in processing graphics, when printing with work, can adopt dual mode, first disposal route is the processing of being done at the figure that change color is arranged (for example: figure of layer change color or the like is arranged gradually), because the color of each point is different in the figure, so first disposal route must be converted to cmyk color space from rgb color space as colour gamut with each point in the figure one by one, remake the processing of layouting, just after graph data self-access address is taken out, do color gamut conversion again after doing logical operation earlier, and deposit in destination address.Second disposal route be at no change color figure (for example: the processing of being done figure of monochromatic no change color or the like), because the color of each point is identical in the figure, so second disposal route is different from the first above-mentioned disposal route, second disposal route does not need one by one each point in the figure to be done the logical operation of colour gamut conversion, and only need after the taking-up of graphic documentation self-access address, make in the figure color wherein do the colour gamut conversion, can change the color of other point in the figure in the lump, and deposit in destination address again, just second disposal route is that the color of figure part (in the figure wherein) is converted to cmyk color space from rgb color space as colour gamut, again with the processing of layouting in the lump of the shape part of figure.Because when processing graphics, normally adopt first disposal route or the figure of second disposal methods, one whole page or leaf, certainly, at the number of figure more for a long time, when adopting different disposal methods figure, having the situation of suitable big-difference in the time cost, so which kind of disposal methods figure decision adopts, is necessary to reduce the time that is spent.
The method of a kind of processing graphics of the present invention, in order to determine one of above-mentioned disposal route, to improve the processing speed of figure, mainly be to confirm in one page, whether have the number of figure more earlier, and two kinds of disposal routes that adopt have the situation of suitable big-difference in the time cost, when such situation is arranged, must cut apart several sticks of this page one-tenth, and stick taken a sample, and with first disposal route and second disposal route stick of sampling being made figure handles, with the time less that graphics process was spent of knowing which kind of disposal route is done, and deal with the figure of this processing method to this page.See also of the present invention main process flow diagram shown in Figure 1, the present invention includes the following step:
Step 101, at first, confirm in one page to the processing command of the figure of this page whether greater than to the processing command of the literal of this page and to the processing command of the image of this page, just confirming earlier has the number of figure more in one page, and the time cost there is the situation of suitable big-difference.
Step 102 is cut apart several sticks of this page one-tenth again, and stores.
Step 103 is taken a sample in several sticks, forms several sampling sticks, and stores.Just earlier this page or leaf is divided into several sticks, in several sticks, take a sample again, and the stick that obtains taking a sample, certainly get over for a long time at the number of sampling stick, in the subsequent step time of required cost also just many more, but can assess first disposal route or the time less of the required cost of second disposal route also more exactly.
Step 104, then, with first disposal route and second disposal methods stick of respectively taking a sample, and obtain first processing time and second processing time, just according to first disposal methods stick of respectively taking a sample, and obtained for first processing time, and according to second disposal methods stick of respectively taking a sample, and obtained for second processing time.
Step 105, confirm less person in first processing time and second processing time, and obtain corresponding disposal route, confirming during the time less of required cost, then to adopt first disposal route with first processing time processing sampling stick, otherwise, confirming during the time less of required cost, then to adopt second disposal route with second processing time processing sampling stick.
Step 106, last, this page or leaf of disposal methods be done the figure processing so can comply with first disposal route or second disposal route of above-mentioned gained to this page or leaf, and spend the less time according to this.
See also sampling mode synoptic diagram shown in Figure 4, after doing the affirmation process of step 101, can in one page P, do cut apart (being stick 1,2,3, N, N+1, N+2, M+2, M+1, M shown in the figure) of stick, in stick, take out sampling stick 3, N, (M+2) again, afterwards, respectively sampling stick 3, N, (M+2) are dealt with first disposal route and second disposal route, and obtain first processing time and second processing time, get then the cost short period disposal route, and according to this disposal methods this page or leaf.
Certainly, see also the process flow diagram of step 104 of the present invention among Fig. 1 shown in Figure 2, step 104 also includes the following step, successively each sampling stick is done the processing of first disposal route, and obtain the very first time, and successively each sampling stick is done the processing of second disposal route, and obtained for second time:
Step 201 at first, obtains one of them of this sampling stick.
Step 202 with this sampling stick of first disposal methods, and obtains the very first time, and this very first time is the time of carrying out the processing gained of first disposal route at this sampling stick.
Step 203 stores this sampling stick and very first time through first disposal methods, and this this sampling stick through first disposal methods was made graphics process, and is can be for follow-up flow process use to its action of doing to store.
Step 204 with this sampling stick of second disposal methods, and obtained for second time, and this second time is the time of carrying out the processing gained of second disposal route at this sampling stick.
Step 205 stores this sampling stick and second time through second disposal methods, and this this sampling stick through second disposal methods was made graphics process, and is can be for follow-up flow process use to its action of doing to store.
Step 206 confirms to handle the stick of respectively taking a sample, and when still having the sampling stick to be untreated, then gets back to step 201, and proceeds follow-up flow process, up to confirming to handle the stick of respectively taking a sample.
Step 207, summation are respectively taken a sample very first time of stick, and summation respectively takes a sample second time of stick, and obtain for first processing time and obtained for second processing time, and store, and therefore can do the comparison of the very first time and the second time length for follow-up flow process.
See also the process flow diagram of step 106 of the present invention among Fig. 1 shown in Figure 3, item also include the following step, handle to make figure at previous untreated stick, thereby can reduce the time of graphics process as for step 106:
Step 301 obtains undressed stick, and form several and handle stick, because of before these sticks not being dealt with, thereby be these sticks of taking-up, these sticks are dealt with in follow-up flow process herein.
Step 302 should be handled one of them of stick with this disposal methods, handled handling stick with the disposal route of less time of cost of previous gained.
Step 303 stores the processing stick through this disposal methods, just handling stick through after this disposal methods, does the action that stores.
Step 304 is confirmed to handle and is respectively handled stick, when still having the processing stick to be untreated, then gets back to step 302, and proceeds follow-up flow process, respectively handles stick up to confirming to handle.
Step 305 is taken out the previous sampling stick through this disposal methods that stores.
Step 306 merges sampling stick and processing stick through this disposal methods, thereby at the sampling stick and after handling the stick merging, just can obtain the one page through this disposal methods.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (3)

1, a kind of method of processing graphics is characterized in that, this method includes following steps:
Confirm in one page the processing command of the figure of this page greater than to the processing command of the literal of this page and to the processing command of the image of this page;
Cut apart a plurality of sticks of this page one-tenth, and store;
In these a plurality of sticks, take a sample, form a plurality of sampling sticks, and store;
Respectively be somebody's turn to do the sampling stick with one first disposal route and one second disposal methods, and obtain one first processing time and one second processing time, wherein this first disposal route is for to be converted to cmyk color space from rgb color space as colour gamut with figure, remake the processing of layouting, and this second disposal route is for being converted to cmyk color space from rgb color space as colour gamut with the color of figure part, again with the processing of layouting in the lump of the shape part of figure;
Confirm less person in this first processing time and this second processing time, and obtain a corresponding disposal route; And
According to this page or leaf of this disposal methods.
2, according to the method for the described processing graphics of claim 1, it is characterized in that, should respectively be somebody's turn to do the sampling stick, also include the following step and obtain the step in one first processing time and one second processing time with one first disposal route and one second disposal methods:
Obtain one of them in this sampling stick;
Be somebody's turn to do the sampling stick with this first disposal methods, and obtain a very first time;
Storage is through this sampling stick and this very first time of this first disposal methods;
Be somebody's turn to do the sampling stick with this second disposal methods, and obtained for one second time;
Storage is through this sampling stick and this second time of this second disposal methods;
Confirm to handle the stick of respectively should taking a sample; And
Summation respectively is somebody's turn to do this very first time of sampling stick, and reach summation and respectively should take a sample this second time of stick, and obtain this first processing time and obtain this second processing time, and storage.
According to the method for the described processing graphics of claim 2, it is characterized in that 3, the step of complying with this this page or leaf of disposal methods also includes the following step:
Obtain undressed this stick, form a plurality of processing sticks;
Be somebody's turn to do one of them that handle stick with this disposal methods;
Storage is through this processing stick of this disposal methods;
Confirm to handle respectively and should handle stick;
Take out previous this sampling stick that stores through this disposal methods; And
Merging is through this sampling stick and this processing stick of this disposal methods.
CNB2004100461983A 2004-06-02 2004-06-02 Image treatment method Expired - Fee Related CN1305683C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100461983A CN1305683C (en) 2004-06-02 2004-06-02 Image treatment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100461983A CN1305683C (en) 2004-06-02 2004-06-02 Image treatment method

Publications (2)

Publication Number Publication Date
CN1704247A true CN1704247A (en) 2005-12-07
CN1305683C CN1305683C (en) 2007-03-21

Family

ID=35576107

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100461983A Expired - Fee Related CN1305683C (en) 2004-06-02 2004-06-02 Image treatment method

Country Status (1)

Country Link
CN (1) CN1305683C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424972B (en) * 2007-11-02 2010-06-16 财团法人工业技术研究院 Method for calculating position of unstructured object in continuous image
CN101612845B (en) * 2009-07-23 2013-11-06 深圳雅昌彩色印刷有限公司 Four-color wide-color-gamut offset printing method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3860845B2 (en) * 1994-12-27 2006-12-20 武藤工業株式会社 Color image printing system
JP3660154B2 (en) * 1999-04-01 2005-06-15 セイコーエプソン株式会社 Image processing device for printing
JP2002319018A (en) * 2001-04-20 2002-10-31 Fuji Xerox Co Ltd Plotting process device and method and computer readable recording medium recording plotting process program
JP2004088494A (en) * 2002-08-27 2004-03-18 Murata Mach Ltd Image forming apparatus
US7375866B2 (en) * 2002-09-30 2008-05-20 Kabushiki Kaisha Toshiba Image processing system and method for screening

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424972B (en) * 2007-11-02 2010-06-16 财团法人工业技术研究院 Method for calculating position of unstructured object in continuous image
CN101612845B (en) * 2009-07-23 2013-11-06 深圳雅昌彩色印刷有限公司 Four-color wide-color-gamut offset printing method

Also Published As

Publication number Publication date
CN1305683C (en) 2007-03-21

Similar Documents

Publication Publication Date Title
CN1054953C (en) Document image processor with defect detection
CN101047656A (en) Method for implementing E-mail quickly transmitting and its system
CN1333627A (en) Embedded method for electronic information and embedding probability analysis method thereof
CN1761322A (en) Selection method of reference pictures
CN1633159A (en) A method for removing image noise
CN101075910A (en) Method and device for fastly registering
CN1870767A (en) Method for managing timer task
CN101046858A (en) Electronic information comparing system and method and anti-garbage mail system
CN1949214A (en) Information merging method and system
CN1305683C (en) Image treatment method
CN1271833C (en) Apparatus and method without IP rcombination, distribution and group
CN101079753A (en) A multi-link packet snapping system, method and network audit system
CN1133316C (en) Image data recording method and digit apparatus using the same method
CN1578301A (en) Method and apparatus for editing a data stream
CN1292593C (en) Color image segmentation method
CN101039332A (en) Method, system and server for transmitting page data
CN1519735A (en) Process scheduling method in embedded type real time operating system
CN1790405A (en) Content classification and authentication algorithm based on Bayesian classification for unsolicited Chinese email
CN1828571A (en) Universal serial port bus data transportation processing method
CN1870566A (en) Method for implementing image in exchange system
CN1650611A (en) Image processing device and image processing method
CN101051263A (en) Processor, image processing system and processing method
CN1448843A (en) Image processing apparatus and image processing method
CN101035260A (en) Method and system for accessing the video device
CN1124026C (en) Context generation circuit and method for small screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: ZHISHEN SCIENCE & TECHNOLOGY CO. LTD.

Free format text: FORMER OWNER: DEXIN SCIENCE + TECHNOLOGY CO., LTD.

Effective date: 20061103

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20061103

Address after: Taipei city of Taiwan Province

Applicant after: Zhishen Science and Technology Co., Ltd.

Address before: Taipei city of Taiwan Province

Applicant before: Destiny Technology Corporation

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070321

Termination date: 20150602

EXPY Termination of patent right or utility model