JP2010219856A - Image processing apparatus, image processing program, and image processing method - Google Patents
Image processing apparatus, image processing program, and image processing method Download PDFInfo
- Publication number
- JP2010219856A JP2010219856A JP2009064014A JP2009064014A JP2010219856A JP 2010219856 A JP2010219856 A JP 2010219856A JP 2009064014 A JP2009064014 A JP 2009064014A JP 2009064014 A JP2009064014 A JP 2009064014A JP 2010219856 A JP2010219856 A JP 2010219856A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- area
- designation
- area designation
- 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
Abstract
Description
本発明は画像処理装置、画像処理プログラムおよび画像処理方法に関し、特に画像の表示と印刷の処理に関する。 The present invention relates to an image processing apparatus, an image processing program, and an image processing method, and more particularly to image display and printing processing.
今日、研究発表や講演等の際、発表資料をプロジェクタで投影表示することが一般的に行われている。特許文献1に記載されたプレゼンテーション装置では、プレゼンテーターはプロジェクタに接続されたPC(Personal Computer)を操作することで、投影表示されている画像にマーカー等を上書きすることが可能である。 Today, it is a common practice to project and display presentation materials with a projector during research presentations and lectures. In the presentation device described in Patent Document 1, a presenter can overwrite a marker or the like on a projected image by operating a PC (Personal Computer) connected to a projector.
ところで、原本の一部を塗りつぶした印刷文書を配布する場合、原本の保存のため当該原本のハードコピーを用意し、当該ハードコピーを部分的に塗りつぶした配布用の印刷文書を用意する必要がある。しかし、配布用の印刷文書を内部資料として管理するためには、原本と配布用の印刷文書とを対応付けて管理しなければならないため、管理が煩雑になる。また、そもそも紙文書での管理は電子データでの管理に比べて作業効率も保管場所の効率も悪いという問題がある。
また、塗りつぶされる原本の対象領域内の内容を複数の人間で確認するには原本をプロジェクタで投影しながら作業できることが望まれる。例えばスキャナで読み取った画像データをプロジェクタで投影表示しながらこの作業を進める場合、画像編集アプリケーションによって対象領域に不透明図形を重ねながら対象領域を順次確認していくことになる。しかし、いったん対象領域を塗りつぶした後に、その領域の内容を再度確認しようとすれば、その領域に重ねた不透明図形を編集操作によって取り除かねばならず煩雑である。
By the way, when distributing a printed document in which a part of the original is filled, it is necessary to prepare a hard copy of the original for storing the original and prepare a printed document for distribution in which the hard copy is partially filled. . However, in order to manage a print document for distribution as internal data, the original and the print document for distribution must be managed in association with each other, which makes management complicated. In the first place, management with paper documents has a problem that work efficiency and storage location are inefficient compared to management with electronic data.
Further, in order to confirm the contents of the target area of the original to be filled with a plurality of people, it is desired that the original can be operated while being projected by a projector. For example, when this operation is performed while image data read by a scanner is projected and displayed by a projector, the target area is sequentially checked while an opaque graphic is superimposed on the target area by the image editing application. However, once the target area has been painted and the contents of the area are to be checked again, the opaque figure superimposed on the area must be removed by an editing operation, which is cumbersome.
本発明は、これらの問題を解決するために創作されたものであって、配布用の文書において塗りつぶされる領域の確認作業を容易にすることを目的の1つとする。 The present invention has been created to solve these problems, and an object of the present invention is to make it easy to confirm a region to be filled in a distribution document.
(1)上記目的を達成するための画像処理装置は、画像データを取得する画像データ取得手段と、画像データに対する領域指定を取得する領域指定取得手段と、画像データと領域指定とを関連づけて記憶する記憶管理手段と、領域指定が取得されると、領域指定が指し示す領域において画像データの階調パターンを識別可能に加色した表示用画像データを画像データと領域指定とに基づいて生成する表示制御手段と、画像データに対する印刷要求を取得する印刷要求取得手段と、印刷要求が取得されると、領域指定が指し示す領域において画像データの階調パターンを識別不能に変更した印刷用画像データを画像データと領域指定とに基づいて生成する印刷制御手段と、を備える。 (1) An image processing apparatus for achieving the above object stores image data acquisition means for acquiring image data, area specification acquisition means for acquiring area specification for image data, and image data and area specification in association with each other. And a storage management unit that generates display image data in which a gradation pattern of image data is identifiable in a region indicated by the region designation based on the image data and the region designation when the region designation is acquired. Control means, print request acquisition means for acquiring a print request for image data, and when the print request is acquired, image data for printing in which the gradation pattern of the image data is changed to be indistinguishable in the area indicated by the area designation Printing control means for generating based on the data and the area designation.
本発明によると、領域指定が指し示す領域において画像データの階調パターンを識別可能に加色した表示用画像データを生成するため、表示用画像データの表示画面の閲覧者は領域指定が指し示す領域を認識できるとともに、その領域の内容を認識できる。また、領域指定が指し示す領域において画像データの階調パターンを識別不能に変更した印刷用画像データを生成するため、印刷用画像データの印刷文書の閲覧者は領域指定が指し示す領域の内容を認識できない。更に、画像データと領域指定とを関連づけて記憶することで、原本を表す画像データそのものを加工することなく記憶するため、原本自体を印刷したり表示するための情報と、原本の一部を塗りつぶした文書を印刷したり表示するための情報とを容易に一元管理することができる。なお、階調パターンとはある領域内において各画素間の階調差によって表れる少なくとも最も強い輪郭を含む階調の空間変化である。したがって階調パターンを識別可能に加色するとは、加色前の階調パターンを加色後の階調パターンから識別できるように加色することを意味する。一方、階調パターンを識別不能に変更するとは、変更前の階調パターンを変更後の階調パターンから識別できないように階調値を変更することを意味する。 According to the present invention, in order to generate the display image data in which the gradation pattern of the image data is identifiable in the area indicated by the area specification, the viewer of the display screen of the display image data selects the area indicated by the area specification. It can be recognized and the contents of the area can be recognized. In addition, since the print image data in which the gradation pattern of the image data is changed to be indistinguishable in the area designated by the area designation is generated, the viewer of the print document of the print image data cannot recognize the contents of the area designated by the area designation. . Furthermore, by storing the image data and the area designation in association with each other, the image data representing the original is stored without being processed, so that information for printing or displaying the original itself and a part of the original are filled. It is possible to easily manage the information for printing and displaying the printed document. Note that the gradation pattern is a spatial change of gradation including at least the strongest contour that appears due to the gradation difference between pixels in a certain region. Therefore, adding the gradation pattern in an identifiable manner means adding the colors so that the gradation pattern before the addition can be identified from the gradation pattern after the addition. On the other hand, changing the gradation pattern to be indistinguishable means changing the gradation value so that the gradation pattern before the change cannot be identified from the gradation pattern after the change.
(2)上記目的を達成するための画像処理装置は、表示用画像データを投影表示する投影手段を更に備えるプロジェクタであってもよい。
本発明によると、投影手段を備えるため、表示用画像データの表示画面の閲覧者が領域指定により指し示される領域を確認するための画像データを投影表示できる。
(2) The image processing apparatus for achieving the above object may be a projector further provided with a projection means for projecting and displaying the display image data.
According to the present invention, since the projection unit is provided, it is possible to project and display image data for a viewer of the display screen of the display image data to confirm the region indicated by the region designation.
なお、請求項に記載された各手段の機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら各手段の機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。さらに、本発明はコンピュータを印字制御装置として機能させる印字制御プログラムとしても、印字制御方法としても、印字制御プログラムの記録媒体としても成立する。むろん、その印字制御プログラムの記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体であってもよい。また、請求項に記載された動作の順序は、技術的な阻害要因がない限りにおいて記載順に限定されず、同時に実行されてもよいし、記載順の逆順に実行されてもよいし、連続した順序で実行されなくてもよい。 Note that the function of each means described in the claims is realized by hardware resources whose function is specified by the configuration itself, hardware resources whose function is specified by a program, or a combination thereof. The functions of these means are not limited to those realized by hardware resources that are physically independent of each other. Furthermore, the present invention can be realized as a print control program for causing a computer to function as a print control apparatus, a print control method, or a recording medium for a print control program. Of course, the recording medium for the print control program may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium developed in the future. Further, the order of the operations described in the claims is not limited to the order of description as long as there is no technical obstruction factor, and may be executed simultaneously, or may be executed in the reverse order of the description order, or may be continuous. It does not have to be executed in order.
以下、本発明の実施の形態を添付図面を参照しながら説明する。尚、各図において対応する構成要素には同一の符号が付され、重複する説明は省略される。
1.ハードウェア構成
図1は、本発明の一実施形態としてのプロジェクタ10を示すブロック図である。プロジェクタ10にはスキャナ21とタブレット22とプリンタ23とUSBメモリ24とが接続可能である。プロジェクタ10は、スキャナ21で読み取られた画像データを、PCを介することなく投影表示したり、プリンタ23から印刷したり、USBメモリ24に保存することが可能である。
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In addition, the same code | symbol is attached | subjected to the corresponding component in each figure, and the overlapping description is abbreviate | omitted.
1. Hardware Configuration FIG. 1 is a block diagram showing a
プロジェクタ10は、RAM(Random Access Memory)、ROM(Read Only Memory)、VRAM(Video RAM)、CPU(Central Processing Unit)、入出力機構(I/O)等で構成される制御部11と表示部12とを備えている。表示部12は、光源や液晶パネル等を備え、スクリーン等に画像データを投影表示する機能を有する。制御部11は、ROMに記憶されているプログラムを実行することにより画像処理装置として機能し、スキャナ21やタブレット22から入力されるデータに基づいて画像データを投影表示させたり、プリンタ23やUSBメモリ24に必要なデータを出力したりする。
The
2.ソフトウェア構成
プロジェクタ10の制御部11を画像処理装置として機能させるのは、制御部11内のROMに格納されている画像処理プログラムである。画像処理プログラムは、画像データ取得部11aと領域指定取得部11bと記憶管理部11cと表示制御部11dと印刷要求取得部11eと印刷制御部11fとプリンタドライバ11gとを含み、これらのプログラムモジュールが実行されることによって画像処理装置としての機能が実現される。
2. Software Configuration The image processing program stored in the ROM in the
画像データ取得部11aは、スキャナ21において原稿から読み取られた画像データを取得し、当該画像データを記憶管理部11cに引き渡す。領域指定取得部11bは、タブレット22から入力された領域指定を取得し、当該領域指定を記憶管理部11cに引き渡す。タブレット22で入力される領域指定は、投影表示される表示領域の座標系における領域指定である。従って、領域指定取得部11bは、表示領域の座標系における領域指定を画像データの座標系における領域指定に線型変換した上で記憶管理部11cに引き渡す。
The image
記憶管理部11cは、画像データ取得部11aから引き渡された画像データと領域指定取得部11bから引き渡された領域指定とを関連づけて記憶する。画像データと領域指定の関連づけは、双方を1つのファイルとして管理することによって行われてもよいし、一方に他方を参照するための情報を付加することによって行われてもよい。
The
表示制御部11dは、記憶管理部11cによって記憶されている領域指定と画像データとから表示用画像データを生成する。表示制御部11dは、表示倍率や表示対象領域に応じて表示用画像データを生成する。記憶管理部11cに記憶されている画像データはスキャナ21が原稿から読み取った領域全体のデータであるため、表示制御部11dは当該画像データの表示対象領域をVRAMに格納する。表示制御部11dは、VRAMに格納された画像データの階調パターンを識別可能にするべく領域指定が指し示す領域を加色する。その結果、表示用画像データがVRAMに生成される。記憶管理部11cによって記憶されている領域指定は、画像データの座標系における領域指定であるため、表示制御部11dは当該領域指定を表示領域の座標系における領域指定に線型変換する。すなわち制御表示部11dは、変換した領域指定が直接指し示す領域を加色する。なお、タブレット22が出力する領域指定の座標系と表示領域の座標系とは一致しているため、タブレット22が出力する領域指定を加色対象領域を直接指し示す領域指定としてもよい。VRAMにおいて生成された表示用画像データは表示部12によって読み込まれ、投影表示される。
The
印刷要求取得部11eは、タブレット22から印刷要求を取得する。例えば印刷要求取得部11eは、印刷要求に対応する印刷アイコンを含むメニュー画面が表示されている状態において、タブレット22が出力する印刷アイコンに対応する領域内のクリック情報を印刷要求として取得する。印刷要求取得部11eは、プロジェクタ10に設けられた印刷専用スイッチの操作情報を印刷要求として取得してもよい。印刷要求取得部11eは、印刷要求を取得すると印刷制御部11fを起動させる。
The print
印刷制御部11fは、記憶管理部11cによって記憶されている画像データと領域指定とから印刷用画像データを生成する。印刷制御部11fは、読み込んだ領域指定に基づいて画像データにおいて指定された領域を特定する。印刷制御部11fは、記憶管理部11cによって記憶されている画像データをRAMの別領域にコピーし、コピーした画像データの階調パターンを識別不能にするべく領域指定が指し示す領域の階調値を変更する。その結果、記憶管理部11cによって記憶されている画像データとは別の領域に印刷用画像データが生成される。印刷制御部11fは生成した印刷用画像データをプリンタドライバ11gに引き渡す。プリンタドライバ11gは、引き渡された印刷用画像データをプリンタ23の仕様に合わせて変換し、プリンタ23に送信する。その結果、印刷用画像データがプリンタ23によって印刷される。
The
記憶管理部11cは記憶している画像データのフォーマットを変換し、USBメモリ24に出力してもよい。例えば、ビットマップフォーマットの画像データをJPEGフォーマットに変換してUSBメモリ24に出力してもよい。この場合、領域指定をTIFFファイルフォーマットのヘッダ情報として出力することによって、当該TIFFファイル内の画像データに関連づけることができる。また、記憶管理部11cは、USBメモリ24に記憶された画像データを取得してもよい。
The
3.画像処理方法
図2は画像処理装置としてのプロジェクタ10の制御部11を用いた画像処理方法を示すフローチャートである。図3は、画像処理の過程を模式的に示す図である。
3. Image Processing Method FIG. 2 is a flowchart showing an image processing method using the
はじめにスキャナ21での処理について説明する。スキャナ21は、画像データの読み取り要求が発生したか否かを判定する処理を読み取り要求が発生するまで繰り返す(ステップS100)。
First, processing in the
画像データの読み取り要求が発生した場合には、スキャナ21はセットされた原稿から画像データを読み取る(ステップS105)。画像データはラスタデータとして原稿から読み取られ、スキャナ21は当該画像データをプロジェクタ10に送信する(ステップS110)。
When an image data reading request is generated, the
次に、プロジェクタ10での処理について説明する。画像データ取得部11aは、スキャナ21から送信された画像データを取得する(ステップS115)。すなわち画像データ取得部11aは、スキャナ21から送信された画像データを記憶管理部11cが利用可能なRAMの領域に格納する。その結果、記憶管理部11cによって記憶される画像データは、図3に示すように原稿からスキャナ21が読み取った領域全体の画像データIである。表示制御部11dは、記憶管理部11cに記憶された画像データIから表示倍率や表示対象領域に応じて表示用画像データを生成し、当該表示用画像データをVRAMに格納する。その結果、VRAMに格納された表示用画像データが表示部12によって画面に投影表示される(ステップS120)。
Next, processing in the
次に、領域指定取得部11bは、領域指定を取得したか否かを判定する(ステップS125)。領域指定の取得が無い場合には、印刷要求取得部11eは、印刷要求を取得したか否かを判定する(ステップS140)。領域指定または印刷要求が取得されるまでこれらの処理が繰り返される。
Next, the area
領域指定を取得した場合には(ステップS125のY)、領域指定取得部11bは取得した領域指定を記憶管理部11cに引き渡す。記憶管理部11cは引き渡された領域指定を既に記憶している画像データと関連づけて記憶する(ステップS130)。プレゼンテーターはタブレット22により領域指定を入力する。図3に示すようにタブレット22には、投影表示される表示領域と同一の解像度の入力領域Aがあり、プレゼンテーターは入力領域Aに対してクリックやドラッグによって領域指定操作を行う。領域指定は入力領域AにおいてL字型の軌跡がドラッグされることで入力される。図3では始点がP11であり終点がP21であるドラッグの軌跡に対して、この2点を対角線とする矩形領域が領域指定が指し示す領域となる。領域指定取得部11bはドラッグの軌跡始点と軌跡終点に対応する座標値P11、P21を領域指定として取得する。座標値P11、P21は入力領域Aの左上隅点01を原点とする座標値である。領域指定取得部11bは、取得した領域指定の座標値P11、P21を画像データの座標系における座標値P12、P22に線型変換し、座標値P12、P22を領域指定Vとして記憶管理部11cに引き渡す。記憶管理部11cは、引き渡された領域指定Vと既に記憶している画像データIとを関連づけて記憶するため、1つのファイルFにおいて領域指定Vと画像データIとを管理する。
When the area designation is acquired (Y in step S125), the area
表示制御部11dは、領域指定Vが記憶管理部11cに記憶されると、ファイルFの領域指定Vとしての座標値P12、P22を表示領域の座標系における座標値P11、P21に線型変換する。表示制御部11dは、変換後の座標値P11、P21が指し示す領域内を加色した表示用画像データDをVRAMに生成する。VRAMに生成された表示用画像データDにより表示用画像データが更新される(ステップS135)。具体的には、表示制御部11dは、VRAMに格納されている表示用画像データを読み込むことで投影表示されている画像データを特定する。表示制御部11dは当該画像データに対して領域指定が指し示す領域を座標値P11、P21に基づいて特定する。投影表示される表示領域と入力領域Aは同一の解像度を有するため、表示領域上の座標値P11、P21の位置は表示領域の左上隅点01を原点とすることで決定される。表示制御部11dは領域指定が指し示す領域内の階調パターンを識別可能に加色する。このように生成された表示用画像データDはVRAMに格納された後、表示部12によって読み込まれ、画面に反映される。こうした処理によれば、表示画像用データDが投影表示された画面の閲覧者はプレゼンテーターが入力した領域指定が指し示す領域を認識できるとともに、その領域の内容を認識できる。そのため、閲覧者とプレゼンテーターの共同作業による領域指定の変更や確認が容易になる。ステップS135の処理が終了するとステップS125の処理に戻る。
The
ここで、図4Aを用いて領域指定が指し示す領域が加色される処理について説明する。図4Aは、処理前と処理後の階調パターンを示すグラフである。横軸は領域指定が指し示す領域内の位置をP11を原点として示し、縦軸が階調値を示す。破線が加色前の階調パターンを示し、実線が加色後の階調パターンを示す。加色前の階調パターンにおいて0からx1までの領域の階調値が200であり、x1より右側の領域の階調値は100である。加色処理の一例として、ここでは各画素の階調値から100を減算する。その結果、加色後の階調パターンでは0からx1までの領域の階調値が100となり、x1より右側の領域の階調値は0となり(階調値はマイナスにならないため)、加色前の階調パターンの最も強い輪郭は加色後においても維持される。最も強い輪郭とは、隣接する画素間において階調差が最も大きい位置をいう。図4Aの場合、加色前と後のいずれにおいてもx1に最も強い輪郭が存在することから、当該輪郭が加色後においても維持されていることがわかる。 Here, a process of adding the color indicated by the area designation will be described with reference to FIG. 4A. FIG. 4A is a graph showing gradation patterns before and after processing. The horizontal axis indicates the position in the area where the region designated point as an origin to P 11, the vertical axis represents the tone value. A broken line indicates a gradation pattern before color addition, and a solid line indicates a gradation pattern after color addition. Tone value of the region from 0 in additive color before the gradation pattern to the x 1 is 200, the gradation value of the right region from the x 1 is 100. As an example of the additional color processing, here, 100 is subtracted from the gradation value of each pixel. As a result, the gradation value is 100 becomes a region from 0 gradation pattern after additive color to x 1, the gradation value of the right region from the x 1 is 0 (because the gradation value is not a minus), The strongest contour of the gradation pattern before color addition is maintained even after color addition. The strongest contour means a position where the gradation difference is greatest between adjacent pixels. For Figure 4A, since the presence of the strongest contour x 1 in both before and after additive color, it can be seen that the contour is maintained even after additive color.
ステップS140において印刷要求を取得した場合について図3に戻って説明する。印刷要求を取得した時点では、領域指定が既に取得されている場合と未だ取得されていない場合との2つの場合が存在する。領域指定が未だ取得されていない場合において印刷要求が取得された場合には、印刷制御部11fは、記憶管理部11cに記憶されている画像ファイルFの画像データIから印刷用画像データを生成する(ステップS145)。領域指定が取得されていないため、印刷制御部11fは画像データIをRAMの別領域にコピーすることで印刷用画像データを生成する。生成された印刷用画像データはプリンタドライバ11gに引き渡され、プリンタドライバ11gにより印刷用画像データはプリンタ23の仕様に合わせて変換された後、プリンタ23に送信される。プリンタ23では、領域指定のない印刷用画像データが印刷される。ステップS145の処理が終了すると、ステップ125の処理に戻る。
The case where a print request is acquired in step S140 will be described with reference back to FIG. At the time when the print request is acquired, there are two cases, that is, the case where the area designation has already been acquired and the case where it has not yet been acquired. When the print request is acquired when the area designation has not yet been acquired, the
領域指定が既に取得されている場合において印刷要求が取得された場合には、印刷制御部11fは、記憶管理部11cに記憶されている画像ファイルFの画像データIと領域指定Vとから印刷画像用データPを生成する(ステップS145)。具体的には、印刷制御部11fは画像データIに対して領域指定が指し示す領域を座標値P12、P22に基づいて特定する。記憶管理部11cに記憶されている領域指定Vは画像データの座標系であるため、座標値P12、P22の位置は印刷用画像データPの左上隅点02を原点とすることで決定される。印刷制御部11fは指定領域が指し示す領域を塗りつぶす処理を行うことで印刷用画像データPを生成する。生成された印刷用画像データPはプリンタドライバ11gに引き渡され、プリンタドライバ11gにより印刷用画像データPはプリンタ23の仕様に合わせて変換された後、プリンタ23に送信される。プリンタ23によって印刷用画像データPが印刷される。印刷用画像データPが印刷された印刷文書の閲覧者はプレゼンテーターが入力した領域指定が指し示す領域の内容を認識できない。この結果、画面で確認しながら指定した領域が塗りつぶされた印刷文書を容易に作成できる。ステップS145の処理が終了すると、ステップ125の処理に戻る。
If the print request is acquired when the area designation has already been obtained, the
ここで、図4Cを用いて領域指定が指し示す領域が塗りつぶされる処理について説明する。図4Cは、塗りつぶし前と塗りつぶし後の階調パターンを示すグラフである。横軸は領域指定が指し示す領域内の位置をP12を原点として示し、縦軸が階調値を示す。破線が塗りつぶし前の階調パターンを示し、実線が塗りつぶし後の階調パターンを示す。塗りつぶし前の階調パターンにおいて0からx1までの領域の階調値が200であり、x1より右側の領域の階調値は100である。塗りつぶし処理の一例として、ここでは各画素の階調値を全て0に変更する処理を行う。その結果、階調パターンの輪郭全てが消失し、塗りつぶし前の階調パターンが識別不能になる。なお、ここでは各画素の階調値を全て0にする例について説明したが、領域指定が指し示す領域内において全ての画素の階調値を一定の値とすればよく、0に限定されない。
4.他の実施形態
尚、本発明の技術的範囲は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。例えば、領域指定が指し示す領域の加色処理について、上述の実施形態では各画素の階調値から100を減算する処理について述べたが、異なる処理が実行されてもよい。図4Bはその一例を示した図である。縦軸や横軸、破線や実線については図4Aと同様である。加色前の階調パターンも図4Aと同様である。図4Bでは加色の際、各階調値を1/2に変更する処理が行われる。その結果、処理後の階調パターンでは0からx1までの領域の階調値が100となり、x1より右側の領域の階調値は50となり、加色前の階調パターンの最も強い輪郭は加色後においても維持される。図4Bでは加色前と後のいずれにおいてもx1に最も強い輪郭が存在することから、当該輪郭が加色後においても維持されていることがわかる。
Here, a process for filling the area indicated by the area designation will be described with reference to FIG. 4C. FIG. 4C is a graph showing a gradation pattern before filling and after filling. The horizontal axis indicates the position in the area where the region designated point as an origin to P 12, the vertical axis represents the tone value. A broken line indicates a gradation pattern before painting, and a solid line indicates a gradation pattern after painting. Fill a gradation value is 200 in the region from 0 in the previous gradation pattern to x 1, the gradation value of the right region from the x 1 is 100. As an example of the filling process, here, a process of changing all the gradation values of each pixel to 0 is performed. As a result, the entire contour of the gradation pattern disappears, and the gradation pattern before painting becomes indistinguishable. Here, an example in which all the gradation values of each pixel are set to 0 has been described. However, the gradation values of all the pixels may be set to a constant value in the region indicated by the region designation, and are not limited to 0.
4). Other Embodiments The technical scope of the present invention is not limited to the above-described embodiments, and it goes without saying that various modifications can be made without departing from the scope of the present invention. For example, as for the process of adding the area indicated by the area specification, the process of subtracting 100 from the gradation value of each pixel has been described in the above embodiment, but a different process may be executed. FIG. 4B is a diagram showing an example thereof. The vertical axis, horizontal axis, broken line, and solid line are the same as in FIG. 4A. The gradation pattern before the addition is the same as in FIG. 4A. In FIG. 4B, a process of changing each gradation value to ½ is performed when adding colors. As a result, the gradation value is 100 becomes a region from 0 gradation pattern after processing to x 1, the gradation value of the right region from the x 1 50, and the strongest contour of the gradation pattern before additive color Is maintained even after color addition. Since the strongest contours present in x 1 in both before and after the additive color Figure 4B, it can be seen that the contour is maintained even after additive color.
また、別の加色処理として以下に示す式に従って各画素の階調値を変更してもよい。
V=av+(1−a)v0
ここでVは加色後の階調値、aは0以上1未満の定数、vは加色前の階調値、v0は0から255のいずれかの整数によって示される定数である。この式に加色前の階調値を代入することで加色後の階調値を得ることができる。aの値を大きく設定するほど加色前の強い輪郭だけでなく弱い輪郭も維持される。一方、aの値を小さく設定するほど加色前の弱い輪郭を維持することが困難となるため、加色処理として本式を採用するためにはaの値に注意を要する。画像データがカラーで示される場合、RGBチャンネルのいずれか1つ以上について本式に従って各画素の階調値を変更させることにより加色処理を行ってもよい。
Further, as another color addition process, the gradation value of each pixel may be changed according to the following equation.
V = av + (1-a) v 0
Here, V is a gradation value after color addition, a is a constant between 0 and less than 1, v is a gradation value before color addition, and v 0 is a constant indicated by any integer from 0 to 255. By substituting the gradation value before color addition into this equation, the gradation value after color addition can be obtained. As the value of a is set larger, not only the strong contour before color addition but also the weak contour is maintained. On the other hand, as the value of a is set smaller, it becomes more difficult to maintain a weak outline before color addition. Therefore, in order to adopt this expression as the color addition processing, attention must be paid to the value a. When the image data is shown in color, the color addition processing may be performed by changing the gradation value of each pixel according to this equation for any one or more of the RGB channels.
また、図4Dは図4Cとは異なる塗りつぶし処理の一例を示す図である。縦軸や横軸、破線や実線については図4Cと同様である。また、塗りつぶし前の階調パターンも図4Cと同様である。図4Dでは塗りつぶしの際、階調パターンが波形になるように各画素の階調値が変更される。具体的には、塗りつぶし前の階調値を考慮することなく、階調パターンが波形になるように横軸の位置に応じて新たな階調値を設定する。例えば、横軸の位置を変数として正弦曲線を描くことにより波形の階調パターンを形成できる。こうした処理によれば、階調パターンの輪郭全てが消失し、塗りつぶし前の階調パターンが識別不能になる。 FIG. 4D is a diagram illustrating an example of a painting process different from that in FIG. 4C. The vertical axis, horizontal axis, broken line, and solid line are the same as in FIG. 4C. The gradation pattern before painting is the same as in FIG. 4C. In FIG. 4D, at the time of painting, the gradation value of each pixel is changed so that the gradation pattern becomes a waveform. Specifically, a new gradation value is set according to the position of the horizontal axis so that the gradation pattern becomes a waveform without considering the gradation value before filling. For example, a waveform gradation pattern can be formed by drawing a sine curve with the position of the horizontal axis as a variable. According to such processing, all the contours of the gradation pattern disappear, and the gradation pattern before painting becomes indistinguishable.
10:プロジェクタ、11:制御部、11a:画像データ取得部、11b:領域指定取得部、11c:記憶管理部、11d:表示制御部、11e:印刷要求取得部、11f:印刷制御部、11g:プリンタドライバ、12:表示部、21:スキャナ、22:タブレット、23:プリンタ、A:入力領域、D:表示用画像データ、F:ファイル、I:画像データ、P:印刷用画像データ、V:領域指定 10: projector, 11: control unit, 11a: image data acquisition unit, 11b: area designation acquisition unit, 11c: storage management unit, 11d: display control unit, 11e: print request acquisition unit, 11f: print control unit, 11g: Printer driver, 12: display unit, 21: scanner, 22: tablet, 23: printer, A: input area, D: image data for display, F: file, I: image data, P: image data for printing, V: Area specification
Claims (4)
前記画像データに対する領域指定を取得する領域指定取得手段と、
前記画像データと前記領域指定とを関連づけて記憶する記憶管理手段と、
前記領域指定が取得されると、前記領域指定が指し示す領域において前記画像データの階調パターンを識別可能に加色した表示用画像データを前記画像データと前記領域指定とに基づいて生成する表示制御手段と、
前記画像データに対する印刷要求を取得する印刷要求取得手段と、
前記印刷要求が取得されると、前記領域指定が指し示す領域において前記画像データの階調パターンを識別不能に変更した印刷用画像データを前記画像データと前記領域指定とに基づいて生成する印刷制御手段と、
を備える画像処理装置。 Image data acquisition means for acquiring image data;
Area designation obtaining means for obtaining area designation for the image data;
Storage management means for storing the image data and the region designation in association with each other;
When the area designation is acquired, display control for generating display image data in which the gradation pattern of the image data is added in an identifiable manner in the area indicated by the area designation based on the image data and the area designation Means,
Print request acquisition means for acquiring a print request for the image data;
When the print request is acquired, print control means for generating print image data in which the gradation pattern of the image data is changed to be indistinguishable in the region indicated by the region designation based on the image data and the region designation When,
An image processing apparatus comprising:
前記画像データに対する領域指定を取得する領域指定取得手段と、
前記画像データと前記領域指定とを関連づけて記憶する記憶管理手段と、
前記領域指定が取得されると、前記領域指定が指し示す領域において前記画像データの階調パターンを識別可能に加色した表示用画像データを前記画像データと前記領域指定とに基づいて生成する表示制御手段と、
前記画像データに対する印刷要求を取得する印刷要求取得手段と、
前記印刷要求が取得されると、前記領域指定が指し示す領域において前記画像データの階調パターンを識別不能に変更した印刷用画像データを前記画像データと前記領域指定とに基づいて生成する印刷制御手段と、
としてコンピュータを機能させる画像処理プログラム。 Image data acquisition means for acquiring image data;
Area designation obtaining means for obtaining area designation for the image data;
Storage management means for storing the image data and the region designation in association with each other;
When the area designation is acquired, display control for generating display image data in which the gradation pattern of the image data is added in an identifiable manner in the area indicated by the area designation based on the image data and the area designation Means,
Print request acquisition means for acquiring a print request for the image data;
When the print request is acquired, print control means for generating print image data in which the gradation pattern of the image data is changed to be indistinguishable in the region indicated by the region designation based on the image data and the region designation When,
An image processing program that causes a computer to function.
前記画像データに対する領域指定を取得し、
前記画像データと前記領域指定とを関連づけて記憶し、
前記領域指定が取得されると、前記領域指定が指し示す領域において前記画像データの階調パターンを識別可能に加色した表示用画像データを前記画像データと前記領域指定とに基づいて生成し、
前記画像データに対する印刷要求を取得し、
前記印刷要求が取得されると、前記領域指定が指し示す領域において前記画像データの階調パターンを識別不能に変更した印刷用画像データを前記画像データと前記領域指定とに基づいて生成する、
ことを含む画像処理方法。 Get image data,
Obtaining a region designation for the image data;
Storing the image data and the area designation in association with each other;
When the area designation is acquired, display image data in which a gradation pattern of the image data is identifiable in the area indicated by the area designation is generated based on the image data and the area designation.
Obtaining a print request for the image data;
When the print request is acquired, print image data in which the gradation pattern of the image data is changed to be indistinguishable in an area indicated by the area designation is generated based on the image data and the area designation.
An image processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009064014A JP2010219856A (en) | 2009-03-17 | 2009-03-17 | Image processing apparatus, image processing program, and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009064014A JP2010219856A (en) | 2009-03-17 | 2009-03-17 | Image processing apparatus, image processing program, and image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010219856A true JP2010219856A (en) | 2010-09-30 |
Family
ID=42978202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009064014A Withdrawn JP2010219856A (en) | 2009-03-17 | 2009-03-17 | Image processing apparatus, image processing program, and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010219856A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06175776A (en) * | 1992-11-27 | 1994-06-24 | Wacom Co Ltd | Presentation device |
JP2004228709A (en) * | 2003-01-20 | 2004-08-12 | Ricoh Co Ltd | Image processing program and recording medium therefor |
JP2007158595A (en) * | 2005-12-02 | 2007-06-21 | Fuji Xerox Co Ltd | Image processor, image processing system, and program |
JP2009000980A (en) * | 2007-06-25 | 2009-01-08 | Konica Minolta Business Technologies Inc | Control program, image forming apparatus and printing control method |
-
2009
- 2009-03-17 JP JP2009064014A patent/JP2010219856A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06175776A (en) * | 1992-11-27 | 1994-06-24 | Wacom Co Ltd | Presentation device |
JP2004228709A (en) * | 2003-01-20 | 2004-08-12 | Ricoh Co Ltd | Image processing program and recording medium therefor |
JP2007158595A (en) * | 2005-12-02 | 2007-06-21 | Fuji Xerox Co Ltd | Image processor, image processing system, and program |
JP2009000980A (en) * | 2007-06-25 | 2009-01-08 | Konica Minolta Business Technologies Inc | Control program, image forming apparatus and printing control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4995057B2 (en) | Drawing apparatus, printing apparatus, drawing method, and program | |
JP5554931B2 (en) | Image processing system, image processing apparatus, image processing method, and program | |
US20180293469A1 (en) | Image forming system, data processing apparatus, image forming apparatus, recording medium and display method | |
US6961069B2 (en) | Method of and system for visually selecting process area for efficient image processing | |
JP4175625B2 (en) | Apparatus and method for print preview | |
JP2008276576A (en) | Print control device, print system, print control method, control program and recording medium | |
US8493629B2 (en) | Image processing apparatus, method, and computer program | |
US8264738B2 (en) | Image forming apparatus, image forming method, and computer-readable storage medium for image forming program | |
JP4577058B2 (en) | Printing control apparatus and method and program | |
JP2011166403A (en) | Image processing apparatus, method, and computer program | |
JP2011034268A (en) | Printer driver, printer, and printing method | |
US11029829B2 (en) | Information processing apparatus and method for display control based on magnification | |
JP2010219856A (en) | Image processing apparatus, image processing program, and image processing method | |
JP6330790B2 (en) | Print control system, print control apparatus, and program | |
JP5763293B2 (en) | Image placement support device | |
JP6379680B2 (en) | Copier | |
JP2005115874A5 (en) | ||
JP5296642B2 (en) | Image display device, image processing system, image display method, and program | |
JP2013008247A (en) | Image processing apparatus, image processing method, and program | |
JP2009163594A (en) | Image processing device, method, and program | |
JP2007199617A (en) | Document display system, information generating device, and information display device | |
JP2007207081A (en) | Print job control method | |
JP2005148927A (en) | Information processor and print control method | |
JP2006088637A (en) | Image forming device and method for controlling it | |
JP2004220038A (en) | Picture display device, picture display method and computer-readable recording medium in which picture display control program is recorded |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111108 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120806 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120820 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20121011 |