JP5787147B2 - Image processing apparatus, image processing method, and program - Google Patents
Image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- JP5787147B2 JP5787147B2 JP2011169186A JP2011169186A JP5787147B2 JP 5787147 B2 JP5787147 B2 JP 5787147B2 JP 2011169186 A JP2011169186 A JP 2011169186A JP 2011169186 A JP2011169186 A JP 2011169186A JP 5787147 B2 JP5787147 B2 JP 5787147B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- image
- pixels
- conversion
- reduced
- 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.)
- Active
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Description
本発明は、画像処理装置、画像処理方法、及びプログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a program.
メモリカードなどの可搬型記憶媒体から取り込んだ画像をパーソナルコンピュータを介することなく編集する機能を有した画像印刷装置が知られている。この画像印刷装置であれば、例えば、デジタルスチルカメラ(DSC)等で撮影した写真を、パーソナルコンピュータを介さずに直接画像印刷装置で手軽に印刷できるので、特にパソコンを持っていないユーザには大変便利である。 There is known an image printing apparatus having a function of editing an image taken from a portable storage medium such as a memory card without using a personal computer. With this image printing device, for example, a photograph taken with a digital still camera (DSC) or the like can be easily printed directly with an image printing device without using a personal computer, so it is very difficult for users who do not have a personal computer. Convenient.
画像を編集する機能である画像処理機能を有する装置として、例えば、特許文献1に記載されているように、写真を絵画調の画像に変換する機能を有する画像処理装置が知られている。
As an apparatus having an image processing function which is a function of editing an image, for example, as described in
上記特許文献1に記載の画像処理装置では、原画像データの各画素に対して画像変換を行い、絵画調の画像データを生成するので、変換対象の画素数が多いほど処理時間が増大するという問題がある。また、装置内の内蔵メモリに確保する作業用メモリについても、変換対象の画素数が多いほど増大するという問題がある。
In the image processing apparatus described in
本発明は上述したような従来技術の問題点に鑑みてなされたものであり、写真等の画素数の多い画像データであっても、小さい画像変換用メモリで、短時間で印刷用画像データに変換処理を行うことができる画像処理装置、画像処理方法、及びプログラムを提供することを目的とする。 The present invention has been made in view of the above-mentioned problems of the prior art. Even image data having a large number of pixels such as photographs can be converted into image data for printing in a short time with a small image conversion memory. An object is to provide an image processing apparatus, an image processing method, and a program capable of performing conversion processing.
本発明に係る画像処理装置は、原画像データに基づいて印刷用画像データを生成する画像処理装置であって、前記原画像データの画素数を検出し、前記印刷用画像データの画素数を設定し、指定入力された画像変換特性が、規定の複数種類の画像変換特性のうちの第1の画像変換特性である場合、前記原画像データを圧縮処理して縮小画像データを生成する際の前記印刷用データの画素数に対する前記縮小画像データの画素数の比を1よりも小さい値である規定値に設定し、かつ、前記指定入力された画像変換特性が、前記規定の複数種類の画像変換特性のうちの画像変換に係る処理負荷が前記第1の画像変換特性よりも大きい第2の画像変換特性である場合、前記比を前記規定値よりもさらに小さい値に設定し、前記比にしたがって前記原画像データを圧縮処理して縮小画像データを生成し、前記縮小画像データを指定入力された画像変換特性に基づいて変換縮小画像データに画像変換し、前記変換縮小画像データを伸長処理して前記印刷用画像データを生成する処理部を有する、ことを特徴とする。
An image processing apparatus according to the present invention is an image processing apparatus that generates printing image data based on original image data, and detects the number of pixels of the original image data and sets the number of pixels of the printing image data When the designated and inputted image conversion characteristic is the first image conversion characteristic among a plurality of prescribed types of image conversion characteristics, the original image data is compressed to generate reduced image data. The ratio of the number of pixels of the reduced image data to the number of pixels of print data is set to a specified value that is a value smaller than 1, and the specified and input image conversion characteristics are the specified plural types of image conversion If the processing load related to image conversion among the characteristics is the second image conversion characteristic larger than the first image conversion characteristic, the ratio is set to a value smaller than the specified value, and according to the ratio The original And compresses the image data to generate reduced image data, and image conversion to changes換縮small image data based on the reduced image data designated input image conversion characteristic, said decompresses the transform reduced image data having a processing unit for generating image data for printing, characterized in that.
また、本発明に係る画像処理方法は、原画像データに基づいて印刷用画像データを生成する画像処理方法であって、前記原画像データの画素数を検出し、前記印刷用画像データの画素数を設定し、指定入力された画像変換特性が、規定の複数種類の画像変換特性のうちの第1の画像変換特性である場合、前記原画像データを圧縮処理して縮小画像データを生成する際の前記印刷用データの画素数に対する前記縮小画像データの画素数の比を1よりも小さい値である規定値に設定し、かつ、前記指定入力された画像変換特性が、前記規定の複数種類の画像変換特性のうちの画像変換に係る処理負荷が前記第1の画像変換特性よりも大きい第2の画像変換特性である場合、前記比を前記規定値よりもさらに小さい値に設定し、前記比にしたがって前記原画像データを圧縮処理して縮小画像データを生成し、前記縮小画像データを指定入力された画像変換特性に基づいて変換縮小画像データに画像変換し、前記変換縮小画像データを伸長処理して前記印刷用画像データを生成する、ことを含む、ことを特徴とする。
The image processing method according to the present invention is an image processing method for generating printing image data based on original image data , wherein the number of pixels of the original image data is detected and the number of pixels of the printing image data is detected. When the specified image conversion characteristic is the first image conversion characteristic among a plurality of prescribed types of image conversion characteristics, the original image data is compressed to generate reduced image data. The ratio of the number of pixels of the reduced image data to the number of pixels of the print data is set to a specified value that is a value smaller than 1, and the designated and inputted image conversion characteristics are a plurality of specified types. When the processing load related to image conversion among the image conversion characteristics is the second image conversion characteristic larger than the first image conversion characteristic, the ratio is set to a value smaller than the specified value, and the ratio in accordance with Generating a reduced small image data by compressing the Kihara image data, the reduced image data based on image characteristics specified input the image converted into variable換縮small image data, decompression processing the converted reduced image data generating the image data for the printing and comprises, characterized in that.
また、本発明に係るプログラムは、原画像データに基づいて印刷用画像データを生成する画像処理方法をコンピュータに実現させるためのプログラムであって、前記原画像データの画素数を検出し、前記印刷用画像データの画素数を設定し、指定入力された画像変換特性が、規定の複数種類の画像変換特性のうちの第1の画像変換特性である場合、前記原画像データを圧縮処理して縮小画像データを生成する際の前記印刷用データの画素数に対する前記縮小画像データの画素数の比を1よりも小さい値である規定値に設定し、かつ、前記指定入力された画像変換特性が、前記規定の複数種類の画像変換特性のうちの画像変換に係る処理負荷が前記第1の画像変換特性よりも大きい第2の画像変換特性である場合、前記比を前記規定値よりもさらに小さい値に設定し、前記比にしたがって前記原画像データを圧縮処理して縮小画像データを生成し、前記縮小画像データを指定入力された画像変換特性に基づいて変換縮小画像データに画像変換し、前記変換縮小画像データを伸長処理して前記印刷用画像データを生成する処理をコンピュータに実行させる、ことを特徴とする。
The program according to the present invention is a program for causing a computer to implement an image processing method for generating image data for printing based on original image data, and detecting the number of pixels of the original image data, When the number of pixels of the image data is set, and the designated image conversion characteristic is the first image conversion characteristic among a plurality of prescribed types of image conversion characteristics, the original image data is compressed and reduced The ratio of the number of pixels of the reduced image data to the number of pixels of the printing data when generating the image data is set to a specified value that is a value smaller than 1, and the designated input image conversion characteristic is: When the processing load related to image conversion among the plurality of types of image conversion characteristics is the second image conversion characteristic larger than the first image conversion characteristic, the ratio is less than the specified value. Was set to a small value in the original image data compression processing to the generated condensation small image data, the reduced image data the image to changes換縮small image data based on image characteristics specified enter in accordance with the ratio conversion, and expansion processing of the converted reduced image data to execute processing for generating image data for the printing on the computer, characterized in that.
本発明によれば、写真等の画素数の多い画像データであっても、小さい画像変換用メモリで、短時間で印刷用画像データに変換処理を行うことができる画像処理装置、画像処理方法、及びプログラムを提供することができる。 According to the present invention, an image processing apparatus, an image processing method, and an image processing apparatus capable of performing conversion processing to image data for printing in a short time with a small image conversion memory even for image data having a large number of pixels such as photographs. And programs can be provided.
以下、本発明の実施形態を図に基づいて詳説する。図1は、本発明の実施形態に係る画像処理装置としての画像印刷装置1の外観斜視図である。図2は、画像印刷装置1におけるキーボード3を示す説明図である。図3は、画像印刷装置1の側面断面模式図である。尚、図3は、見やすくなるようにハッチングを除いて描いている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is an external perspective view of an
本発明の実施形態に係る画像処理装置としての画像印刷装置1は、例えば、デジタルスチルカメラ等で撮影した写真画像やスキャン画像などの画像データを、メモリカード等の着脱可能な可搬型記憶媒体から読み出して、絵画調に変換する絵画調変換機能を有する。また、画像印刷装置1は、印刷媒体として、例えば、葉書(100mm×148mm)やL判(89mm×127mm)、2L判(178mm×127mm)等の比較的小さな印刷用紙10に印刷を実行する装置であり、住所録を作成する機能や、住所録から自動で葉書に宛名書きをする機能、写真等の画像データを印刷する機能、文章を編集する機能、取り込んだ画像と文章とを組み合わせて葉書に印刷する機能等、様々な機能を有している。
An
この画像印刷装置1は、図1に示すように、箱形の筐体2を備え、筐体2の前方には入力手段としてのキーボード3が配置されている。このキーボード3は、筐体2の前方下端近傍に回動可能に装着されており、使用状態では図示したように前方に倒され、使用しない場合には筐体2の前面と対向した状態で収納されている。
As shown in FIG. 1, the
このキーボード3は、図2に示すように、電源を入れたり切ったりするための電源スイッチキー30、項目を選択したり、選択した項目の設定内容を変更するためのカーソルキー32、操作を進めるために選択対象や変更内容を確定させる実行キー34、表示部8にトップメニュー画面を表示させるためのトップメニューキー、印刷実行の指示に用いるプリントキー、文字や数字を入れるための文字・数字キー36等が配置されており、夫々のキーが入力手段として機能し、使用者の入力操作に基づいて所定の操作信号を後述の制御部41に送信する。
As shown in FIG. 2, the
筐体2の前面には、図1に示したように、印刷が完了した葉書や写真等の印刷用紙10が排出される排紙口5と、メモリカード等の可搬型記憶媒体を挿入可能な記憶媒体挿入口6とが形成されている。この記憶媒体挿入口6は、メモリカード等の着脱可能な可搬型記憶媒体が挿入されることにより、デジタルカメラで撮影された写真の画像データや、パーソナルコンピュータで編集された文章等の編集データ、複数の宛名データからなる住所録の宛名データを画像印刷装置1に取り込み可能とするとともに、画像印刷装置1で編集したデータを可搬型記憶媒体等に保存可能とする。
As shown in FIG. 1, a
また、筐体2の上面には、表示手段とされる液晶等の表示部8が配置され、この表示部8は筐体2の正面方向に回動可能とされている。この表示部8は、キーボード3からの入力信号に対応して画面上に入力内容が表示される、或いは、各種の設定に必要なメニュー画面が表示される、又は、デジタルカメラから取り込んだ写真画像が表示される等、画像印刷装置1で必要とする各種のデータが表示される。なお、この表示部8は、タッチパネルとして構成されることもある。表示部8をタッチパネルとして構成することによりキーボード3を使用せずとも表示部8上で簡単な入力操作が可能となる。
Further, a
さらに、筐体2の上部には、筐体2の後方側から筐体2の上方までの間を回動可能な取っ手(把持部)15が装着されている。この取っ手15は、略コ字状に形成され、画像印刷装置1の運搬時等に把持されて使用される。
Furthermore, a handle (gripping part) 15 that is rotatable from the rear side of the
そして、画像印刷装置1は、図3に示すように、筐体2の背面に開口する空腔部16を有し、この空腔部16の開口を塞ぐように給紙トレイ18が配置されている。この給紙トレイ18は、筐体2の後方であって下方近傍位置に軸着されており、上端を前後方向に移動させるように回動可能とされ、印刷用紙10を複数枚重ねて収容することができるようになっている。
As shown in FIG. 3, the
また、給紙トレイ18の内側であって上方位置には、給紙トレイ18に収容された印刷用紙10を1枚ずつ下方に送り出すピックアップローラ19が配置されている。また、給紙トレイ18の下端近傍には、ピックアップローラ19によって下方に送り出された印刷用紙10を筐体2の排紙口5方向へと搬送する搬送ローラ20a、20bが配置されている。さらに、筐体2の内部であって搬送ローラ20a、20bの前方近傍には、印刷機構とされる印刷ヘッド21が配置されている。また、筐体2の内部であって印刷ヘッド21の前方には、印刷を完了した印刷用紙10を排紙口5から排出する排紙ローラ22a、22bが配置されている。この搬送ローラ20aと排紙ローラ22aは、図示しないステッピングモータによって回転を制御されて、所定速度で印刷用紙10を搬送している。なお、ピックアップローラ19と、搬送ローラ20a、20bと、排紙ローラ22a、22bとは、画像印刷装置1における搬送機構として機能している。
In addition, a
印刷機構とされる印刷ヘッド21は、Y(イエロー)、M(マゼンタ)、C(シアン)の各色インクを吐出する夫々のノズルを有するインクジェット方式の印刷ヘッド21とされ、ノズルから各色を印刷用紙10に噴射することにより印刷を実行する。なお、インクジェット方式の印刷ヘッド21について述べたが、本発明がインクジェット方式に限定されるものではない。
A
そして、給紙トレイ18に収容された印刷用紙10は、ピックアップローラ19によって前方に位置する印刷用紙10から順に下方に送り出され、搬送ローラ20a、20bとの間に挟み込まれた状態で印刷ヘッド21の下方に繰り出され、印刷が完了後、排紙ローラ22a、22bの間に挟み込まれて排紙口5から外部へと排出される。
Then, the
次に、本実施形態の画像印刷装置1の制御回路について述べる。図4は、画像印刷装置1の機能ブロック図である。この画像印刷装置1は、図4に示すように、システム全体を司る制御手段とされる制御部41と、ROM42、RAM43、メモリカード等の可搬型記憶媒体44を備える記憶装置と、表示手段とされる表示部8と、入力手段とされる入力部45と、絵画調変換処理部46と、印刷部47と、入出力部としてのカードスロット48と、を有する。
Next, the control circuit of the
入力部45は、使用者が入力操作に用いる上述したキーボード3であって、電源スイッチキー30、カーソルキー32、実行キー34、プリントキー等を備えている。表示部8は、各種の操作画面を表示する上述した液晶等であって、所定の操作信号を受信した制御部41により制御されて、複数の操作画面のうち所定の操作画面を表示する。なお、入力部45としては、表示部8の表面にタッチパネルが設けられる場合は、このタッチパネルを含む。
The
制御部41は、CPUであって入力部45からのキー操作信号に応じて、又は、自動で、ROM42に予め記憶されているプログラム(PRG)42a、可搬型記憶媒体44に記憶された制御プログラム等を起動させ、RAM43をワークメモリとして回路各部の動作を制御する。
The
ROM42には、文章の編集時に使用する文字フォントや印刷の字体、編集する印刷用紙10の規格情報、制御部41が各種手段を制御する場合の制御プログラム、本発明に係る機能を実現するためのプログラム42aなどを有する。プログラム42aは、後述するように、制御部41で実行されることにより、縮小画像生成処理部41aと、画像変換処理部41bと、印刷用画像データ生成処理部41cと、印刷処理部41dと、縮小画像画素数決定部41eと、原画像画素数検出部41fと、圧縮処理決定部41gと、を画像印刷装置1に実現させる。
The
RAM43は、入力部45で入力された文字などの文書の編集情報や表示部8に表示される表示データ、画像処理中の画像情報や演算に用いる変数、レジスタ等を記憶するワークメモリである。また、可搬型記憶媒体44には、デジタルカメラで撮影した写真やスキャン画像などの原画像データ51としての画像データが記憶されている。
The
RAM43には、本実施形態における絵画調変換機能を実現するために、原画像データ記憶部43a、縮小画像データ記憶部43b、絵画調データ記憶部43c、及び印刷用画像データ記憶部43dなどの記憶領域が設けられている。
The
原画像データ記憶部43aは、例えばデジタルスチルカメラ等で撮影した写真画像やスキャン画像などの原画像データ51を可搬型記憶媒体44から、入出力部としてのカードスロット48を介して複製するなどして記憶することができる。
The original image
縮小画像データ記憶部43bは、原画像データ51を圧縮処理した縮小画像データ52を記憶することができる。絵画調データ記憶部43cは、絵画調の画像データである変換縮小画像データとしての絵画調画像データ53を記憶することができる。印刷用画像データ記憶部43dは、絵画調画像データ53を伸長して得られた所定の画素数である印刷用画像データ54を記憶することができる。
The reduced image
印刷部47は、印刷手段である印刷機構47aと搬送機構47bとから構成され、印刷機構47aは、上述した印刷ヘッド21とされるものであって、印刷媒体である印刷用紙10に印刷を実行する処理を行う。また、搬送機構47bは、上述したピックアップローラ19、搬送ローラ20a、20bや排紙ローラ22a、22b、ローラを回転させるステッピングモータによって構成され、印刷用紙10を搬送する処理を行う。また、制御部41には音声案内部(不図示)が電気的に接続されており、エラー音や操作の音声案内など音声メッセージを出力する。
The
上述したROM42に格納されるプログラム42aは、制御部41に、縮小画像生成処理部41aとして、原画像データ51を、印刷用画像データ54よりも画素数の少ない縮小画像データ52に圧縮する処理を実行させる。この際、縮小画像生成処理部41aは、原画像データ51を、縮小画像画素数決定部41eにより決定された画素数の縮小画像データ52に変換する。
The
また、プログラム42aは、制御部41に、画像変換処理部41bとして、縮小画像データ52を、画像変換属性としての絵画変換属性に基づいて、変換縮小画像データとしての絵画調画像データ53に画像変換処理を実行させる。また、本実施形態に係る画像印刷装置1は、絵画調変換を行う専用の回路である絵画調変換処理部46を有している。絵画調変換処理部46は、例えば、GPU(Graphics Processing Unit)であり、上記画像変換処理部41bと協働することにより高速に絵画調変換処理を行うことができる。
Further, the
また、プログラム42aは、制御部41に、印刷用画像データ生成処理部41cとして、絵画調画像データ53を、縮小画像データ52よりも画素数の多い、規定された画素数の印刷用画像データ54に伸長する処理を実行させる。
In addition, the
また、プログラム42aは、制御部41に、印刷処理部41dとして、印刷用画像データ54を基に印刷媒体である印刷用紙10に印刷する処理を実行させる。
Further, the
また、プログラム42aは、制御部41に、縮小画像画素数決定部41eとして、印刷用画像データ54の画素数と絵画調変換属性とに基づいて、縮小画像データ52の画素数を決定する処理を実行させる。この縮小画像データ52の画素数は、規定値では印刷用画像データ54の画素数の4分の1に設定され、印刷用画像データ54の画素数や絵画調変換属性に応じて増減するように設定してもよい。
Further, the
また、プログラム42aは、制御部41に、原画像画素数検出部41fとして、原画像データ51の画素数を検出する処理を実行させる。
Further, the
また、プログラム42aは、制御部41に、圧縮処理決定部41gとして、上記原画像画素数検出部41fにより検出された原画像データ51の画素数と、縮小画像データ52の画素数とに基づいて、原画像データ51に対して圧縮処理を実行する、又は実行しないを決定する処理を実行させる。また、圧縮処理決定部41gは、原画像データ51の画素数が、縮小画像データ52よりも少ない場合に、圧縮処理を実行しない決定を行う。この圧縮処理を実行しない場合、画像変換処理部41bは、原画像データ51を画像変換特性としての絵画調変換属性に基づいた絵画調の画像データに変換して、絵画調画像データ53を生成する処理を行う。
In addition, the
図5は、本発明の実施形態に係る画像印刷装置1で処理される各画像データの横縦の画素数を説明するための図である。本実施形態に係る原画像データ51は、図5(a)に示すように、横画素数がAピクセル、縦画素数がBピクセルである。
FIG. 5 is a diagram for explaining the number of horizontal and vertical pixels of each image data processed by the
縮小画像データ52は、印刷用画像データ54よりも画素数が少ない。本実施形態に係る縮小画像データ52は、図5(b)に示すように、横画素数がX/2ピクセル、縦画素数がY/2ピクセルである。つまり、縮小画像データ52の画素数は、印刷用画像データ54の画素数の1/4である。
The reduced
絵画調画像データ53は、縮小画像データ52に絵画調変換処理を施して得られる画像データであり、図5(c)に示すように、横画素数がX/2ピクセル、縦画素数がY/2ピクセルである。
The painting-
印刷用画像データ54は、絵画調画像データ53を伸長して得られる画像データであり、図5(d)に示すように、横画素数がXピクセル、縦画素数がYピクセルである。この印刷用画像データ54の横縦の画素数は、絵画調変換処理を実行する前に設定されるものであり、例えば印刷用紙10の大きさや、印刷用紙10内の印刷領域に対応する。
The
上述した絵画調画像データ53は、原画像データ51に所定の画像処理を加えて、筆や色鉛筆等で描かれたような画像とするものである。絵画調変換属性としてのパラメータ条件には、例えば、フィルタ、加工条件、色比率、及び明度条件等がある。これらのパラメータ条件を設定することにより、例えば、画像の濃度値の変化を強調することで鮮明な画像としたり、画像内のランダムなノイズを除去して画素ごとの濃度値の細かい変化を少なくすることにより、見やすい画像とすることができる。なお、フィルタ及び加工条件等の設定値と処理方法の関係についての説明は省略し、絵画調変換の特徴についてのみ説明する。
The above-described picture-
本実施形態では、絵画調変換属性は、水彩画調、油彩画調、色鉛筆画調、パステル画調等、絵の表現調をどのような風合いの絵に変換するかについてのパターン変換情報である。具体的には、図6(a)に示すような写真の原画像データ51を変換するとき、図6(b)に示すような水彩画調の画像に変換するパターン、図6(c)に示すような油彩画調に変換するパターン、図6(d)に示すような、色鉛筆画調に変換するパターン、図6(e)に示すようなパステル画調に変換するパターンなどがある。
In the present embodiment, the painting style conversion attribute is pattern conversion information about how the expression style of a picture is to be converted, such as a watercolor style, an oil painting style, a colored pencil style, and a pastel style. Specifically, when converting the
次に、本実施形態に係る画像印刷装置1による、原画像データ51を絵画調に変換して印刷する処理についてフローチャートを用いて説明する。図7は、画像印刷装置1の動作を説明するためのフローチャートである。
Next, processing for converting the
先ず、ユーザは、キーボード3やタッチパネル等を操作して絵画調変換モードを選択する。メモリカード等の可搬型記憶媒体44が記憶媒体挿入口6に挿入されると、制御部41は、可搬型記憶媒体44内の画像データとしての原画像データ51を入出力部であるカードスロット48を介して読み出し、RAM43の原画像データ記憶部43aに記憶させる処理を行う(ステップS101)。
First, the user operates the
本実施形態に係る原画像データ51は、図5(a)に示したように、横画素数がAピクセル、縦画素数がBピクセルである。例えば、デジタルスチルカメラで撮影された写真を原画像データ51として採用した場合、原画像データ51は、横4000ピクセル、縦3000ピクセル程度である。
As shown in FIG. 5A, the
次に、制御部41は、表示部8に原画像データ51を表示させる処理を行う(ステップS105)。この際、可搬型記憶媒体44から複数の画像データを読み出した場合には、それら複数の画像データを表示させる処理を行う。
Next, the
次に、ユーザはキーボード3やタッチパネル等を操作して、表示部8に表示された画像データから、絵画調変換処理対象の原画像データ51を選択する(ステップS110)。詳細には、制御部41は、入力部45からの操作信号に応じて、ユーザにより選択された画像データを、絵画調変換処理対象の原画像データ51として設定する。
Next, the user operates the
次に、制御部41は、原画像データ51の画素数を検出して、RAM43に記憶する(ステップS113)。
Next, the
次に、ユーザは、キーボード3やタッチパネル等を操作して、印刷用画像データ54の横縦の画素数を設定する(ステップS115)。例えば、印刷用紙サイズとしてL判(89mm×127mm)を設定し、印刷領域として例えば用紙全体への印刷を選択する。このとき、制御部41は、カラー印刷時の解像度が約300dpiに設定されていると、印刷用画像データ54の縦画素数を1087ピクセル、横画素数を1385ピクセルであることを算出し、RAM43に記憶する。
Next, the user operates the
次に、制御部41は、絵画調変換対象の原画像データ51の画素数が、印刷用画像データ54より少ない規定の画素数、本実施形態では印刷用画像データ54の1/4画素数以上であるか否かを判別する(ステップS120)。つまり、原画像データ51の横画素数および縦画素数が、印刷用画像データの横画素数の1/2以上および縦画素数の1/2以上であるか否かを判別する。
Next, the
ステップS120において、原画像データ51の画素数が、印刷用画像データ54の1/4画素数以上である場合、制御部41は、縮小画像生成処理部41aを実行することにより、原画像データ51を縮小画像データ52に圧縮処理して(ステップS125)、縮小画像データ52を縮小画像データ記憶部43bに記憶する処理を行い、ステップS130の処理に進む。この縮小画像データ52の横画素数および縦画素数は、それぞれ印刷用画像データ54の横画素数および縦画素数の1/2である。つまり、縦画素数が544ピクセル、横画素数が693ピクセルである。
In step S120, when the number of pixels of the
次に、制御部41は、画像変換処理部41bを実行することにより、縮小画像データ52を、画像変換属性として絵画調変換属性に基づいた変換縮小画像データである絵画調画像データ53に画像変換を行う(ステップS130)。
Next, the
次に、制御部41は、印刷用画像データ生成処理部41cを実行することにより、変換縮小画像データとしての絵画調画像データ53を伸長処理して、上述した画素数の印刷用画像データ54を生成する処理を行う(ステップS135)。
Next, the
次に、制御部41は、印刷処理部41dを実行することにより印刷部47を制御して、印刷用画像データ54を印刷媒体である印刷用紙10に印刷する処理を実行する。
Next, the
また、ステップS120において、原画像データ51の画素数が、印刷用画像データ54より少ない規定の画素数、本実施形態では印刷用画像データ54の1/4画素数より少ない場合、制御部41は、縮小画像生成処理部41aによる圧縮処理を行わず、ステップS130の処理に進み、原画像データ51を、画像変換属性として絵画調変換属性に基づいた変換縮小画像データである絵画調画像データ53に画像変換を行い、以下同様にステップS135、S140の処理を行う。つまり、原画像データ51の画素数が比較的少ない場合には、絵画調変換にかかる処理時間が短いので、オリジナルサイズのまま、原画像データ51を絵画調変換することで、画質の劣化を防止する。
In step S120, if the number of pixels of the
なお、上述した実施形態では、縮小画像データ52が縦544ピクセル×横693ピクセルであったが、この形態に限られるものではない。例えば、原画像データ51を予め規定した画素数、例えば表示部8の画素数、具体的には横800ピクセル×縦600ピクセルの縮小画像データ52に圧縮処理した後、絵画調変換処理を行い、絵画調画像データ53をL判、葉書サイズ、2L判など所定の画素数の印刷用画像データ54に伸長処理してもよい。こうすることで、表示部8の表示処理に関する処理や画像変換処理などの処理負荷を低減することができる。
In the above-described embodiment, the reduced
例えば、比較例に係る装置では、横4000ピクセル×縦3000ピクセルの原画像データ51に絵画調変換処理を施して、印刷用画像データ54を生成した場合、1画像当たりの処理時間が16分から20分程度である。本発明の実施形態に係る画像印刷装置1では、横4000ピクセル×縦3000ピクセルの原画像データ51を、横800ピクセル×縦600の画素サイズの縮小画像データ52にリサイズした後、絵画調変換処理を施し、絵画調画像データ53に伸長処理を行い、印刷用画像データ54を生成した場合、1画像当たりの処理時間が40〜50秒程度であり、処理時間を大幅に短縮することができる。
For example, in the apparatus according to the comparative example, when the
また、原画像データ51の画素数と、印刷用画像データ54の画素数と、絵画調変換処理の種別に対応する処理負荷とに基づいて、縮小画像データ52の縮小率を決定してもよい。詳細には、例えば、デフォルトでは、縮小画像データ52の画素数が印刷用画像データ54に対して1/4の画素数となるように規定しておき、原画像データ51の画素数が印刷に必要な画素数であるかを判断し、原画像データ51の画素数が印刷用画像データ54の画素数に対して十分多い場合に、絵画調変換処理の負荷に応じて、縮小画像データ52の画素数を印刷用画像データ54の画素数に対して1/4よりも増減させるようにしてもよい。
Further, the reduction ratio of the reduced
具体的には、図8に示すように、制御部41は、絵画調変換処理の種別を判別し(ステップS201)、例えば、水彩画調、油彩画調、色鉛筆画調などの比較的大きい処理負荷で変換時間が比較的長い絵画調変換の場合には、原画像データ51を縮小画像データ52に大きい縮小率で圧縮処理、例えば縮小画像データ52の画素数を印刷用画像データ54に対してデフォルトの1/4の画素数より小さくする圧縮処理を行い(ステップS205)、その縮小画像データ52を絵画調画像データ53に絵画調変換処理を行い(ステップS215)、その後、図7に示した伸長処理(ステップS135)、印刷処理(ステップS140)を行う。
Specifically, as shown in FIG. 8, the
また、ステップS201において、制御部41は、パステル画調などの比較的小さい処理負荷で変換時間が比較的短い絵画調変換の場合には、原画像データ51を縮小画像データ52に小さい縮小率で圧縮処理、例えば、縮小画像データ52の画素数を印刷用画像データ54に対してデフォルトの1/4の画素数より大きくする圧縮処理を行い(ステップS210)、その縮小画像データ52を絵画調画像データ53に絵画調変換処理を行い(ステップS215)、その後、図7に示した伸長処理(ステップS135)、印刷処理(ステップS140)を行う。こうすることで、長い処理時間の絵画調変換の種別が選択されている場合に、処理スピードを高速化することができる。尚、圧縮率を小さくする場合、縮小画像データ52の画素数は、印刷用画像データ54の画素数を超えない範囲で圧縮率を定めるものである。
In step S201, the
上記縮小率は絵画調変換の種別と、原画像データ51の画素数と、印刷用画像データ54の画素数とに応じて最適な値を設定することが好ましい。また、各縮小率近傍の分岐処理については適宜設定してもよい。
The reduction ratio is preferably set to an optimal value according to the type of painting-like conversion, the number of pixels of the
また、上述した実施形態では、原画像データ51を縮小画像データ52に圧縮処理を行い、次に、縮小画像データ52を絵画調画像データ53に絵画調画像変換を行っていたが、この形態に限られるものではない。例えば、大きな画素数の原画像データ51を絵画調画像データ53の圧縮処理として間引き読み出しを行いつつ、絵画調変換処理を行うようにして原画像データ51の画素数を少なくする処理と画像変換処理とを同時に行ってもよい。こうすることで、処理時間をより短縮することができる。
In the above-described embodiment, the
また、上述した実施形態では、原画像データ51を縮小画像データ52に圧縮処理を行い、縮小画像データ52を絵画調画像データ53に絵画調画像変換を行い、絵画調画像データ53を印刷用画像データ54に伸長処理したが、この形態に限られるものではない。例えば、縮小画像データ52を絵画調変換した画像データの画素を繰り返すようにして画素数を増加させることで、絵画調変換処理と伸長処理とを同時に行ってもよい。こうすることで、処理時間をより短縮することができる。
In the above-described embodiment, the
以上、説明したように、本発明の実施形態によれば、画像処理装置としての画像印刷装置1は、記憶装置としてのRAM43の原画像データ記憶部43aに原画像データ51を記憶し、原画像データ51を圧縮処理して縮小画像データ52を生成し、縮小画像データ52を指定入力された画像変換属性としての絵画調変換属性に基づいて、変換縮小画像データとしての絵画調画像データ53に画像変換を行い、絵画調画像データ53を伸長処理して、縮小画像データ52より画素数の多い印刷用画像データ54を生成して、印刷用画像データ54を印刷用紙10に印刷する処理を実行することができる。
As described above, according to the embodiment of the present invention, the
このため、写真等の画素数の多い画像データであっても、小さい画像変換用メモリで、短時間で印刷用画像データ54に変換処理を行うことができる画像印刷装置1である画像処理装置、画像処理装置で実行される画像処理方法、及び画像処理装置の画像処理方法をコンピュータに実現させるためのプログラム42aを提供することができる。
Therefore, even image data having a large number of pixels, such as a photograph, an image processing apparatus that is an
つまり、本発明では、絵画調変換が画像を高分解能で表示するのではなく、輪郭や境界、色調等をぼかして表示する等を行う処理であるので、原画像データ51を印刷用画像データ54よりも小さい画素数にリサイズした後、絵画調変換処理、伸長処理、印刷処理を順に行い、その結果得られる印刷画像は、原画像データ51を直接絵画変換して印刷処理を行った結果得られる印刷画像と略同様の画質である。このため、本発明に係る画像印刷装置1では、絵画調の画質を低下させることなく、処理時間を短縮することができる。
In other words, according to the present invention, the painting-like conversion is not a process of displaying an image with high resolution but a process of blurring and displaying an outline, a boundary, a color tone, and the like. After resizing to a smaller number of pixels, painting-like conversion processing, decompression processing, and printing processing are performed in order, and the resulting print image is obtained as a result of direct image conversion of the
また、上述した実施形態では、画像変換処理として絵画調変換処理を行ったが、この形態に限られるものではない。例えば、絵画調変換処理のように、原画像データ51に対して忠実度が低い画像変換処理であればよく、任意の画像処理であってもよい。
In the above-described embodiment, the painting-style conversion process is performed as the image conversion process. However, the present invention is not limited to this form. For example, an image conversion process having low fidelity with respect to the
また、本実施形態によれば、画像印刷装置1は、印刷用画像データ54の画素数と絵画調変換属性とに基づいて、縮小画像データ52の画素数を決定する縮小画像画素数決定部41eを有するので、印刷用画像データ54の画素数と絵画調変換属性に応じて最適な縮小画像データ52の画素数を決定することができ、各画像処理に応じて処理時間の短縮化を図ることができる。
Further, according to the present embodiment, the
また、本実施形態によれば、縮小画像画素数決定部41eは、縮小画像データ52の画素数を、規定値として、印刷用画像データ54の画素数の4分の1に設定している。こうすることにより、縮小画像データ52の横画素数および縦画素数を単純に2倍とする伸長処理を行うことで、容易に且つ短時間に印刷用画像データ54を生成することができる画像処理装置、画像処理方法、及びプログラム42aを提供することができる。つまり、縮小画像データ52の画素数は、印刷用画像データ54の画素数の4分の1であるので、画像処理時間、及び画像処理に用いられる作業用メモリのサイズをともに約1/4とすることができる。
Further, according to the present embodiment, the reduced image pixel
また、本発明の実施形態によれば、原画像データ51の画素数を検出する原画像画素数検出部41fと、原画像データ51の画素数と縮小画像データ52の画素数とに基づいて、原画像データ51に対して圧縮処理を実行する、又は実行しないを決定する圧縮処理決定部41gとを設けたので、原画像データ51の画素数に応じて最適な処理を行うことで、処理時間の短縮化を行うことができる画像処理装置、画像処理方法、及びプログラム42aを提供することができる。
Further, according to the embodiment of the present invention, based on the original image pixel
また、本発明の実施形態によれば、圧縮処理決定部41gにより、原画像データ51の画素数が、縮小画像データ52よりも少ない場合に圧縮処理を実行しない決定を行い、画像変換処理部41bにより、原画像データ51を画像変換特性としての絵画調変換属性に基づいた絵画調の画像データに変換して、変換縮小画像データとしての絵画調画像データ53を生成するので、比較的小さい画素数の原画像データ51の画質劣化を防止可能な画像処理装置、画像処理方法、及びプログラム42aを提供することができる。
Further, according to the embodiment of the present invention, the compression
また、本発明の実施形態では、絵画調変換属性には、油彩画調、水彩画調、パステル画調、及び色鉛筆画調のいずれか又は2つ以上を有するので、所定の絵画調の画像処理に応じて処理時間を短縮することができる。 In the embodiment of the present invention, the painting style conversion attribute includes one or more of oil painting style, watercolor painting style, pastel painting style, and colored pencil painting style. Accordingly, the processing time can be shortened.
さらに、本発明の実施形態におけるフローチャートに示した処理は、コンピュータに実現させることのできるプログラムとして、例えば磁気ディスク、光ディスク、半導体メモリ等の記憶媒体に書き込んだ状態で各種装置に適用する、或いは、通信媒体により伝送して各種装置に適用することも可能である。このように所望の記憶媒体に本実施形態で述べた各処理を記憶させ、他のコンピュータ等でプログラムを実行させることにより、本実施形態の装置を用いた場合と同様の作用効果が得られる。なお、コンピュータは、本実施形態で述べた装置に内蔵されたコンピュータに限定されるものではなく、記憶媒体に記憶されたプログラムを読み取り可能であって、読み取ったプログラムに従って制御動作を行うCPU等の演算装置を備えているあらゆるコンピュータを含む。 Further, the processing shown in the flowchart in the embodiment of the present invention is applied to various apparatuses as a program that can be realized by a computer, for example, written in a storage medium such as a magnetic disk, an optical disk, or a semiconductor memory, or It is also possible to apply to various devices by transmitting through a communication medium. As described above, by storing the processes described in the present embodiment in a desired storage medium and causing the program to be executed by another computer or the like, it is possible to obtain the same operational effects as when the apparatus of the present embodiment is used. The computer is not limited to the computer built in the apparatus described in the present embodiment, but can read a program stored in a storage medium and can perform a control operation according to the read program, such as a CPU. Includes any computer equipped with a computing device.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれるとする。また、上記実施形態及び変形例を組み合わせてもよい。 Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are also included in the invention described in the claims and the equivalents thereof. Moreover, you may combine the said embodiment and modification.
以下に、本願出願の最初の特許請求の範囲に記載された発明を付記する。
[1] 原画像データを記憶する記憶装置と、
前記原画像データを圧縮処理して、縮小画像データを生成する縮小画像生成処理部と、
前記縮小画像データを指定入力された画像変換特性に基づいて、変換縮小画像データに画像変換を行う画像変換処理部と、
前記変換縮小画像データを伸長処理して、前記縮小画像データよりも画素数の多い印刷用画像データを生成する印刷用画像データ生成処理部と、
前記印刷用画像データを印刷媒体に印刷する処理を実行する印刷処理部と、
を有することを特徴とする画像処理装置。
[2] 前記画像変換処理部は、前記縮小画像データを、前記画像変換特性である絵画調変換属性に基づいた絵画調の画像データに変換して前記変換縮小画像データを生成することを特徴とする請求項1に記載の画像処理装置。
[3] 前記印刷用画像データの画素数と前記絵画調変換属性とに基づいて、前記縮小画像データの画素数を決定する縮小画像画素数決定部を有することを特徴とする請求項2に記載の画像処理装置。
[4] 前記縮小画像画素数決定部は、前記縮小画像データの画素数を、前記印刷用画像データの画素数の4分の1に設定することを特徴とする請求項3に記載の画像処理装置。
[5] 前記原画像データの画素数を検出する原画像画素数検出部と、
前記原画像データの画素数と前記縮小画像データの画素数とに基づいて、前記原画像データに対して圧縮処理を実行する、又は実行しないを決定する圧縮処理決定部と、
を有することを特徴とする請求項1乃至請求項4のいずれに記載の画像処理装置。
[6] 前記圧縮処理決定部は、前記原画像データの画素数が、前記縮小画像データよりも少ない場合に、前記圧縮処理を実行しない決定を行い、
前記画像変換処理部は、前記原画像データを、前記画像変換特性としての絵画調変換属性に基づいた絵画調の画像データに変換して前記変換縮小画像データを生成することを特徴とする請求項5に記載の画像処理装置。
[7] 前記絵画調変換属性には、油彩画調、水彩画調、パステル画調、及び色鉛筆画調のいずれかがあることを特徴とする請求項2乃至請求項6のいずれかに記載の画像処理装置。
[8] 原画像データを記憶する記憶装置を有する画像処理装置の画像処理方法であって、
前記原画像データを圧縮処理して、縮小画像データを生成する処理と、
前記縮小画像データを指定入力された画像変換特性に基づいて、変換縮小画像データに画像変換を行う処理と、
前記変換縮小画像データを伸長処理して、前記縮小画像データよりも画素数の多い印刷用画像データを生成する処理と、
前記印刷用画像データを印刷媒体に印刷する処理と、
を有することを特徴とする画像処理方法。
[9] 前記画像変換を行う処理では、前記縮小画像データを、前記画像変換特性である絵画調変換属性に基づいた絵画調の画像データに変換して前記変換縮小画像データを生成することを特徴とする請求項8に記載の画像処理方法。
[10] 前記印刷用画像データの画素数と前記絵画調変換属性とに基づいて、前記縮小画像データの画素数を決定する処理を有することを特徴とする請求項9に記載の画像処理方法。
[11] 前記縮小画像データの画素数を、前記印刷用画像データの画素数の4分の1に設定することを特徴とする請求項10に記載の画像処理方法。
[12] 前記原画像データの画素数を検出する処理と、
前記原画像データの画素数と前記縮小画像データの画素数とに基づいて、前記原画像データに対して圧縮処理を実行する、又は実行しないを決定する処理と、
を有することを特徴とする請求項8乃至請求項11のいずれかに記載の画像処理方法。
[13] 前記原画像データの画素数が、前記縮小画像データよりも少ない場合に、前記圧縮処理を実行しない決定を行い、
前記原画像データを、前記画像変換特性としての絵画調変換属性に基づいた絵画調の画像データに変換して前記変換縮小画像データを生成することを特徴とする請求項12に記載の画像処理方法。
[14] 前記絵画調変換属性には、油彩画調、水彩画調、パステル画調、及び色鉛筆画調のいずれかがあることを特徴とする請求項9乃至請求項13のいずれかに記載の画像処理方法。
[15] 原画像データを記憶する記憶装置を有する画像処理装置の画像処理方法をコンピュータに実現させるためのプログラムであって、
前記原画像データを圧縮処理して、縮小画像データを生成する処理と、
前記縮小画像データを指定入力された画像変換特性に基づいて、変換縮小画像データに画像変換を行う処理と、
前記変換縮小画像データを伸長処理して、前記縮小画像データよりも画素数の多い印刷用画像データを生成する処理と、
前記印刷用画像データを印刷媒体に印刷する処理と、
とコンピュータに実行させることを特徴とするプログラム。
[16] 前記画像変換を行う処理では、前記縮小画像データを、前記画像変換特性である絵画調変換属性に基づいた絵画調の画像データに変換して前記変換縮小画像データを生成する処理をコンピュータに実行させることを特徴とする請求項15に記載のプログラム。
[17] 前記印刷用画像データの画素数と前記絵画調変換属性とに基づいて、前記縮小画像データの画素数を決定する処理をコンピュータに実行させることを特徴とする請求項16に記載のプログラム。
[18] 前記縮小画像データの画素数を、前記印刷用画像データの画素数の4分の1に設定する処理をコンピュータに実行させることを特徴とする請求項17に記載のプログラム。
[19] 前記原画像データの画素数を検出する処理と、
前記原画像データの画素数と前記縮小画像データの画素数とに基づいて、前記原画像データに対して圧縮処理を実行する、又は実行しないを決定する処理と、
をコンピュータに実行させることを特徴とする請求項15乃至請求項18のいずれかに記載のプログラム。
[20] 前記原画像データの画素数が、前記縮小画像データよりも少ない場合に、前記圧縮処理を実行しない決定を行い、
前記原画像データを、前記画像変換特性としての絵画調変換属性に基づいた絵画調の画像データに変換して前記変換縮小画像データを生成する処理をコンピュータに実行させることを特徴とする請求項19に記載のプログラム。
[21]
前記絵画調変換属性には、油彩画調、水彩画調、パステル画調、及び色鉛筆画調のいずれかがあることを特徴とする請求項16乃至請求項20のいずれかに記載のプログラム。
The invention described in the first claim of the present application will be appended below.
[1] A storage device for storing original image data;
A reduced image generation processing unit that compresses the original image data to generate reduced image data;
An image conversion processing unit for performing image conversion on the converted reduced image data based on the image conversion characteristics designated and input to the reduced image data;
A print image data generation processing unit that decompresses the converted reduced image data and generates print image data having a larger number of pixels than the reduced image data;
A print processing unit for executing processing for printing the print image data on a print medium;
An image processing apparatus comprising:
[2] The image conversion processing unit converts the reduced image data into painting-like image data based on a painting-like conversion attribute that is the image conversion characteristic, and generates the converted reduced image data. The image processing apparatus according to
[3] The reduced image pixel number determination unit that determines the number of pixels of the reduced image data based on the number of pixels of the print image data and the painting-like conversion attribute. Image processing apparatus.
[4] The image processing according to [3], wherein the reduced image pixel number determination unit sets the number of pixels of the reduced image data to a quarter of the number of pixels of the print image data. apparatus.
[5] An original image pixel number detection unit that detects the number of pixels of the original image data;
A compression processing determination unit that determines whether or not to perform compression processing on the original image data based on the number of pixels of the original image data and the number of pixels of the reduced image data;
The image processing apparatus according to
[6] The compression processing determining unit determines not to execute the compression processing when the number of pixels of the original image data is smaller than the reduced image data.
The image conversion processing unit generates the converted reduced image data by converting the original image data into picture-like image data based on a picture-like conversion attribute as the image conversion characteristic. 5. The image processing apparatus according to 5.
[7] The image according to any one of
[8] An image processing method of an image processing apparatus having a storage device for storing original image data,
Processing to compress the original image data to generate reduced image data;
A process of performing image conversion on the converted reduced image data based on the image conversion characteristics designated and input to the reduced image data;
A process of decompressing the converted reduced image data to generate image data for printing having a larger number of pixels than the reduced image data;
Processing for printing the print image data on a print medium;
An image processing method comprising:
[9] In the process of performing the image conversion, the reduced reduced image data is generated by converting the reduced image data into painting-like image data based on a painting-like conversion attribute that is the image conversion characteristic. The image processing method according to
[10] The image processing method according to claim 9, further comprising a process of determining the number of pixels of the reduced image data based on the number of pixels of the print image data and the painting-like conversion attribute.
[11] The image processing method according to
[12] A process of detecting the number of pixels of the original image data;
A process of determining whether or not to perform compression processing on the original image data based on the number of pixels of the original image data and the number of pixels of the reduced image data;
12. The image processing method according to
[13] When the number of pixels of the original image data is smaller than the reduced image data, a determination is made not to execute the compression processing;
13. The image processing method according to claim 12, wherein the original image data is converted into painting-like image data based on a painting-like conversion attribute as the image conversion characteristic to generate the converted reduced image data. .
[14] The image according to any one of claims 9 to 13, wherein the painting-style conversion attribute includes any one of an oil painting style, a watercolor painting style, a pastel painting style, and a color pencil painting style. Processing method.
[15] A program for causing a computer to implement an image processing method of an image processing apparatus having a storage device for storing original image data,
Processing to compress the original image data to generate reduced image data;
A process of performing image conversion on the converted reduced image data based on the image conversion characteristics designated and input to the reduced image data;
A process of decompressing the converted reduced image data to generate image data for printing having a larger number of pixels than the reduced image data;
Processing for printing the print image data on a print medium;
A program characterized by causing a computer to execute.
[16] In the process of performing the image conversion, a process of generating the converted reduced image data by converting the reduced image data into painting-like image data based on a painting-like conversion attribute that is the image conversion characteristic The program according to
[17] The program according to
[18] The program according to claim 17, which causes a computer to execute a process of setting the number of pixels of the reduced image data to a quarter of the number of pixels of the printing image data.
[19] A process of detecting the number of pixels of the original image data;
A process of determining whether or not to perform compression processing on the original image data based on the number of pixels of the original image data and the number of pixels of the reduced image data;
The program according to any one of
[20] When the number of pixels of the original image data is smaller than the reduced image data, a determination is made not to execute the compression process;
20. The computer is configured to cause the computer to execute a process of converting the original image data into painting-like image data based on a painting-like conversion attribute as the image conversion characteristic and generating the converted reduced image data. The program described in.
[21]
The program according to any one of
1 画像印刷装置(画像処理装置) 2 筐体
3 キーボード 5 排紙口
6 記憶媒体挿入口(挿入口)
8 表示部 10 印刷用紙(印刷媒体)
15 取っ手(把持部) 16 空腔部
18 給紙トレイ 19 ピックアップローラ
20a、20b 搬送ローラ 21 印刷ヘッド
22a、22b 排紙ローラ
30 電源スイッチキー 32 カーソルキー
34 実行キー 36 文字・数字キー
41 制御部 41a 縮小画像生成処理部
41b 画像変換処理部 41c 印刷用画像データ生成処理部
41d 印刷処理部 41e 縮小画像画素数決定部
41f 原画像画素数検出部 41g 圧縮処理決定部
42 ROM 42a プログラム
43 RAM(記憶装置) 43a 原画像データ記憶部
43b 縮小画像データ記憶部 43c 絵画調データ記憶部
43d 印刷用画像データ記憶部 44 可搬型記憶媒体(メモリカード)
45 入力部 46 絵画調変換処理部
47 印刷部 47a 印刷機構
47b 搬送機構 48 カードスロット(入出力部)
51 原画像データ 52 縮小画像データ
53 絵画調画像データ(変換縮小画像データ)
54 印刷用画像データ
1 Image printing device (image processing device) 2 Housing
3
6 Storage medium insertion slot (insertion slot)
8
15 Handle (gripping part) 16 Cavity part
18
20a,
22a, 22b Paper discharge roller
30 Power switch key 32 Cursor keys
34
41
41b Image
41d
41f Original image pixel
42
43 RAM (storage device) 43a Original image data storage unit
43b Reduced
43d Image data storage unit for printing 44 Portable storage media (memory cards)
45
47
51
53 Picture-like image data (conversion reduced image data)
54 Image data for printing
Claims (15)
前記原画像データの画素数を検出し、
前記印刷用画像データの画素数を設定し、
指定入力された画像変換特性が、規定の複数種類の画像変換特性のうちの第1の画像変換特性である場合、前記原画像データを圧縮処理して縮小画像データを生成する際の前記印刷用データの画素数に対する前記縮小画像データの画素数の比を1よりも小さい値である規定値に設定し、かつ、前記指定入力された画像変換特性が、前記規定の複数種類の画像変換特性のうちの画像変換に係る処理負荷が前記第1の画像変換特性よりも大きい第2の画像変換特性である場合、前記比を前記規定値よりもさらに小さい値に設定し、
前記比にしたがって前記原画像データを圧縮処理して縮小画像データを生成し、
前記縮小画像データを指定入力された画像変換特性に基づいて変換縮小画像データに画像変換し、
前記変換縮小画像データを伸長処理して前記印刷用画像データを生成する処理部を有する、
ことを特徴とする画像処理装置。 An image processing apparatus that generates image data for printing based on original image data ,
Detecting the number of pixels of the original image data;
Set the number of pixels of the image data for printing,
When the designated and inputted image conversion characteristic is the first image conversion characteristic among a plurality of prescribed types of image conversion characteristics, the print image is generated when the original image data is compressed to generate reduced image data. The ratio of the number of pixels of the reduced image data to the number of pixels of data is set to a prescribed value that is a value smaller than 1, and the designated and inputted image conversion characteristics are those of the prescribed plural types of image conversion characteristics. When the processing load related to image conversion is the second image conversion characteristic larger than the first image conversion characteristic, the ratio is set to a value smaller than the specified value,
Generating a reduced small image data by compressing the original image data according to the ratio,
Image converted into variable換縮small image data based on image characteristics specified input the reduced image data,
Having a processing unit for generating image data for the printing and decompression processing the converted reduced image data,
An image processing apparatus.
ことを特徴とする請求項1に記載の画像処理装置。 The processing unit sets the ratio to 1/4 .
The image processing apparatus according to claim 1 .
ことを特徴とする請求項1又は2に記載の画像処理装置。 Wherein the processing unit, the number of pixels of the original image data is, if less than the number of pixels of the reduced image data, cormorants lines a decision not to execute the compression process,
The image processing apparatus according to claim 1 , wherein the image processing apparatus is an image processing apparatus.
ことを特徴とする請求項1乃至3のいずれか一項に記載の画像処理装置。 The processing unit generates the converted reduced image data by converting the reduced image data into painting-like image data based on a painting-like conversion attribute that is the image conversion characteristic .
The image processing apparatus according to any one of claims 1 to 3, characterized in that.
ことを特徴とする請求項4に記載の画像処理装置。 The painting style conversion attribute includes any of oil painting style, watercolor painting style, pastel painting style, and colored pencil painting style ,
The image processing apparatus according to claim 4 .
前記原画像データの画素数を検出し、
前記印刷用画像データの画素数を設定し、
指定入力された画像変換特性が、規定の複数種類の画像変換特性のうちの第1の画像変換特性である場合、前記原画像データを圧縮処理して縮小画像データを生成する際の前記印刷用データの画素数に対する前記縮小画像データの画素数の比を1よりも小さい値である規定値に設定し、かつ、前記指定入力された画像変換特性が、前記規定の複数種類の画像変換特性のうちの画像変換に係る処理負荷が前記第1の画像変換特性よりも大きい第2の画像変換特性である場合、前記比を前記規定値よりもさらに小さい値に設定し、
前記比にしたがって前記原画像データを圧縮処理して縮小画像データを生成し、
前記縮小画像データを指定入力された画像変換特性に基づいて変換縮小画像データに画像変換し、
前記変換縮小画像データを伸長処理して前記印刷用画像データを生成する、ことを含む、
ことを特徴とする画像処理方法。 An image processing method for generating image data for printing based on original image data,
Detecting the number of pixels of the original image data;
Set the number of pixels of the image data for printing,
When the designated and inputted image conversion characteristic is the first image conversion characteristic among a plurality of prescribed types of image conversion characteristics, the print image is generated when the original image data is compressed to generate reduced image data. The ratio of the number of pixels of the reduced image data to the number of pixels of data is set to a prescribed value that is a value smaller than 1, and the designated and inputted image conversion characteristics are those of the prescribed plural types of image conversion characteristics. When the processing load related to image conversion is the second image conversion characteristic larger than the first image conversion characteristic, the ratio is set to a value smaller than the specified value,
Generating a reduced small image data by compressing the original image data according to the ratio,
Image converted into variable換縮small image data based on image characteristics specified input the reduced image data,
And decompresses the transform reduced image data to generate image data for the printing, comprising,
An image processing method.
ことを特徴とする請求項6に記載の画像処理方法。 Set the ratio to one quarter ,
The image processing method according to claim 6 .
ことを特徴とする請求項6又は7に記載の画像処理方法。 The number of pixels of original image data, if less than the number of pixels of the reduced image data, cormorants lines a decision not to execute the compression process,
The image processing method according to claim 6 or 7 , wherein
ことを特徴とする請求項6乃至8のいずれか一項に記載の画像処理方法。 The reduced image data is converted into image data of pictorial generating the converted reduced image data based on the painting-style conversion attribute is the image conversion characteristic,
The image processing method according to claim 6, wherein the image processing method is an image processing method.
ことを特徴とする請求項9に記載の画像処理方法。 The painting style conversion attribute includes any of oil painting style, watercolor painting style, pastel painting style, and colored pencil painting style ,
The image processing method according to claim 9 .
前記原画像データの画素数を検出し、
前記印刷用画像データの画素数を設定し、
指定入力された画像変換特性が、規定の複数種類の画像変換特性のうちの第1の画像変換特性である場合、前記原画像データを圧縮処理して縮小画像データを生成する際の前記印刷用データの画素数に対する前記縮小画像データの画素数の比を1よりも小さい値である規定値に設定し、かつ、前記指定入力された画像変換特性が、前記規定の複数種類の画像変換特性のうちの画像変換に係る処理負荷が前記第1の画像変換特性よりも大きい第2の画像変換特性である場合、前記比を前記規定値よりもさらに小さい値に設定し、
前記比にしたがって前記原画像データを圧縮処理して縮小画像データを生成し、
前記縮小画像データを指定入力された画像変換特性に基づいて変換縮小画像データに画像変換し、
前記変換縮小画像データを伸長処理して前記印刷用画像データを生成する処理をコンピュータに実行させる、
ことを特徴とするプログラム。 A program for causing a computer to realize an image processing method for generating image data for printing based on original image data,
Detecting the number of pixels of the original image data;
Set the number of pixels of the image data for printing,
When the designated and inputted image conversion characteristic is the first image conversion characteristic among a plurality of prescribed types of image conversion characteristics, the print image is generated when the original image data is compressed to generate reduced image data. The ratio of the number of pixels of the reduced image data to the number of pixels of data is set to a prescribed value that is a value smaller than 1, and the designated and inputted image conversion characteristics are those of the prescribed plural types of image conversion characteristics. When the processing load related to image conversion is the second image conversion characteristic larger than the first image conversion characteristic, the ratio is set to a value smaller than the specified value,
Generating a reduced small image data by compressing the original image data according to the ratio,
Image converted into variable換縮small image data based on image characteristics specified input the reduced image data,
The conversion reduced image data decompression processing to thereby execute a process of generating image data for the printing on the computer,
A program characterized by that.
ことを特徴とする請求項11に記載のプログラム。 Causing the computer to execute a process of setting the ratio to 1/4 .
The program according to claim 11 .
ことを特徴とする請求項11又は12に記載のプログラム。 The number of pixels of original image data, if less than the number of pixels of the reduced image data, to execute the processing intends row a decision not to execute the compression processing to a computer,
The program according to claim 11 or 12 , characterized in that:
ことを特徴とする請求項11乃至13のいずれか一項に記載のプログラム。 The reduced image data, to execute the process of generating the converted reduced image data is converted into image data of pictorial based on painting-style conversion attribute is the image characteristics to a computer,
The program according to any one of claims 11 to 13 , characterized in that:
ことを特徴とする請求項14に記載のプログラム。
The painting style conversion attribute includes any of oil painting style, watercolor painting style, pastel painting style, and colored pencil painting style ,
The program according to claim 14 .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011169186A JP5787147B2 (en) | 2011-08-02 | 2011-08-02 | Image processing apparatus, image processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011169186A JP5787147B2 (en) | 2011-08-02 | 2011-08-02 | Image processing apparatus, image processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013034099A JP2013034099A (en) | 2013-02-14 |
JP5787147B2 true JP5787147B2 (en) | 2015-09-30 |
Family
ID=47789604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011169186A Active JP5787147B2 (en) | 2011-08-02 | 2011-08-02 | Image processing apparatus, image processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5787147B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4623300B2 (en) * | 2005-12-17 | 2011-02-02 | 富士ゼロックス株式会社 | Image processing apparatus and image processing program |
JP5158069B2 (en) * | 2009-12-28 | 2013-03-06 | カシオ計算機株式会社 | Image processing apparatus and image processing program |
-
2011
- 2011-08-02 JP JP2011169186A patent/JP5787147B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013034099A (en) | 2013-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9377934B2 (en) | Image display unit, image display method and computer readable storage medium that stores image display program | |
JP2013034748A (en) | Nail print apparatus and printing control method | |
JP2007142505A (en) | Image processing method and apparatus | |
JP4998590B2 (en) | Image display device, image display method, and program | |
JP4186558B2 (en) | Image processing method and apparatus | |
JP5787147B2 (en) | Image processing apparatus, image processing method, and program | |
US8760718B2 (en) | Image printer for changing a tone of an original image based on associated identification information and printing the image data having the changed tone, and corresponding image printing method and recording medium | |
JP4941157B2 (en) | Coloring production apparatus, coloring production method and program thereof | |
JP5716953B2 (en) | Image printing apparatus, coloring picture generation method, coloring picture generation program | |
JP4720123B2 (en) | Print control apparatus, print control method, and print control program | |
JP2014019055A (en) | Printing device, and printing method | |
JP4085265B2 (en) | Print control apparatus and print control method | |
JP2008122772A (en) | Image display device, image display method, and its program | |
JP5692574B2 (en) | Image processing apparatus, painting style conversion method, and painting style conversion program | |
JP2020093494A (en) | Image output device, image output method, and output image data production method | |
JP5846406B2 (en) | Image printing apparatus, image printing method, and image printing program | |
JP2008213406A (en) | Printing processor, printing processing method, and its program | |
US8441681B2 (en) | Printing apparatus for printing composite image, print data generating apparatus for generating print data of composite image, and print data generating program for generating print data of composite image | |
JP3184639B2 (en) | Image processing apparatus and method | |
JP2008236036A (en) | Image saving apparatus, image saving method and image saving control program | |
JP5655607B2 (en) | Image conversion processing device | |
JP5548963B2 (en) | Image display device, image display method, and program | |
JP6693701B2 (en) | Image processing apparatus, image forming apparatus, image processing method, and computer program | |
JP5299542B2 (en) | Image display device, image display method, and program | |
JP2005275787A (en) | Image processing method and device, and printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140623 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150323 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150326 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150521 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150702 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150715 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Ref document number: 5787147 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |