JP2003141532A - Image processing apparatus and method, printer, and storage medium storing computer readable program - Google Patents

Image processing apparatus and method, printer, and storage medium storing computer readable program

Info

Publication number
JP2003141532A
JP2003141532A JP2001338018A JP2001338018A JP2003141532A JP 2003141532 A JP2003141532 A JP 2003141532A JP 2001338018 A JP2001338018 A JP 2001338018A JP 2001338018 A JP2001338018 A JP 2001338018A JP 2003141532 A JP2003141532 A JP 2003141532A
Authority
JP
Japan
Prior art keywords
image data
printer
image
printing
degree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001338018A
Other languages
Japanese (ja)
Inventor
Masatoshi Matsudaira
正年 松平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001338018A priority Critical patent/JP2003141532A/en
Publication of JP2003141532A publication Critical patent/JP2003141532A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a direct printer capable of easily performing printing of high quality without placing a burden on the user regarding a determination as to whether image processes should be applied, nor dropping printing speed more than needed. SOLUTION: The printer has at least the function of generating image data by expanding compressed image data and the function of performing resizing printing according to the image data. Based on the degree of compression of the compressed image data and/or the degree of resizing during printing, the application of image processes (noise elimination process, sharpness process) to the image data is automatically controlled.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、画像圧縮データを
伸長して画像データを生成し、かかる画像データに基づ
いて印刷(例えば、サイズ変換印刷)を実行する機能を
備えたプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer having a function of expanding image compressed data to generate image data and executing printing (for example, size conversion printing) based on the image data.

【0002】[0002]

【従来の技術】従来において、デジタルカメラ等で撮像
した画像を自宅等で印刷する場合、まずデジタルカメラ
等からパソコンに画像データを移し、そしてパソコンを
操作して該パソコンに接続されたプリンタから印刷をす
るという印刷形態で行われるのが一般的であった。
2. Description of the Related Art Conventionally, when printing an image picked up by a digital camera or the like at home, first, the image data is transferred from the digital camera or the like to a personal computer, and the personal computer is operated to print from a printer connected to the personal computer. It was generally performed in a printing form called "do."

【0003】しかし、最近ではデジタルカメラ等の購入
ユーザ層も多様化しており、デジタルカメラ等は持って
いるがパソコンは持っていないというユーザも増えてき
ている。そのため、パソコン等のホスト装置を介さずに
単体で画像を直接印刷できるプリンタ(以下、「ダイレ
クトプリンタ」と呼ぶ。)が提案され、その開発が進め
られてきている。
Recently, however, the number of users who purchase digital cameras has been diversified, and the number of users who have digital cameras but not personal computers is increasing. Therefore, a printer (hereinafter, referred to as "direct printer") capable of directly printing an image by itself without using a host device such as a personal computer has been proposed and its development has been advanced.

【0004】ダイレクトプリンタの構成として、例えば
標準的なPCカードスロットをインターフェースとして
備える構成が考えられる。この場合、デジタルカメラ等
で記録用に用いられているフラッシュメモリをPCカー
ドアダプタにセットしてPCカードスロットに挿入し、
ダイレクトプリンタにおいてフラッシュメモリから画像
を読み出して、印刷を実行する印刷形態となる。他の構
成としては、PCカードスロットに代えて、USB等で
デジタルカメラとダイレクトプリンタを直接接続する構
成も考えられる。
As a configuration of the direct printer, for example, a configuration having a standard PC card slot as an interface can be considered. In this case, set the flash memory used for recording in digital cameras etc. in the PC card adapter and insert it in the PC card slot.
In the direct printer, an image is read from the flash memory and printing is executed. As another configuration, instead of the PC card slot, a configuration in which a digital camera and a direct printer are directly connected by a USB or the like can be considered.

【0005】ところで、デジタルカメラ等では、撮像可
能枚数をなるべく多く確保すべく、撮像した画像にデー
タ圧縮を施してフラッシュメモリに記憶しておくのが一
般的であり、その際の圧縮フォーマットとしては、JP
EG(Joint Photographic Expert Group)が広く採用
されている。
By the way, in a digital camera or the like, in order to secure as many image-capturing images as possible, it is general that the captured images are data-compressed and stored in a flash memory. , JP
EG (Joint Photographic Expert Group) is widely adopted.

【0006】JPEGは、風景や写真データなどに対し
て効果的に圧縮を行うことができる方式として知られ、
圧縮過程で情報の一部を切り捨てる(Lossy)方式と、
オリジナル画像からの劣化がない(Lossless)方式が存
在するが、デジタルカメラ等ではLossy方式が用いられ
ている場合が多い。
[0006] JPEG is known as a method capable of effectively compressing scenery, photographic data, etc.
A method of truncating a part of information in the compression process (Lossy),
There is a lossless method from the original image (Lossless), but digital cameras often use the Lossy method.

【0007】一般的なLossy方式では、まず入力画像を
8×8画素のブロックに分割し、このブロック単位にD
CT演算を行う。そして、得られたDCT係数に対し、
直流成分(DC成分)と交流成分(AC成分)を独立し
て量子化し、直流成分の係数については直前のブロック
の直流成分係数を予測値とした差分値による符号化を、
交流成分の係数についてはランレングス圧縮、ハフマン
符号化を行う。情報の損失は上記の量子化において生じ
ることになる。
In the general Lossy system, the input image is first divided into blocks of 8 × 8 pixels, and D is divided into blocks.
Perform CT calculation. Then, for the obtained DCT coefficient,
The DC component (DC component) and the AC component (AC component) are independently quantized, and the coefficient of the DC component is encoded by the difference value with the DC component coefficient of the immediately preceding block as the predicted value.
For the coefficient of the AC component, run length compression and Huffman coding are performed. Information loss will occur in the above quantization.

【0008】[0008]

【発明が解決しようとする課題】デジタルカメラ等で撮
像した画像を印刷する場合、次のような理由で画像の劣
化が生じ得る。
When printing an image picked up by a digital camera or the like, the image may be deteriorated due to the following reasons.

【0009】一つ目は、イメージセンサの特性に起因す
る画像劣化である。イメージセンサとしてCCD(電荷
結合素子)を用いる場合、暗電流ノイズ(熱ノイズ)と
呼ばれるノイズが問題となる。かかるノイズは、特に露
光時間(シャッター速度)が長いほど載りやすい傾向が
ある。一方、低価格なデジタルカメラでは、イメージセ
ンサとしてCMOS(相補型金属酸化膜半導体)が用いら
れている場合が多い。これは、CMOSイメージセンサ
が、集積化が可能で、単一電源、低消費電力という特徴
を持ち、CCDに比べてコストダウンが可能なためであ
る。しかし、CMOSイメージセンサは、小型化に伴う
感度低下等のために、CCDに比べてノイズの多い画像
となる傾向がある。
The first is image deterioration caused by the characteristics of the image sensor. When a CCD (charge coupled device) is used as an image sensor, noise called dark current noise (thermal noise) becomes a problem. Such noise tends to be more likely to be recorded, especially as the exposure time (shutter speed) is longer. On the other hand, in low-priced digital cameras, CMOS (complementary metal oxide semiconductor) is often used as an image sensor. This is because the CMOS image sensor can be integrated, has the features of a single power supply and low power consumption, and can reduce the cost as compared with the CCD. However, the CMOS image sensor tends to be an image with much noise as compared with the CCD because of a decrease in sensitivity accompanying miniaturization.

【0010】二つ目は、圧縮方式の特性に起因する画像
劣化である。圧縮方式として一般に採用されるJPEG
には、圧縮率を高くしてファイル容量を小さくしたとき
に、高域成分を含んだ映像やエッジ部分にモスキートノ
イズ等と呼ばれるノイズが生じてしまうという劣化特性
がある。
The second is image deterioration caused by the characteristics of the compression system. JPEG generally adopted as a compression method
Has a deterioration characteristic that noise called mosquito noise or the like is generated in an image including a high frequency component or an edge portion when the compression rate is increased and the file capacity is reduced.

【0011】三つ目は、画素数に起因する画像劣化であ
る。低価格なデジタルカメラでは、イメージセンサの有
効画素数が30万〜100万画素程度の場合が多い。こ
の場合、例えばA4サイズなど、ある程度大きなサイズ
で印刷しようとすると、そのままの画素数ではドット密
度が小さくなってしまうため、通常は1画素を複数画素
に置き換えるといったサイズ変換を行って、ドット密度
を上げて印刷することが行われる(以下、かかる印刷を
「拡大印刷」と呼ぶ)。しかし、かかる拡大印刷では、
拡大すればするほどエッジ等にボケが生じ、画像が大き
く劣化することになる。
The third is image deterioration caused by the number of pixels. In low-priced digital cameras, the number of effective pixels of the image sensor is often about 300,000 to 1,000,000 pixels. In this case, for example, when trying to print with a relatively large size such as A4 size, the dot density becomes small with the number of pixels as it is. Therefore, usually, size conversion such as replacing one pixel with a plurality of pixels is performed to change the dot density. Printing is performed by raising the printing (hereinafter, such printing is referred to as "enlarged printing"). However, in such enlarged printing,
The more the image is enlarged, the more blurred the edge or the like is, and the image is greatly deteriorated.

【0012】このような画像劣化が生じている場合にお
いて、その画像を品質良く印刷するためには、適切な画
像処理(例えば、ノイズ除去処理やシャープネス処理)
を適用することが重要である。ここで、ホスト装置を介
して印刷する場合であれば、処理能力の高いホスト装置
において上記のような画像処理を高速に行うことができ
るが、ダイレクトプリンタの場合は、プリンタ自身がこ
れらの画像処理を行う必要がある。
When such image deterioration occurs, in order to print the image with good quality, appropriate image processing (for example, noise removal processing and sharpness processing) is performed.
It is important to apply Here, in the case of printing via the host device, the above-described image processing can be performed at high speed in the host device having high processing capability, but in the case of the direct printer, the printer itself performs these image processing. Need to do.

【0013】しかし、一般に、プリンタに搭載されるC
PUはパソコン等に比べて処理能力が低いため、画像処
理を常に適用して印刷する構成としたのでは、印刷速度
が落ちてしまうという問題が生じる。
However, in general, the C mounted on the printer is used.
Since the PU has a lower processing capacity than that of a personal computer or the like, if a configuration is adopted in which image processing is always applied and printing is performed, there is a problem in that the printing speed is reduced.

【0014】これに対し、ユーザが画像処理の必要性を
判断し、ユーザの指示のもとに選択的に画像処理を適用
する構成とすることで、画像処理が不要な場合にまで印
刷速度が低下することを防止することができる。しか
し、このような判断をユーザに強いることは、ユーザ
(特に画像処理等に詳しくないユーザ)にとって大きな
負担であり、気軽に簡単に印刷を行うというニーズを満
たすことはできない。
On the other hand, when the user judges the necessity of the image processing and selectively applies the image processing under the instruction of the user, the printing speed is increased even when the image processing is unnecessary. It is possible to prevent the deterioration. However, forcing the user to make such a judgment imposes a heavy burden on the user (particularly, a user who is not familiar with image processing and the like), and it is not possible to satisfy the needs for printing easily and easily.

【0015】そこで、本発明は、ユーザに負担をかける
ことなく、かつ印刷速度を不要に落とすことなく、簡単
に高画質の印刷を実行することができるダイレクトプリ
ンタを提供することを目的とする。
Therefore, an object of the present invention is to provide a direct printer which can easily perform high-quality printing without burdening the user and without unnecessarily reducing the printing speed.

【0016】[0016]

【課題を解決するための手段】本発明のプリンタは、画
像圧縮データを伸長して画像データを生成する機能と、
画像データに基づいてサイズ変換印刷を実行する機能と
を少なくとも備えたプリンタであって、画像圧縮データ
における圧縮の程度に基づいて、又は/及び印刷する際
のサイズ変換の程度に基づいて、画像データに対する画
像処理の適用を制御することを特徴とする。
A printer of the present invention has a function of decompressing compressed image data to generate image data,
A printer having at least a function of performing size conversion printing based on image data, the image data being based on the degree of compression in the image compression data and / or the degree of size conversion at the time of printing. It is characterized by controlling the application of image processing to.

【0017】また本発明のプリンタは、画像圧縮データ
を伸長して画像データを生成し、かかる画像データに基
づいて印刷を実行する機能を少なくとも備えたプリンタ
であって、画像圧縮データにおける圧縮の程度に基づい
て、画像データに対する画像処理の適用を制御すること
を特徴とする。
The printer of the present invention is a printer having at least a function of expanding image compressed data to generate image data and executing printing based on the image data, and the degree of compression in the image compressed data. The application of image processing to image data is controlled based on

【0018】また本発明のプリンタは、画像データに基
づいてサイズ変換印刷を実行する機能を少なくとも備え
たプリンタであって、印刷する際のサイズ変換の程度に
基づいて、画像データに対する画像処理の適用を制御す
ることを特徴とする。
Further, the printer of the present invention is a printer having at least a function of executing size conversion printing based on image data, and applies image processing to the image data based on the degree of size conversion at the time of printing. It is characterized by controlling.

【0019】好適には、圧縮の程度が高い場合にノイズ
除去処理を適用することを特徴とする。この場合、圧縮
の程度に応じてノイズ除去の程度を変えることが望まし
い。
Preferably, the noise removal processing is applied when the degree of compression is high. In this case, it is desirable to change the degree of noise removal according to the degree of compression.

【0020】また好適には、サイズを拡大して印刷する
場合、拡大の程度が大きい場合にシャープネス処理を適
用することを特徴とする。この場合、拡大の程度に応じ
てシャープネスの強調の度合いを変えることが望まし
い。
Further, preferably, when printing is performed with an enlarged size, the sharpness processing is applied when the degree of enlargement is large. In this case, it is desirable to change the degree of sharpness enhancement according to the degree of enlargement.

【0021】また好適には、本発明のプリンタは、電気
的に接続された外部メモリ又は電子デバイスから画像圧
縮データを読み出し、ホスト装置を介することなく印刷
を実行することが可能に構成されていることを特徴とす
る。
Further, preferably, the printer of the present invention is configured to be capable of reading image compressed data from an external memory or an electronic device electrically connected and executing printing without going through a host device. It is characterized by

【0022】本発明の印刷方法は、画像圧縮データを伸
長して画像データを生成し、かかる画像データに基づい
てサイズ変換印刷を実行する工程を少なくとも備えた印
刷方法であって、画像圧縮データにおける圧縮の程度に
基づいて、又は/及び印刷する際のサイズ変換の程度に
基づいて、画像データに対する画像処理の適用を制御す
る工程を備えることを特徴とする。
The printing method of the present invention is a printing method including at least the steps of expanding image compressed data to generate image data, and executing size conversion printing based on the image data. The method is characterized by comprising the step of controlling the application of image processing to the image data based on the degree of compression and / or the degree of size conversion when printing.

【0023】本発明の印刷方法は、コンピュータにより
実施することができるが、そのためのコンピュータプロ
グラムは、CD−ROM、磁気ディスク、半導体メモリ
及び通信ネットワークなどの各種の媒体を通じてコンピ
ュータにインストールまたはロードすることができる。
The printing method of the present invention can be carried out by a computer, and the computer program therefor can be installed or loaded into the computer through various media such as a CD-ROM, a magnetic disk, a semiconductor memory and a communication network. You can

【0024】[0024]

【発明の実施の形態】(第1の実施形態)図面を参照し
て本発明の第1の実施の形態を説明する。図1は、本実
施形態のプリンタ1のハードウェア構成を表すブロック
図である。
BEST MODE FOR CARRYING OUT THE INVENTION (First Embodiment) A first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the hardware configuration of the printer 1 of this embodiment.

【0025】プリンタ1は、用紙をプリンタ内に供給す
る給紙フィーダ10、印字を行なう印刷エンジン11、
及び用紙をプリンタ機外に排出する排紙フィーダ12等
により構成される動力機構部2を備える。
The printer 1 includes a paper feed feeder 10 for feeding paper into the printer, a print engine 11 for printing,
And a power mechanism unit 2 including a paper discharge feeder 12 for discharging the paper to the outside of the printer.

【0026】これら動力機構部2を制御し印刷動作を行
わせるのは、CPU(プロセッサ)13、ROM14、
RAM15、LCDパネル及びLCDコントローラ1
6、通信インタフェース17等からなるプリンタ制御部
3である。CPU13は、内部バスを介して各手段14
〜17にアクセス可能に構成されており、ホスト装置か
ら通信インタフェース17を介して送られてくる印刷ジ
ョブに従い、動力機構部2を制御して実際に印刷動作を
行なわせる。なお、動力機構部2が独立してCPUを備
えていてもよく、その場合は、動力機構部2のCPU
が、パラレルインタフェース等を介してCPU13と通
信を行い、印刷エンジン11を制御して印刷動作を行わ
せることになる。
It is the CPU (processor) 13, the ROM 14 and the ROM 14 that control the power mechanism section 2 to perform the printing operation.
RAM15, LCD panel and LCD controller 1
6, a printer control unit 3 including a communication interface 17 and the like. The CPU 13 uses various means 14 via the internal bus.
To 17 are accessible, and the power mechanism unit 2 is controlled according to a print job sent from the host device via the communication interface 17 to actually perform the printing operation. Note that the power mechanism unit 2 may independently include a CPU, and in that case, the CPU of the power mechanism unit 2
However, it communicates with the CPU 13 via a parallel interface or the like to control the print engine 11 to perform the printing operation.

【0027】動力機構部2、プリンタ制御部部3の構成
・動作は原則として従来のプリンタ装置の構成・動作と
同様である。ただし、本プリンタ1は、プリンタ制御部
3が更にPCカードスロット及びPCカードコントロー
ラ18を備えており、PCカードスロット等18を介し
て外部メモリからJPEGファイル等の画像圧縮データ
を読み出して、後述する画像処理適用制御フローに従っ
て伸長処理やサイズ変換処理を行って印刷を行うことが
できるように構成されている(以下、このようなホスト
装置を介さない印刷動作を「ダイレクト印刷」と呼
ぶ。)図2に、ダイレクト印刷を実現するための、プリ
ンタ制御部3における機能構成図を示す。図に示すよう
に、プリンタ制御部3は、パネルIF手段20、PCカ
ードIF手段21、伸長手段22、サイズ変換手段2
3、画像処理手段24、制御手段25等を備えて構成さ
れる。上記の各手段は、メモリに格納されるアプリケー
ションプログラムをCPU13が実行することにより機
能的に実現される。
The structure and operation of the power mechanism unit 2 and the printer control unit 3 are basically the same as the structure and operation of the conventional printer device. However, in the printer 1, the printer control unit 3 further includes a PC card slot and a PC card controller 18, and image compression data such as a JPEG file is read from an external memory via the PC card slot 18 and the like, which will be described later. It is configured so that printing can be performed by performing decompression processing and size conversion processing according to the image processing application control flow (hereinafter, such a printing operation that does not go through a host device is referred to as "direct printing"). 2 shows a functional configuration diagram in the printer control unit 3 for realizing the direct printing. As shown in the figure, the printer control unit 3 includes a panel IF unit 20, a PC card IF unit 21, an expansion unit 22, and a size conversion unit 2.
3, an image processing unit 24, a control unit 25 and the like. Each of the above means is functionally realized by the CPU 13 executing an application program stored in the memory.

【0028】パネルIF手段20は、LCDや操作キー
などから構成されるLCDパネル及びLCDコントロー
ラ16を介して、ユーザからプリンタ1に対するコマン
ドを受け付るとともに、ユーザに対して印刷ステータス
等を出力する。ユーザから受け付けるコマンドとして
は、例えば、上述のダイレクト印刷の実行を要求するコ
マンド(ダイレクト印刷コマンド)などが考えられる。
The panel IF means 20 receives commands from the user to the printer 1 via the LCD panel composed of an LCD and operation keys and the LCD controller 16, and outputs the print status and the like to the user. . The command received from the user may be, for example, a command (direct print command) requesting execution of the above-described direct printing.

【0029】PCカードIF手段21は、PCカードス
ロット及びPCカードコントローラ18を介して、PC
カードアダプターに装着された外部メモリ(例えば、コ
ンパクトフラッシュ(登録商標)、スマートメディア等
のフラッシュメモリ)に対し、データの読出し/書込み
を行う。
The PC card IF means 21 is connected to the PC via the PC card slot and the PC card controller 18.
Data is read / written from / to an external memory (for example, a flash memory such as CompactFlash (registered trademark) or smart media) mounted on the card adapter.

【0030】伸長手段22は、画像圧縮データに対して
伸長処理を施し、画像データを復元する。伸長処理は圧
縮方式に対応した周知の処理を用いることができる。例
えば、画像圧縮データがJPEGファイルである場合、
8×8ブロックごとに、AC成分についてHuffman符号
の復号、ランレングス圧縮の復号を行い、DC成分と一
緒に逆量子化を行って周波数分布を算出し、かかる周波
数分布にインバースDCTを行うことにより、画像デー
タを復元する。
The decompressing means 22 decompresses the image compressed data to decompress the image data. A well-known process corresponding to the compression method can be used for the decompression process. For example, when the compressed image data is a JPEG file,
For each 8 × 8 block, Huffman code decoding and run-length compression decoding are performed on the AC component, inverse quantization is performed with the DC component to calculate the frequency distribution, and inverse DCT is performed on the frequency distribution. , Restore image data.

【0031】サイズ変換手段23は、復元された画像デ
ータに対し、サイズ変換(拡大/縮小)処理を施す。拡
大処理は、単純には1つの画素を拡大率に応じて複数の
画素に置き換えることで実現できる。ただし、拡大後の
画像をなめらかなものとするためには、拡大前の画素値
に基づいて拡大後の画素値を補間して決定することが望
ましい。補間方法としては、例えばニアレストネイバー
法、バイリニア法、ハイパーキュービック法などがあ
る。一方、縮小処理は、縮小率に応じて複数の画素を一
つの画素に置き換えることで実現できる。縮小後の画素
値は、例えば縮小前の複数の画素値の平均値とすること
が考えられる。
The size conversion means 23 performs size conversion (enlargement / reduction) processing on the restored image data. The enlargement process can be realized simply by replacing one pixel with a plurality of pixels according to the enlargement ratio. However, in order to make the image after enlargement smooth, it is desirable to interpolate and determine the pixel value after enlargement based on the pixel value before enlargement. Examples of interpolation methods include the nearest neighbor method, bilinear method, and hypercubic method. On the other hand, the reduction processing can be realized by replacing a plurality of pixels with one pixel according to the reduction rate. The pixel value after reduction may be, for example, an average value of a plurality of pixel values before reduction.

【0032】画像処理手段24は、復元された画像に対
し、例えばノイズ除去処理、シャープネス処理といった
画像処理を施す。
The image processing means 24 performs image processing such as noise removal processing and sharpness processing on the restored image.

【0033】ノイズ除去の方法としては、例えばローパ
スフィルタを用いる方法や、メディアンフィルタを用い
る方法など、既存の方法を用いることができる。また、
シャープネス処理の方法としては、例えばアンシャープ
マスクを用いる方法や、ラプラシアンフィルタを用いる
方法など、既存の方法を用いることができる。
As a noise removing method, an existing method such as a method using a low-pass filter or a method using a median filter can be used. Also,
As the sharpness processing method, an existing method such as a method using an unsharp mask or a method using a Laplacian filter can be used.

【0034】ここで、除去できるノイズの大きさはノイ
ズ除去フィルタのサイズに依存するため、多様なノイズ
に対応できるように、複数サイズのフィルタを記憶して
おくことが望ましい。かかる観点から、状況に応じてフ
ィルタサイズを選択してノイズ除去処理を施すように画
像処理手段24を構成する。
Since the size of noise that can be removed depends on the size of the noise removal filter, it is desirable to store filters of a plurality of sizes so as to deal with various types of noise. From this viewpoint, the image processing unit 24 is configured to select the filter size according to the situation and perform the noise removal processing.

【0035】また、ボケが激しい場合にはより強く鮮鋭
化するというように、ボケ具合に応じてより適切にシャ
ープネス処理を施すことが望ましい。シャープネスの程
度は高周波数成分の強調度合いによって制御することが
できる。かかる観点から、状況に応じて高周波成分の強
調度合いを変えてシャープネス処理を施すように画像処
理手段24を構成する。
Further, it is desirable to perform sharpness processing more appropriately according to the degree of blur, such as sharpening more strongly when the blur is severe. The degree of sharpness can be controlled by the degree of emphasis of high frequency components. From this point of view, the image processing unit 24 is configured to perform the sharpness processing by changing the emphasis degree of the high frequency component according to the situation.

【0036】制御手段25は、ダイレクト印刷を実行す
る際に、画像処理の適用を制御する。以下、図3に示す
フローチャートを参照して、制御手段25の動作につい
て、ダイレクト印刷の処理フローとともに説明する。な
お、各ステップは処理内容に矛盾を生じない範囲で任意
に順番を変更して実行することができる。
The control means 25 controls the application of image processing when executing direct printing. Hereinafter, the operation of the control unit 25 will be described together with the processing flow of direct printing with reference to the flowchart shown in FIG. It should be noted that each step can be executed by arbitrarily changing the order as long as the processing content does not conflict.

【0037】(ダイレクト印刷の処理フロー)ダイレク
ト印刷は、パネルIF手段20においてユーザからダイ
レクト印刷コマンドを受け付けた場合に、その処理を開
始する。このとき、外部メモリに画像圧縮データが複数
記憶されている場合は、例えばそれらのファイル名をL
CDパネル等16にリスト表示し、その中からユーザに
所望のものを選択させる。また、プリンタ1がサイズ変
換印刷を実行可能である場合は、ユーザから印刷サイズ
(例えば、A4、B4等)の指定を受け付ける。なお、
以降の説明においては、サイズ変換印刷が実行可能であ
るとして説明を続ける。
(Processing Flow of Direct Printing) In the direct printing, when the panel IF unit 20 receives a direct printing command from the user, the processing is started. At this time, when a plurality of compressed image data are stored in the external memory, for example, those file names are set to L
A list is displayed on the CD panel or the like 16, and the user is allowed to select a desired item from the list. When the printer 1 can execute the size conversion printing, the user receives the designation of the print size (for example, A4, B4, etc.). In addition,
In the following description, the description will be continued on the assumption that size conversion printing can be executed.

【0038】PCカードIF手段21は、PCカードス
ロット等18を介して外部メモリを参照し、前記選択し
た画像圧縮データについて、復元後(圧縮前)の画像デ
ータ及び画像圧縮データのサイズをそれぞれ取得する
(S101)。画像圧縮データがJPEGファイルであ
る場合、復元後の画像データのサイズはJPEGファイ
ルのヘッダー部分に格納されているため、ヘッダ部分を
参照することで圧縮前の画像データのサイズを取得する
ことができる。一方、画像圧縮データのサイズは、例え
ばOSがウィンドウズ(登録商標)であればFAT(Fi
le Allocation Table)を参照することで取得すること
ができる。
The PC card IF means 21 refers to the external memory via the PC card slot 18 or the like, and acquires the image data after decompression (before compression) and the size of the image compression data for the selected image compression data. Yes (S101). When the compressed image data is a JPEG file, the size of the restored image data is stored in the header portion of the JPEG file. Therefore, the size of the uncompressed image data can be acquired by referring to the header portion. . On the other hand, the size of the compressed image data is FAT (Fi) if the OS is Windows (registered trademark), for example.
It can be obtained by referring to (le Allocation Table).

【0039】制御手段25は、前記取得した復元後の画
像データサイズ及び画像圧縮データサイズに基づき、圧
縮率=(画像圧縮データサイズ)/(復元後の画像デー
タサイズ)を算出する(S102)。そして、圧縮率<
T1が成立するかどうかを判断し(S103)、成立す
る場合は、圧縮の程度が高いために復元後の画像データ
がノイズを多く含む可能性があると判断して、ノイズ除
去フラグをONに設定する(S104)。一方、成立し
ない場合は、圧縮の程度が低く、ノイズ除去は不要であ
ると判断して、ノイズ除去フラグをOFFに設定する
(S105)。なお、閾値T1は予め設計に応じて定め
ておくことができ、例えば0.03〜0.5の間で定め
ることが考えられる。
The control means 25 calculates the compression rate = (image compression data size) / (image data size after restoration) based on the acquired image data size after restoration and image compression data size (S102). And compression rate <
It is determined whether or not T1 is established (S103). If so, it is determined that the image data after decompression may contain a lot of noise because the degree of compression is high, and the noise removal flag is turned on. It is set (S104). On the other hand, if the condition is not satisfied, it is determined that the degree of compression is low and noise removal is unnecessary, and the noise removal flag is set to OFF (S105). The threshold T1 can be set in advance according to the design, and may be set to, for example, 0.03 to 0.5.

【0040】次に、制御手段25は、前記記憶した印刷
サイズを読み出し、前記取得した復元後の画像データサ
イズ及び前記読み出した印刷サイズに基づき、両者のサ
イズ変換の程度として拡大率を算出する(S106)。
Next, the control means 25 reads out the stored print size, and calculates the enlargement ratio as the degree of size conversion of both based on the acquired restored image data size and the read print size ( S106).

【0041】拡大率は次のようにして求めることができ
る。
The enlargement ratio can be obtained as follows.

【0042】まず、プリンタ1において設定されている
印刷解像度(dpi)を参照し、前記取得した復元後の
画像データサイズの画像をそのままサイズ変換せずに印
刷した場合の大きさを求める。例えば、印刷解像度が3
00dpiの場合、画像データサイズが(640画素、
480画素)であれば、そのまま印刷した場合の大きさ
は、おおよそ(640/300×2.5cm、480/
300×2.5cm)≒(5.3cm、4cm)とな
る。
First, the print resolution (dpi) set in the printer 1 is referred to, and the size of the obtained image of the restored image data size that has been printed without size conversion is obtained. For example, the print resolution is 3
In the case of 00 dpi, the image data size is (640 pixels,
480 pixels), the size when printed as is is approximately (640/300 x 2.5 cm, 480 /
300 × 2.5 cm) ≈ (5.3 cm, 4 cm).

【0043】次に、縦拡大率=(前記読み出した印刷サ
イズの縦の長さ)/(前記取得した復元後の画像データ
をそのままサイズ変換せずに印刷した場合の縦の長
さ)、横拡大率=(前記読み出した印刷サイズの横の長
さ)/(前記取得した復元後の画像データをそのままサ
イズ変換せずに印刷した場合の横の長さ)に従い、それ
ぞれ拡大率を求める。
Next, the vertical enlargement ratio = (vertical length of the read print size) / (vertical length when the acquired restored image data is directly printed without size conversion), horizontal The enlargement ratio is calculated according to the enlargement ratio = (horizontal length of the read print size) / (horizontal length when the acquired restored image data is directly printed without size conversion).

【0044】制御手段25は、(縦拡大率>T2)又は
/及び(横拡大率>T3)が成立するかどうかを判断す
る(S107)。成立する場合は、拡大の程度が高く、
印刷した場合にボケが顕著に生じると判断して、シャー
プネスフラグをONに設定する(S108)。一方、成
立しない場合は、拡大の程度が低く、シャープネスは不
要であると判断して、シャープネスフラグをOFFに設
定する(S109)。なお、閾値T2、T3は予め設計
に応じて定めておくことができ、例えばそれぞれ3〜1
0の間で定めることが考えられる。
The control means 25 determines whether (vertical enlargement ratio> T2) and / or (horizontal enlargement ratio> T3) is satisfied (S107). If yes, the degree of expansion is high,
When it is determined that blurring will occur remarkably when printed, the sharpness flag is set to ON (S108). On the other hand, if not satisfied, it is determined that the degree of enlargement is low and that sharpness is unnecessary, and the sharpness flag is set to OFF (S109). The thresholds T2 and T3 can be set in advance in accordance with the design, and are, for example, 3 to 1 respectively.
It is possible to set it between 0.

【0045】次に、PCカードIF手段21は、PCカ
ードスロット等18を介して外部メモリを参照し、前記
選択した画像圧縮データを取得する(S110)。画像
圧縮データがJPEGファイルである場合、ブロック単
位、又はブロックライン単位など、部分的に取得しても
よい。
Next, the PC card IF means 21 refers to the external memory via the PC card slot 18 or the like to obtain the selected image compression data (S110). When the compressed image data is a JPEG file, it may be partially acquired in block units or block line units.

【0046】次に、伸長手段22は、前記取得した画像
圧縮データに対し伸長処理を施し、画像データ(又はそ
の一部)を復元する(S111)。
Next, the decompression means 22 decompresses the obtained image compressed data to decompress the image data (or a part thereof) (S111).

【0047】次に、制御手段25は、ノイズ除去フラグ
がONとなっているかどうかを判断する(S112)。
ONとなっている場合、画像処理手段24は、前記復元
された画像データ(又はその一部)に対し、ノイズ除去
処理を施す(S113)。このとき、ノイズ除去フィル
タを複数記憶している場合は、例えば前記取得した復元
後の画像データサイズや前記算出した圧縮率に応じてフ
ィルタサイズを選択して用いるように構成する。図4に
フィルタサイズの選択基準の例を示す。
Next, the control means 25 determines whether or not the noise removal flag is ON (S112).
If it is ON, the image processing means 24 performs noise removal processing on the restored image data (or a part thereof) (S113). At this time, when a plurality of noise removal filters are stored, for example, the filter size is selected and used according to the acquired image data size after restoration and the calculated compression rate. FIG. 4 shows an example of filter size selection criteria.

【0048】図に示す例では、圧縮率の程度が高いほ
ど、また画像データサイズが大きいほど、フィルタサイ
ズが大きくなるように設定している。これは、圧縮率の
程度に応じてモスキートノイズ等の大きさが変わるた
め、ノイズの大きさに合わせて適切なサイズのフィルタ
が選択されるように設定したものである。また、画像デ
ータサイズが大きい場合(又は、小さい場合)はエッジ
間隔が相対的に大きく(又は、小さく)なるため、エッ
ジ間隔に合わせて適切なサイズのフィルタが選択される
ように設定したものである。
In the example shown in the figure, the filter size is set to be larger as the compression rate is higher and the image data size is larger. This is set so that the size of the mosquito noise or the like changes depending on the degree of the compression ratio, so that a filter having an appropriate size is selected according to the size of the noise. Also, when the image data size is large (or small), the edge interval becomes relatively large (or small), so it is set so that a filter of an appropriate size is selected according to the edge interval. is there.

【0049】次に、制御手段25は、シャープネスフラ
グがONとなっているかどうかを判断する(S11
4)。ONとなっている場合、画像処理手段24は、ノ
イズ除去が施された前記復元された画像データ(又はそ
の一部)に対し、シャープネス処理を施す(S11
5)。このとき、前記算出した拡大率に応じて強調度合
いを変えてシャープネス処理を施すように構成する。例
えば、ラプラシアンフィルタを用いてシャープネスを行
う場合、画像中の点(i,j)における処理後の濃度値
g(i,j)は、処理前の濃度値f(i,j)を用いて
次の式で与えられる。なお、∇f(i,j)は点
(i,j)におけるラプラシアンを表す。
Next, the control means 25 determines whether or not the sharpness flag is ON (S11).
4). If it is ON, the image processing means 24 performs sharpness processing on the restored image data (or a part thereof) from which noise has been removed (S11).
5). At this time, the degree of emphasis is changed according to the calculated enlargement ratio, and the sharpness processing is performed. For example, when sharpening is performed using a Laplacian filter, the processed density value g (i, j) at the point (i, j) in the image is calculated using the unprocessed density value f (i, j). Is given by the formula. Note that ∇ 2 f (i, j) represents the Laplacian at the point (i, j).

【0050】 g(i,j)=f(i,j)−a×∇f(i,j) 上記式におけるaは強調度合いを表す係数であり、かか
る係数aを用いてシャープネスの程度を制御することが
できる。図5に係数aを定めるための基準を例示する。
G (i, j) = f (i, j) −a × ∇ 2 f (i, j) In the above equation, a is a coefficient representing the degree of enhancement, and the coefficient a is used to determine the degree of sharpness. Can be controlled. FIG. 5 exemplifies the standard for determining the coefficient a.

【0051】なお、画像処理の順序は設計に応じて定め
ることができ、例えばシャープネス処理、ノイズ除去処
理の順序で画像処理を施してもよい。また、更に、所定
の条件に応じていずれか一方の画像処理を適用するよう
に構成してもよい。例えば、エッジ強度を求め、エッジ
強度が小さい場合はノイズ除去処理を、エッジ強度が大
きい場合はシャープネス処理を施すように構成すること
が考えられる。
The order of image processing can be determined according to the design. For example, the image processing may be performed in the order of sharpness processing and noise removal processing. Further, it may be configured to apply either one of the image processings according to a predetermined condition. For example, it is conceivable that the edge strength is obtained, and when the edge strength is low, the noise removal processing is performed, and when the edge strength is high, the sharpness processing is performed.

【0052】次に、サイズ変換手段23は、ノイズ除去
処理及びシャープネス処理が施された前記復元された画
像データ(又はその一部)に対し、前記読み出した印刷
サイズに応じて、サイズ変換処理を施す(S116)。
Next, the size conversion means 23 performs a size conversion process on the restored image data (or a part thereof) subjected to the noise removal process and the sharpness process according to the read print size. Apply (S116).

【0053】次に、画像処理手段25は、サイズ変換処
理が施された画像データに対し、印刷動作において通常
行われる所定の画像処理(例えば、色変換処理、誤差拡
散法等のディザ処理など)を施し、印刷データを生成す
る(S117)。
Next, the image processing means 25 performs predetermined image processing (for example, color conversion processing, dither processing such as error diffusion method, etc.) that is usually performed in the printing operation on the image data that has undergone the size conversion processing. Then, print data is generated (S117).

【0054】最後に、このようにして生成された印刷デ
ータは、プリンタ制御部3によって印刷エンジン11へ
送られ、動力機構部2において印刷が実行される(S1
18)。
Finally, the print data generated in this way is sent to the print engine 11 by the printer control unit 3 and printing is executed in the power mechanism unit 2 (S1).
18).

【0055】なお、S110において画像圧縮データを
部分的に取得する場合は、画像圧縮データ全てについて
処理が終了するまで、S110からS117までを繰り
返すことになる。またこの場合、逐次生成された印刷デ
ータを逐次印刷エンジン11へ送り、印刷データの生成
と並行して印刷を実行するように構成してもよい。
When the image compression data is partially acquired in S110, S110 to S117 are repeated until the processing is completed for all the image compression data. Further, in this case, the sequentially generated print data may be sequentially sent to the print engine 11, and printing may be executed in parallel with the generation of the print data.

【0056】このように、画像圧縮データの圧縮率に基
づいてノイズによる画像劣化状況を判断し、かかる判断
に基づいてノイズ除去処理の適用を自動的に制御する構
成としたため、またサイズ変換する際の拡大率に基づい
てボケによる画像劣化状況を判断し、かかる判断に基づ
いてシャープネス処理の適用を自動的に制御するように
構成したため、画像が劣化している場合には画像処理が
適用され、結果として高画質化を図ることができ、画像
が劣化していない場合には画像処理が適用されず、結果
として印刷処理の高速化を図ることができる。
As described above, the image deterioration condition due to noise is judged based on the compression ratio of the image compressed data, and the application of the noise removal processing is automatically controlled based on such judgment. It is configured to judge the image deterioration situation due to blurring based on the enlargement ratio of, and to automatically control the application of sharpness processing based on such judgment, so if the image is deteriorated, image processing is applied, As a result, high image quality can be achieved, and when the image is not deteriorated, the image processing is not applied, and as a result, the printing processing can be speeded up.

【0057】(第2の実施形態)次に、本発明の第2の
実施の形態について説明する。第2の実施形態は、制御
プログラムを記録した記録媒体を備える。この記録媒体
はCD−ROM、磁気ディスク、半導体メモリその他の
記録媒体であってよく、プリンタ用カードやプリンタ用
オプションボードとして流通する場合も含む。
(Second Embodiment) Next, a second embodiment of the present invention will be described. The second embodiment includes a recording medium recording a control program. The recording medium may be a recording medium such as a CD-ROM, a magnetic disk, a semiconductor memory or the like, and includes a case where it is distributed as a printer card or a printer option board.

【0058】制御プログラムは記録媒体から情報処理装
置に読み込まれ、情報処理装置の動作を制御する。情報
処理装置は制御プログラムの制御により、図1における
プリンタ制御部3(又はその一部)による処理と同一の
処理を実行する。
The control program is read from the recording medium into the information processing apparatus and controls the operation of the information processing apparatus. The information processing apparatus executes the same processing as the processing by the printer control unit 3 (or part thereof) in FIG. 1 under the control of the control program.

【0059】(その他)本発明は上記実施形態に限定さ
れることなく、種々に変形して適用することが可能であ
る。例えば、上記実施形態では、ノイズ除去処理とシャ
ープネス処理の両方についてその適用を制御する構成と
しているが、いずれかについてのみ適用を制御する構成
としてもよい。
(Others) The present invention is not limited to the above-described embodiment, but can be variously modified and applied. For example, in the above embodiment, the application is controlled for both the noise removal processing and the sharpness processing, but the application may be controlled for only one of them.

【0060】また例えば、上記実施形態では、先にノイ
ズ除去やシャープネス処理といった画像処理を適用し、
その後にサイズ変換処理を行うように構成しているが、
かかる順序を逆にし、先にサイズ変換処理を行い、その
後に画像処理を適用するように構成してもよい。更に、
拡大処理の場合は先に画像処理を適用し、縮小処理の場
合は先にサイズ変換処理を行うように構成することも考
えられる。より小さいサイズの画像データへ画像処理を
適用する構成とした方が、フィルタリングを行う範囲が
小さくなるため高速に行うことができ、また同じサイズ
のフィルタであれば画像処理の効果も大きくなるためで
ある。
Further, for example, in the above embodiment, image processing such as noise removal and sharpness processing is first applied,
Although it is configured to perform size conversion processing after that,
The order may be reversed, the size conversion processing may be performed first, and then the image processing may be applied. Furthermore,
It is conceivable that the image processing is applied first in the case of the enlargement processing and the size conversion processing is performed in the case of the reduction processing. The configuration in which the image processing is applied to the image data of a smaller size can be performed at high speed because the filtering range is small, and the effect of the image processing is large if the filters of the same size are used. is there.

【0061】また例えば、上記実施形態では、拡大率に
応じてシャープネスの程度を制御するように構成してい
るが、拡大率のみならず縮小率に応じてシャープネスの
程度を制御するように構成してもよい。
Further, for example, in the above embodiment, the degree of sharpness is controlled according to the enlargement ratio, but the degree of sharpness is controlled not only according to the enlargement ratio but also the reduction ratio. May be.

【0062】また例えば、上記実施形態では、PCカー
ドスロット等を経由して画像圧縮データを取得する構成
としているが、ホスト装置や所定のサーバから通信イン
タフェースを介して画像圧縮データを受け取る構成とし
てもよい。また、デジタルカメラ等の電子機器をUSB
等のケーブルで当該プリンタに接続し、電子機器に記憶
されている画像圧縮データを直接読み出すように構成し
てもよい。
Further, for example, in the above embodiment, the image compression data is acquired via the PC card slot or the like, but the image compression data may be received from the host device or a predetermined server via the communication interface. Good. In addition, electronic devices such as digital cameras
The image compression data stored in the electronic device may be directly read by connecting to the printer with a cable such as.

【0063】また例えば、上記実施形態では、ホスト装
置から送られてくる印刷ジョブに基づき印刷する機能を
備える構成としているが、かかる機能を有さず、ダイレ
クト印刷機能のみ備える構成としてもよい。
Further, for example, in the above-described embodiment, the function of printing based on the print job sent from the host device is provided, but it is also possible not to have such a function and to provide only the direct printing function.

【0064】なお、本発明のプリンタ及びその技術の利
用形態はホームユースに限られるものではなく、例えば
コンビニエンスストア等にプリンタを設置し、ユーザが
外部メモリや電子機器を持参して、その場で印刷を行う
といった利用形態も考えられる。
Note that the printer of the present invention and the usage form of the technology are not limited to home use. For example, the printer is installed in a convenience store or the like, and the user brings an external memory or electronic device to A usage form such as printing is also conceivable.

【0065】[0065]

【発明の効果】本発明によれば、プリンタ制御部におい
て、画像圧縮データにおける圧縮の程度や、印刷する際
のサイズ変換の程度に基づいて、画像データに対する画
像処理(ノイズ除去やシャープネス処理など)の適用を
自動的に制御するように構成したため、ユーザに負担を
かけることなく、かつ印刷速度を不要に落とすことな
く、簡単に高画質の印刷を実行することが可能となる。
According to the present invention, the printer control unit performs image processing (noise removal, sharpness processing, etc.) on image data based on the degree of compression in image compressed data and the degree of size conversion in printing. Since the configuration is automatically controlled, it is possible to easily perform high-quality printing without burdening the user and without unnecessarily reducing the printing speed.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の第1の実施形態におけるプリンタの
ハードウェア構成を示すブロック図である。
FIG. 1 is a block diagram showing a hardware configuration of a printer according to a first embodiment of the present invention.

【図2】 第1の実施形態におけるプリンタ制御部の機
能構成図を示すブロック図である。
FIG. 2 is a block diagram illustrating a functional configuration diagram of a printer control unit according to the first embodiment.

【図3】 ダイレクト印刷の処理フローを示すフローチ
ャートである。
FIG. 3 is a flowchart showing a processing flow of direct printing.

【図4】 圧縮率に応じてノイズ除去フィルタのフィル
タサイズを選択するための基準を示す図である。
FIG. 4 is a diagram showing criteria for selecting a filter size of a noise removal filter according to a compression rate.

【図5】 拡大率に応じてシャープネスの強調度合い制
御するための基準を示す図である。
FIG. 5 is a diagram showing a reference for controlling a degree of sharpness enhancement according to an enlargement ratio.

【符号の説明】[Explanation of symbols]

1 プリンタ 2 動力機構部 3 プリンタ制御部 10 給紙機構 11 印刷エンジン 12 排紙機構 13 CPU 14 ROM 15 RAM 16 LCDパネル及びLCDコントローラ 17 通信インターフェース 18 PCカードスロット及びPCカードコントローラ 20 パネルIF手段 21 PCカードIF手段 22 伸長手段 23 サイズ変換手段 24 画像処理手段 25 制御手段 1 printer 2 power mechanism 3 Printer control unit 10 paper feed mechanism 11 Print engine 12 Paper ejection mechanism 13 CPU 14 ROM 15 RAM 16 LCD panel and LCD controller 17 Communication interface 18 PC card slot and PC card controller 20-panel IF means 21 PC card IF means 22 Extension means 23 Size conversion means 24 Image processing means 25 Control means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06T 5/00 300 G06T 5/00 300 5C078 9/00 9/00 H04N 1/393 H04N 1/393 1/40 1/41 Z 1/41 1/40 101Z Fターム(参考) 2C087 AA18 BC12 BD06 BD24 BD40 5B021 AA01 BB12 KK02 5B057 AA11 CA01 CA08 CA12 CB01 CB08 CB12 CC02 CE02 CE03 CG02 5C076 AA21 AA22 BA06 BB04 BB06 CB02 5C077 LL02 PP02 PP03 PP20 PQ20 SS02 TT02 5C078 BA57 CA22 DA02 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) G06T 5/00 300 G06T 5/00 300 5C078 9/00 9/00 H04N 1/393 H04N 1/393 1 / 40 1/41 Z 1/41 1/40 101Z F term (reference) 2C087 AA18 BC12 BD06 BD24 BD40 5B021 AA01 BB12 KK02 5B057 AA11 CA01 CA08 CA12 CB01 CB08 CB12 CC02 CE02 CE03 CG02 5C076 AA21 AA22 BA77 CB02 506 BB02 5 PP20 PQ20 SS02 TT02 5C078 BA57 CA22 DA02

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 画像圧縮データを伸長して画像データを
生成する機能と、画像データに基づいてサイズ変換印刷
を実行する機能とを少なくとも備えたプリンタであっ
て、 画像圧縮データにおける圧縮の程度に基づいて、又は/
及び印刷する際のサイズ変換の程度に基づいて、画像デ
ータに対する画像処理の適用を制御することを特徴とす
るプリンタ。
1. A printer having at least a function of decompressing compressed image data to generate image data and a function of executing size conversion printing based on the image data, the degree of compression of the compressed image data Based on or /
And a printer that controls the application of image processing to image data based on the degree of size conversion when printing.
【請求項2】 画像圧縮データを伸長して画像データを
生成し、かかる画像データに基づいて印刷を実行する機
能を少なくとも備えたプリンタであって、画像圧縮デー
タにおける圧縮の程度に基づいて、画像データに対する
画像処理の適用を制御することを特徴とするプリンタ。
2. A printer having at least a function of decompressing compressed image data to generate image data and executing printing based on the image data, the image being generated based on the degree of compression in the compressed image data. A printer characterized by controlling application of image processing to data.
【請求項3】 圧縮の程度が高い場合にノイズ除去処理
を適用することを特徴とする請求項1又は2記載のプリ
ンタ。
3. The printer according to claim 1, wherein the noise removal processing is applied when the degree of compression is high.
【請求項4】 圧縮の程度に応じてノイズ除去の程度を
変えることを特徴とする請求項3記載のプリンタ
4. The printer according to claim 3, wherein the degree of noise removal is changed according to the degree of compression.
【請求項5】 画像データに基づいてサイズ変換印刷を
実行する機能を少なくとも備えたプリンタであって、 印刷する際のサイズ変換の程度に基づいて、画像データ
に対する画像処理の適用を制御することを特徴とするプ
リンタ。
5. A printer having at least a function of executing size conversion printing based on image data, wherein the application of image processing to image data is controlled based on the degree of size conversion at the time of printing. Characteristic printer.
【請求項6】 サイズを拡大して印刷する場合、拡大の
程度が大きい場合にシャープネス処理を適用することを
特徴とする請求項1又は5記載のプリンタ。
6. The printer according to claim 1, wherein the sharpness processing is applied when the size is enlarged and the degree of enlargement is large.
【請求項7】 拡大の程度に応じてシャープネスの強調
の度合いを変えることを特徴とする請求項6記載のプリ
ンタ。
7. The printer according to claim 6, wherein the degree of sharpness enhancement is changed according to the degree of enlargement.
【請求項8】 当該プリンタは、電気的に接続された外
部メモリ又は電子デバイスから画像圧縮データを読み出
し、ホスト装置を介することなく印刷を実行することが
可能に構成されていることを特徴とする請求項1乃至8
のいずれか1項に記載のプリンタ。
8. The printer is configured to be capable of reading image compressed data from an external memory or an electronic device electrically connected and executing printing without passing through a host device. Claims 1 to 8
The printer according to any one of 1.
【請求項9】 画像圧縮データを伸長して画像データを
生成し、かかる画像データに基づいてサイズ変換印刷を
実行する工程を少なくとも備えた印刷方法であって、 画像圧縮データにおける圧縮の程度に基づいて、又は/
及び印刷する際のサイズ変換の程度に基づいて、画像デ
ータに対する画像処理の適用を制御する工程を備えるこ
とを特徴とする印刷方法。
9. A printing method comprising at least a step of decompressing image compressed data to generate image data and executing size conversion printing based on the image data, the method being based on a degree of compression in the image compressed data. Or /
And a method of controlling application of image processing to image data based on a degree of size conversion at the time of printing.
【請求項10】 請求項9記載の印刷方法をコンピュー
タで実行させるためのプログラムを格納したコンピュー
タ読み取り可能な記録媒体。
10. A computer-readable recording medium that stores a program for executing the printing method according to claim 9 on a computer.
【請求項11】 請求項9記載の印刷方法をコンピュー
タで実行させるためのプログラム。
11. A program for causing a computer to execute the printing method according to claim 9.
JP2001338018A 2001-11-02 2001-11-02 Image processing apparatus and method, printer, and storage medium storing computer readable program Pending JP2003141532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001338018A JP2003141532A (en) 2001-11-02 2001-11-02 Image processing apparatus and method, printer, and storage medium storing computer readable program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001338018A JP2003141532A (en) 2001-11-02 2001-11-02 Image processing apparatus and method, printer, and storage medium storing computer readable program

Publications (1)

Publication Number Publication Date
JP2003141532A true JP2003141532A (en) 2003-05-16

Family

ID=19152573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001338018A Pending JP2003141532A (en) 2001-11-02 2001-11-02 Image processing apparatus and method, printer, and storage medium storing computer readable program

Country Status (1)

Country Link
JP (1) JP2003141532A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007213358A (en) * 2006-02-10 2007-08-23 Fuji Xerox Co Ltd Two-dimensional code detection system and two-dimensional code detection program
JP2008033692A (en) * 2006-07-28 2008-02-14 Canon Inc Image processing device and its control method, and, computer program and computer readable storage medium
JP2009284094A (en) * 2008-05-20 2009-12-03 Canon Inc Image processor, image processing method and program
US7697784B2 (en) 2004-11-12 2010-04-13 Noritsu Koki Co., Ltd. Method for reducing noise in images

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7697784B2 (en) 2004-11-12 2010-04-13 Noritsu Koki Co., Ltd. Method for reducing noise in images
JP2007213358A (en) * 2006-02-10 2007-08-23 Fuji Xerox Co Ltd Two-dimensional code detection system and two-dimensional code detection program
JP2008033692A (en) * 2006-07-28 2008-02-14 Canon Inc Image processing device and its control method, and, computer program and computer readable storage medium
US7945118B2 (en) 2006-07-28 2011-05-17 Canon Kabushiki Kaisha Image processing apparatus and control method thereof
JP2009284094A (en) * 2008-05-20 2009-12-03 Canon Inc Image processor, image processing method and program
US8274707B2 (en) 2008-05-20 2012-09-25 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and program for determining or computing an extended region of a block region of image data or an input image

Similar Documents

Publication Publication Date Title
JP4011933B2 (en) Image processing apparatus and method
JP2006081156A (en) Image processing apparatus, method, and program
US7720293B2 (en) Image processing apparatus, printing apparatus and image processing method
JP2003141532A (en) Image processing apparatus and method, printer, and storage medium storing computer readable program
JP3384553B2 (en) Printing system
JP2002520915A (en) Method and apparatus for image descreening
JP2007098897A (en) Printer
JP2003242501A (en) Image processor and its method, image forming device, and computer-readable program
JP4040528B2 (en) Image processing apparatus, image processing method, image processing program, recording medium storing image processing program, and image forming apparatus including image processing apparatus
JP2012175500A (en) Image processing method, control program, and image processing device
JP2009124576A (en) Image processing apparatus and control method thereof
JP4854344B2 (en) Image processing apparatus and image processing method
JP4665802B2 (en) Lightness correction processing apparatus and lightness correction determination method
US8837848B2 (en) Image processing device and image processing method
EP1119177B1 (en) Method and system for receiving input-image data
JP2004015403A (en) Printer and its method
JP2004112303A (en) Image processing method, image processor, and image processing system
US8537413B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium
JP2000307876A (en) Image processor
JP2001251624A (en) Image processor, image processing method and computer readable memory
JP2004134938A (en) Image processing apparatus
JP2000307867A (en) Device and method for image processing and computer- readable recording medium with image processing program recorded thereon
JP3825871B2 (en) Image processing apparatus and method, and computer-readable recording medium storing image processing program code
JP2005005890A (en) Apparatus and method for image processing printer, and computer-readable program
JP2003234907A (en) Image processing apparatus and method therefor, printer and computer-readable program