JP2015211238A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2015211238A
JP2015211238A JP2014089665A JP2014089665A JP2015211238A JP 2015211238 A JP2015211238 A JP 2015211238A JP 2014089665 A JP2014089665 A JP 2014089665A JP 2014089665 A JP2014089665 A JP 2014089665A JP 2015211238 A JP2015211238 A JP 2015211238A
Authority
JP
Japan
Prior art keywords
band
color
image
monochrome
image processing
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.)
Pending
Application number
JP2014089665A
Other languages
Japanese (ja)
Inventor
洋志 横田
Hiroshi Yokota
洋志 横田
正隆 竹村
Masataka Takemura
正隆 竹村
宮下 政樹
Masaki Miyashita
政樹 宮下
林 信二
Shinji Hayashi
信二 林
田中 邦彦
Kunihiko Tanaka
邦彦 田中
星輝 里見
Seiki Satomi
星輝 里見
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2014089665A priority Critical patent/JP2015211238A/en
Publication of JP2015211238A publication Critical patent/JP2015211238A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus requiring a small buffer capacity at the pre-stage of compression processing, when a compression system is selected depending on the determination results of automatic color determination.SOLUTION: A band color determination unit 3 determined whether each band in a page image is a color band or a monochromatic band, a compression unit 7 executes compression processing of compression system for color band for a color band, and executes compression processing of compression system for monochromatic band for a monochromatic band, based on the determination results in the band color determination unit 3. An extension unit 8 extends a band compressed by the compression system for color band by an extension system corresponding to the compression system for color band, and extends a band compressed by the compression system for monochromatic band by an extension system corresponding to the compression system for monochromatic band.

Description

本発明は、画像処理装置に関するものである。   The present invention relates to an image processing apparatus.

ある画像処理装置では、原稿画像内にカラー部分があるか否かに基づいて原稿画像がカラー画像かモノクロ画像かを判定し、判定結果に応じて、原稿画像の画像データを、カラー画像用の圧縮方式またはモノクロ画像用の圧縮方式で圧縮している(例えば特許文献1参照)。   An image processing apparatus determines whether a document image is a color image or a monochrome image based on whether or not a color portion is present in the document image, and depending on the determination result, the image data of the document image is used for a color image. Compression is performed using a compression method or a compression method for monochrome images (see, for example, Patent Document 1).

特開2007−28408号公報JP 2007-28408 A

上述の画像処理装置では、原稿画像全体(つまりページ全体)においてカラー部分が存在する場合には、原稿画像がカラー画像と判定され、原稿画像全体(つまりページ全体)においてカラー部分がまったく存在しない場合には、原稿画像がモノクロ画像と判定される。このため、原稿画像がモノクロ画像である場合には、原稿画像全体についてのカラー/モノクロ判定が完了した後でないと圧縮処理を開始することはできない。そのため、圧縮処理の開始が遅くなるとともに、圧縮処理を開始する前に、原稿画像全体(つまりページ全体)の画像データをバッファリングしておく必要がある。   In the image processing apparatus described above, when a color portion exists in the entire document image (that is, the entire page), the document image is determined to be a color image, and there is no color portion in the entire document image (that is, the entire page). The document image is determined to be a monochrome image. For this reason, when the document image is a monochrome image, the compression process cannot be started until the color / monochrome determination for the entire document image is completed. Therefore, the start of the compression process is delayed, and the image data of the entire original image (that is, the entire page) needs to be buffered before the compression process is started.

本発明は、上記の問題に鑑みてなされたものであり、自動カラー判定の判定結果に応じて圧縮方式を選択する場合において、圧縮処理の前段のバッファー容量が少なくて済む画像処理装置を得ることを目的とする。   The present invention has been made in view of the above problems, and an image processing apparatus that requires a small buffer capacity before compression processing when a compression method is selected according to the determination result of automatic color determination is obtained. With the goal.

本発明に係る画像処理装置は、ページ画像内の各バンドがカラーバンドであるかモノクロバンドであるかを判定するバンド色判定部と、前記バンド色判定部による判定結果に基づいて、カラーバンドである前記バンドに対してカラーバンド用圧縮方式の圧縮処理を実行し、モノクロバンドである前記バンドに対してモノクロバンド用圧縮方式の圧縮処理を実行する圧縮部と、前記カラーバンド用圧縮方式で圧縮された前記バンドを、前記カラーバンド用圧縮方式に対応する伸張方式で伸張し、前記モノクロバンド用圧縮方式で圧縮された前記バンドを、前記モノクロバンド用圧縮方式に対応する伸張方式で伸張する伸張部とを備える。   An image processing apparatus according to the present invention includes a band color determination unit that determines whether each band in a page image is a color band or a monochrome band, and a color band based on a determination result by the band color determination unit. A compression unit that executes compression processing of a color band compression method for a certain band and performs compression processing of a monochrome band compression method for the band that is a monochrome band, and compression using the color band compression method The expanded band is expanded by an expansion method corresponding to the color band compression method, and the band compressed by the monochrome band compression method is expanded by an expansion method corresponding to the monochrome band compression method. A part.

本発明によれば、画像処理装置が自動カラー判定の判定結果に応じて圧縮方式を選択する場合において圧縮処理の前段のバッファー容量が少なくて済む。   According to the present invention, when the image processing apparatus selects a compression method according to the determination result of the automatic color determination, the buffer capacity before the compression process can be small.

図1は、本発明の実施の形態に係る画像処理装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. 図2は、図1に示す画像処理装置におけるバンド色判定部の動作を説明するフローチャートである。FIG. 2 is a flowchart for explaining the operation of the band color determination unit in the image processing apparatus shown in FIG. 図3は、図1に示す画像処理装置における伸張後の処理を説明するフローチャートである。FIG. 3 is a flowchart for explaining processing after expansion in the image processing apparatus shown in FIG. 図4は、彩度が微小な有彩色である地肌色を有し、かつカラーバンドとモノクロバンドとが混在するページ画像の一例を示す図である。FIG. 4 is a diagram illustrating an example of a page image that has a background color that is a chromatic color with a very small saturation, and that includes both color bands and monochrome bands. 図5は、カラーオブジェクトの端部がバンドの境界付近に位置しているページ画像の一例を示す図である。FIG. 5 is a diagram illustrating an example of a page image in which the end portion of the color object is positioned near the band boundary.

以下、図に基づいて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係る画像処理装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

図1において、画像読取部1は、CCD(Charge Coupled Device)などのイメージセンサー、およびAFE(Analog Front End)回路を有し、原稿から原稿画像を読み取り、原稿画像の画像データを出力する。   In FIG. 1, an image reading unit 1 includes an image sensor such as a CCD (Charge Coupled Device) and an AFE (Analog Front End) circuit, reads a document image from a document, and outputs image data of the document image.

キャリブレーション部2は、画像読取部1から出力された画像データに対して、キャリブレーション処理(シェーディング補正、MTF(Modulation Transfer Function)補正、色収差補正など)を実行する。   The calibration unit 2 performs calibration processing (shading correction, MTF (Modulation Transfer Function) correction, chromatic aberration correction, etc.) on the image data output from the image reading unit 1.

バンド色判定部3は、キャリブレーション処理後の画像データによるページ画像について、ページ画像内の各バンドがカラーバンドであるかモノクロバンドであるかを判定する。なお、1バンドは、所定の複数のラインで構成される。   The band color determination unit 3 determines whether each band in the page image is a color band or a monochrome band for the page image based on the image data after the calibration process. One band is composed of a plurality of predetermined lines.

この実施の形態では、バンド色判定部3は、(a)バンド内のカラーラインの数が所定の閾値以上である場合、そのバンドはカラーバンドであると判定し、バンド内のカラーラインの数が所定の閾値未満である場合、そのバンドはモノクロバンドであると判定し、(b)バンドの先頭の所定数のラインおよびバンドの終端の所定数のラインの少なくとも一方において、少なくとも1本のカラーラインが存在する場合、バンド内のカラーラインの数が所定の閾値未満であっても、そのバンドはカラーバンドであると判定する。   In this embodiment, when the number of color lines in the band is equal to or greater than a predetermined threshold value, the band color determination unit 3 determines that the band is a color band, and the number of color lines in the band. Is less than a predetermined threshold, the band is determined to be a monochrome band, and (b) at least one color in at least one of a predetermined number of lines at the beginning of the band and a predetermined number of lines at the end of the band. When there is a line, even if the number of color lines in the band is less than a predetermined threshold, it is determined that the band is a color band.

なお、カラーラインは、1ライン中に所定数以上のカラー画素が含まれているラインであり、カラー画素は、所定の彩度条件(例えば彩度が所定閾値以上であるという条件)を満たす有彩色を有する画素である。カラーラインではないラインはモノクロラインとされる。   A color line is a line in which a predetermined number or more of color pixels are included in one line, and the color pixels have a predetermined saturation condition (for example, a condition that the saturation is equal to or higher than a predetermined threshold). It is a pixel having a color. Lines that are not color lines are monochrome lines.

ページ色判定部4は、ページ画像がカラー画像であるかモノクロ画像であるかを判定する。例えば、ページ色判定部4は、ページ画像内のカラーラインの数が所定値以上である場合には、ページ画像はカラー画像であると判定し、そうではない場合にはページ画像はモノクロ画像であると判定する。あるいは、ページ色判定部4は、ページ画像内にカラーバンドが1つでもあれば、ページ画像はカラー画像であると判定し、ページ画像内にカラーバンドが全くなければ、ページ画像はモノクロ画像であると判定するようにしてもよい。   The page color determination unit 4 determines whether the page image is a color image or a monochrome image. For example, the page color determination unit 4 determines that the page image is a color image when the number of color lines in the page image is greater than or equal to a predetermined value, and otherwise the page image is a monochrome image. Judge that there is. Alternatively, the page color determination unit 4 determines that the page image is a color image if there is even one color band in the page image. If there is no color band in the page image, the page image is a monochrome image. You may make it determine with there.

地肌色判定部5は、ページ画像の地肌色(つまり、ページ画像内の背景色)を判定する。具体的には、地肌色判定部5は、ページ画像の先端部分(例えば先端数ミリメートル)の色を地肌色として検出する。   The background color determination unit 5 determines the background color of the page image (that is, the background color in the page image). Specifically, the background color determination unit 5 detects the color of the leading end portion (for example, several millimeters of the leading end) of the page image as the background color.

メインメモリー6は、揮発性のメモリーである。メインメモリー6には、バンドごとの圧縮処理の前段に配置されるバンドメモリー21、圧縮処理のページ画像の画像データを記憶するページメモリー22、および、バンドごとの伸張処理の後段に配置されるバンドメモリー23が確保される。   The main memory 6 is a volatile memory. The main memory 6 includes a band memory 21 arranged before the compression processing for each band, a page memory 22 for storing image data of the page image for compression processing, and a band arranged after the expansion processing for each band. Memory 23 is secured.

圧縮部7は、バンド色判定部3による判定結果に基づいて、カラーバンドであるバンドに対してカラーバンド用圧縮方式の圧縮処理を実行し、モノクロバンドであるバンドに対してモノクロバンド用圧縮方式の圧縮処理を実行する。   Based on the determination result by the band color determination unit 3, the compression unit 7 executes the compression process of the color band compression method for the band that is a color band, and the monochrome band compression method for the band that is a monochrome band The compression process is executed.

例えば、圧縮部7は、カラーバンドであるバンドに対して、4:2:0フォーマットのJPEG(Joint Photographic Experts Group)方式の圧縮処理を実行し、モノクロバンドであるバンドに対して、4:0:0フォーマットのJPEG方式の圧縮処理を実行する。   For example, the compression unit 7 executes a compression process of a 4: 2: 0 format JPEG (Joint Photographic Experts Group) method for a band that is a color band, and 4: 0 for a band that is a monochrome band. : Executes 0 format JPEG compression processing.

伸張部8は、カラーバンド用圧縮方式で圧縮されたバンドを、カラーバンド用圧縮方式に対応する伸張方式で伸張し、モノクロバンド用圧縮方式で圧縮されたバンドを、モノクロバンド用圧縮方式に対応する伸張方式で伸張する。   The expansion unit 8 expands a band compressed by the color band compression method using a decompression method corresponding to the color band compression method, and supports a band compressed by the monochrome band compression method corresponding to the monochrome band compression method. It expands with the expansion method.

カラー画像処理部9は、ページ色判定部4によりカラー画像と判定されたページ画像について、伸張部8による伸張後のバンドに対してカラー画像用の画像処理を実行する。モノクロ画像処理部10は、ページ色判定部4によりモノクロ画像と判定されたページ画像について、伸張部8による伸張後のバンドに対してモノクロ画像用の画像処理を実行する。制御部11は、ページ色判定部4による判定結果に基づいて、カラー画像と判定されたページ画像をカラー画像処理部9に処理させ、モノクロ画像と判定されたページ画像をモノクロ画像処理部10に処理させる。   The color image processing unit 9 performs image processing for a color image on the band that has been decompressed by the decompressing unit 8 for the page image that has been determined to be a color image by the page color determining unit 4. The monochrome image processing unit 10 executes image processing for a monochrome image on the band that has been expanded by the expansion unit 8 for the page image determined to be a monochrome image by the page color determination unit 4. The control unit 11 causes the color image processing unit 9 to process the page image determined to be a color image based on the determination result by the page color determination unit 4, and causes the monochrome image processing unit 10 to process the page image determined to be a monochrome image. Let it be processed.

例えば、カラー画像用の画像処理は、カラー印刷に必要な画像処理(色変換、スクリーン処理など)であって、モノクロ画像用の画像処理は、モノクロ印刷に必要な画像処理(スクリーン処理など)である。   For example, image processing for color images is image processing (color conversion, screen processing, etc.) necessary for color printing, and image processing for monochrome images is image processing (screen processing, etc.) required for monochrome printing. is there.

この実施の形態では、バンド色判定部3は、所定の彩度条件に基づいて、バンドがカラーバンドであるかモノクロバンドであるかを判定し、カラー画像処理部9は、その彩度条件に基づいてモノクロバンドであると判定されたバンドに対して、伸張部8による伸張後に地肌色を合成する。   In this embodiment, the band color determination unit 3 determines whether the band is a color band or a monochrome band based on a predetermined saturation condition, and the color image processing unit 9 uses the saturation condition. Based on the band determined to be a monochrome band based on the background color, the background color is synthesized after the expansion by the expansion unit 8.

具体的には、カラー画像処理部9は、ページ色判定部4によりカラー画像であると判定されたページ画像において、彩度条件に基づいてモノクロバンドであると判定されたバンドに対して、伸張部8による伸張後に地肌色を合成する。一方、ページ色判定部4によりモノクロ画像であると判定されたページ画像については、モノクロ画像処理部10は、彩度条件に基づいてモノクロバンドであると判定されたバンドに対して地肌色の合成を行わない。   Specifically, the color image processing unit 9 expands the band determined to be a monochrome band based on the saturation condition in the page image determined to be a color image by the page color determination unit 4. The background color is synthesized after the extension by the unit 8. On the other hand, for the page image determined to be a monochrome image by the page color determination unit 4, the monochrome image processing unit 10 combines the background color with the band determined to be a monochrome band based on the saturation condition. Do not do.

また、この実施の形態では、カラー画像処理部9は、彩度条件に基づいてモノクロバンドであると判定されたバンドに対して地肌色を合成する場合、バンドにおける背景部分を特定し、その背景部分の色を地肌色に変更し、バンド内のオブジェクト(前景)部分には地肌色を合成しない。なお、モノクロバンドであるバンドに対して、4:0:0フォーマットのJPEG方式の圧縮処理を実行する場合には、彩度がゼロであるため、バンドにおける背景部分の色に地肌色を加算すればよい。   In this embodiment, the color image processing unit 9 specifies the background portion in the band when the background color is combined with the band determined to be a monochrome band based on the saturation condition, and the background. The color of the part is changed to the background color, and the background color is not combined with the object (foreground) part in the band. In addition, when the JPEG compression process of the 4: 0: 0 format is executed for a band that is a monochrome band, the background color in the band is added to the background color because the saturation is zero. That's fine.

なお、例えば、上述のキャリブレーション部2、バンド色判定部3、ページ色判定部4、および地肌色判定部5は、ASIC(Application Specific Integrated Circuit)で実現され、圧縮部7、伸張部8、カラー画像処理部9、モノクロ画像処理部10、および制御部11は、コンピューターでプログラムを実行することで実現されたりする。   For example, the calibration unit 2, the band color determination unit 3, the page color determination unit 4, and the background color determination unit 5 described above are realized by an ASIC (Application Specific Integrated Circuit), the compression unit 7, the expansion unit 8, The color image processing unit 9, the monochrome image processing unit 10, and the control unit 11 may be realized by executing a program with a computer.

次に、上記画像処理装置の動作について説明する。図2は、図1に示す画像処理装置におけるバンド色判定部の動作を説明するフローチャートである。図3は、図1に示す画像処理装置における伸張後の処理を説明するフローチャートである。   Next, the operation of the image processing apparatus will be described. FIG. 2 is a flowchart for explaining the operation of the band color determination unit in the image processing apparatus shown in FIG. FIG. 3 is a flowchart for explaining processing after expansion in the image processing apparatus shown in FIG.

画像読取部1により原稿から原稿画像が読み取られ、キャリブレーション処理後の原稿画像(ページ画像)の画像データがバンド単位でキャリブレーション部2から出力される。   A document image is read from the document by the image reading unit 1, and image data of the document image (page image) after the calibration process is output from the calibration unit 2 in band units.

このバンドの画像データは、バンド色判定部3、ページ色判定部4、および地肌判定部5に供給されるとともに、図示せぬDMA(Direct Memory Access)コントローラーなどでバンドメモリー21に書き込まれる。   The band image data is supplied to the band color determination unit 3, page color determination unit 4, and background determination unit 5, and is written into the band memory 21 by a DMA (Direct Memory Access) controller (not shown).

そして、バンド色判定部3は、このバンドがカラーバンドであるかモノクロバンドであるかを判定し、判定結果を圧縮部7およびカラー画像処理部9に通知する。なお、各バンドについての判定結果をメインメモリー6に記憶し、バンド圧縮部7およびカラー画像処理部9が必要に応じてメインメモリー6から読み出すようにしてもよい。   Then, the band color determination unit 3 determines whether the band is a color band or a monochrome band, and notifies the compression unit 7 and the color image processing unit 9 of the determination result. The determination result for each band may be stored in the main memory 6, and the band compression unit 7 and the color image processing unit 9 may read out from the main memory 6 as necessary.

このとき、図2に示すように、まず、バンド色判定部3は、バンドの先頭の所定数のライン(例えば3ライン)およびバンドの終端の所定数のライン(例えば3ライン)の少なくとも一方において、少なくとも1本のカラーラインが存在するか否かを判定する(ステップS1)。バンドの先頭の所定数のラインおよびバンドの終端の所定数のラインのいずれにもカラーラインが全く存在しない場合、バンド色判定部3は、バンド内のカラーラインの数が所定の閾値以上であるか否かを判定し(ステップS2)、バンド内のカラーラインの数が所定の閾値以上ではないときには、このバンドはモノクロバンドであると判定する(ステップS3)。それ以外の場合には、バンド色判定部3は、このバンドはカラーバンドであると判定する(ステップS4)。   At this time, as shown in FIG. 2, first, the band color determination unit 3 performs at least one of a predetermined number of lines at the beginning of the band (for example, 3 lines) and a predetermined number of lines at the end of the band (for example, 3 lines) Then, it is determined whether or not at least one color line exists (step S1). When there is no color line in any of the predetermined number of lines at the beginning of the band and the predetermined number of lines at the end of the band, the band color determination unit 3 has the number of color lines in the band equal to or greater than a predetermined threshold. (Step S2), and if the number of color lines in the band is not greater than or equal to a predetermined threshold, it is determined that this band is a monochrome band (step S3). In other cases, the band color determination unit 3 determines that this band is a color band (step S4).

圧縮部7は、バンドメモリー21から、このバンドの画像データを読み出し、バンド色判定部3の判定結果に基づいて圧縮方式を選択し、選択した圧縮方式でこのバンドの画像データを圧縮し、圧縮後の画像データをページメモリー22に記憶する。   The compression unit 7 reads the image data of this band from the band memory 21, selects a compression method based on the determination result of the band color determination unit 3, compresses the image data of this band with the selected compression method, and performs compression The subsequent image data is stored in the page memory 22.

このようにして、ページ画像の画像データがバンドごとに圧縮され、ページメモリー22に記憶されていく。   In this way, the image data of the page image is compressed for each band and stored in the page memory 22.

この処理に並行してページ色判定部4および地肌色判定部5は動作する。そして、ページ色判定部4は、ページ画像がカラー画像であるか否かを示す判定結果を制御部11に通知する。また、地肌色判定部5は、地肌色の色データをカラー画像処理部9に通知する。なお、ページ色判定部4による判定結果および地肌色判定部5による地肌色の色データをメインメモリー6に記憶し、制御部11およびカラー画像処理部9が必要に応じてメインメモリー6から読み出すようにしてもよい。   In parallel with this process, the page color determination unit 4 and the background color determination unit 5 operate. Then, the page color determination unit 4 notifies the control unit 11 of a determination result indicating whether the page image is a color image. The background color determination unit 5 notifies the color image processing unit 9 of the color data of the background color. The determination result by the page color determination unit 4 and the background color data by the background color determination unit 5 are stored in the main memory 6, and the control unit 11 and the color image processing unit 9 read out from the main memory 6 as necessary. It may be.

その後、伸張部8は、圧縮されたバンドの画像データを順番に読み出し、読み出した圧縮されている画像データの圧縮方式に対応する伸張方式で、その圧縮されている画像データを伸張し、伸張して得られた画像データをバンドメモリー23に記憶する(ステップS21)。   After that, the decompression unit 8 sequentially reads the compressed band image data, decompresses the decompressed image data in a decompression method corresponding to the compression method of the read compressed image data, and decompresses the compressed image data. The image data obtained in this way is stored in the band memory 23 (step S21).

このとき、制御部11は、ページ色判定部4による判定結果に基づいてページ画像がカラー画像であるか否かを判定し(ステップS22)、ページ画像がカラー画像ではない(つまり、モノクロ画像である)場合、制御部11は、モノクロ画像処理部10に、伸張して得られた画像データを処理させる(ステップS23)。   At this time, the control unit 11 determines whether or not the page image is a color image based on the determination result by the page color determination unit 4 (step S22), and the page image is not a color image (that is, a monochrome image). If there is, the control unit 11 causes the monochrome image processing unit 10 to process the image data obtained by decompression (step S23).

一方、ページ画像がカラー画像である場合、制御部11は、カラー画像処理部9に、伸張して得られた画像データを処理させる(ステップS24〜S26)。   On the other hand, when the page image is a color image, the control unit 11 causes the color image processing unit 9 to process the image data obtained by the expansion (steps S24 to S26).

まず、カラー画像処理部9は、バンド色判定部3による判定結果に基づいて、このバンドがモノクロバンドであるか否かを判定する(ステップS24)。   First, the color image processing unit 9 determines whether or not this band is a monochrome band based on the determination result by the band color determination unit 3 (step S24).

このバンドがモノクロバンドである場合、カラー画像処理部9は、このバンドに地肌色を合成し(ステップS25)、合成後のバンドに対して画像処理を実行する(ステップS26)。一方、このバンドがモノクロバンドではない場合(つまり、カラーバンドである場合)、カラー画像処理部9は、地肌色を合成せずに、このバンドに対して画像処理を実行する(ステップS26)。   If this band is a monochrome band, the color image processing unit 9 combines the background color with this band (step S25), and executes image processing on the combined band (step S26). On the other hand, if this band is not a monochrome band (that is, a color band), the color image processing unit 9 performs image processing on this band without synthesizing the background color (step S26).

そして、このバンドがページ画像の最後のバンドでなければ、次のバンドに対してステップS21以降の処理が実行され、このバンドがページ画像の最後のバンドであれば、処理が終了する(ステップS27)。   If this band is not the last band of the page image, the processing from step S21 is executed on the next band. If this band is the last band of the page image, the processing ends (step S27). ).

以上のように、上記実施の形態によれば、バンド色判定部3は、ページ画像内の各バンドがカラーバンドであるかモノクロバンドであるかを判定し、圧縮部7は、バンド色判定部3による判定結果に基づいて、カラーバンドであるバンドに対してカラーバンド用圧縮方式の圧縮処理を実行し、モノクロバンドであるバンドに対してモノクロバンド用圧縮方式の圧縮処理を実行する。伸張部8は、カラーバンド用圧縮方式で圧縮されたバンドを、カラーバンド用圧縮方式に対応する伸張方式で伸張し、モノクロバンド用圧縮方式で圧縮されたバンドを、モノクロバンド用圧縮方式に対応する伸張方式で伸張する。   As described above, according to the above embodiment, the band color determination unit 3 determines whether each band in the page image is a color band or a monochrome band, and the compression unit 7 includes the band color determination unit. Based on the determination result of No. 3, the compression process of the color band compression method is executed for the band that is a color band, and the compression process of the compression method for the monochrome band is executed for the band that is a monochrome band. The expansion unit 8 expands a band compressed by the color band compression method using a decompression method corresponding to the color band compression method, and supports a band compressed by the monochrome band compression method corresponding to the monochrome band compression method. It expands with the expansion method.

これにより、自動カラー判定の判定結果に応じて圧縮方式を選択する場合において圧縮処理の前段のバッファー容量が少なくて済む。例えば、この画像処理装置が、例えば、カラープリンター、カラー複合機などのカラー画像形成装置である場合、メインメモリー6の容量が小さくても、メインメモリー6の容量不足に起因して、メインメモリー6の空き容量が確保できるまで原稿画像のスキャン動作が中断するという不具合が発生しにくくなる。   As a result, when the compression method is selected according to the determination result of the automatic color determination, the buffer capacity before the compression process can be reduced. For example, when the image processing apparatus is a color image forming apparatus such as a color printer or a color multifunction peripheral, for example, the main memory 6 is caused by a shortage of the main memory 6 even if the capacity of the main memory 6 is small. This makes it difficult to cause a problem that the scanning operation of the document image is interrupted until the free space is secured.

また、ページ画像がカラー画像であるかモノクロ画像であるかの判定を待たずにバンドごとに圧縮処理を開始することができるので、自動カラー判定に起因する待ち時間が短くて済む。   In addition, since the compression process can be started for each band without waiting for the determination whether the page image is a color image or a monochrome image, the waiting time due to the automatic color determination can be shortened.

図4は、彩度が微小な有彩色である地肌色を有し、かつカラーバンドとモノクロバンドとが混在するページ画像の一例を示す図である。図4に示すようなページ画像の場合、地肌色の彩度が微小であるため、カラーオブジェクトを有さないバンドはモノクロバンドであると判定される。しかし、上述のように、モノクロバンド101〜103に対して伸張後に地肌色を合成するので、圧縮時に地肌色の情報が失われても、ページ画像の全域に一様な地肌色の背景が復元される。   FIG. 4 is a diagram illustrating an example of a page image that has a background color that is a chromatic color with a very small saturation, and that includes both color bands and monochrome bands. In the case of the page image as shown in FIG. 4, since the saturation of the background color is very small, it is determined that the band having no color object is a monochrome band. However, as described above, the background color is synthesized after being expanded with respect to the monochrome bands 101 to 103, so even if the background color information is lost during compression, a uniform background color background is restored over the entire area of the page image. Is done.

図5は、カラーオブジェクトの端部がバンドの境界付近に位置しているページ画像の一例を示す図である。図5に示すように、カラーオブジェクト111の端部が微小にバンド112に入っている場合、バンド112がモノクロバンドと判定されることなく、カラーオブジェクト111を含むバンドがすべてカラーバンドと判定される。   FIG. 5 is a diagram illustrating an example of a page image in which the end portion of the color object is positioned near the band boundary. As shown in FIG. 5, when the end of the color object 111 is in a small band 112, the band 112 is not determined as a monochrome band, and all the bands including the color object 111 are determined as color bands. .

なお、上述の実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。   The above-described embodiments are preferred examples of the present invention, but the present invention is not limited to these, and various modifications and changes can be made without departing from the scope of the present invention. is there.

例えば、上述の実施の形態において、カラー画像処理部9は、地肌色が有彩色である場合のみ、モノクロバンドへの地肌色の合成を行い、地肌色が無彩色である場合には、モノクロバンドへの地肌色の合成を行わないようにしてもよい。   For example, in the above-described embodiment, the color image processing unit 9 combines the background color with the monochrome band only when the background color is chromatic, and when the background color is an achromatic color, The background color may not be synthesized.

本発明は、例えば、カラープリンター、カラー複合機などのカラー画像形成装置に適用可能である。   The present invention is applicable to a color image forming apparatus such as a color printer or a color multifunction peripheral.

3 バンド色判定部
4 ページ色判定部
5 地肌色判定部
7 圧縮部
8 伸張部
9 カラー画像処理部(画像処理部の一例)
3 Band color determination unit 4 Page color determination unit 5 Background color determination unit 7 Compression unit 8 Expansion unit 9 Color image processing unit (an example of an image processing unit)

Claims (5)

ページ画像内の各バンドがカラーバンドであるかモノクロバンドであるかを判定するバンド色判定部と、
前記バンド色判定部による判定結果に基づいて、カラーバンドである前記バンドに対してカラーバンド用圧縮方式の圧縮処理を実行し、モノクロバンドである前記バンドに対してモノクロバンド用圧縮方式の圧縮処理を実行する圧縮部と、
前記カラーバンド用圧縮方式で圧縮された前記バンドを、前記カラーバンド用圧縮方式に対応する伸張方式で伸張し、前記モノクロバンド用圧縮方式で圧縮された前記バンドを、前記モノクロバンド用圧縮方式に対応する伸張方式で伸張する伸張部と、
を備えることを特徴とする画像処理装置。
A band color determination unit for determining whether each band in the page image is a color band or a monochrome band;
Based on the determination result by the band color determination unit, the compression process of the color band compression method is performed on the band that is a color band, and the compression process of the monochrome band compression method is performed on the band that is a monochrome band A compression unit for executing
The band compressed by the color band compression method is expanded by an expansion method corresponding to the color band compression method, and the band compressed by the monochrome band compression method is changed to the monochrome band compression method. An expansion section that expands with a corresponding expansion method;
An image processing apparatus comprising:
前記ページ画像の地肌色を判定する地肌色判定部と、
前記伸張部による伸張後のバンドに対して画像処理を実行する画像処理部とをさらに備え、
前記バンド色判定部は、所定の彩度条件に基づいて、前記バンドがカラーバンドであるかモノクロバンドであるかを判定し、
前記画像処理部は、前記彩度条件に基づいてモノクロバンドであると判定された前記バンドに対して、前記伸張部による伸張後に前記地肌色を合成すること、
を特徴とする請求項1記載の画像処理装置。
A background color determination unit for determining the background color of the page image;
An image processing unit that performs image processing on a band that has been expanded by the expansion unit;
The band color determination unit determines whether the band is a color band or a monochrome band based on a predetermined saturation condition,
The image processing unit, for the band determined to be a monochrome band based on the saturation condition, synthesizing the background color after expansion by the expansion unit;
The image processing apparatus according to claim 1.
前記ページ画像がカラー画像であるかモノクロ画像であるかを判定するページ色判定部をさらに備え、
前記画像処理部は、前記ページ色判定部によりカラー画像であると判定された前記ページ画像において、前記彩度条件に基づいてモノクロバンドであると判定された前記バンドに対して、前記伸張部による伸張後に前記地肌色を合成し、前記ページ色判定部によりモノクロ画像であると判定された前記ページ画像において、前記彩度条件に基づいてモノクロバンドであると判定された前記バンドに対しては前記地肌色の合成を行わないこと、
を特徴とする請求項2記載の画像処理装置。
A page color determination unit for determining whether the page image is a color image or a monochrome image;
In the page image determined to be a color image by the page color determination unit, the image processing unit performs the expansion unit on the band determined to be a monochrome band based on the saturation condition. In the page image determined to be a monochrome image by the page color determination unit after combining the background color after expansion, for the band determined to be a monochrome band based on the saturation condition, Do not combine the background color,
The image processing apparatus according to claim 2.
前記画像処理部は、前記彩度条件に基づいてモノクロバンドであると判定された前記バンドに対して、前記伸張部による伸張後に前記地肌色を合成する場合、前記バンドにおける背景部分の色を前記地肌色に変更することを特徴とする請求項2または請求項3記載の画像処理装置。   The image processing unit, when combining the background color after expansion by the expansion unit to the band determined to be a monochrome band based on the saturation condition, the color of the background portion in the band The image processing apparatus according to claim 2, wherein the image processing apparatus is changed to a background color. 前記バンド色判定部は、(a)前記バンド内のカラーラインの数が所定の閾値以上である場合、前記バンドはカラーバンドであると判定し、前記バンド内のカラーラインの数が所定の閾値未満である場合、前記バンドはモノクロバンドであると判定し、(b)前記バンドの先頭の所定数のラインおよび前記バンドの終端の所定数のラインの少なくとも一方において、少なくとも1本のカラーラインが存在する場合、前記バンド内のカラーラインの数が所定の閾値未満であっても、前記バンドはカラーバンドであると判定することを特徴とする請求項1から請求項4のうちのいずれか1項記載の画像処理装置。   The band color determination unit (a) determines that the band is a color band when the number of color lines in the band is equal to or greater than a predetermined threshold, and the number of color lines in the band is a predetermined threshold. The band is determined to be a monochrome band, and (b) at least one color line is present in at least one of the predetermined number of lines at the beginning of the band and the predetermined number of lines at the end of the band. 5. If present, the band is determined to be a color band even if the number of color lines in the band is less than a predetermined threshold value. The image processing apparatus according to item.
JP2014089665A 2014-04-23 2014-04-23 Image processing apparatus Pending JP2015211238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014089665A JP2015211238A (en) 2014-04-23 2014-04-23 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014089665A JP2015211238A (en) 2014-04-23 2014-04-23 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2015211238A true JP2015211238A (en) 2015-11-24

Family

ID=54613169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014089665A Pending JP2015211238A (en) 2014-04-23 2014-04-23 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2015211238A (en)

Similar Documents

Publication Publication Date Title
US8531538B2 (en) Image processing apparatus, imaging apparatus, and image processing method
US8488893B2 (en) Image compression apparatus and image compression method
US8089656B2 (en) Image processing apparatus, image forming apparatus, and image processing method
US10325189B2 (en) Image processing apparatus and image processing method that perform, in units of band areas, rasterization based on second intermediate data stored in a first memory area and compressed raster data stored in a second memory area
US9086951B2 (en) Image reading apparatus
JP2015211238A (en) Image processing apparatus
JP2010028758A (en) Image processing apparatus and method, program, and imaging apparatus
JP4525726B2 (en) Decoding device, decoding program, and image processing device
US8275220B2 (en) Image processing apparatus, image processing method, and storage medium storing computer program for image area separation processing
JP2007215001A (en) Unit, system, and method for processing image
US7773261B2 (en) Setting of color processing parameters for digital imaging apparatus
JP2006101014A (en) Image processing apparatus and printer equipped therewith, and image processing method
JP2009044547A (en) Image processor and image processing method
JP2007102284A (en) Image processing apparatus and method, and computer program
US9225874B2 (en) Image reading apparatus capable of outputting a plurality of types of image data
US20100171987A1 (en) Image processing apparatus and control method thereof
JP5205317B2 (en) Image processing device
JP2012227598A (en) Image processor, image forming apparatus, image processing method, image processing program and recording medium
US9019404B2 (en) Image processing apparatus and method for preventing image degradation
JP4231523B2 (en) Image processing compression / decompression device
JP4952409B2 (en) Image compression apparatus and program
US10382771B2 (en) Image processing apparatus
JP2005244773A (en) Image processor
JP5446929B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP2009060486A (en) Image processor and printer having the same, and method of processing image