CN101325647B - Imaging method for image - Google Patents

Imaging method for image Download PDF

Info

Publication number
CN101325647B
CN101325647B CN2007101090202A CN200710109020A CN101325647B CN 101325647 B CN101325647 B CN 101325647B CN 2007101090202 A CN2007101090202 A CN 2007101090202A CN 200710109020 A CN200710109020 A CN 200710109020A CN 101325647 B CN101325647 B CN 101325647B
Authority
CN
China
Prior art keywords
area
image
bit arithmetic
image data
arithmetic engine
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.)
Active
Application number
CN2007101090202A
Other languages
Chinese (zh)
Other versions
CN101325647A (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.)
Teco Image Systems Co Ltd
Original Assignee
Teco Image Systems 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 Teco Image Systems Co Ltd filed Critical Teco Image Systems Co Ltd
Priority to CN2007101090202A priority Critical patent/CN101325647B/en
Publication of CN101325647A publication Critical patent/CN101325647A/en
Application granted granted Critical
Publication of CN101325647B publication Critical patent/CN101325647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides an imaging method, which comprises the following steps: A, providing a source image; B, operating the grating by a position number operation engine, and dividing the source image into a first area and a second area according the grating operation parameter acquired in step A; C, operating the first area by the first position operation engine and running imaging program to generate the first position image data of the first area; D, operating the second area by the second position operation engine and running the imaging program to generate the second position image data of the second area; and E, converting the second image data in the second area into the first image data in the second area according to the tone scale converting comparison table. The first area of the source image is operated by the first position operation engine, the second area is operated by the second position operation engine, and consequently, the imaging work of the source image is finished quickly. The invention can improve the executing speed, efficiency and accuracy of the imaging work.

Description

Imaging method for image
Technical field
The present invention relates to a kind of imaging method for image, relate in particular to a kind of imaging method for image that is applied to printer, it can promote the accuracy of video imaging efficient and video imaging.
Background technology
Traditional image forming apparatus (image rendering device), for example photocopier, scanner or printer have been widely used as the output device of computer.With the color printer is example, when the user uses a computer when image printed by color printer, main frame can send print command to color printer, and the colour print chance is analyzed received order with decipher and produced bitmap image (bitmapimage).When the raster image processor (raster image processor) of color printer inside when receiving print command, can be with originate image data and lteral data by special page-description language (page description language, PDL), the page control language of the PostScript of Adobe or HP (page control language for example, PCL) encode, in the raster memory (raster memory) of color printer inside, produce the bitmap image whereby.This becomes the program of bitmap image to be called image forming program (rendering process) data transaction of being analyzed.That is to say that (graphic device interface, the CMYK chromatic image or the RGB chromatic image that GDI) are received can be converted into the bitmap image by the Graphics Device Interface of main frame.In case after the imaging, the some stream (rasterized dot stream) that printer is just prepared to start imaging is sent to the program on the seal table paper to full page in raster memory.
Generally speaking, in imaging process, page-description language such as page control language can define various raster manipulations usually (raster operation ROP) uses.In the system of PCL, can define 256 kinds of different raster operations, and image operation meeting is to specify the source image, to tint (paint) and bitmap image that the mode of target image combination is come to the end.And can having an imaging engine (rendering engine) usually, the print control unit of color printer inside finishes image forming program.Imaging engine can be to the source image, tint and target image carries out raster operation.Therefore imaging engine can form the bitmap image with the necessary element in the display list of source image, generation is used for filling up tinting of source image, and the source image is carried out raster operation and target image is tinted, produce the bitmap image of representing pages data whereby.
The source image adopts CMYK or rgb color pattern as its reference format usually.In the color space, it is 24 image data that image object generally can be imaged as each picture element, and a look (channel) is frequently represented in wherein per 8 positions.Therefore, when the imaging engine when carrying out image forming program, because consider the accuracy of image operation, it can carry out raster manipulation with 8 computation engine with whole source image, to produce 8 image datas accurately, convert 1 image data to reference to the color range conversion table of comparisons (screening table) again and present color depth.
Yet this program needs suitable complex calculations step, thereby is lowered into picture program implementation speed and efficient.Therefore, another feasible way is that the video conversion of will originating earlier becomes 1 image data, carries out 1 raster manipulation again.Though this practice can promote the execution speed and the efficient of image forming program, can be lowered into the accuracy of picture operation.
In view of this, for execution speed and efficient that promotes image forming program and the accuracy that improves the imaging operation, the imaging method for image that needs to propose a kind of innovation is arranged in fact, to satisfy the demands of consumers.
Summary of the invention
In view of the above problems, one object of the present invention is to provide a kind of imaging method for image, and it can promote the execution speed and the efficient of imaging operation, and the accuracy of imaging operation.
For reaching above-mentioned purpose, main embodiment of the present invention is a kind of imaging method for image, and this method comprises the following step: step a provides the source image; Step b carries out raster manipulation with the first bit arithmetic engine, and is divided into first area and second area according to the raster manipulation parameter (ROP value) of the gained image of should originating; Step c is with the first bit arithmetic engine computing first area and carry out image forming program (Renderprocess), to produce first image data of first area; Steps d is with second this second area of bit arithmetic engine computing and carry out image forming program, to produce second image data of second area; And step e, according to the color range conversion table of comparisons, second image data of second area is converted to first image data of second area.
In the above-mentioned imaging method for image, this method can be based on printer control language.
In the above-mentioned imaging method for image, the arithmetic speed of the first bit arithmetic engine can be faster than the arithmetic speed of this second bit arithmetic engine.
In the above-mentioned imaging method for image, the first area can represent can correct imaging with the first bit arithmetic engine operation result the zone, and second area can be represented with the correct zone of imaging of the first bit arithmetic engine operation result.
The above-mentioned conception according to the present invention also can comprise in another embodiment of the present invention: step a1, and the image of will originating is divided into a plurality of districts bands (band); Step b1 with special symbols sign second area, when plural special symbols is overlapping, merges overlapping special symbols; Step c1 is converted to image data based on CMYK with first image data of this first area; Steps d 1 is converted to image data based on CMYK with second image data of this second area; And step f, first image data of first image data of this first area and this second area is sent to printer prints.
In the above-mentioned imaging method for image, the first bit arithmetic engine can be 1 bit arithmetic engine, and the second bit arithmetic engine can be 8 bit arithmetic engines.
Though though that the present invention has remedied conventional art is quick but inaccurate or accurately but defective at a slow speed.Can on demand the source image be divided into several district's band or blocks simultaneously, allow system can tell first area and second area faster, further promote the speed and the accuracy of video imaging operation.
Description of drawings
Fig. 1: the schematic flow sheet of first preferred embodiment of imaging method for image of the present invention.
Fig. 2: the schematic flow sheet of second preferred embodiment of imaging method for image of the present invention.
Fig. 3: the image of will originating in the first embodiment of the invention is divided into the schematic flow sheet of first area and second area.
Fig. 4 (A)~Fig. 4 (B); The present invention is with the schematic diagram of first preferred embodiment of special symbols sign second area.
Fig. 5: the present invention is with the schematic diagram of second preferred embodiment of special symbols sign second area.
Wherein, description of reference numerals is as follows:
40,50: district's band
41: the first area
42,42 ', 52,52 ': second area
M: rectangle mark
M: special symbols
S110~S160: the process step of imaging method for image of the present invention
S301~S307: source of the present invention image is divided into the process step of first area and second area
Embodiment
The exemplary embodiments that embodies feature of the present invention and advantage will be described in detail in the explanation of back.Be understood that the present invention can have various variations in different schemes, these schemes all do not depart from the scope of the present invention, and this specification and the accompanying drawing usefulness that ought explain in itself, but not in order to restriction the present invention.
Imaging method for image provided by the present invention mainly can be applicable to color printer, to promote high efficiency and the high correctness that color printer prints chromatic image.Imaging method for image of the present invention, mainly be that the source image is divided into zones different more than two, and adopt different bit arithmetic engines to carry out computing respectively, promote the execution speed and the efficient of video imaging operation whereby, and improve the accuracy of video imaging operation, when improving prior art and carrying out raster manipulation, can't produce correct video imaging result's defective with single bit arithmetic engine.To be example below, further describe technology of the present invention with 1 bit arithmetic engine and 8 bit arithmetic engines.
See also Fig. 1, it is the schematic flow sheet of first preferred embodiment of imaging method for image of the present invention.As shown in the figure, during beginning, the source image (step S110) of pending printing is provided earlier, then, with 1 bit arithmetic engine the source image is carried out raster manipulation, and be divided at least one first area and at least one second area (step S120) according to the raster manipulation parameter of the gained image of will originating, wherein the first area representative is with the zone of the correct imaging of imaging results meeting of 1 bit arithmetic engine computing, and second area representative can produce incorrect imaging results with the result of 1 bit arithmetic engine computing when printing zone, the technology contents of this part will describe in detail in the back.Afterwards, with 1 bit arithmetic engine computing first area and carry out image forming program, to produce 1 image data (step S130) of first area, again with 8 bit arithmetic engine computing second areas, and carry out image forming program, to produce 8 image datas (step S140) of second area, then 8 image datas of second area are converted to 1 image data (step S150) of second area according to the color range conversion table of comparisons, at last, 1 image data of 1 image data of first area and second area is sent to default printer and prints (step S160).Thus, just source image to be printed can be divided into first area and second area after, utilize 1 bit arithmetic engine and 8 bit arithmetic engines to carry out computing respectively.That is to say, technology of the present invention can make the source image all to carry out computing with 1 bit arithmetic engine, thereby the not good problem of accuracy takes place to print, also can be because of not considering the relation of accuracy, need all with 8 bit arithmetic engine computings, thereby prolong the activity duration.
Certainly, in order further to accelerate to distinguish the speed and the accuracy of first area and second area, also can add extra step in the step of imaging method for image of the present invention.See also Fig. 2, it is the schematic flow sheet of second preferred embodiment of imaging method for image of the present invention.Wherein, after source image (step S110) is provided, the source image can be divided into a plurality of districts bands (step S111), with 1 bit arithmetic engine the source image is carried out raster manipulation again, and be divided into first area and second area (step S120) according to the raster manipulation parameter of the gained image of will originating, then, position (step S121) with special symbols sign second area, again with 1 bit arithmetic engine computing first area and carry out image forming program, to produce 1 image data (step S130) of first area, in addition with 8 bit arithmetic engine computing second areas and carry out image forming program, to produce 8 image datas (step S140) of second area, subsequently, 1 image data of first area is converted to image data (step S131) based on CMYK, and also 8 image datas of second area is converted to image data (step S141) based on CMYK.Certainly, also can be exchanged into the image data based on RGB or other color mode, this can change as required voluntarily.Afterwards, again 8 image datas of second area are converted to 1 image data (step S150) of second area according to the color range conversion table of comparisons.At last, just 1 image data of 1 image data of first area and second area can be sent to default printer and print (step S160).In the present embodiment, image is divided into a plurality of districts band owing to will originate, therefore when comparison raster manipulation parameter, the available area band is as unit, thereby accelerate the speed of comparison, in addition, owing to identify the position of second area one by one with special symbols, what therefore system can be correct fast does the not computing of coordination to zones of different, after image data produces, be converted to the image data that cooperates the cmyk color pattern that printer generally uses again, therefore and printer between transmission link up also can be quicker.
In an embodiment, distinguish first area and second area method can according to following for the embodiment realization.See also Fig. 3, it shows that the image of will originating among first embodiment is divided into the schematic flow sheet of first area and second area.As shown in the figure, during beginning, the resolver of printer controller (parser) can be resolved the source image data in the raster manipulation parameter (step S301) of display list.Then, judge whether the raster manipulation parameter is some special value (step S302) that can accurately carry out 1 imaging operation, for example 0,240,255 or the like.If raster manipulation parameter some special value for can accurately carrying out 1 imaging operation, the zone that then can carry out 1 imaging operation is set at first area (step S303).If some special value that 1 imaging operation can not be accurately carried out in the representative of raster manipulation parameter begins then to judge on behalf of the zone, whether this regional raster manipulation parameter merge the insignificant predetermined value of Boolean calculation (step S304) of control.For example in the printer control language of HP, when the raster manipulation parameter was 252, the operation code (OP code) of representing the zone to merge the Boolean calculation of control was zero, and meaning i.e. this Boolean calculation can be ignored.At this moment, if raster manipulation parameter representative can not be uncared-for during special value, can directly this zone be set at second area (step S307).But when the raster manipulation parameter is representative zone when merging the insignificant predetermined value of Boolean calculation of control, for example 252, judge then whether the zone is figure (graphic) (step S305).If the zone is a figure, then this zone is set at the first area, if be not figure, judge then whether this zone is image (image) and pattern (pattern) (step S306).If the zone is an image when being pattern again, then this zone is set at the first area, otherwise, then be set at second area (step S307).Thus, just can clearly the source image be divided into first area and second area.
In order to allow the position that system can quicker resolution second area, imaging method for image of the present invention is also with the position of special symbols sign second area.See also Fig. 4 (A)~Fig. 4 (B) and Fig. 5, it shows with first preferred embodiment of special symbols sign second area and the schematic diagram of second preferred embodiment.Shown in Fig. 4 (A), when being divided into a plurality of districts, the source image is with 40 (shown in step S111 among Fig. 2), and after telling first area 41 and second area 42, can utilize rectangle mark M to identify second area 42, certainly, be not to identify other difformity with rectangle mark M, for example the mark of shape such as circle or triangle also can be used for technology of the present invention, and mark size is not limit.When plural rectangle mark M is overlapping, shown in Fig. 4 (B), just the second area 42 that two rectangle mark M are identified is merged into a bigger second area 42 '.Thus, just can reduce the overall quantity of second area 42, to increase the arithmetic speed of imaging operation.In addition, as shown in Figure 5, in order to prevent that from there are many overlapping special symbols m that do not have in the district in 50, when there not being overlapping special symbols m to surpass a certain set point for example 30 the time, just whole district can be divided into the identical block 50 ' of a plurality of areas again with 50, for example can directly whole district is with 50 to be divided into 8 blocks 50 ', and merge per 4 second areas 52 ' that special symbols m is as a whole, partitioning scheme and quantity not be limit certainly.In this case, whether the second area 52 that is identified regardless of special symbols m in each block has overlapping, all all second areas 52 can be merged into a big second area 52 ', therefore, when carrying out the imaging operation of 8 bit arithmetic engines, system just can determine whether with reference to the second area 42,52 that special symbols M, m are identified carrying out the imaging operation.In addition, the district that system also can further set up two signs brings half setting of transferring (halftone) and neutral axis (neutral axis) of putting down in writing object, so that when finishing 8 imaging operations, the data that the raster manipulation parameter converted to 1 are as the usefulness of reference.
Certainly, in the above embodiment, bit arithmetic engine that can adopt and indefinite leave no choice but 1 the collocation 8 can not, the bit arithmetic engine of other kind also can be applicable to technology of the present invention.In addition, the scope of application of the color range conversion table of comparisons is indefinite also, can do conversion according to actual needs.
In sum, imaging method for image of the present invention, the source image can be divided into zones different more than two, and adopt different bit arithmetic engines to come computing is carried out in different zones respectively, make color printer when printing chromatic image, can be quicker and correct print required image data, improve in the conventional art, only can carry out the imaging operation, though though thereby quick inaccurate or accurate at a slow speed the defective of generation with single bit arithmetic engine.Simultaneously, can on demand the source image be divided into several district's band or blocks again, allow system can tell first area and second area faster, further promote the speed and the accuracy of video imaging operation.
The present invention can carry out various modifications by those skilled in the art, yet does not all break away from the protection range of claims.

Claims (8)

1. imaging method for image, this method comprises the following step:
Step a provides the source image;
Step b, carry out raster manipulation with the first bit arithmetic engine, and be divided at least one first area and at least one second area according to the raster manipulation parameter of the gained image of should originating, wherein this first area is with the correct zone of imaging of the first bit arithmetic engine computing, and this second area is with the correct zone of imaging of the first bit arithmetic engine computing;
Step c is with first this first area of bit arithmetic engine computing and carry out image forming program, to produce first image data of this first area;
Steps d is with second this second area of bit arithmetic engine computing and carry out image forming program, to produce second image data of this second area; And
Step e according to the conversion of the color range between the second bit arithmetic engine and the first bit arithmetic engine table of comparisons, is converted to second image data of this second area first image data of second area;
Wherein, the first bit arithmetic engine and the second bit arithmetic engine are different, make the first area of source image carry out computing, and the second area of source image can carry out computing by the second bit arithmetic engine, the correct imaging operation of finishing this source image fast thus by the first bit arithmetic engine.
2. imaging method for image as claimed in claim 1, wherein this method is based on printer control language.
3. imaging method for image as claimed in claim 1, wherein the arithmetic speed of the first bit arithmetic engine is faster than the arithmetic speed of this second bit arithmetic engine.
4. imaging method for image as claimed in claim 1, wherein step a also comprises step a1: the image of should originating is divided into a plurality of districts band.
5. imaging method for image as claimed in claim 1, wherein step b also comprises step b1: identify this second area one by one with special symbols, when plural special symbols is overlapping, overlapping special symbols is merged, wherein this special symbols is the rectangle mark.
6. imaging method for image as claimed in claim 1, wherein step c also comprises step c1: first image data of this first area is converted to image data based on CMYK, and steps d also comprises steps d 1: second image data of this second area is converted to image data based on CMYK.
7. imaging method for image as claimed in claim 1 wherein also comprises step f: first image data of first image data of this first area and this second area is sent to printer prints.
8. imaging method for image as claimed in claim 1, wherein the first bit arithmetic engine is 1 bit arithmetic engine, and the second bit arithmetic engine is 8 bit arithmetic engines.
CN2007101090202A 2007-06-12 2007-06-12 Imaging method for image Active CN101325647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101090202A CN101325647B (en) 2007-06-12 2007-06-12 Imaging method for image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101090202A CN101325647B (en) 2007-06-12 2007-06-12 Imaging method for image

Publications (2)

Publication Number Publication Date
CN101325647A CN101325647A (en) 2008-12-17
CN101325647B true CN101325647B (en) 2010-06-02

Family

ID=40188952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101090202A Active CN101325647B (en) 2007-06-12 2007-06-12 Imaging method for image

Country Status (1)

Country Link
CN (1) CN101325647B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1057910A (en) * 1990-07-04 1992-01-15 中国科学院长春光学精密机械研究所 Scanning multispectral microscopic imaging method and device thereof
US5410414A (en) * 1993-10-28 1995-04-25 Xerox Corporation Halftoning in a hyperacuity printer
CN1680978A (en) * 2004-04-07 2005-10-12 迈克纳斯公司 Method and device for determination of motion vectors that are coordinated with regions of an image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1057910A (en) * 1990-07-04 1992-01-15 中国科学院长春光学精密机械研究所 Scanning multispectral microscopic imaging method and device thereof
US5410414A (en) * 1993-10-28 1995-04-25 Xerox Corporation Halftoning in a hyperacuity printer
CN1680978A (en) * 2004-04-07 2005-10-12 迈克纳斯公司 Method and device for determination of motion vectors that are coordinated with regions of an image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP昭61-222757A 1986.10.03

Also Published As

Publication number Publication date
CN101325647A (en) 2008-12-17

Similar Documents

Publication Publication Date Title
EP2306301A2 (en) Image processing system, image processing method and image processing program
JP4155322B2 (en) Image processing apparatus, image processing method, and image processing program
US6049394A (en) Color print system, color printer, and a computer readable-recording medium with a computer-executive program stored therein
US8830506B2 (en) Image processing system utilizing plural parallel processors and image processing method utilizing plural parallel processors
EP0772117A1 (en) Printer driver architecture for reducing band memory
US20090244637A1 (en) Image processing apparatus
US7773262B2 (en) Image rendering method
US8054478B2 (en) Image forming apparatus, and method for changing number of lines in band buffer based on memory size to be required
US8085439B2 (en) Method and device for processing a print data flow for producing multicolor printed images using a high performance printing system
US6259536B1 (en) Color printing yielding a background dependent black image (i.e. intelligent black)
US20180047190A1 (en) Method for improving the print quality of graphic elements
CN101325647B (en) Imaging method for image
US5867637A (en) Document processing with flexible resolution and output style
JP3636891B2 (en) Color image output method
JP5790000B2 (en) Printing apparatus and printing method therefor
JP3826201B2 (en) Printing device with overlay function
JP2011197956A (en) Printer control device, and printer apparatus and control method thereof
JP2018125763A (en) Print data processing apparatus and program
JP2010181999A (en) Printing system, printer, and print control program
JP2005038084A (en) Method and device for converting drawing data
JP5112223B2 (en) Image processing apparatus and image processing program
JP2006154912A (en) Document display, print system, method and storage medium
JP3236053B2 (en) Image processing system and image processing method
US8264735B2 (en) Image processing apparatus, image formation apparatus, image processing method, and recording medium storing program
US20070014474A1 (en) Data-generating apparatus, method, and program for image forming

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Cai Shaozhong

Inventor before: Cai Yaozhong

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: CAI YAOZHONG TO: CAI ZHONG