JP2012147177A - Apparatus synthesizing additional image with plurality of different colors into input image, and control method and program therefor - Google Patents
Apparatus synthesizing additional image with plurality of different colors into input image, and control method and program therefor Download PDFInfo
- Publication number
- JP2012147177A JP2012147177A JP2011003063A JP2011003063A JP2012147177A JP 2012147177 A JP2012147177 A JP 2012147177A JP 2011003063 A JP2011003063 A JP 2011003063A JP 2011003063 A JP2011003063 A JP 2011003063A JP 2012147177 A JP2012147177 A JP 2012147177A
- Authority
- JP
- Japan
- Prior art keywords
- image
- color
- stamp
- unit
- data
- 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
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Control Or Security For Electrophotography (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、夫々色の異なる複数色の付加画像を入力画像に合成する装置、その制御方法、プログラムに関する。 The present invention relates to an apparatus for synthesizing an additional image having a plurality of different colors with an input image, a control method therefor, and a program.
オフィス向けのデジタルカラー複合機では、ニーズに応じたドキュメント作成を支援する多彩な機能が搭載されており、原稿に文字や日付、ページ数・部数印字などのいわゆるスタンプ機能はなくてはならない基本機能である。 Digital color MFPs for office use are equipped with a variety of functions that support the creation of documents according to needs, and basic functions that must have so-called stamp functions such as text, date, number of pages, and number of copies on a manuscript. It is.
このスタンプ機能で印字する文字やパターンを、それぞれ異なるカラーで表現する多色スタンプ印字機能を備えたカラー複合機がある。スタンプ印字の種類に応じて、違うカラーで印字されるため、スタンプ種類の区別がし易くなる。 There are color multifunction peripherals equipped with a multicolor stamp printing function for expressing characters and patterns printed by this stamp function in different colors. Depending on the type of stamp printing, different colors are used for printing, so it is easy to distinguish the stamp type.
このスタンプの多色対応をハードウェア構成として実現する為には、合成するスタンプ毎の色情報を、オリジナルの画像情報に合わせて生成する必要がある。 In order to realize the multi-color correspondence of this stamp as a hardware configuration, it is necessary to generate color information for each stamp to be combined with original image information.
例えばスタンプ画像の付加生成処理において、スタンプの元画像の他に、色対応を示す専用データを付加したデータ構成により、スタンプの多色表現を実現する技術が開示されている。(例えば、特許文献1) For example, in a stamp image addition generation process, a technique for realizing a multicolor representation of a stamp by a data configuration in which dedicated data indicating color correspondence is added in addition to the original image of the stamp is disclosed. (For example, Patent Document 1)
しかしながら、特許文献1においては、色専用のデータを追加するため、その分スタンプ画像処理の為に扱うデータ量やメモリ容量などのリソースが増えてしまい、コスト増加を招くことになる。 However, in Patent Document 1, since data dedicated to color is added, resources such as the amount of data and memory capacity to be handled for the stamp image processing increase correspondingly, resulting in an increase in cost.
又、上記の特許文献1以外にも、原稿画像の写真や文字の各領域に合わせた画像処理を行う為に、画像信号と共に生成される画素毎の属性情報のあるビットを利用して、当該ビット情報をデコードして、画素単位でスタンプ合成する方法が考えられる。 In addition to the above-mentioned patent document 1, in order to perform image processing according to each area of a photograph or character of a document image, the bit having attribute information for each pixel generated together with the image signal is used. A method of decoding the bit information and combining the stamps in units of pixels is conceivable.
しかしながら、属性情報は画素単位で画像処理する為に、各画素毎に属性情報を有する。このような関係から、属性情報のビット数を増加するとメモリ容量やデータ転送速度といったシステムの基本性能に影響するという課題がある。 However, attribute information has attribute information for each pixel in order to perform image processing in units of pixels. From this relationship, there is a problem that increasing the number of bits of attribute information affects the basic performance of the system such as memory capacity and data transfer speed.
上記課題を解決するため、請求項1の各構成を具備する。具体的には、ドット配置パターンに対応する色を画素に対して付ける。 In order to solve the above-mentioned problems, each component of claim 1 is provided. Specifically, a color corresponding to the dot arrangement pattern is given to the pixel.
最小限のメモリコストで夫々色の異なる複数の付加画像の合成ができる。 A plurality of additional images with different colors can be synthesized at a minimum memory cost.
以下、本発明を実施するための最良の形態について図面を用いて説明する。 The best mode for carrying out the present invention will be described below with reference to the drawings.
(第1実施の形態)
図1は、本発明の第1実施の形態における画像処理装置の全体構成を示すブロック図である。
画像処理装置100は、画像の入出力と送受信および各種の画像処理を行う複合機である。画像処理装置100は、メインコントローラ101、ユーザインタフェースである操作部102、紙原稿などの画像を読み取る画像読取装置であるスキャナ103、および、画像出力装置であるプリンタ104を備える。操作部102、スキャナ103およびプリンタ104は、それぞれメインコントローラ101に接続され、メインコントローラ101からの指示により制御される。更に、メインコントローラ101は、LAN(Local Area Network)等を介してホストPC105と接続される。
(First embodiment)
FIG. 1 is a block diagram showing the overall configuration of the image processing apparatus according to the first embodiment of the present invention.
The
次に、図2のブロック図を用いて、本発明の実施形態における画像処理装置100が備えるメインコントローラの構成を説明する。
メインコントローラ101は、主制御部であるCPU(Central Processing Unit)201を備える。CPU201は、システムバス208を介して、RAM202、ROM(Read Only Memory)203、Flash204、イメージバスI/F205、操作部I/F206、および、外部I/F207と接続される。
Next, the configuration of the main controller provided in the
The
RAM202は、CPU201の作業領域を提供するための随時読み書き可能なメモリである。RAM202は、画像データを一時記憶するための画像メモリとしても使用される。ROM203は、ブートROMであり、システムのブートプログラムが格納される。Flash204は、不揮発性メモリであり、データ処理装置100の電源遮断後にも保持が必要なシステムソフトウェアや設定値データ等が格納される。
The
操作部I/F206は、操作部102との間で入出力を行うためのインタフェースである。操作部I/F206は、操作部102に対して表示すべき画像データを出力し、また、ユーザが操作部102を介して入力した各種設定情報を、CPU201に伝送する。
The operation unit I / F 206 is an interface for performing input / output with the
外部I/F207は、LAN等を介して外部接続するためのインタフェースであり、ホストPC105との間で印刷データ等の入出力を行う。
HDD(Hard Disk Drive)208は、画像データ、ジョブログ、および、ユーザの個別データ等の各種データに加え、各種スタンプ画像を格納する不揮発な記憶装置である。
An external I /
An HDD (Hard Disk Drive) 208 is a nonvolatile storage device that stores various stamp images in addition to various data such as image data, job logs, and individual user data.
画像バスI/F205は、システムバス209と画像データを高速で転送する画像バス216とを接続するインタフェースであり、データ構造を変換するバスブリッジとして動作する。
An image bus I / F 205 is an interface that connects the
画像バス216には、RIP(Raster Image Processor)210、デバイスI/F211、スキャナ画像処部212、プリンタ画像処理部213、画像圧縮伸長部214、および、付加画像生成部215が接続される。
A RIP (Raster Image Processor) 210, a device I / F 211, a scanner
RIP210は、外部I/F207から受信したPDL(Page Description Language)データをCPU201で変換して生成するDL(DisplayList)に基づきラスタデータを生成する。
The RIP 210 generates raster data based on DL (Display List) generated by converting the PDL (Page Description Language) data received from the external I /
デバイスI/F211は、スキャナ103、および、プリンタ104とメインコントローラ101とを接続するインタフェースであり、画像データの同期系/非同期系の変換、および、不図示の緩衝メモリを用いて入出力データを一時的に保持する。
The device I / F 211 is an interface that connects the
スキャナ画像処理部212は、スキャナ103が読み取る画像データに対して、各種画像処理を行う。更に、読み取った画像データの属性判定処理を行い、画素毎の属性データを生成する。スキャナ画像処理部212の処理詳細は後述する。
The scanner
プリンタ画像処理部213は、プリンタ104へ出力する出力画像データに対して、色変換、フィルタ処理、解像度変換等の処理を行う。ここで、プリンタ画像処理部213は、入力画像に付加画像を合成する処理を行う画像合成部を備える。プリンタ画像処理部213の処理詳細は後述する。
A printer
画像圧縮伸長部214は、多値画像データに対してはJPEG、2値画像データに対してはJBIG、ランレングス法等の各種方式を用いて、画像データの圧縮処理を行う。
The image compression /
付加画像生成部215は、操作部102で設定されたスタンプ処理内容に応じて、スタンプ画像を生成する。ここで、付加画像生成部215は、付加画像の色情報に応じて、付加画像のグループ化単位を決定する。付加画像生成部215の処理詳細は後述する。
The additional
次に、図3を用いて、本発明の実施形態におけるスタンプ処理を行う際に使用する、操作部102の設定画面を説明する。
同図は、操作部102が備える、LCD(Liquid Crystal Display:液晶表示部)とその上に貼られた透明電極からなるタッチパネルディスプレイを表した模式図である。LCDに表示されるボタンやプルダウンメニュー等のキーに相当部分の透明電極を指で触れると、それを検知して別の操作画面を表示するよう予めプログラムされており、設定操作に応じて様々な操作画面を表示することができる。
Next, a setting screen of the
This figure is a schematic diagram showing a touch panel display comprising an LCD (Liquid Crystal Display: liquid crystal display unit) and a transparent electrode affixed thereon. It is programmed in advance to display a separate operation screen when a corresponding part of the transparent electrode is touched with a finger on a key such as a button or a pull-down menu displayed on the LCD. An operation screen can be displayed.
また、同図は、不図示の初期画面からコピー設定ボタンを押下して表示される不図示のコピー設定画面において、スタンプ設定ボタンを押下することで表示される。 This figure is displayed by pressing a stamp setting button on a copy setting screen (not shown) displayed by pressing the copy setting button from an initial screen (not shown).
スタンプ位置設定ボタン301は、スタンプ画像が印字される原稿上の位置を設定するものである。本実施形態では、原稿上の位置として、左上、上、右上、左下、下、右下、および、原稿中心であるセンターを指定する各ボタンを備え、右上、が選択された状態である。 A stamp position setting button 301 is used to set a position on a document on which a stamp image is printed. In the present embodiment, the upper left, upper, upper right, lower left, lower, lower right, and buttons for designating the center that is the center of the original are provided as positions on the original, and the upper right is selected.
印字向き設定ボタン302は、スタンプ画像が印字される原稿の向き設定するものである。本実施形態では、印字向き縦、および、印字向き横、の設定ボタンを備え、印字向き縦、が選択された状態である。
A print
印字位置詳細設定ボタン303は、スタンプ印字位置を詳細設定する場合に用いる不図示の詳細設定画面を呼び出すためのボタンであり、例えば、スタンプ位置設定ボタン601で指定したスタンプ位置を更に微調整する場合に使用される。
The print position
印字位置プレビュー304は、上述した、スタンプ位置設定ボタン301、印字向き設定ボタン302、および、印字位置詳細設定ボタン303の設定に基づき、原稿とスタンプとの位置関係を簡易的にプレビュー表示するものである。
The
印字内容設定ボタン305は、印字するスタンプ画像を設定するボタンである。本実施形態における印字内容設定ボタンは最大5個のスタンプ印字設定が可能であり、スタンプ1からスタンプ5のタブを押下し、それぞれのスタンプ設定を行う。現在設定しているスタンプ設定タブは反転表示され(スタンプ1)、有効設定されたスタンプ設定タブは網表示される(スタンプ2、および、スタンプ3)。
A print
スタンプ有効設定ボタン306は、選択しているスタンプ設定タブでのスタンプ印字の有効、無効を設定するものである。本実施形態では、同ボタンを押下し、プルダウンメニュー形式で選択でき、スタンプ1(第一の付加画像)、スタンプ2(第二の付加画像)、および、スタンプ3(第三の付加画像)の設定が有効である。
The stamp
印字サイズ設定ボタン307は、スタンプ文字の大きさを設定するものである。本実施形態では、同ボタンを押下することで、ポイント単位で予め定められた文字大きさをプルダウンメニュー形式で選択できる。
The print
印字色設定ボタン308は、スタンプ文字の色を設定するものである。本実施形態では、同ボタンを押下することで、レッド、ブルー、または、グリーン、等の予め定められた色をプルダウンメニュー形式で選択できる。
The print
スタンプ種類設定ボタン309は、スタンプ印字される文字または記号を設定するものである。本実施形態では、同ボタンも押下することで、マル秘、や、Confidential、等の予め定められたスタンプをプルダウンメニュー形式で選択する他、ユーザが任意に指定する文字や記号をスタンプとして設定できる。
The stamp
スタンプ詳細設定ボタン310は、スタンプ印字内容を詳細設定する場合に用いる不図示の詳細設定画面を呼び出すためのボタンであり、例えば、スタンプ文字の透過設定やスタンプ文字が印字される原稿ページ設定等を行う場合に使用される。
The stamp
スタンプ設定有効ボタン311は、上述したスタンプ設定を反映する場合に用いるものである。スタンプ設定ボタン311を押下すると、スタンプ設定が反映された後、前記不図示のコピー設定画面へ戻る。一方、スタンプ設定を反映しない場合は、スタンプ設定取消ボタン312を押下し、前記不図示のコピー設定画面へ戻る。
The stamp setting
次に、図4を用いて、本発明の実施形態におけるスキャナ画像処理部212の構成を説明する。
同図は、スキャナ画像処理部212の内部構成を示す模式図である。スキャナ画像処理部212は、大きく、DMA(Direct Memory Access)制御部401、属性前画像処理部402と、属性判定部403と、属性判定後画像処理404とに分けられる。
Next, the configuration of the scanner
FIG. 2 is a schematic diagram showing the internal configuration of the scanner
DMA制御部401は、メインコントローラ101が備える不図示のメモリマップで予め定められたアドレスとデータ転送長とを指定することで、CPUを介さずに自律してデータ転送を行う。本実施形態では、スキャナ103が読み取ってデジタル化した後にデバイスI/F211が備える不図示の緩衝メモリに格納された画像データのスキャナ画像処理部212へ読み出しや、処理後の画像データや属性データをRAM202へ書き出しを行う。前記画像データは、RGB(Red Green Blue)の色信号で構成される。
The
次に、属性判定前画像処理部401で行う画像処理を説明する。
シェーディング補正部は、基準白色板の読み取り信号を用いて、スキャナ103が読み込む各画素の感度のばらつきや原稿照明ランプ光量のばらつき補正を行う。色オフセットおよび副MTF(Modulation Transfer Function)補正部は、画像データを構成する各色の空間的なズレ補正や、スキャナ103での画像データ読み取りムラ補正を行う。続いて、入力ガンマ補正部は、一次元のルックアップテーブル(以下、LUT:LookUp Table)であり、RGBの各入力に対し、露光量と輝度が線形関係になるように補正を行う。入力ダイレクトマッピング部は、色空間を統一するため、入力されたRGB信号からデバイス内のRGB信号に変換する三次元のLUTであり、CCDセンサのRGBフィルタの分光特性で決まる読取色空間を、sRGBなどの標準色空間に変換する。主MTF補正部は、注目画素と左右それぞれの画素に対して加重平均をとり、主走査方向のMTF補正を行う。
Next, image processing performed by the pre-attribute determination
The shading correction unit corrects variations in sensitivity of each pixel read by the
次に、属性判定部403は、更に不図示の文字判定部と、無彩色判定部とを備える。文字判定部は、画像データをRGBの色空間で文字領域や線画輪郭領域の画素判定を行い、その結果を属性データZAとして出力する。無彩色判定部は、RGB色空間の画像データをL*a*b*やYUV等の輝度色差空間の画像データに変換した後、低彩度領域や黒文字、色文字領域の画素判定を行い、その結果を属性データZBとして出力する。ここで、属性データZA、および、ZBを併せて属性データと呼ぶこととする。 Next, the attribute determination unit 403 further includes a character determination unit (not shown) and an achromatic color determination unit. The character determination unit performs pixel determination of the character area and the line drawing outline area in the RGB color space, and outputs the result as attribute data ZA. The achromatic color determination unit converts the image data in the RGB color space into image data in the luminance color difference space such as L * a * b * or YUV, and then performs pixel determination in the low saturation region, the black character, and the color character region, The result is output as attribute data ZB. Here, the attribute data ZA and ZB are collectively referred to as attribute data.
次に、属性判定後画像処理部404で行う画像処理を説明する。
空間フィルタ部は、属性データを用いて、輝度成分に対するフィルタ処理を行う。具体的には、属性情報が文字領域であればエッジ強調を行い、属性情報が写真領域であればスムージング、または、弱いエッジ強調を行う等の異なるシャープネスフィルタでフィルタ処理を行う。
Next, image processing performed by the post-attribute determination
The spatial filter unit performs a filtering process on the luminance component using the attribute data. Specifically, if the attribute information is a character region, edge enhancement is performed, and if the attribute information is a photo region, filtering processing is performed using different sharpness filters such as smoothing or weak edge enhancement.
彩度抑圧部は、低彩度の属性データを持つ画素に対し彩度の抑圧処理を行う。黒文字領域をK(Black)単色で表現するため、色差をゼロにして処理する。 The saturation suppression unit performs saturation suppression processing on pixels having low saturation attribute data. In order to represent a black character area with a single color of K (Black), processing is performed with a color difference of zero.
ACS(Auto Color Select)部は、低彩度の属性データを持つ画素をカウントし、画像データが、白黒かカラー画像かを判定する。
下地サンプリング部は、画像データの下地を検出するため、予め定められた矩形領域の画素を離散的にサンプリングし、輝度のヒストグラムを作成する。このヒストグラムは、プリント処理時の下地除去に利用される。
上述のとおり、スキャナ画像処理部212において、属性データを生成することができる。
An ACS (Auto Color Select) unit counts pixels having low saturation attribute data and determines whether the image data is monochrome or color image.
In order to detect the background of the image data, the background sampling unit discretely samples pixels in a predetermined rectangular area and creates a luminance histogram. This histogram is used for background removal during print processing.
As described above, the scanner
次に、図5、および、図6を用いて、本発明の実施形態におけるプリンタ画像処理部213の構成を説明する。
同5は、プリンタ画像処理部213の内部構造を示す模式図である。
DMA制御部501は、メインコントローラ101が備える不図示のメモリマップで予め定められたアドレスとデータ転送長とを指定することで、CPUを介さずに自律してデータ転送を行う。本実施形態では、HDD208に格納された画像データ、および、属性データをプリント画像処理部213へ転送する、また、処理後の画像データをデバイスI/F211が備える不図示の緩衝メモリへ転送する処理を行う。
Next, the configuration of the printer
FIG. 5 is a schematic diagram illustrating an internal structure of the printer
The
ラスタ変換部502は、メモリコントローラ部106を介して、RAM108に格納されているブロック単位に分割された画像データを、ラスタ順に結合してラスタ画像に変換する。
The
出力マスキング部503は、三次元のLUTであり、RGB色空間の画像データをCMYK色空間の画像データに変換する。
カラーバランス部504は、操作部102での不図示の設定に応じて、CMYKの色空間で画像データの色相、および、彩度の調整を行う。
F値補正部505は、操作部102での不図示の設定に応じて、画像データの画像明度の調整を行う。
The
The
The F
空間フィルタ部506は、画像データを構成する画素の属性データを用いて画像のエッジ部や細線部を判定し、エッジ強調や境界部の平滑化等の空間フィルタ処理を行う。
The
ガンマ補正部507は、一次元のLUTであり、プリンタエンジン部のガンマ特性に応じて補正処理を行い、入出力を比例関係にし、自然な階調表現が行えるよう補正する。
The
画像合成部508は、属性データから得られるスタンプ印字等の各種付加画像を、画像データに合成する処理を行う。画像合成部508の詳細は後述する。
トリミング/マスキング部509は、プリント出力する用紙の余白部分や、ページ連写印刷時の枠消し領域の白埋め処理、および、プリント出力すべき有効画像領域の抽出処理を行う。
The
A trimming /
図6は、画像合成部508の内部構成を示す模式図である。
属性データデコード部601は、ガンマ補正部507から属性データを、画素単位でデコードして該当画素の付加画像の有無を示す位置情報を生成する。本実施形態では、前記位置情報のデータ長は1ビットとする。
FIG. 6 is a schematic diagram showing the internal configuration of the
The attribute
緩衝メモリ602は、ガンマ補正部507から入力される画像データ、および、属性データデコード部601が生成する位置情報を、付加画像生成部215で定める付加画像のグループ化単位に応じて保持する。本実施形態では、前記グループ化単位は2×2画素であり、画像データ、および、位置情報を2ライン分保持できるメモリ量を持つものとする。更に、緩衝メモリ602は、画像合成部508から出力する画像データと、配置情報デコード部603で生成する付加画像との空間的ズレを補正するための遅延メモリを備えるものとする。
The
配置情報デコード部603は、緩衝メモリ602が保持する位置情報を、前記グループ化単位でデコードし、付加画像と付加画像の色を決定する。本実施形態では、前記グループ化単位である2×2画素の位置情報と、予め定めた2×2画素の位置情報の配置と付加画像の色との関係を示す配置情報色テーブルとを比較し、付加画像の色を決定する。前記配置情報色テーブルは、画像合成部508が備える不図示のレジスタに設定されるものとする。
The arrangement
合成部604は、画像データと、配置情報デコード部603から出力される付加画像を合成する。この時、決定した色に基づいて色付けを行うことになる。
上述のとおり、プリント画像処理部213において、スタンプ画像の合成処理ができる。
The synthesizing
As described above, the print
図7に、配置情報色テーブルの模式図を示す。
配置情報色テーブル701は、付加画像生成部215で定める付加画像のグループ化単位で前記位置情報の配置を示す配置パターン702と対応する対応色703とから構成される。
FIG. 7 shows a schematic diagram of an arrangement information color table.
The arrangement information color table 701 includes an
本実施形態において、配置パターン(ドット配置パターン)702は前記グループ化単位である2×2画素(複数画素からなる画素群)内における前記位置情報の配置であり、パターン数は16通りであり、対応色703も16通りである。例えば、配置パターン0x0(0xは16進を示す)の2×2画素内に位置情報がない場合(704)、それと対応する付加画像の色は透過色であり、付加画像はない。また、配置パターン0x1の2×2画素内の右上にのみ位置情報がある場合(ドットがONである場合)(705)、それと対応する付加画像の色は黒であり、前記2×2画素は黒色の付加画像となる。言い換えると、右上でのみドットがONである場合、2×2画素は黒を表している。また、左上の画素でのみドットがONになっている場合、その2×2画素はグリーンを表すというような定義がなされることとなる。この例では、右上のドットのみONであるようなドット配置パターンを第一のドット配置パターン、黒を第一の色、左上のドットのみONであるようなドット配置パターンを第二のドット配置パターン、グリーンを第二の色と称することができる。
In the present embodiment, an arrangement pattern (dot arrangement pattern) 702 is an arrangement of the position information in 2 × 2 pixels (a pixel group composed of a plurality of pixels) as the grouping unit, and the number of patterns is 16, There are 16
次に、スキャナ103が読み込む原稿に、操作部102で設定したスタンプ画像を合成しプリンタ104へ出力する処理を、図8、図9、および、図10を用いて説明する。
Next, a process of combining the stamp image set by the
図8は、本実施例における、操作部102で指定されるスタンプ処理設定である。
スタンプ設定801において、スタンプ1、スタンプ2、および、スタンプ3が有効設定(802)される。各有効設定されたスタンプに対して、スタンプ位置803、印字位置803、印字サイズ804、印字色805、スタンプの種類806がそれぞれ設定される。
FIG. 8 shows the stamp processing setting specified by the
In the stamp setting 801, stamp 1,
図9は、スキャナ103からの原稿読み取り、プリンタ104へ出力するまでの全体処理を示すフローチャートである。
同図に示す処理は、スキャナ103に原稿が置かれ、操作部102で不図示のコピー設定画面において、コピー開始ボタンが押下され原稿読み取りが開始されることで開始される。
FIG. 9 is a flowchart showing the entire process from reading a document from the
The processing shown in the figure is started when a document is placed on the
まず、スキャナ103は、生成得した画像データをデバイスI/F211へ送信し、デバイスI/F211は自身が備える不図示の緩衝メモリに画像データを保持する(S901)。そして、デバイスI/F211は所定量画像データを保持した場合、CPU201へその旨を通知する。
First, the
次に、CPU201は、スキャナ画像処理部211に対して処理開始を指示する。その後、スキャナ画像処理部211は、デバイスI/F211が緩衝メモリに保持する画像データを読み出し、スキャナ画像処理を行う(S902)。スキャナ画像処理部211は、処理後に生成する画像データ、および、属性データをRAM202に送信し、RAM202は、これらのデータを格納する。画像圧縮伸張部214は、RAM202が格納するスキャナ画像処理部211で処理後の画像データ、および、属性データを読み出し、圧縮処理を行った後、これらのデータをRAM202へ送信し、RAM202は、圧縮データを格納する。
Next, the
次に、付加画像処理部215は、スタンプ処理で用いる付加画像を属性データとして生成後、画像圧縮伸張部214で圧縮し、RAM202へ格納する(S905)。付加画像生成処理の詳細は後述する。
その後、プリント画像処理213は、圧縮画像伸張部214を用いてRAM202が格納する圧縮画像データ、および、圧縮属性データを、読み出して伸張した画像データ、および、属性データとを読み出し、プリント画像処理を行う(S906)。ここで、プリント画像処理213が備える画像合成部508は、属性データから得られる付加画像を配置情報に基づいて色で、画像データにスタンプ合成を行う。
そして残りのプリント画像処理終了後、画像データは、デバイスI/F211を経由し、プリンタへ出力され、(S907)、処理を終了する。
Next, the additional
Thereafter, the
After the remaining print image processing is completed, the image data is output to the printer via the device I / F 211 (S907), and the processing ends.
図10は、付加画像生成部215が行う、付加画像生成処理を示すフローチャートである。
同図に示す処理は、画像圧縮伸張部214が、前記S904における圧縮画像格納を終了した旨をCPU201へ通知後、CPU201が付加画像生成部215へ動作開始を通知した後に開始される。
FIG. 10 is a flowchart showing additional image generation processing performed by the additional
The processing shown in the figure is started after the image compression /
まず、付加画像生成部215は、操作部102で設定されるスタンプ設定801、および、予め定められる配置情報色テーブル701を取得し、自身が備える不図示の内部レジスタに保持する(S1001)。
First, the additional
次に、生成する付加画像のグループ化単位を決定する(S1002)。本実施形態では、配置情報色テーブル701の配置パターン数に基づき、グループ化単位を2×2画素とする。なお、グループ化単位の決め方はこれに限られるものではなく、有効設定された各スタンプの印字色805の総色数に応じて、決定しても良い。例えば、本実施形態では、総色数は3色(レッド、ブルー、および、グリーン)で、2色以上16色以下であり、4画素の配置情報で色表現できることから、グループ化単位を2×2画素に決定できる。
Next, the grouping unit of the additional image to be generated is determined (S1002). In this embodiment, the grouping unit is 2 × 2 pixels based on the number of arrangement patterns in the arrangement information color table 701. Note that the method of determining the grouping unit is not limited to this, and may be determined according to the total number of
次に、取得したスタンプ設定801の、印字サイズ804、印字色805、スタンプの種類806、および、配置情報色テーブル701の設定に基づき、付加画像を生成する(S1003)。具体的には、スタンプ設定801に基づき、スタンプの種類806に対応する、予めHDD208に格納するスタンプ画像データやROM203に格納するフォントデータを用いて、CPU201がDLを生成する。付加画像生成部は、生成したDLに基づきRIP210が生成するラスタデータを構成する画素を、印字色805と、配置情報色テーブル701とに基づき、所望の配置情報に置き換えることで、付加画像を生成する。配置情報の置き換え処理は、有効設定されたスタンプ設定(スタンプ1、スタンプ2、および、スタンプ3)の分だけ行う。
Next, an additional image is generated based on the settings of the acquired stamp setting 801 in the
次に、生成した付加画像を、RAM202に格納される属性情報とマージする(S1004)。具体的には、RAM202より属性情報を読み出し、画像圧縮伸張部214で伸張した属性データの所定のビットに画素単位で付加画像の有無を設定する。ここで、生成される属性データは、前記グループ化単位分の画素で実際のスタンプ画像1画素を表すものとなる。本実施例では、前記グループ化単位が2×2画素であり、元の属性データを1200dpiとすれば、スタンプ画像の実質の解像度は600dpiとなる。
Next, the generated additional image is merged with attribute information stored in the RAM 202 (S1004). Specifically, the attribute information is read from the
最後に、付加画像情報を設定した属性データを、画像圧縮伸張部214で圧縮後、RAM202へ格納して、付加画像生成処理を終了する。
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
Finally, the attribute data in which the additional image information is set is compressed by the image compression /
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
101 画像処理装置のメインコントローラ 101 Main controller of image processing apparatus
Claims (4)
複数の画素からなる画素群において第一のドット配置パターンが第一の色を表し、第二のドット配置パターンが第二の色を表すと定義し、
前記第一の付加画像を第一のドット配置パターンの集合体で表し、前記第二の付加画像を第二のドット配置パターンの集合体で表した画像を生成する手段と、
前記生成された画像を前記入力画像に合成するにあたり、前記第一のドット配置パターンを有する画素群に含まれる全ての画素に前記第一の色を付け、前記第二のドット配置パターンを有する画素群に含まれる全ての画素に前記第二の色を付ける合成手段と、を有することを特徴とする装置。 A device that combines a first additional image of a first color and a second additional image of a second color that is different from the first color into an input image,
In the pixel group consisting of a plurality of pixels, the first dot arrangement pattern represents the first color, and the second dot arrangement pattern represents the second color,
Means for generating an image in which the first additional image is represented by an aggregate of first dot arrangement patterns, and the second additional image is represented by an aggregate of second dot arrangement patterns;
In synthesizing the generated image with the input image, the first color is added to all the pixels included in the pixel group having the first dot arrangement pattern, and the pixel has the second dot arrangement pattern. And a synthesizing unit that adds the second color to all pixels included in the group.
複数の画素からなる画素群において第一のドット配置パターンが第一の色を表し、第二のドット配置パターンが第二の色を表すと定義し、
前記第一の付加画像を第一のドット配置パターンの集合体で表し、前記第二の付加画像を第二のドット配置パターンの集合体で表した画像を生成する工程と、
前記生成された画像を前記入力画像に合成するにあたり、前記第一のドット配置パターンを有する画素群に含まれる全ての画素に前記第一の色を付け、前記第二のドット配置パターンを有する画素群に含まれる全ての画素に前記第二の色を付ける合成工程と、を有することを特徴とする装置の制御方法。 A control method for an apparatus that synthesizes a first additional image of a first color with an input image and a second additional image of a second color that is different from the first color,
In the pixel group consisting of a plurality of pixels, the first dot arrangement pattern represents the first color, and the second dot arrangement pattern represents the second color,
Representing the first additional image as an aggregate of first dot arrangement patterns, and generating an image representing the second additional image as an aggregate of second dot arrangement patterns;
In synthesizing the generated image with the input image, the first color is added to all the pixels included in the pixel group having the first dot arrangement pattern, and the pixel has the second dot arrangement pattern. And a synthesizing step of applying the second color to all pixels included in the group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011003063A JP2012147177A (en) | 2011-01-11 | 2011-01-11 | Apparatus synthesizing additional image with plurality of different colors into input image, and control method and program therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011003063A JP2012147177A (en) | 2011-01-11 | 2011-01-11 | Apparatus synthesizing additional image with plurality of different colors into input image, and control method and program therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012147177A true JP2012147177A (en) | 2012-08-02 |
Family
ID=46790312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011003063A Pending JP2012147177A (en) | 2011-01-11 | 2011-01-11 | Apparatus synthesizing additional image with plurality of different colors into input image, and control method and program therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012147177A (en) |
-
2011
- 2011-01-11 JP JP2011003063A patent/JP2012147177A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101309369B1 (en) | Image processing apparatus and control method | |
EP1930820A1 (en) | Image processing apparatus and image processing method | |
US8259368B2 (en) | Image processing apparatus and its method | |
US20160241743A1 (en) | Image processing system, image processing apparatus, and image forming apparatus | |
KR20110004795A (en) | Apparatus, method, system and storage medium for setting print status | |
JP2009225269A (en) | Image processing unit, and image processing method and program for making computer implement the method | |
JP2006121607A (en) | Image processor and image processing method | |
JP2009272774A (en) | Image processor, image forming apparatus, image processing method, and computer program | |
JP2012212964A (en) | Image processor | |
JP4925933B2 (en) | Image processing method and image processing apparatus | |
JP2006341496A (en) | Complex machine | |
JP2008288912A (en) | Image processor and image forming apparatus | |
JP4682628B2 (en) | Image processing apparatus, method, and program | |
JP4926589B2 (en) | Image composition apparatus, image composition method, and program | |
JP5573524B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP2009225270A (en) | Image processing apparatus, image processing method, and program for causing computer to execute the method | |
JP5955822B2 (en) | Color conversion apparatus, image forming apparatus, color conversion method, and color conversion program | |
US20090122373A1 (en) | Image Processing Apparatus | |
JP2012147177A (en) | Apparatus synthesizing additional image with plurality of different colors into input image, and control method and program therefor | |
JP2010088048A (en) | Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method | |
JP4960911B2 (en) | Image processing device | |
JP5090969B2 (en) | Image processing device | |
JP4990340B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
JP3882657B2 (en) | Image processing apparatus, image processing method, image processing program, and computer-readable recording medium on which image processing program is recorded | |
JP2006261881A (en) | Image-forming apparatus and image-forming method |