JP2012183796A - Image processing apparatus, image forming apparatus, and program - Google Patents
Image processing apparatus, image forming apparatus, and program Download PDFInfo
- Publication number
- JP2012183796A JP2012183796A JP2011050084A JP2011050084A JP2012183796A JP 2012183796 A JP2012183796 A JP 2012183796A JP 2011050084 A JP2011050084 A JP 2011050084A JP 2011050084 A JP2011050084 A JP 2011050084A JP 2012183796 A JP2012183796 A JP 2012183796A
- Authority
- JP
- Japan
- Prior art keywords
- code image
- output
- image
- print medium
- code
- 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.)
- Withdrawn
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、画像処理装置、画像形成装置およびプログラムに関する。 The present invention relates to an image processing apparatus, an image forming apparatus, and a program.
特許文献1には、用紙上の可読情報に重なるようにコードイメージを設ける場合に、コードイメージと用紙の間に中間層を設けて光の透過の所定の割合に制限して、コードイメージの可読性を向上させるようにした方法が開示されている。
In
特許文献2には、コード画像を用紙上に印刷し、印刷されたコード画像を読み取って照合することにより、印刷されたコード画像の可読性を判定するようにした画像処理装置が開示されている。 Patent Document 2 discloses an image processing apparatus that determines the readability of a printed code image by printing the code image on a sheet and reading and collating the printed code image.
本発明の目的は、コード画像を印刷媒体上に実際に出力することなく、コード画像を印刷媒体上に出力した場合の可読性を判定することが可能な画像処理装置、画像形成装置およびプログラムを提供することである。 An object of the present invention is to provide an image processing apparatus, an image forming apparatus, and a program capable of determining readability when a code image is output on a print medium without actually outputting the code image on the print medium. It is to be.
[画像処理装置]
請求項1に係る本発明は、出力を指示された印刷データ中から、明領域および暗領域により構成されたコード画像を検出する検出手段と、
前記検出手段により検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定する判定手段とを備えた画像処理装置である。
[Image processing device]
According to the first aspect of the present invention, there is provided detection means for detecting a code image composed of a bright area and a dark area from print data instructed to be output.
Based on the color information of the light area and the dark area constituting the code image detected by the detecting means and the color information of the print medium to which the print data including the code image is to be output, the code image is output on the print medium. And an image processing apparatus including determination means for determining readability in the case.
請求項2に係る本発明は、前記判定手段が、印刷媒体の色情報に基づいて印刷後の明領域の輝度および暗領域の輝度を算出し、算出された印刷後の明領域の輝度と暗領域の輝度により明領域と暗領域とのコントラスト差を算出し、算出されたコントラスト差を予め設定されたしきい値と比較することによりコード画像を印刷媒体上に出力した場合の可読性を判定する請求項1記載の画像処理装置である。
According to a second aspect of the present invention, the determination means calculates the brightness of the bright area and the brightness of the dark area after printing based on the color information of the print medium, and calculates the brightness and darkness of the calculated bright area after printing. The contrast difference between the bright area and the dark area is calculated based on the luminance of the area, and the readability when the code image is output on the print medium is determined by comparing the calculated contrast difference with a preset threshold value. An image processing apparatus according to
請求項3に係る本発明は、前記判定手段が、コード画像を構成する明領域と暗領域の色情報および印刷媒体の色情報に基づいて印刷後のコード画像を合成し、合成されたコード画像を復号して復号可能であるか否かによりコード画像を印刷媒体上に出力した場合の可読性を判定する請求項1記載の画像処理装置である。
According to a third aspect of the present invention, the determination means synthesizes the code image after printing based on the color information of the bright area and the dark area constituting the code image and the color information of the print medium, and the synthesized code image The image processing apparatus according to
請求項4に係る本発明は、印刷媒体の収納容器と収納されている印刷媒体の色情報とを対応させて記憶する記憶手段をさらに備え、
前記判定手段は、指定された収納容器の情報に基づいて前記記憶手段からコード画像を含む印刷データを出力しようとする印刷媒体の色情報を取得する請求項1から3のいずれか1項記載の画像処理装置である。
The present invention according to claim 4 further comprises storage means for storing the print medium storage container and the color information of the stored print medium in correspondence with each other,
The said determination means acquires the color information of the printing medium which is going to output the printing data containing a code image from the said memory | storage means based on the information of the designated storage container. An image processing apparatus.
請求項5に係る本発明は、前記判定手段により指定された印刷媒体上にコード画像が出力されると読み取り不可能になると判定された場合、コード画像の明領域の色情報および暗領域の色情報の少なくともいずれかを変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。
According to the fifth aspect of the present invention, when it is determined that the code image is not readable when the code image is output on the print medium designated by the determination unit, the color information of the bright area and the color of the dark area of the code image are determined. The image processing apparatus according to
請求項6に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、コード画像の明領域の色情報および暗領域の色情報の少なくともいずれか、および画形材の出力濃度を変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。
According to the sixth aspect of the present invention, the color information of the bright area and the color of the dark area of the code image are determined when it is determined by the determining means that the code image is not readable when output on the designated print medium. 5. The image processing apparatus according to
請求項7に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、コード画像を含む印刷データを出力する印刷媒体を変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。
The present invention according to claim 7 changes the print medium that outputs the print data including the code image when it is determined by the determination means that the code image is output on the designated print medium and cannot be read. The image processing apparatus according to
請求項8に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、コード画像のみを指定された印刷媒体とは異なる色を有する印刷媒体に出力するように変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。
In the present invention according to claim 8, when the code means outputs a code image on a designated print medium and the decision means determines that the code image cannot be read, only the code image has a color different from that of the designated print medium. 5. The image processing apparatus according to
請求項9に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、指示された印刷データの出力を中止するよう制御する制御手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。
The present invention according to claim 9 controls to stop outputting the instructed print data when it is determined by the determining means that the code image is output on the designated print medium and cannot be read. 5. The image processing apparatus according to
請求項10に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、指定された印刷媒体上に印刷データを出力するとコード画像が読み取り不可能になる旨を通知する通知手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。
According to the tenth aspect of the present invention, in the case where the determination unit determines that a code image is output on a designated print medium, the code is output when the print data is output on the designated print medium. 5. The image processing apparatus according to
[画像形成装置]
請求項11に係る本発明は、出力を指示された印刷データ中から、明領域および暗領域により構成されたコード画像を検出する検出手段と、
前記検出手段により検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定する判定手段と、
前記判定手段により印刷媒体上に印刷されたコード画像の読み取りが可能であると判定された場合、コード画像を含む印刷データを指定された印刷媒体上に出力する画像出力手段とを備えた画像形成装置である。
[Image forming equipment]
According to the eleventh aspect of the present invention, there is provided detection means for detecting a code image composed of a bright area and a dark area from print data instructed to be output.
Based on the color information of the light area and the dark area constituting the code image detected by the detecting means and the color information of the print medium to which the print data including the code image is to be output, the code image is output on the print medium. Determining means for determining readability of the case;
An image forming unit comprising: an image output unit configured to output print data including a code image onto a designated print medium when the determination unit determines that the code image printed on the print medium is readable. Device.
[プログラム]
請求項12に係る本発明は、出力を指示された印刷データ中から、明領域および暗領域により構成されたコード画像を検出するステップと、
検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定するステップとをコンピュータに実行させるためのプログラムである。
[program]
The present invention according to
The readability when the code image is output on the print medium based on the color information of the light area and the dark area constituting the detected code image and the color information of the print medium to which the print data including the code image is to be output. A program for causing a computer to execute the determining step.
請求項1に係る本発明によれば、コード画像を印刷媒体上に実際に出力することなく、コード画像を印刷媒体上に出力した場合の可読性を判定することが可能な画像処理装置を提供することができる。 According to the first aspect of the present invention, there is provided an image processing apparatus capable of determining readability when a code image is output on a print medium without actually outputting the code image on the print medium. be able to.
請求項2に係る本発明によれば、請求項1に係る本発明により得られる効果に加えて、暗領域と明領域のコントラスト差を算出だけで容易にコード画像の可読性を判定することができる画像処理装置を提供することができる。 According to the second aspect of the present invention, in addition to the effect obtained by the first aspect of the present invention, it is possible to easily determine the readability of the code image only by calculating the contrast difference between the dark region and the bright region. An image processing apparatus can be provided.
請求項3に係る本発明によれば、請求項1に係る本発明により得られる効果に加えて、実際にコード画像を読み取って復号した場合における可読性と近似する可読性の判定を行うことができる画像処理装置を提供することができる。 According to the third aspect of the present invention, in addition to the effect obtained by the first aspect of the present invention, an image capable of determining readability that approximates readability when a code image is actually read and decoded. A processing device can be provided.
請求項4に係る本発明によれば、請求項1から3のいずれか1項に係る本発明により得られる効果に加えて、印刷媒体の色情報を読み取る処理を必要とすることなく、印刷媒体の色情報を取得することができる画像処理装置を提供することができる。 According to the fourth aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to third aspects, the print medium can be printed without requiring processing for reading the color information of the print medium. It is possible to provide an image processing apparatus capable of acquiring the color information.
請求項5に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、コード画像を指定された印刷媒体にそのまま出力した場合と比較して、コード画像の可読性を向上させることができる画像処理装置を提供することができる。 According to the fifth aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to fourth aspects, compared with a case where the code image is output as it is to the designated print medium. An image processing apparatus capable of improving the readability of the code image can be provided.
請求項6に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、コード画像を指定された印刷媒体にそのまま出力した場合と比較して、コード画像の可読性を向上させることができる画像処理装置を提供することができる。 According to the sixth aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to fourth aspects, compared with a case where the code image is directly output to the designated print medium. An image processing apparatus capable of improving the readability of the code image can be provided.
請求項7に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、コード画像を指定された印刷媒体にそのまま出力した場合と比較して、コード画像の可読性を向上させることができる画像処理装置を提供することができる。 According to the seventh aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to fourth aspects, as compared with the case where the code image is directly output to the designated printing medium. An image processing apparatus capable of improving the readability of the code image can be provided.
請求項8に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、印刷媒体上に出力されたコード画像が読み取り不可能になる事態の発生を防いで、コード画像の読み取りを可能にすることができる画像処理装置を提供することができる。
According to the present invention of claim 8, in addition to the effect obtained by the present invention of any one of
請求項9に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、印刷媒体上に出力されたコード画像が読み取り不可能になる事態の発生を防ぐことができる画像処理装置を提供することができる。
According to the present invention of claim 9, in addition to the effect obtained by the present invention of any one of
請求項10に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、印刷媒体上に出力されたコード画像が読み取り不可能になることを事前に使用者に通知することができる画像処理装置を提供することができる。 According to the tenth aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to fourth aspects, the code image output on the print medium cannot be read. An image processing apparatus that can notify a user in advance can be provided.
請求項11に係る本発明によれば、コード画像を印刷媒体上に実際に出力することなく、コード画像を印刷媒体上に出力した場合の可読性を判定することが可能な画像形成装置を提供することができる。 According to the eleventh aspect of the present invention, there is provided an image forming apparatus capable of determining readability when a code image is output on a print medium without actually outputting the code image on the print medium. be able to.
請求項12に係る本発明によれば、コード画像を印刷媒体上に実際に出力することなく、コード画像を印刷媒体上に出力した場合の可読性を判定することが可能なプログラムを提供することができる。
According to the present invention of
次に、本発明の実施の形態について図面を参照して詳細に説明する。図1は本発明の一実施形態の画像形成システムの構成を示すブロック図である。 Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an image forming system according to an embodiment of the present invention.
本発明の一実施形態の画像形成システムは、図1に示されるように、ネットワーク30により相互に接続された画像形成装置10、および端末装置20により構成される。端末装置20は、プリントジョブ(印刷指示)を生成して、ネットワーク30経由にて生成したプリントジョブを画像形成装置10に対して送信する。画像形成装置10は、端末装置20から送信されたプリントジョブを受け付けて、プリントジョブに応じた画像を用紙上に出力する。なお、画像形成装置10は、印刷(プリント)機能、スキャン機能、複写(コピー)機能、ファクシミリ機能等の複数の機能を有するいわゆる複合機と呼ばれる装置である。
As shown in FIG. 1, the image forming system according to an embodiment of the present invention includes an
次に、本実施形態の画像形成システムにおける画像形成装置10のハードウェア構成を図2に示す。
Next, FIG. 2 shows a hardware configuration of the
画像形成装置10は、図2に示されるように、CPU11、メモリ12、ハードディスクドライブ(HDD)等の記憶装置13、ネットワーク30を介して外部の装置等との間でデータの送信及び受信を行う通信インタフェース(IF)14、タッチパネル又は液晶ディスプレイ並びにキーボードを含むユーザインタフェース(UI)装置15、スキャナ16、プリントエンジン17を有する。これらの構成要素は、制御バス18を介して互いに接続されている。
As shown in FIG. 2, the
CPU11は、メモリ12または記憶装置13に格納された制御プログラムに基づいて所定の処理を実行して、画像形成装置10の動作を制御する。
The
なお、本実施形態では、CPU11は、メモリ12または記憶装置13内に格納された制御プログラムを読み出して実行するものとして説明したが、当該プログラムをCD−ROM等の記憶媒体に格納してCPU11に提供することも可能である。
In the present embodiment, the
図3は、上記の制御プログラムが実行されることにより実現される画像形成装置10の機能構成を示すブロック図である。
FIG. 3 is a block diagram showing a functional configuration of the
本実施形態の画像形成装置10は、図3に示されるように、画像処理装置40と、画像出力部50とを備えている。なお、本実施形態では、説明を簡単にするために、印刷処理の制御に関する構成についての説明については省略する。
As shown in FIG. 3, the
また、画像処理装置40は、図3に示されるように、展開処理部31と、印刷データ格納部32と、コード画像検出部33と、用紙情報格納部34と、可読性判定部35と、通知部36と、変更部37を備えている。
Further, as shown in FIG. 3, the
展開処理部31は、端末装置20等からネットワーク30を介して受け付けた印刷指示(印刷ジョブ)に対して展開処理(デコンポーズ処理)を行うことにより印刷データを生成する。印刷データ格納部32は、展開処理部31により生成された印刷データを格納する。
The
コード画像検出部33は、印刷データ格納部32に格納されている出力を指示された印刷データ中から、明モジュール(明領域)および暗モジュール(暗領域)により構成されたQR(Quick Response)コード(登録商標)のコード画像を検出する。
The code
例えば、コード画像検出部33は、図4に示すような印刷データがある場合、この印刷データの画像からQRコード60の画像を検出する。このQRコード60の画像は、明モジュール61と、暗モジュール62という2種類のモジュールにより構成され、この明モジュール61と暗モジュール62の配列に基づいて様々な情報を埋め込むことが可能なようになっている。
For example, if there is print data as shown in FIG. 4, the code
用紙情報格納部34は、印刷用紙(印刷媒体)の用紙トレイ(収納容器)と収納されている印刷用紙の色情報とを対応させて記憶する。
The paper
可読性判定部35は、プリントジョブにより指定された用紙トレイの情報に基づいて用紙情報記憶部34から、QRコードが含まれた印刷データを出力しようとする印刷用紙の色情報を取得する。
The
そして、可読性判定部35は、コード画像検出部33により検出されたQRコードの画像を構成する明モジュールと暗モジュールの色情報およびQRコードを含む印刷データを出力しようとする印刷用紙の色情報に基づいて、QRコードを印刷用紙上に出力した場合の可読性を判定する。
Then, the
例えば、図4に示したようなQRコードが白色以外の印刷用紙上に出力されるような場合、印刷用紙の色情報を考慮すると印刷後のQRコードの画像は図5に示すような画像となる。つまり、明モジュール61には色の指定がされていないため、印刷用紙の色がそのまま印刷後の明モジュール61の色となるが、暗モジュール62にはもともの黒色の指定がされているため、暗モジュール62に指定されていた色が印刷用紙の色の影響をほとんど受けずに印刷後の暗モジュール62の色となる。
For example, when the QR code as shown in FIG. 4 is output on printing paper other than white, the QR code image after printing is the image shown in FIG. 5 in consideration of the color information of the printing paper. Become. That is, since the color is not designated for the
具体的には、可読性判定部35は、印刷用紙の色情報に基づいて印刷後の明モジュールの輝度および暗モジュールの輝度を算出し、算出された印刷後の明モジュールの輝度と暗モジュールの輝度により明モジュールと暗モジュールとのコントラスト差を算出し、算出されたコントラスト差を予め設定されたしきい値と比較することによりQRコードを印刷用紙上に出力した場合の可読性を判定する。
Specifically, the
例えば、明モジュールおよび暗モジュールの色情報がRGBの3色の色成分により表現されている場合、各モジュールの輝度は以下の式により算出される。
輝度=(R×299+G×587+B×144)/1000
For example, when the color information of the light module and the dark module is expressed by RGB color components, the luminance of each module is calculated by the following equation.
Luminance = (R × 299 + G × 587 + B × 144) / 1000
そして、明モジュールと暗モジュール間のコントラスト差は、下記の式により算出される。
コントラスト差=明モジュールの輝度−暗モジュールの輝度
The contrast difference between the light module and the dark module is calculated by the following equation.
Contrast difference = Bright module brightness-Dark module brightness
例えば、明モジュールのRGBの値が(125、200、100)で、暗モジュールのRGBの値が(20、15、10)の場合について説明する。 For example, the case where the RGB value of the light module is (125, 200, 100) and the RGB value of the dark module is (20, 15, 10) will be described.
この場合、明モジュールの輝度および暗モジュールの輝度は下記の式により算出される。
明モジュールの輝度=(125×299+200×587+100×144)1000≒169
暗モジュールの輝度=( 20×299+ 15×587+ 10×144)1000≒16
In this case, the brightness of the light module and the brightness of the dark module are calculated by the following equations.
Brightness of light module = (125 × 299 + 200 × 587 + 100 × 144) 1000≈169
Brightness of dark module = (20 × 299 + 15 × 587 + 10 × 144) 1000≈16
そのためこの場合の明モジュールと暗モジュール間のコントラスト差は、153(169−16)となるそして、このコントラスト差の値153を予め設定されたしきい値と比較して、このしきい値よりも大きい場合には、可読性判定部35は、印刷後のQRコードが読み取り可能であると判定する。
Therefore, the contrast difference between the light module and the dark module in this case is 153 (169-16). Then, the contrast difference value 153 is compared with a preset threshold value, and the contrast difference value is smaller than this threshold value. If it is larger, the
または、可読性判定部35は、QRコードを構成する明モジュールと暗モジュールの色情報および印刷用紙の色情報に基づいて印刷後のQRコードの画像を合成し、合成されたQRコードの画像をシミュレーションにより模擬的に復号して復号可能であるか否かを判定することによって、QRコードを印刷用紙上に出力した場合の可読性を判定するようにしてもよい。
Alternatively, the
通知部36は、指定された印刷用紙上にQRコードの画像が出力されると読み取り不可能になると可読性判定部35により判定された場合、指定された印刷用紙上に印刷データを出力するとQRコードが読み取り不可能になる旨をユーザに通知する。
When the
変更部37は、可読性判定部35により指定された印刷用紙上にQRコードが出力されると読み取り不可能になると判定された場合、複数の対処方法の中から予め選択された1つの対処方法により印刷データ中のQRコードの画像に対して何等かの変更を行う。
When the
例えば、変更部37は、「QRコード画像の色を変更」という対処方法が選択されている場合、QRコードを構成する明モジュールの色情報および暗モジュールの色情報の少なくともいずれかを変更する。この場合、例えば、色の指定がCMYK4色においてそれぞれ256階調で指定されている場合、明モジュールの色の指定が全ての色成分が0ではなく、いくつかの色成分において0以外の値が設定されていると、変更部37は、明モジュールの色の指定をCMYK=(0、0、0、0)という指定に変更する。また、暗モジュールの色の指定がK=200という指定だった場合、変更部37は、暗モジュールの色の指定をK=255という最高値に変更する。
For example, when the coping method “change the color of the QR code image” is selected, the changing
また、例えば、変更部37は、「QRコード画像の色およびトナー濃度を変更」という対処方法が選択されている場合、QRコードの明モジュールの色情報および暗モジュールの色情報の少なくともいずれか、およびトナー(画形材)の出力濃度を変更する。例えば、印刷用紙の色が濃い灰色であるような場合、明モジュールの色もこの濃い灰色となってしまうので、変更部37は、明モジュールの色を黄色に変更し、印刷用紙の濃い灰色が隠れるようにトナー濃度を最高値に変更する。
Further, for example, when the coping method “change the color and toner density of the QR code image” is selected, the changing
また、例えば、変更部37は、「出力用紙を変更」という対処方法が選択されている場合、QRコードを含む印刷データを出力する印刷用紙自体を変更する。例えば、プリントジョブにおいて灰色の印刷用紙が指定されていた場合において、可読性判定部35により指定された印刷用紙上にQRコードが出力されると読み取り不可能になると判定された場合、変更部37は、使用する用紙トレイを切り替えることにより、印刷データを出力する印刷用紙として白色の印刷用紙が使用されるようにする。
Further, for example, when the coping method “change output paper” is selected, the changing
さらに、変更部37は、「QRコード画像を別用紙に出力」という対処方法が選択されている場合、QRコードの画像のみを指定された印刷用紙とは異なる色、例えば白色の印刷用紙に出力するように変更する
Furthermore, when the coping method “output QR code image to another sheet” is selected, the changing
なお、変更部37は、指定された印刷用紙上にQRコードが出力されると読み取り不可能になると可読性判定部35により判定された場合、指示された印刷データの出力を中止するよう画像出力部50を制御するようにしても良い。
The changing
なお、指定された印刷用紙上にQRコードが出力されると読み取り不可能になると可読性判定部35により判定された場合、変更部37により上記のような対処方法が自動的に実行されるようにしてもよいし、プリントジョブを一時的に停止してユーザに対処方法を選択させて選択された対処方法を実行するようにしてもよい。
If the
画像出力部50は、可読性判定部35により印刷用紙上に印刷されたQRコードの読み取りが可能であると判定された場合、QRコードを含む印刷データを指定された印刷用紙上に出力する。
When the
次に、本実施形態の画像形成装置10の動作を図面を参照して詳細に説明する。
Next, the operation of the
先ず、用紙トレイの用紙色を設定する場合の動作を図6のフローチャートを参照して説明する。
この場合には、画像形成装置10では、ユーザに対して、印刷用紙をセットする用紙トレイを指定させる(ステップS101)。次に、画像形成装置10では、用紙トレイにセットする印刷用紙を1枚スキャンさせる指示をユーザに対して行う(ステップS102)。
First, the operation for setting the paper color of the paper tray will be described with reference to the flowchart of FIG.
In this case, the
すると、ユーザが用紙トレイにセットする印刷用紙を1枚スキャンさせることにより、画像形成装置10では、スキャンした印刷用紙の色情報が取得される(ステップS103)。
Then, when the user scans one sheet of printing paper set on the paper tray, the
最後に、スキャンした印刷用紙の色情報は、ステップS101において指定された用紙トレイと対応付けられて、用紙情報格納部34に記憶される(ステップS104)。このようにして、各用紙トレイと対応付けられた色情報が用紙情報格納部34に格納されることとなる。
Finally, the color information of the scanned printing paper is stored in the paper
次に、QRコードのコントラストが不十分な場合の対処方法を設定する際の動作を図7のフローチャートを参照して説明する。 Next, the operation when setting a countermeasure when the QR code contrast is insufficient will be described with reference to the flowchart of FIG.
先ず最初に、ユーザに対して自動対処のオン/オフの選択を入力させる(ステップS201)。このステップS201において自動対処をオンにする設定が選択された場合(ステップS202においてYes)、ユーザに対して、予め用意されている複数の対処方法の中から1つの対処方法を選択させる(ステップS203)。 First, the user is prompted to input on / off selection for automatic handling (step S201). When the setting to turn on automatic handling is selected in step S201 (Yes in step S202), the user is allowed to select one handling method from a plurality of prepared handling methods (step S203). ).
具体的には、「QRコード画像の色を変更」、「QRコード画像の色およびトナー濃度を変更」、「出力用紙を変更」、「QRコード画像を別用紙に出力」、「印刷データの出力を中止」というような複数に対処方法の中からどの対処方法を行うのかをユーザに対して選択させる。 Specifically, “change the color of the QR code image”, “change the color and toner density of the QR code image”, “change the output paper”, “output the QR code image to another paper”, “print data The user is made to select which coping method is to be performed from a plurality of coping methods such as “cancel output”.
そして、ユーザにより実行すべき対処方法が選択されると、自動対処を行う設定および選択された対処方法は変更部37に記憶される(ステップS204)。 When the coping method to be executed by the user is selected, the setting for performing automatic coping and the selected coping method are stored in the changing unit 37 (step S204).
なお、ステップS201において自動対処をオフとする設定が選択された場合(ステップS202においてNo)、自動対処を行わない設定が変更部37に記憶される(ステップS205)。 If the setting for turning off automatic handling is selected in step S201 (No in step S202), the setting for not performing automatic handling is stored in the changing unit 37 (step S205).
次に、画像形成装置10において実際にプリントジョブが実行される場合の動作を図8のフローチャートを参照して説明する。
Next, the operation when a print job is actually executed in the
先ず、端末装置20等により入力されたプリントジョブは、展開処理部31においてデコンポーズ処理が実行されラスタ形式の印刷データが生成される(ステップS301)。そして、この生成された印刷データは印刷データ格納部32に格納される。
First, a
すると、コード画像検出部33により、生成された印刷データ中にQRコードの画像が含まれているか否か、また含まれている場合にはそのQRコード画像を検出する処理が実行される(ステップS302)。
Then, the code
このステップS302において印刷データ中にQRコードが含まれていないと判定された場合、画像出力部50では生成された印刷データに基づく印刷処理が実行される(ステップS309)
If it is determined in step S302 that the QR code is not included in the print data, the
ステップS302において印刷データ中にQRコードが含まれていると判定された場合、コード画像検出部33により含まれているQRコードの画像が取得される(ステップS304)。
When it is determined in step S302 that the print data includes a QR code, the code
なお、実行しようとするプリントジョブには使用する用紙トレイが指定されているため、この指定に基づいて出力先の用紙トレイが決定される(ステップS305)。 Since the paper tray to be used is specified for the print job to be executed, the output destination paper tray is determined based on this specification (step S305).
すると、可読性判定部35は、決定された用紙トレイの情報に基づいて、用紙情報格納部34から出力先トレイの印刷用紙の色情報を取得する(ステップS306)。
Then, the
そして、可読性判定部35は、コード画像検出部33により検出されたQRコードの画像を構成する明モジュールと暗モジュールの色情報およびQRコードを含む印刷データを出力しようとする印刷用紙の色情報に基づいて、QRコードを印刷用紙上に出力した場合の可読性を判定する(ステップS307)。なお、この可読性判定処理の詳細については後述する。
Then, the
このステップS307において可読性に問題がない、つまり指定されている印刷用紙上に印刷データを出力してもQRコードが読み取り可能であると判定されて場合(ステップS308においてYes)、画像出力部50では、印刷データが指定された印刷用紙上に出力される(ステップS309)。
If it is determined in step S307 that there is no problem in readability, that is, it is determined that the QR code can be read even if the print data is output on the designated printing paper (Yes in step S308), the
このステップS307において可読性に問題がある、つまり指定されている印刷用紙上に印刷データを出力するとQRコードが読み取れなくなる可能性が大きいと判定されて場合(ステップS308においてNo)、画像変更部37において、予め設定されている対処方法が実行されることとなる(ステップS310)。この対処方法の実行処理の詳細についても後述する。 If it is determined in step S307 that there is a problem in readability, that is, it is determined that there is a high possibility that the QR code cannot be read when print data is output on the designated printing paper (No in step S308), the image change unit 37 A pre-set handling method is executed (step S310). Details of the execution method of this coping method will also be described later.
次に、図8のステップS307において説明した、QRコードを印刷用紙上に出力した場合の可読性判定処理の詳細を図9のフローチャートを参照して説明する。 Next, details of the readability determination process when the QR code is output on the printing paper described in step S307 of FIG. 8 will be described with reference to the flowchart of FIG.
まず、可読性判定部35は、可読性の判定方法としてどの判定方法を使用するかの設定を取得する(ステップS401)。そして、可読性判定部35は、設定されている判定方法がコントラストによる判定方法であるのか、シミュレーションによる判定方法であるのかを判定する(ステップS402)。
First, the
ステップS402において、設定されている判定方法がコントラストによる判定方法の場合(ステップS402においてYes)、可読性判定部35は、コード画像検出部33により検出されたQRコードの画像から、明モジュールの色と暗モジュールの色を取得する(ステップS403)。
If the determination method set in step S402 is a determination method based on contrast (Yes in step S402), the
そして、可読性判定部35は、用紙トレイ情報により出力先トレイを把握し、この出力先トレイに設定されている用紙の用紙情報を用紙情報記憶部34から取得する。そして、可読性判定部35は、取得した用紙情報に基づいて、プリント後の明モジュールの色と暗モジュールの色を算出する(ステップS404)。そして、可読性判定部35は、明モジュールと暗モジュールとの間のコントラスト差(コントラスト比)を算出する(ステップS405)。
Then, the
最後に、可読性判定部35は、算出されたコントラスト差に基づいて、QRコードの可読性を判定する(ステップS406)。具体的には、例えば、可読性判定部35は、コントラスト差がある一定のしきい値以上の場合には、QRコードが読み取り可能であると判定し、コントラスト差がある一定のしきい値未満の場合には、QRコードは読み取り不可能であると判定する。
Finally, the
なお、ステップS402において設定されている判定方法がシミュレーションによる判定方法の場合(ステップS402においてNo)、可読性判定部35は、出力先トレイの用紙情報に基づいて、印刷後のQRコード画像を合成する(ステップS407)。
If the determination method set in step S402 is a simulation determination method (No in step S402), the
そして、可読性判定部35は、合成されたQRコード画像がデコード可能であるか否かをシミュレーションにより判定する(ステップS408)。具体的には、可読性判定部35は、合成されたQRコード画像が、実際に読み取られた画像から抽出されたQRコード画像であるものとしてデコード処理を行い、元の情報がデコードされればデコード可能である判定する。
Then, the
そして、最後に可読性判定部35は、合成されたQRコード画像がデコード可能である場合には、印刷後のQRコードは読み取り可能であると判定し、合成されたQRコード画像がデコードできない場合には、印刷後のQRコードは読み取り不可能であると判定する(ステップS409)。
Finally, when the synthesized QR code image can be decoded, the
次に、図8のステップS310において説明した、設定され対処方法の実行処理の詳細を図10のフローチャートを参照して説明する。 Next, details of the execution processing of the set countermeasure method described in step S310 of FIG. 8 will be described with reference to the flowchart of FIG.
この処理では、先ず設定されている対処方法が「QRコード画像の色を変更」、「QRコード画像を別用紙に出力」、「出力用紙を変更」、「QRコード画像の色およびトナー濃度を変更」のいずれかに該当するか否かが判定される(ステップS501、S504、S507、S510)。 In this process, first, the set countermeasures are “change QR code image color”, “output QR code image to another sheet”, “change output sheet”, “change QR code image color and toner density”. It is determined whether or not any of “change” is true (steps S501, S504, S507, and S510).
そして、設定されている対処方法が「QRコード画像の色を変更」の場合(ステップS501においてYes)、変更部37は、QRコード画像の明モジュールを白に、暗モジュールは黒に変更する(ステップS502)。
When the set countermeasure is “change the color of the QR code image” (Yes in step S501), the changing
そして、変更部37によりQRコード画像の色の変更が行われた後の印刷データに基づいて、画像出力部50において印刷処理が実行される(ステップS503)。
Then, based on the print data after the color code of the QR code image is changed by the changing
また、設定されている対処方法が「QRコード画像を別用紙に出力」の場合(ステップS504においてYes)、先ず、白色用紙が設定された用紙トレイがあるか否かが判定され(ステップS505)、白色用紙の用紙トレイがある場合には、実行中のジョブの後に白色用紙にQRコード画像のみを出力するプリントジョブが追加される(ステップS506)。 If the set coping method is “output QR code image to another sheet” (Yes in step S504), it is first determined whether or not there is a sheet tray set with white sheet (step S505). If there is a paper tray for white paper, a print job for outputting only a QR code image to white paper is added after the job being executed (step S506).
その結果、印刷処理では、元のプリントジョブの実行が終了した後に、白色用紙上にQRコード画像のみが出力されるような印刷処理が実行されることとなる(ステップS503)。なお、ステップS505において、白色用紙が設定された用紙トレイが無いと判定された場合、そのプリントジョブは中断される(ステップS513)。 As a result, in the printing process, after the execution of the original print job is completed, the printing process is executed so that only the QR code image is output on the white paper (step S503). If it is determined in step S505 that there is no paper tray set with white paper, the print job is interrupted (step S513).
また、設定されている対処方法が「出力用紙を変更」の場合(ステップS507においてYes)、先ず、白色用紙が設定された用紙トレイがあるか否かが判定され(ステップS508)、白色用紙の用紙トレイがある場合には、使用する用紙トレイを白色用紙が設定された用紙トレイに変更される(ステップS509)。 If the set coping method is “change output paper” (Yes in step S507), first, it is determined whether or not there is a paper tray set with white paper (step S508). If there is a paper tray, the paper tray to be used is changed to a paper tray set with white paper (step S509).
その結果、印刷処理では、プリントジョブにおいて指定された用紙とは異なる白色用紙上に印刷データに基づく画像が出力されることとなる(ステップS503)。なお、ステップS508において、白色用紙が設定された用紙トレイが無いと判定された場合、そのプリントジョブは中断される(ステップS513)。 As a result, in the printing process, an image based on the print data is output on a white paper different from the paper designated in the print job (step S503). If it is determined in step S508 that there is no paper tray set with white paper, the print job is interrupted (step S513).
また、設定されている対処方法が「QRコード画像の色およびトナー濃度を変更」の場合(ステップS510においてYes)、変更部37は、例えば、QRコード画像の明モジュールを黄色に、暗モジュールを黒色に変更する(ステップS511)。そして、変更部37は、QRコード画像の画像部分のトナー濃度を例えば最高値になるように設定する(ステップS512)。
When the set countermeasure is “change the color and toner density of the QR code image” (Yes in step S510), for example, the changing
そして、変更部37によりQRコード画像の色の変更が行われた後の印刷データに基づいて、画像出力部50において印刷処理が実行される(ステップS503)。
Then, based on the print data after the color code of the QR code image is changed by the changing
なお、ステップS501、S504、S507、S510のいずれにおいても該当する対処方法が設定されていない場合、プリントジョブの処理全体が中断される(ステップS513)。 Note that if the corresponding coping method is not set in any of steps S501, S504, S507, and S510, the entire print job processing is interrupted (step S513).
[変形例]
上記実施形態では、2次元コードの1つのであるQRコードが印刷データ中に含まれ、このQRコードの可読性の判定を行う場合について説明したが、本発明はこれに限定されるものではない。本発明は、QRコード以外の2次元コード、例えば、MaxiCode、Data Matrix等のコード画像の可読性判定を行う場合でも同様に適用することができるものである。さらに、本発明は2次元コードの画像の可読性判定に限定されるものではなく、バーコードのような1次元コード等の他のコード画像の可読性判定にも同様に適用可能である。
[Modification]
In the above embodiment, a case has been described in which a QR code, which is one of two-dimensional codes, is included in print data and the readability of this QR code is determined. However, the present invention is not limited to this. The present invention can be similarly applied to the case of determining the readability of a two-dimensional code other than a QR code, for example, a code image such as MaxiCode or Data Matrix. Furthermore, the present invention is not limited to the determination of the readability of an image of a two-dimensional code, but can be similarly applied to the determination of the readability of another code image such as a one-dimensional code such as a barcode.
10 画像形成装置
11 CPU
12 メモリ
13 記憶装置
14 通信インタフェース(IF)
15 ユーザインタフェース(UI)装置
16 スキャナ
17 プリントエンジン
18 制御バス
20 端末装置
30 ネットワーク
31 展開処理部
32 印刷データ格納部
33 コード画像検出部
34 用紙情報格納部
35 可読性判定部
36 通知部
37 変更部
60 QRコード
61 明モジュール
62 暗モジュール
10
12
DESCRIPTION OF
Claims (12)
前記検出手段により検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定する判定手段と、
を備えた画像処理装置。 Detection means for detecting a code image composed of a bright area and a dark area from print data instructed to be output;
Based on the color information of the light area and the dark area constituting the code image detected by the detecting means and the color information of the print medium to which the print data including the code image is to be output, the code image is output on the print medium. Determining means for determining readability of the case;
An image processing apparatus.
前記判定手段は、指定された収納容器の情報に基づいて前記記憶手段からコード画像を含む印刷データを出力しようとする印刷媒体の色情報を取得する請求項1から3のいずれか1項記載の画像処理装置。 A storage means for storing the print medium storage container and the color information of the stored print medium in association with each other;
The said determination means acquires the color information of the printing medium which is going to output the printing data containing a code image from the said memory | storage means based on the information of the designated storage container. Image processing device.
前記検出手段により検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定する判定手段と、
前記判定手段により印刷媒体上に印刷されたコード画像の読み取りが可能であると判定された場合、コード画像を含む印刷データを指定された印刷媒体上に出力する画像出力手段と、
を備えた画像形成装置。 Detection means for detecting a code image composed of a bright area and a dark area from print data instructed to be output;
Based on the color information of the light area and the dark area constituting the code image detected by the detecting means and the color information of the print medium to which the print data including the code image is to be output, the code image is output on the print medium. Determining means for determining readability of the case;
An image output means for outputting print data including the code image on the designated print medium when the determination means determines that the code image printed on the print medium can be read;
An image forming apparatus.
検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定するステップとをコンピュータに実行させるためのプログラム。 Detecting a code image composed of a bright area and a dark area from print data instructed to be output;
The readability when the code image is output on the print medium based on the color information of the light area and the dark area constituting the detected code image and the color information of the print medium to which the print data including the code image is to be output. A program for causing a computer to execute the determining step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011050084A JP2012183796A (en) | 2011-03-08 | 2011-03-08 | Image processing apparatus, image forming apparatus, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011050084A JP2012183796A (en) | 2011-03-08 | 2011-03-08 | Image processing apparatus, image forming apparatus, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012183796A true JP2012183796A (en) | 2012-09-27 |
Family
ID=47014301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011050084A Withdrawn JP2012183796A (en) | 2011-03-08 | 2011-03-08 | Image processing apparatus, image forming apparatus, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012183796A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016091258A (en) * | 2014-11-04 | 2016-05-23 | コニカミノルタ株式会社 | Image reader and program |
JP2016190469A (en) * | 2015-03-31 | 2016-11-10 | 京セラドキュメントソリューションズ株式会社 | Image processing device, image processing method and image processing program |
-
2011
- 2011-03-08 JP JP2011050084A patent/JP2012183796A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016091258A (en) * | 2014-11-04 | 2016-05-23 | コニカミノルタ株式会社 | Image reader and program |
JP2016190469A (en) * | 2015-03-31 | 2016-11-10 | 京セラドキュメントソリューションズ株式会社 | Image processing device, image processing method and image processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101989348B (en) | Image processing apparatus, image processing method | |
JP2007097171A (en) | Image forming apparatus and subtractive color printing method | |
JP2010034683A (en) | Image processing apparatus, and program | |
JP6299436B2 (en) | Image processing apparatus, image processing method, program, and recorded member | |
JP2008067068A (en) | Image processing apparatus | |
JP4858129B2 (en) | Image processing apparatus, image forming system, and program | |
JP2012183796A (en) | Image processing apparatus, image forming apparatus, and program | |
JP2011024116A (en) | Image processing apparatus, image processing method, and program | |
US20150138570A1 (en) | Display processing apparatus and display processing method | |
JP5346848B2 (en) | Image forming apparatus and image processing program | |
JP2007082068A (en) | Image forming apparatus and control program | |
JP2020187299A (en) | Image forming method, program, and image forming apparatus | |
JP2012244206A (en) | Image forming apparatus | |
JP5989065B2 (en) | Image forming system, printer driver, image forming apparatus, and rendering program | |
JP6145877B2 (en) | Color mode determination apparatus and program | |
JP5994471B2 (en) | Image processing program and information processing apparatus | |
JP4784635B2 (en) | Image processing apparatus, image forming apparatus, and program | |
JP4405453B2 (en) | Image forming apparatus and control program | |
JP2016038655A (en) | Image processor, image forming apparatus and program | |
JP2009253666A (en) | Image processing method and image forming apparatus | |
JP2011022759A (en) | Image forming system and printing control device | |
JP2011182049A (en) | Image encoder, image forming apparatus and program | |
JP4905294B2 (en) | Image processing circuit, printing apparatus, and image processing program | |
JP2007235360A (en) | Image processing apparatus | |
JP2009075853A (en) | Image processor and image processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20140513 |