CN101436295B - Method and apparatus for processing color separation of image file - Google Patents

Method and apparatus for processing color separation of image file Download PDF

Info

Publication number
CN101436295B
CN101436295B CN 200810227256 CN200810227256A CN101436295B CN 101436295 B CN101436295 B CN 101436295B CN 200810227256 CN200810227256 CN 200810227256 CN 200810227256 A CN200810227256 A CN 200810227256A CN 101436295 B CN101436295 B CN 101436295B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
image data
color
file
image
corresponding
Prior art date
Application number
CN 200810227256
Other languages
Chinese (zh)
Other versions
CN101436295A (en )
Inventor
杨楠
魏超鹏
Original Assignee
北京北大方正电子有限公司
北大方正集团有限公司
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
Grant date

Links

Abstract

The invention discloses a color separation processing method and a color separation processing device for an image file. The method comprises the following steps: the image file is analyzed to obtain image data; the image data is subject to color separation processing according to a color mode needed by color separation to obtain image data corresponding to different colors; and the image data corresponding to the colors is written into corresponding color plates respectively, and a PS file is generated according to the color plates. The adoption of the method can reduce the data amount of the PS file, improve the speed of analysis and processing of the PS file, and improve the utilization rate of storage space of storage medium.

Description

一种图像文件的分色处理方法及装置技术领域[0001 ] 本发明涉及计算机排版领域,尤其涉及一种图像数据的分色处理方法及装置。 Separation processing method and an image file apparatus Technical Field [0001] The present invention relates to a computer typesetting, and in particular relates to a method and apparatus for processing color separation image data. [0002] 背景技术[0003] 在出版印刷领域,由于各种原因,经常需要在排版软件中进行前端分色。 [0002] BACKGROUND [0003], for various reasons, often require separation in the distal typesetting software in the field of publishing and printing. 例如,为了彩色印刷的需要,将彩色原稿分解成为各单色版,从而将原稿转化为与彩色印刷过程相兼容的结构形式。 For example, the need for color printing, will be decomposed into each monochromatic color original version, so that the conversion of document structure is compatible with the color printing process. [0004] 印刷上通常采用四色印刷方法,因此,先将原稿进行色分解,分成青(C)、品红(M)、黄(Y)、黑(K)四色色版,然后印刷时再进行色的合成。 When the [0004] printed four-color printing process usually used, therefore, the first color separation manuscript, into cyan (C), magenta (M), yellow (Y), black (K) four-color printing plate, and then printing synthesis of color. 由于印刷技术的发展,目前可以通过印前扫描设备将原稿颜色分色、取样并转化成数字化信息,即,将原稿颜色分解为红(R)、绿(G)、蓝(B)三色,并进行数字化,再用计算机设备通过数学计算把数字信息分解为青(C)、品红(M)、黄(Y)、黑⑷四色信息,形成PS (PostScript)文件。 Since the development of the printing technology, the current document can be scanned by the device prepress color separations, sampled and converted into digital information, i.e., the original color separation into red (R), green (G), blue (B) three colors, and digitized, the computer device then mathematically broken down into digital information cyan (C), magenta (M), yellow (Y), black four-color information ⑷ formed PS (PostScript) files. [0005] 前端分色输出PS文件时,往往需要包含图像数据。 When [0005] the front end of the dichroic output PS file, often needs to contain the image data. 在现有技术中,每个色版都包含全部图像数据,文件数据量很大,既降低了磁盘空间利用率,又降低了文件的解析速度。 In the prior art, each color version contains all of the image data, a large amount of data file, not only reduces disk space utilization, but also reduces the speed of parsing files. [0006] 发明内容[0007] 本发明实施例提供了一种图像文件的分色处理方法及装置,用以解决现有图像数据分色处理过程中文件数据量大、文件解析速度慢的问题。 [0006] SUMMARY OF THE INVENTION Problems embodiment of invention provides a color processing method and device for image files, color separation to solve the conventional image data processing large data files, file parsing slow [0007] present. [0008] 本发明实施例提供的图像文件的分色处理方法,应用于出版印刷领域,包括:[0009] 解析图像文件,得到图像数据;[0010] 根据分色所需的颜色模式对所述图像数据进行分色处理,得到不同颜色对应的图像数据,所述对所述图像数据进行分色处理,具体为:根据解析得到的图像数据的颜色模式,直接得到或经过模式转换得到分色所需的颜色模式的多通道图像数据;[0011] 将各颜色对应的图像数据分别写入对应的色版,并根据各色版生成PS文件;其中,将各颜色对应的图像数据分别写入对应的色版,具体为:将各通道图像数据分别写入与通道对应的色版。 [0008] The separation processing method of an image file according to an embodiment of the present invention is applied to the field of publishing and printing, comprising: [0009] parsing an image file, the image data obtained; [0010] The separation of the desired color pattern separation processing image data to obtain image data corresponding to different colors, the color separation processing on the image data, specifically: the color mode analysis to obtain image data, directly or after separation of the obtained mode conversion multi-channel image data of the desired color pattern; [0011] corresponding to the respective color image data is written into the corresponding color separation, and color according to generate PS file version; wherein the respective colors corresponding to image data is written into the corresponding color version, specifically: the image data is written into each channel corresponding to the channel color version. [0012] 本发明实施例提供的图像文件分色处理的装置,应用于出版印刷领域,包括:[0013] 文件解析模块,用于解析图像文件,得到图像数据;[0014] 图像分色模块,用于根据分色所需的颜色模式对所述图像数据进行分色处理,得到不同颜色对应的图像数据;进一步用于,根据解析得到的图像数据的颜色模式,直接得到或经过模式转换得到分色所需的颜色模式的多通道图像数据;[0015] 文件生成模块,用于将各颜色对应的图像数据分别写入对应的色版,并根据各色版生成PS文件;所述文件生成模块进一步用于,将各通道图像数据分别写入与通道对应的色版。 [0012] The image file separation processing apparatus according to an embodiment of the present invention is applied to the field of publishing and printing, comprising: [0013] file parsing module, for parsing an image file, the image data obtained; [0014] The image separation module, for performing the color separation of the desired pattern on the image data separation processing, to obtain image data corresponding to different colors; further configured to, depending on the color mode analysis to obtain image data, directly or through the converted sub-mode multi-channel image data of a desired color of the color mode; [0015] the file generation module for each color corresponding to the image data are written into the corresponding color plates, and color according to generate PS file version; the file generating module further for the respective channel image data are respectively written version of a color corresponding to the channel. [0016] 本发明的上述实施例,通过对图像文件进行解析以及分色处理,得到分色所需的颜色模式中不同颜色对应的图像数据,再将各颜色对应的图像数据分别写入对应的色版, 生成PS文件,从而使PS文件中各色版仅包含与该色版对应的图像数据,与现有技术中的PS 文件各色版中将所有图像数据都包含其中相比,降低了PS文件的数据量,进而提高了PS文件的解析、处理速度,并进一步提高了存储介质的存储空间的利用率。 [0016] The embodiments of the present invention, by analyzing an image file, and color processing, the image data to obtain the desired color separation in the color mode corresponding to different colors, then the image data corresponding to respective colors are written into the corresponding color version, PS files generated, so that the PS plate file contains only color image data corresponding to the color version, with all the image data in the prior art PS file contains colored version compared wherein reducing the PS file amount of data, thereby improving the resolution, the process speed PS file, and to further improve utilization of storage space of the storage medium. [0017] 附图说明[0018] 图1为本发明实施例提供的图像文件分色处理的流程示意图;[0019] 图2为本发明实施例提供的图像文件分色处理的装置的结构示意图。 [0017] BRIEF DESCRIPTION [0018] FIG 1 provides a schematic flow diagram of an image file separation process embodiment of the invention; [0019] FIG. 2 is a schematic structure of an image file separation processing apparatus according to an embodiment of the present invention. [0020] 具体实施方式[0021] 下面结合附图对本发明实施例进行详细描述。 [0020] DETAILED DESCRIPTION [0021] Hereinafter, embodiments of the present invention is described in detail in conjunction with the accompanying drawings. [0022] 参见图1,为本发明实施例提供的图像文件分色处理的流程示意图。 [0022] Referring to Figure 1, a schematic flowchart of the image color processing file provided by the embodiment of the present invention. 为了彩色印刷的需要,通常前端分色所需的颜色模式为CM^(模式,但也不排除其他颜色模式的可能性, 但其处理原理是一样的。下面以前端分色所需的颜色模式为CMYK为例进行描述,该流程具体包括:[0023] 步骤101、提取待处理图像文件(如扫描或通过图片处理软件设计制作出的图像文件,如TIFF、JPEG等图像文件)的相关信息,相关信息可包括以下的一种或多种:图像文件类型(如压缩文件、非压缩文件或压缩方式等)、文件格式(如TIFF或JPEG等)、图像颜色模式(如二值图、黑白图、索引图、灰度图、RGB模式或CMYK模式等)。[0024] 该步骤中,可根据图像文件的文件名后缀判断图像文件的格式,如对于文件名为image, tif的图像文件判断其为TIFF格式,为了提高判断的准确性,也可通过读取图像文件的文件头中有关文件格式的字段进行判断。对于颜色模式, For color printing needs, the desired separation color mode is usually distal CM ^ (mode, but does not exclude the possibility of other color modes, but the principle is the same process following the desired color pattern in the dichroic distal CMYK is described as an example, the process comprises: [0023] step 101, extracts an image file to be processed (e.g., a scanned image or design files, such as TIFF, JPEG and other image file by image processing software) related information, related information may include one or more of: image file type (e.g., compressed file, an uncompressed or compressed mode, etc.), file formats (e.g., the JPEG or TIFF, etc.), image color model (e.g., binary image, black and white , index, grayscale, the RGB or CMYK mode, mode, etc.). [0024] in this step, can be determined according to the format file name suffix image file of an image file, such as file name for the image, tif image file to determine its TIFF format, in order to improve accuracy of the determination, the field may be judged by reading the image file header for the file formats. for color mode, 通过读取文件头中有关颜色模式的字段进行判断。对于类型,可通过读取文件头中有关是否压缩以及压缩方式的字段进行判断。[0025] 步骤102、根据从图像文件中提取出的相关信息解析图像文件,从而获取到图像数据。[0026] 该步骤中,在解析图像文件过程时,可根据提取出的图像文件的格式和类型确定出图像数据的编码方式和压缩,然后用相应的解码方式和解压方式解析出图像数据。图像文件的颜色模式决定了通道的数量及类型,解析出的图像数据可以与颜色模式所对应的多通道形式来组织。例如:[0027] 对于文件格式为TIFF、颜色模式为RGB、图像数据无压缩的图片,解析此图像文件后,读取图像数据内容,得到RGB_R、RGB_G、RGB_B三个通道的图像数据。[0028] 步骤103、根据提取出的图像文件的颜色模式,确定是否需要进行模式转换,如果需要,则执行步 Judgment on the color mode by reading the file header fields for type, and a field to whether compression compression mode is determined by reading the file header. 102, based on the extracted from the image file associated [0025] Step information analyzing image file, so as to acquire the image data. [0026] in this step, when parsing an image file process can be determined that the encoding of the image data and compressed according to the format and type of the extracted image file, and then with the corresponding decoding mode and decompression mode parsed image data of a color pattern image file determines the number and type of channel, the parsed image data may be a multi-channel form and color mode corresponding to the tissue, for example: [0027] for the file format TIFF, color mode is RGB, the image data of uncompressed images, this image file is parsed, the content of the read image data, image data is obtained RGB_R, RGB_G, RGB_B three channels. [0028] step 103, based on the extracted image color pattern file, determine the need for mode switching, if necessary, to step 骤104,否则执行步骤105。[0029] 该步骤中,由于颜色模式为二值图、黑白图、索引图、灰度图或CiffK等模式时,其多通道形式的图像数据可以与分色所需的CM^(模式的多通道数据直接对应,因此,对于上述颜色模式的图像数据,则不需要进行模式转换。由于颜色模式为RGB模式时,其多通道形式的图像数据不能直接与分色所需的CMYK模式的多通道数据直接对应,因此,需要将RGB 模式的图像数据转换为分色所需的CMYK模式。[0030] 步骤104、将图像数据转换为CiffK模式,即,得到CiffK模式的多通道数据。 Step 104, otherwise step 105. [0029] In this step, since the color mode when the binary image, black and white, index, grayscale, or the like CiffK mode in which multiple channels of image data may be associated with the color separation CM ^ required for multi-channel data (corresponding to the direct mode, and therefore, the image data of the color mode, the mode switching is not required. Since the mode is the color RGB mode, the multiple channels of image data can not be directly dichroic multi-channel data required corresponds directly CMYK mode, therefore, image data RGB mode needs to be converted into the desired separations CMYK mode. [0030] step 104, the image data into CiffK mode, i.e., to obtain pattern CiffK the multi-channel data. 转换方式可采用现有技术提供的方式。 Conversion prior art embodiment mode can be provided. 例如:[0031 ] 对于RGB模式的图像文件,经过模式转换处理后,得到CMYK模式的图像数据,包括CMYK_C、CMYK_M、CMYK_Y和CMYK_K四个通道的图像数据。 For example: [0031] For image files RGB mode, after the mode transition process, mode to obtain CMYK image data, comprising image data CMYK_C, CMYK_M, CMYK_Y CMYK_K and four channels. [0032] 步骤105、选择一个CMYK色版,每个CMYK色版对应CMYK模式的一个通道。 [0032] Step 105, selecting a CMYK color version, each version corresponding to a channel CMYK CMYK color mode. [0033] 步骤106、判断解析得到的图像数据中是否有与选择的色版对应的图像通道,如果有,则执行步骤107,否则执行步骤109。 [0033] Step 106, and determines whether a selected version of a color image corresponding to the image data of the parsed channel, if there is, step 107 is performed, otherwise step 109. [0034] 该步骤中,由于从某些颜色模式的图像文件解析出的图像数据的通道数量少于CiffK模式的通道数量,如二值图、黑白图、灰度图等,对于这些图像文件不一定存在与选择的色版对应的数据通道。 [0034] In this step, since the number of channels from the image file is parsed certain color mode image data is less than the number of channels CiffK patterns, such as binary image, black and white, grayscale, etc., for the image files are not there must be corresponding to the selected color version of the data channel. [0035] 步骤107、在当前选择出的色版中写入相关指令。 [0035] Step 107, the write command related to the current version of the selected color. [0036] PS指令是指向PS文件中写入图像数据前,需要对图像数据的颜色空间、图像尺寸、图像位置、变换矩阵、图像数据类型、编解码方式等进行描述,同时还要写入图像处理指令(如image等命令)等PS指令。 [0036] PS is the instruction before writing image data point PS file, it is necessary for the color space of the image data, image size, image position, transformation matrix, the image data type, codec, etc. will be described, but also written to the image processing instructions (e.g., image order, etc.), etc. PS command. 对于分色输出的PS文件,在该步骤中写入上述这些指令时,由于各色版中仅包含相应通道的图像数据,因而不同于现有技术输出PS文件时的PS 指令,需要对指令进行调整,可能会使用不同的参数或不同的指令。 For color separation output PS file, writing these commands in this step, since the color version of the image only contains data for the corresponding channel, and thus differs from the prior art instruction PS PS file output, the need for adjustment instruction , you may use different parameters or different instructions. [0037] 步骤108、在当前选择出的色版中写入对应通道的图像数据,写入的图像数据为解析(如前所述,在有些情况下还需要模式转换)得到的图像数据。 [0037] Step 108, image data is written in the corresponding channel of the currently selected color plates, the image data of the image data is written to parse (as described above, mode conversion required in some cases) obtained. [0038] 步骤109、判断是否还有未遍历到的CMYK色版,如果有,则执行步骤110,否则生成PS文件后结束本流程。 [0038] Step 109, it is judged whether there has not traversed the CMYK color version, if there is, step 110 is executed, otherwise, the process ends the generated PS file. [0039] 步骤110、选择下一个CMYK色版,并返回步骤106。 [0039] Step 110 to select the next CMYK color version, and returns to step 106. [0040] 上述流程中,可依次遍历CMYK色版中的各个色版,从而在C色版中写入解析出的CMYK_C通道的图像数据,在M色版中写入解析出的CMYK_M通道的图像数据,在Y色版中写入解析出的CMYK_Y通道的图像数据,在K色版中写入解析出的CMYK_K通道的图像数据,最终形成PS文件。 [0040] In the above process, may be sequentially traversing each CMYK color version of the color plates, so that the parsed image data is written in the C channel CMYK_C color version, the writing of the parsed channel CMYK_M color version of the image M data is written in the image data of the color plates Y parsed CMYK_Y channel, the parsed image data is written in the K channels CMYK_K color plates, forming PS file. 当然,在某个通道的图像数据不存在的情况下,对应色版中不需写入图像数据。 Of course, in the case where the image data for a channel does not exist, without a corresponding color image data is written version. [0041 ] 通过上述流程可以看出,采用上述分色输出的PS文件,即,通过解析图像文件,将解析出的不同通道的图像数据对应写入前端分色所需的CiffK模式的四个色版中,并最终形成PS文件,从而使PS文件中的各色版只包含对应通道的图像数据,而采用现有技术方式输出的PS文件中,各色版都包含全部的图像数据,可见,采用本发明实施例提供的方法可显著降低PS文件的数据量,并可进一步提高对PS文件的解析、处理速度,以及提高存储介质(如磁盘)的存储空间的利用率。 [0041] As can be seen by the above process, the above-described color separation output PS file, i.e., by analyzing the image file, parsed image data corresponding to the different channels required for writing the front end of four color separation mode CiffK version, and eventually form PS file, so that the colored version of the PS file contains only the image data corresponding to the channel, while the prior art embodiment using PS file output, the color version of the image contains all of the data, can be seen with the present the method provided in the embodiment of the present invention can significantly reduce the amount of PS data file can be further improved parsing the PS file, the utilization of the processing speed, and increase the storage medium (e.g., disk) storage space. 针对同一个彩色图像文件,表1分别给出了采用现有技术方式和采用本发明实施例提供的方式进行处理后,文件大小及所占用空间的比较:[0042] 表1[0043] A color image for the same file, in Table 1 are given after the prior art embodiment and by way of an embodiment of the present invention, file size and the space occupied by comparing: [0042] Table 1 [0043]

Figure CN101436295BD00051

[0044] 基于相同的技术构思,本发明实施例还提供了一种图像文件分色处理装置。 [0044] Based on the same technical concept, embodiments of the present invention further provides an image file separation processing apparatus. [0045] 参见图2,为本发明实施例提供的图像文件分色处理装置的结构示意图,该装置包括:文件解析模块21、图像分色模块22和文件生成模块23,其中:[0046] 文件解析模块21用于解析图像文件得到图像数据,图像文件可以是扫描或通过图片处理软件设计制作出的图像文件;[0047] 图像分色模块22用于根据分色所需的颜色模式对文件解析模块21解析得到的图像数据进行分色处理,得到不同颜色对应的图像数据;[0048] 文件生成模块23用于将图像分色模块22分色处理后得到的各颜色对应的图像数据分别写入对应的色版,并根据各色版生成PS文件。 [0045] Referring to Figure 2, a schematic structure of an image file separation processing apparatus according to an embodiment of the present invention, the apparatus comprising: a file parsing module 21, the image file generating module 22 and separation module 23, wherein: [0046] Files parsing module 21 for parsing the obtained image data of the image file, the image file or may be designed to produce a scanning image by image processing software files; [0047] the image separation module 22 for parsing the file according to a desired color separation mode image data analysis module 21 was subjected to color separation processing, to obtain image data corresponding to different colors; [0048] file generating module 23 for the respective colors corresponding to color separation image data of the image separation processing modules 22 are written obtained corresponding to the color version, according to the PS file and generates color version. [0049] 在上述装置中,文件解析模块21可通过读取图像文件的颜色模式来确定该图像数据的通道数量和类型,并根据该图像文件的文件格式和压缩类型来读取出各通道对应的图像数据,具体方式如前所述。 [0049] In the above device, the file parsing module 21 may determine the number of channels and the type of the image data by reading an image file color mode, and to read out corresponding to each channel in accordance with the compressed image file format and file type image data, as described above specific embodiment. 图像分色模块22在进行分色处理之前,可根据该图像数据的颜色模式决定是否进行模式转换,如当前端分色所需的颜色模式为CMYK时,则对于RGB 模式的图像数据需要将其转换为CMYK模式,该模块进行分色处理时,将解析出(或进一步经过模式转换后)的图像数据转换为分色处理所需的颜色模式的多通道图像数据。 Separation is performed before the image separation processing modules 22, can determine whether the color mode of the image data when the mode transition, such as the current terminal mode is desired color separations CMYK, it needs to be for the image data of RGB mode when the mode is converted to CMYK, the color processing module, the parse out (or after further conversion mode) image data into image data for the multi-channel separation processing required for the color mode. 文件生成模块23可将图像分色模块22分色处理后的各通道图像数据分别写入与通道对应的色版,从而最终生成PS文件,例如可通过前述遍历各色版的方式在各色版中写入对应通道的图像数据。 File generating module 23 may each channel separation module 22 after the image separation processing of image data are written into the corresponding color channel version, to finally generate PS file, in the color version such as a writable by traversing the colored version manner the image data corresponding to the channel. [0050] 综上所述,本发明实施例针对现有技术中存在的缺陷,提供了一种图像文件的分色处理方法及装置,能够根据前端分色所需的颜色模式解析图像文件,把图像内容处理成多通道数据,在每个色版中只嵌入相应通道的图像数据。 [0050] In summary, embodiments of the present invention, the defects in the prior art, there is provided a separation method and device for processing an image file, the image file can be resolved according to the desired distal dichroic color mode, the image content processed into multi-channel data, only the image data of the respective channels embedded in each color plates. 由此避免现有技术中图像数据重复存储,能够明显提高磁盘空间利用率和提高文件解析速度。 Thereby avoiding the prior art image data stored repeatedly, can significantly increase the disk space utilization and improve the speed of file parsing. [0051] 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读存储介质中,所述的存储介质,如ROM/RAM、磁碟、光盘等。 [0051] Those of ordinary skill in the art may understand that the above-described embodiment, all or part of the method steps may be relevant hardware instructed by a program, the program may be stored in a computer-readable storage medium, the storage medium, such as ROM / RAM, magnetic disk, optical disk. [0052] 以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换, 都应包涵在本发明的保护范围之内。 [0052] The above are only the preferred specific embodiments of the invention, but the scope of the present invention is not limited thereto, any skilled in the art in the art within the scope of the invention disclosed can be easily thought variation or replacement should encompass within the scope of the present invention. 因此,本发明的保护范围应该以权利要求书的保护范围为准。 Accordingly, the scope of the present invention, the scope of the claims should prevail.

Claims (6)

  1. 1. 一种图像文件的分色处理方法,其特征在于,应用于出版印刷领域,包括:解析图像文件,得到图像数据;根据分色所需的颜色模式对所述图像数据进行分色处理,得到不同颜色对应的图像数据,所述对所述图像数据进行分色处理,具体为:根据解析得到的图像数据的颜色模式,直接得到或经过模式转换得到分色所需的颜色模式的多通道图像数据;将各颜色对应的图像数据分别写入对应的色版,并根据各色版生成PS文件;其中,将各颜色对应的图像数据分别写入对应的色版,具体为:将各通道图像数据分别写入与通道对应的色版。 Separation processing method for an image file, wherein the printing is applied to the field of publishing, comprising: parsing an image file, the image data obtained; color separation processing on the image data according to a desired color separation mode, to obtain image data corresponding to different colors, the color separation processing on the image data, specifically: the color mode analysis to obtain image data, directly or after separation mode desired color converted multi-channel mode the image data; corresponding to each color image data is written into the corresponding color separation, and color according to generate PS file version; wherein the respective colors corresponding to image data is written into the corresponding color version, specifically: the image of each channel data are written version of a color corresponding to the channel.
  2. 2.如权利要求1所述的方法,其特征在于,解析图像文件得到图像数据,包括:确定所述图像文件的颜色模式,根据该颜色模式确定通道的数量和类型,并读取各通道对应的图像数据。 2. The method according to claim 1, wherein the image file is parsed to obtain an image data, comprising: determining the color mode of the image file, determine the number and type of channel based on the color mode, and reads corresponding to each channel the image data.
  3. 3.如权利要求2所述的方法,其特征在于,解析图像文件得到图像数据,还包括:确定所述图像文件的文件格式,采用与该文件格式对应的解码方式读取各通道对应的图像数据;或/和确定所述图像文件的压缩方式,采用与该压缩方式对应的解压方式读取各通道对应的图像数据。 3. The method according to claim 2, characterized in that the analysis image obtained image data file, further comprising: determining a file format of the image file, the image corresponding to each channel using the read file format decoding method corresponding transactions; and / or determining the compression method of the image file using the read image data of the respective channels corresponding to the compression method corresponding to relieve stress.
  4. 4.如权利要求1所述的方法,其特征在于,若解析得到的图像数据的颜色模式为二值图、黑白图、索引图、灰度图或CMYK,则将解析得到的图像数据中各通道数据对应为分色所需的CMYK模式的多通道图像数据;或者,若解析得到的图像数据的颜色模式为RGB,则将该图像数据的RGB模式转换为分色所需的CM^(模式,得到CiffK模式的多通道数据。 4. The method according to claim 1, wherein, if the color mode parsed image data is binary image, black and white, index, grayscale, or CMYK, then the image data obtained by parsing each channel data corresponding to the desired separations CMYK mode multi-channel image data; or, if parsing of the color mode obtained as RGB image data, then converts the image data of RGB mode dichroic desired CM ^ (mode to give CiffK mode multi-channel data.
  5. 5. 一种图像文件的分色处理装置,其特征在于,应用于出版印刷领域,包括:文件解析模块,用于解析图像文件,得到图像数据;图像分色模块,用于根据分色所需的颜色模式对所述图像数据进行分色处理,得到不同颜色对应的图像数据;进一步用于,根据解析得到的图像数据的颜色模式,直接得到或经过模式转换得到分色所需的颜色模式的多通道图像数据;文件生成模块,用于将各颜色对应的图像数据分别写入对应的色版,并根据各色版生成PS文件;所述文件生成模块进一步用于,将各通道图像数据分别写入与通道对应的色版。 An image processing apparatus dichroic document, wherein printing is applied to the field of publishing, comprising: a file parsing module, for parsing an image file, the image data obtained; the image separation means for separation according to the desired color pattern of the image data separation processing, to obtain image data corresponding to different colors; further configured to, depending on the color mode analysis to obtain image data, directly or after conversion to give the desired separation pattern color pattern multi-channel image data; file generating module, used for the respective colors corresponding to image data are written into the corresponding color plates, and color according to generate PS file version; the file generating module is further configured to image data of each channel are written corresponding to the channel into color plates.
  6. 6.如权利要求5所述的装置,其特征在于,所述文件解析模块进一步用于,确定所述图像文件的颜色模式,根据该颜色模式确定通道的数量和类型,并读取各通道对应的图像数据。 6. The apparatus according to claim 5, wherein said file analyzing module is further configured to determine the color mode of the image file, determine the number and type of channel based on the color mode, and reads corresponding to each channel the image data.
CN 200810227256 2008-11-25 2008-11-25 Method and apparatus for processing color separation of image file CN101436295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810227256 CN101436295B (en) 2008-11-25 2008-11-25 Method and apparatus for processing color separation of image file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810227256 CN101436295B (en) 2008-11-25 2008-11-25 Method and apparatus for processing color separation of image file

Publications (2)

Publication Number Publication Date
CN101436295A true CN101436295A (en) 2009-05-20
CN101436295B true CN101436295B (en) 2012-06-27

Family

ID=40710726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810227256 CN101436295B (en) 2008-11-25 2008-11-25 Method and apparatus for processing color separation of image file

Country Status (1)

Country Link
CN (1) CN101436295B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4402015A (en) 1980-01-21 1983-08-30 Dainippon Screen Seizo Kabushiki Kaisha Picture signal pre-processing method for a picture reproducing machine
US5640254A (en) 1995-02-06 1997-06-17 Polygraphex Systems, Inc. Method for applying FM screening to a digital image
CN1475860A (en) 2002-04-23 2004-02-18 韦尔豪泽公司 Colour dichromic method and its printed product
CN1499444A (en) 2002-11-05 2004-05-26 村田机械株式会社 Reading and printing device of colour image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4402015A (en) 1980-01-21 1983-08-30 Dainippon Screen Seizo Kabushiki Kaisha Picture signal pre-processing method for a picture reproducing machine
US5640254A (en) 1995-02-06 1997-06-17 Polygraphex Systems, Inc. Method for applying FM screening to a digital image
CN1475860A (en) 2002-04-23 2004-02-18 韦尔豪泽公司 Colour dichromic method and its printed product
CN1499444A (en) 2002-11-05 2004-05-26 村田机械株式会社 Reading and printing device of colour image

Also Published As

Publication number Publication date Type
CN101436295A (en) 2009-05-20 application

Similar Documents

Publication Publication Date Title
US20040257622A1 (en) Image processing apparatus, image processing system, and computer program
US20030156196A1 (en) Digital still camera having image feature analyzing function
US20060023239A1 (en) Method and apparatus for handling different print data formats
US20060098233A1 (en) Representations of spot colors
US7706022B2 (en) Image forming apparatus and image forming method
US20040114166A1 (en) Color image processing method, color image processing apparatus, color image processing program, and record medium
JP2001292331A (en) Image processing method and device, image processing system and recording medium
US20060262339A1 (en) Document targeting systems and methods
JP2008118447A (en) Image forming apparatus, image forming method, and its program
US6229623B1 (en) Digital color proofing system
US20100053695A1 (en) Image processing apparatus and image processing method
US20060146196A1 (en) Image reproduction using a specific color space
JPH06320802A (en) Image processor
US20070279705A1 (en) Image processing apparatus and control method thereof, and program
US6955486B2 (en) Image processor, image processing method, and computer product
US20060152750A1 (en) Image processing apparatus and method, and storage medium
CN102821279A (en) Picture compression method keeping with alpha channel
US20060274341A1 (en) Image processing apparatus and image processing method
US20040227963A1 (en) Introducing loss directly on display list data
US20110052078A1 (en) Image inspection apparatus, image inspection method, and computer program product
US7804630B2 (en) Image processing apparatus and image processing method
US20040080798A1 (en) Image processing method and image processing apparatus
US8660347B2 (en) Image processing apparatus and processing method therefor
JP2007088912A (en) Image processing apparatus and program
US20040207872A1 (en) Image processing system

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted