JP2006140868A - Image processing board and image processing program - Google Patents
Image processing board and image processing program Download PDFInfo
- Publication number
- JP2006140868A JP2006140868A JP2004330117A JP2004330117A JP2006140868A JP 2006140868 A JP2006140868 A JP 2006140868A JP 2004330117 A JP2004330117 A JP 2004330117A JP 2004330117 A JP2004330117 A JP 2004330117A JP 2006140868 A JP2006140868 A JP 2006140868A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- image
- compression rate
- compressed
- compression
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
Description
本発明は、メディアリーダやスキャナ等から取得した画像データに対してJPEG等の方式によりデータを圧縮して保存する画像処理基板および画像処理プログラムに関する。 The present invention relates to an image processing board and an image processing program for compressing and storing image data acquired from a media reader, a scanner, or the like by a method such as JPEG.
近年、デジタルカメラ等で撮影された撮影コマ画像を、メディアリーダ等からデジタルデータとして取り込んで、これをJPEG(Joint Photographic Expert Group)等の圧縮方式で圧縮して保存する画像処理装置が用いられている。 2. Description of the Related Art In recent years, an image processing apparatus has been used that captures a shot frame image taken with a digital camera or the like as digital data from a media reader or the like, and compresses and saves the digital image using a compression method such as JPEG (Joint Photographic Expert Group). Yes.
このような画像処理装置では、画像データを圧縮する際に、保存されるメモリの容量が圧縮後の画像データの容量よりも小さい場合には、圧縮後の画像データが破壊される等、適正な状態で保存できない。 In such an image processing apparatus, when compressing the image data, if the capacity of the memory to be stored is smaller than the capacity of the compressed image data, the compressed image data is destroyed. Cannot save in state.
特許文献1には、入力した画像データごとに画像処理パラメータ(圧縮率)を選択して圧縮された画像データをハードディスクへ格納することで、ユーザの操作性を向上させた画像処理装置が開示されている。この画像処理装置によれば、画像データごとに容量等を考慮して、高画質、普通、低画質の中から適当な画質を選択して圧縮率を変更することができる。
しかしながら、上記従来の画像処理装置では、以下に示すような問題点を有している。 However, the conventional image processing apparatus has the following problems.
すなわち、上記公報に開示された画像処理装置では、圧縮後の画像データの容量が出力メモリの容量をオーバーするような場合には、例えば、高画質を選択していたものを普通あるいは低画質へ変更するだけであるため、出力メモリの容量との関係ではもっと大きな容量の画像データを記憶できる場合でも必要以上に圧縮率が高くなって画質が低下してしまうおそれがある。 That is, in the image processing apparatus disclosed in the above publication, when the capacity of the compressed image data exceeds the capacity of the output memory, for example, the one that has selected high image quality is changed to normal or low image quality. Since only the change is required, there is a risk that the compression rate will be higher than necessary and the image quality will be lowered even if image data with a larger capacity can be stored in relation to the capacity of the output memory.
本発明の課題は、JPEG等の方式によってデータ圧縮を行うバッファ基板等の画像処理基板において、出力側メモリの容量に応じてできる限り高品質な圧縮画像を保管することが可能な画像処理基板および画像処理プログラムを提供することにある。 An object of the present invention is to provide an image processing board capable of storing a compressed image as high as possible in accordance with the capacity of the output side memory in an image processing board such as a buffer board that performs data compression by a method such as JPEG. It is to provide an image processing program.
第1の発明に係る画像処理基板は、画像入力部と、画像データ変換部と、記憶部と、圧縮率再設定部と、を備えている。画像入力部は、例えば、メディアリーダやスキャナから画像データが入力される。画像データ変換部は、画像入力部において取得された画像データを予め設定された圧縮率で圧縮する。記憶部は、画像データ変換部において圧縮された画像データを記憶する。圧縮率再設定部は、画像データ変換部における圧縮後の画像データの容量と記憶部の記憶容量とを比較して、必要な場合には画像データの容量と記憶部の記憶容量とに基づいて画像データの新たな圧縮率を算出する。 An image processing board according to a first invention includes an image input unit, an image data conversion unit, a storage unit, and a compression rate resetting unit. The image input unit receives image data from, for example, a media reader or a scanner. The image data conversion unit compresses the image data acquired by the image input unit at a preset compression rate. The storage unit stores the image data compressed by the image data conversion unit. The compression rate resetting unit compares the image data volume after compression in the image data conversion unit with the storage capacity of the storage unit and, if necessary, based on the image data capacity and the storage unit storage capacity. A new compression rate of the image data is calculated.
ここでは、画像データをJPEG等の方式によって圧縮して保存する画像処理基板において、入力された画像データを圧縮する際に、予めユーザ等によって設定された圧縮率では圧縮後の画像データを格納する記憶部の記憶容量をオーバーしてしまう場合には、記憶部に入る最大の容量になるように新たな圧縮率を自動的に算出する。 Here, in an image processing board that compresses and stores image data by a method such as JPEG, when the input image data is compressed, the compressed image data is stored at a compression rate set in advance by a user or the like. When the storage capacity of the storage unit is exceeded, a new compression rate is automatically calculated so that the maximum capacity can be stored in the storage unit.
通常、予め設定されている圧縮率によって変換された画像データが記憶部の記憶容量よりも大きくて記憶部に入りきらない場合には、自動的に圧縮率を1段階下げて圧縮した画像データとして記憶部に記憶させる。このとき、自動的に下げられる圧縮率は、予め設定された複数段階の圧縮率の中から画像データが記憶部に入る容量になるような最大の圧縮率が選択される。しかし、このような方法では、予め複数段階で設定されている圧縮率の中から選択するだけであるため、記憶部の記憶容量との関係では必要以上に画像データを圧縮して画質を低下させてしまうおそれがある。 Normally, when the image data converted by a preset compression rate is larger than the storage capacity of the storage unit and cannot be stored in the storage unit, the image data is automatically compressed by reducing the compression rate by one step. Store in the storage unit. At this time, as the compression rate that is automatically lowered, a maximum compression rate is selected from among a plurality of preset compression rates so that the image data can be stored in the storage unit. However, in such a method, only the compression rate set in advance in a plurality of stages is selected. Therefore, the image data is compressed more than necessary to reduce the image quality in relation to the storage capacity of the storage unit. There is a risk that.
本発明の画像処理基板では、予め複数段階の圧縮率を設定するのではなく、圧縮率再設定部によって記憶部に入る最大容量の画像データになるように圧縮率を自動的に算出する。これにより、記憶部に入る最大の容量になるような圧縮率で画像データを圧縮することができるため、必要以上に圧縮されて画質が低下した画像データになることを防止することができる。この結果、記憶部の記憶容量との関係において最高画質になるように圧縮された画像データを保存することができる。 In the image processing board of the present invention, the compression rate is not automatically set in advance, but is automatically calculated by the compression rate resetting unit so that the maximum amount of image data can be stored in the storage unit. As a result, the image data can be compressed at a compression rate that provides the maximum capacity that can be stored in the storage unit. Therefore, it is possible to prevent the image data from being compressed more than necessary and having the image quality deteriorated. As a result, it is possible to save the image data compressed so as to obtain the highest image quality in relation to the storage capacity of the storage unit.
なお、画像データ変換部において行われる圧縮の方式としては、JPEG方式に限定されるものではなく、例えば、MR、MH、TIFF等の他の方式を採用した圧縮であってもよい。 Note that the compression method performed in the image data conversion unit is not limited to the JPEG method, and may be compression employing other methods such as MR, MH, TIFF, and the like.
第2の発明に係る画像処理基板は、第1の発明に係る画像処理基板であって、画像入力部は、分割された画像データが入力され、記憶部では、画像データ変換部において圧縮された分割された画像データをまとめて1つの画像データが形成される。 An image processing board according to a second invention is the image processing board according to the first invention, wherein the divided image data is input to the image input unit, and the image data conversion unit compresses the image data in the storage unit. One piece of image data is formed by grouping the divided image data.
ここでは、例えば、容量の大きい画像データが画像入力部に対して分割して入力されると、画像変換部においてこれらを圧縮した個々の分割画像データを記憶部においてまとめて1つの画像データとする。 Here, for example, when large-capacity image data is divided and input to the image input unit, the individual divided image data obtained by compressing the image data in the image conversion unit are combined into one image data in the storage unit. .
このような場合でも、記憶部において1つの画像データにまとめる際に予め設定された圧縮率では、まとめられた画像データの容量が記憶部の記憶容量をオーバーする場合には、記憶部の記憶容量を超えない最大の容量になるように圧縮率が再度算出される。 Even in such a case, if the capacity of the combined image data exceeds the storage capacity of the storage unit with the compression rate set in advance when the storage unit combines the image data into one image data, the storage capacity of the storage unit The compression rate is calculated again so that the maximum capacity does not exceed.
これにより、分割が必要になるほど容量の大きい画像データであっても、記憶部に格納できる範囲で最高画質の画像データになるように圧縮率を自動的に算出することができる。 As a result, even if the image data has a capacity large enough to be divided, the compression rate can be automatically calculated so that the image data has the highest image quality within the range that can be stored in the storage unit.
第3の発明に係る画像処理基板は、第1または第2の発明に係る画像処理基板であって、圧縮率再設定部において算出された画像データの圧縮率を、表示部に表示させる表示制御部をさらに備えている。 An image processing board according to a third aspect of the present invention is the image processing board according to the first or second aspect, wherein the display unit displays the compression rate of the image data calculated by the compression rate resetting unit on the display unit. The unit is further provided.
ここでは、予めユーザ等によって設定された圧縮率では記憶部の記憶容量をオーバーしてしまうために、圧縮率再設定部によって自動的に記憶部に入る最大の容量になるように圧縮率を算出した場合には、この算出された圧縮率がモニタ等の表示部に表示される。 Here, the compression rate preset by the user or the like will exceed the storage capacity of the storage unit, so the compression rate resetting unit automatically calculates the compression rate so that the maximum capacity can be entered into the storage unit. In such a case, the calculated compression rate is displayed on a display unit such as a monitor.
これにより、ユーザは自分が設定した圧縮率では記憶部の記憶容量をオーバーしたためどの程度圧縮率を下げて圧縮された画像データが記憶部に記憶されているかを容易に確認することができる。 Thus, the user can easily confirm whether the image data compressed by lowering the degree compression ratio for the compression rate that you have set and over the storage capacity of the storage unit is stored in the storage unit.
第4の発明に係る画像処理基板は、第1から第3の発明のいずれか1つに係る画像処理基板であって、圧縮率再設定部には、算出される圧縮率の下限値が設定されている。 An image processing board according to a fourth invention is the image processing board according to any one of the first to third inventions, wherein a lower limit value of a calculated compression rate is set in the compression rate resetting unit. Has been.
ここでは、圧縮率再設定部において算出される圧縮率の下限値を設定している。 Here, the lower limit value of the compression rate calculated by the compression rate resetting unit is set.
これにより、予め設定された圧縮率で変換した画像データの容量と記憶部の記憶容量とを比較して再度圧縮率の算出が必要と判断した場合でも、下限値を下回る新たな圧縮率についてはそのまま圧縮処理を行わずに警告画面等を表示させることができる。この結果、算出される圧縮率が非常に小さくなって画質の大幅な低下を招くことを防止することができる。また、非常に容量の大きな画像データを取得した場合や、高画質での画像データ圧縮を希望するような場合には、圧縮率の下限値を下回る圧縮率により低画質の画像データとして圧縮される前に、警告画面や圧縮率の再設定を促すような画面を表示して、ユーザの判断を仰ぐことができる。 As a result, even if it is determined that it is necessary to calculate the compression rate again by comparing the capacity of the image data converted at the preset compression rate and the storage capacity of the storage unit, the new compression rate below the lower limit A warning screen or the like can be displayed without performing compression processing as it is. As a result, it is possible to prevent the calculated compression rate from becoming very small and causing a significant decrease in image quality. When image data with a very large capacity is acquired or when image data compression with high image quality is desired, the image data is compressed as low-quality image data at a compression rate lower than the lower limit of the compression rate. A warning screen or a screen that prompts the user to reset the compression rate can be displayed before the user's judgment.
第5の発明に係る画像処理プログラムは、第1〜第4のステップを備えた画像処理方法をコンピュータに実行させる。第1のステップでは、例えば、メディアリーダやスキャナ等から画像データを取得する。第2のステップでは、第1のステップにおいて取得した画像データを予め設定された圧縮率で圧縮する。第3のステップでは、圧縮後の画像データの容量と、画像処理基板に設けられた圧縮後の画像データを記憶する記憶部の記憶容量とを比較して、必要な場合には画像データの新たな圧縮率を記憶部の記憶容量に基づいて算出する。第4のステップでは、第3のステップにおいて算出された圧縮率によって画像データを圧縮して記憶部に記憶させる。 An image processing program according to a fifth aspect causes a computer to execute an image processing method including first to fourth steps. In the first step, image data is acquired from, for example, a media reader or a scanner. In the second step, the image data acquired in the first step is compressed at a preset compression rate. In the third step, the volume of the compressed image data is compared with the storage capacity of the storage unit for storing the compressed image data provided on the image processing board. An appropriate compression rate is calculated based on the storage capacity of the storage unit. In the fourth step, the image data is compressed by the compression ratio calculated in the third step and stored in the storage unit.
ここでは、画像データをJPEG等の方式によって圧縮する画像処理プログラムにおいて、取得した画像データを圧縮する際に、予めユーザ等によって設定された圧縮率では圧縮後の画像データを記憶する記憶部の記憶容量をオーバーしてしまう場合には、記憶部に入る最大の容量になるように自動的に新たな圧縮率を算出する。 Here, in an image processing program for compressing image data by a method such as JPEG, when compressing acquired image data, the storage unit stores the compressed image data at a compression rate set in advance by a user or the like. When the capacity is exceeded, a new compression ratio is automatically calculated so that the maximum capacity can be stored in the storage unit.
通常、予め設定されている圧縮率によって変換された画像データが画像処理基板の出力側に設けられた記憶部の記憶容量よりも大きくて入りきらない場合には、自動的に圧縮率を1段階下げて圧縮した画像データとして出力側の記憶部に記憶させる。このとき、自動的に下げられる圧縮率は、予め設定された複数段階の圧縮率の中から画像データが記憶部に入る容量になるような最大の圧縮率が選択される。しかし、このような方法では、予め複数段階で設定されている圧縮率の中から選択するだけであるため、記憶部の記憶容量との関係では必要以上に画像データを圧縮して画質を低下させるおそれがある。 Usually, when the image data converted by a preset compression rate is larger than the storage capacity of the storage unit provided on the output side of the image processing board and does not fit, the compression rate is automatically set to one level. The image data is stored in the storage unit on the output side as down-compressed image data. At this time, as the compression rate that is automatically lowered, a maximum compression rate is selected from among a plurality of preset compression rates so that the image data can be stored in the storage unit. However, in such a method, only the compression rate set in advance in a plurality of stages is selected. Therefore, the image data is compressed more than necessary to reduce the image quality in relation to the storage capacity of the storage unit. There is a fear.
本発明の画像処理プログラムでは、予め複数段階の圧縮率を設定するのではなく、画像処理基板の記憶部に入る最大容量の画像データになるように圧縮率を自動的に算出する。 In the image processing program of the present invention, the compression rate is automatically calculated so as to obtain the maximum amount of image data that can be stored in the storage unit of the image processing board, instead of setting the compression rate in a plurality of stages in advance.
これにより、記憶部に入る最大の容量になるような圧縮率で画像データを圧縮することができるため、必要以上に圧縮されて画質が低下した画像データになることを防止することができる。この結果、記憶部の記憶容量との関係において最高画質になるように圧縮された画像データを保存することができる。 As a result, the image data can be compressed at a compression rate that provides the maximum capacity that can be stored in the storage unit. Therefore, it is possible to prevent the image data from being compressed more than necessary and having the image quality deteriorated. As a result, it is possible to save the image data compressed so as to obtain the highest image quality in relation to the storage capacity of the storage unit.
なお、画像データ変換部において行われる圧縮の方式としては、JPEG方式に限定されるものではなく、例えば、MR、MH、TIFF等の他の方式を採用した圧縮であってもよい。 Note that the compression method performed in the image data conversion unit is not limited to the JPEG method, and may be compression employing other methods such as MR, MH, TIFF, and the like.
第1の発明に係る画像処理基板によれば、記憶部の記憶容量との関係において最高画質になるように圧縮された画像データを保存することができる。 According to the image processing substrate of the first invention, it is possible to store the image data compressed so as to obtain the highest image quality in relation to the storage capacity of the storage unit.
第2の発明に係る画像処理基板によれば、分割が必要になるほど容量の大きい画像データであっても、記憶部に格納できる最高画質の画像データになるように圧縮率を自動的に算出することができる。 According to the image processing board of the second invention, the compression rate is automatically calculated so as to obtain the highest quality image data that can be stored in the storage unit even if the image data has a capacity that is large enough to be divided. be able to.
第3の発明に係る画像処理基板によれば、ユーザは自分が設定した圧縮率では記憶部の記憶容量をオーバーしたため、どの程度圧縮率を上げて圧縮された画像データが記憶部に記憶されているかを容易に確認することができる。 According to the image processing board according to the third aspect of the invention, since the user has exceeded the storage capacity of the storage unit at the compression rate set by the user, the image data compressed by increasing the compression rate is stored in the storage unit. Can be easily confirmed.
第4の発明に係る画像処理基板によれば、圧縮率の下限値を下回る圧縮率で低画質の画像データとして圧縮される前に、警告画面や再設定を促すような画面を表示して、ユーザの判断を仰ぐことができる。 According to the image processing board of the fourth invention, before being compressed as low-quality image data at a compression rate lower than the lower limit value of the compression rate, a warning screen or a screen prompting resetting is displayed, The user's judgment can be asked.
第5の発明に係る画像処理プログラムによれば、記憶部の記憶容量との関係において最高画質になるように圧縮された画像データを保存することができる。 According to the image processing program of the fifth aspect of the invention, it is possible to save the image data compressed so as to obtain the highest image quality in relation to the storage capacity of the storage unit.
本発明の一実施形態に係る画像処理基板について、図1〜図4を用いて説明すれば以下の通りである。 An image processing substrate according to an embodiment of the present invention will be described below with reference to FIGS.
[写真プリントシステム1の全体構成]
本発明の一実施形態に係るバッファ基板(画像処理基板)31(図2参照)は、図1に示す写真プリントシステム1を構成する装置に搭載されている。
[Entire configuration of photo print system 1]
A buffer substrate (image processing substrate) 31 (see FIG. 2) according to an embodiment of the present invention is mounted on an apparatus constituting the photographic print system 1 shown in FIG.
写真プリントシステム1は、図1に示すように、操作ステーション2と、プリントステーション3とを備えている。
The photo print system 1 includes an
操作ステーション2は、現像された写真フィルム2aやデジタルカメラ等で撮影されたデジタル画像データが保存されたメモリカード2b等のメディアから画像データを取り込んでプリントデータを作成し、ケーブル4を介して接続されたプリントステーション3に対して送信する。また、操作ステーション2は、図1に示すように、デスク上に配置された、フィルムスキャナ21およびメディアリーダ22と、モニタ(表示部)23と、キーボード24と、マウス25と、CD−Rドライブ26とを有している。
The
フィルムスキャナ21は、写真フィルム2aに現像された撮影コマ画像をデジタル画像データとして取り込む。
The
メディアリーダ22は、本写真プリントシステム1のコントローラとして機能するパソコンPCに搭載されており、デジタルカメラ等で撮影された画像のデジタルデータをメモリカード2bや各種半導体メモリ、CD−R等のメディアから取り込む。
The
パソコンPCは、モニタ23、キーボード24、マウス25、CD−Rドライブ26と接続されている。
The personal computer PC is connected to a
モニタ23は、画像処理を行う撮影コマ画像の選択や、選択した撮影コマ画像に対する画像処理の種類、あるいは後述する画像データの圧縮率等を表示する。ユーザは、モニタ23に表示された画像を見ながら、キーボード24、マウス25等のポインティングデバイスを用いて画像処理等の各種設定を行う。
The
CD−Rドライブ26は、本発明の一実施形態に係るバッファ基板31に搭載されており、補正、圧縮処理された画像データをJPEG方式で圧縮してCD−Rに書き込んで保存する。なお、このCD−Rドライブ26においてバッファ基板31によって実行されるJPEG圧縮処理については、後段にて詳述する。
The CD-
また、パソコンPCは、ROM、RAM、HDD等の内蔵メモリを有している。ここで、キーボード24やマウス25を介してユーザによって入力された指示に従って、内蔵メモリに記憶された画像処理プログラムがCPUによって読み込まれる。これにより、フィルムスキャナ21やメディアリーダ22等から取り込まれた画像データに対して画像処理を行うために必要な機能が実行される。
The personal computer PC has a built-in memory such as a ROM, a RAM, and an HDD. Here, the CPU reads the image processing program stored in the built-in memory in accordance with an instruction input by the user via the
プリントステーション3は、操作ステーション2から受信したプリントデータに基づいて、印画紙Pに対して露光処理および現像処理を行って写真プリント画像を形成する。
The
[写真プリントシステム1における画像データの流れ]
本実施形態の写真プリントシステム1においては、フィルムスキャナ21やメディアリーダ22によって取得された画像データは、図2に示すような流れで送信される。
[Flow of Image Data in Photo Print System 1]
In the photo print system 1 of the present embodiment, the image data acquired by the
すなわち、フィルムスキャナ21やメディアリーダ22から入力された画像データは、図2に示すように、プリントステーション3が搭載している画像補正基板30においてトリミングや色補正等の補正処理を施された後、プリントステーション3およびCD−Rドライブ26に対して送られる。
That is, the image data input from the
プリントステーション3へ送られた画像データは、画像補正基板30において補正処理された内容を反映させて印画紙Pにプリントされ、写真プリントとして出力される。
The image data sent to the
一方、CD−Rドライブ26へ送られた画像データは、CD−Rドライブ26が搭載しているバッファ基板31において圧縮処理され、JPEG方式の画像フォーマットに変換される。バッファ基板31は、図3に示すように、入力メモリ(画像入力部)31a、画像データ変換部31b、出力メモリ(記憶部)31c、データコントローラ(圧縮率再設定部、表示制御部)31dを有している。本実施形態では、入力メモリ31aとしては192MB、出力メモリ31cとしては24MBの記憶容量のメモリを用いている。
On the other hand, the image data sent to the CD-
バッファ基板31に送られた画像データは、まず、入力メモリ31aに一時的に格納される。そして、入力メモリ31aに格納された画像データは、画像データ変換部31bにおいてJPEG方式で圧縮される。なお、このとき圧縮される画像データは、操作ステーション2のPCにおいてユーザによって設定入力された圧縮率によって処理される。例えば、スーパーファイン、ファイン、ノーマルの3段階の中から所望の画質をユーザが選択することで、各画質モードに対応する3段階の圧縮率を決定することもできる。そして、操作ステーション2のPCにおいて予め設定された圧縮率によって画像データ変換部31bが画像データを圧縮処理し、圧縮後の画像データが出力メモリ31cに一時的に格納された後、CD−Rへの書き込みが行われる。
The image data sent to the
ここで、操作ステーション2のPCにおいてユーザによって予め設定された圧縮率は、ユーザの希望する画質によって変化するものであるが、大抵の場合には画質が最も良いスーパーファイン、あるいはファインが選択されるために圧縮率は比較的大きな値(圧縮の程度が小さい値)となる。このため、入力メモリ31aに入力される圧縮前の画像データの容量によっては、予め設定された圧縮率では圧縮後の画像データの容量が出力メモリ31cの記憶容量(あるいは空き容量)に対して大き過ぎて出力メモリ31cに格納できない場合がある。
Here, the compression rate preset by the user in the PC of the
本実施形態の写真プリントシステム1では、このような予め設定された圧縮率で圧縮した画像データが出力メモリ31cに格納できない場合には、データコントローラ31dにおいて出力メモリ31cの記憶容量と画像データの容量とを比較して、出力メモリ31cに格納できる最大の大きさ画像データになるように新たな圧縮率を算出する。例えば、入力メモリ31aに格納された画像データの容量が80MBの場合には、出力メモリ31cの記憶容量が24MBであるから、格納できる最大の大きさで画像データを圧縮することができるように、新たな圧縮率は30%と算出される。そして、ここで算出された新たな圧縮率によって再度入力メモリ31aに格納されている画像データを圧縮し、圧縮後の画像データを出力メモリ31cで一時的に格納する。これにより、出力メモリ31cに入る最大容量の画像データとして圧縮率を決定することができるため、画質低下を最大限抑制した画像データをCD−Rに書き込むことができる。
In the photo print system 1 of the present embodiment, when image data compressed at such a preset compression rate cannot be stored in the
また、ここでデータコントローラ31dにおいて算出された圧縮率は、モニタ23において表示される。このため、ユーザは自らが設定した圧縮率では出力メモリ31cに格納できなかったこと、および圧縮率がどの程度まで下げられた状態でCD−Rに書き込まれたのかを容易に確認することができる。
Further, the compression ratio calculated here by the
[写真プリントシステム1による画像データ圧縮処理]
本実施形態の写真プリントシステム1では、図4に示すフローチャートに従って画像データの圧縮処理が行われる。
[Image data compression processing by the photo print system 1]
In the photo print system 1 of the present embodiment, image data compression processing is performed according to the flowchart shown in FIG.
ステップS1においては、フィルムスキャナ21やメディアリーダ22によって画像データが取得され、ステップS2において、PCの画像補正基板30において画像データに対して補正処理が施される。ここで、補正処理された画像データは、プリントステーション3へ送られる(ステップS9)とともに、CD−Rドライブ26に対しても送信される(ステップS3)。ここで、プリントステーション3に対して送信された画像データは、ステップS10において写真プリントされる。
In step S1, image data is acquired by the
一方、ステップS3においてCD−Rドライブ26に対して画像データが送信されると、ステップS4において、CD−Rドライブ26に搭載されているバッファ基板31の入力メモリ31aに画像データが一時的に格納される。
On the other hand, when image data is transmitted to the CD-
ステップS5においては、入力メモリ31aに格納された画像データを、画像データ変換部31bにおいてJPEG圧縮する。
In step S5, the image data stored in the
ステップS6においては、バッファ基板31のデータコントローラ31dが、圧縮された画像データの容量と出力メモリ31cの記憶容量とを比較して出力メモリ31cに格納できるか否かを判定する。ここで、格納できると判定された場合には、ステップS7へ進み、圧縮された画像データは、出力メモリ31cにおいて一時的に格納されたのち、ステップS8においてCD−Rドライブ26によってCD−Rへ書き込まれる。
In step S6, the
一方、出力メモリ31cの記憶容量よりも圧縮後の画像データの容量の方が大きくて格納できない場合には、ステップS11においてデータコントローラ31dが新たな圧縮率を算出する。このとき、データコントローラ31dによって算出される新たな圧縮率は、出力メモリ31cの記憶容量と圧縮される画像データの容量とに基づいて、できる限り高画質を保てるように、出力メモリ31cの記憶容量との関係において最大の圧縮率が算出される。
On the other hand, if the compressed image data capacity is larger than the storage capacity of the
ステップS12においては、画像データ変換部31bがデータコントローラ31dによって算出された新たな圧縮率によって再度圧縮処理を行い、ステップS13において圧縮後の画像データが出力メモリ31cに一時的に格納され、ステップS14においてCD−Rドライブ26によってCD−Rへ書き込まれる。
In step S12, the
なお、ステップS11において新たな圧縮率が算出された場合には、モニタ23にその新たな圧縮率が表示される。このため、ユーザは自身が設定した圧縮率では圧縮の程度が小さすぎて出力メモリ31cに格納できなかったこと、および自動的に算出された新たな圧縮率がどの程度の圧縮率であるのかを容易に認識することができる。
When a new compression rate is calculated in step S11, the new compression rate is displayed on the
[画像データが分割されて入力された場合の圧縮処理]
ここでは、CD−Rドライブ26に対して入力される画像データが、画像補正基板30から分割された状態で送られてくる場合の圧縮処理について、図5に示すフローチャートを用いて説明すれば以下の通りである。
[Compression when image data is divided and input]
Here, the compression processing when image data input to the CD-
例えば、画像サイズが大きい画像データや、大きいサイズの写真フィルム(2B版等)をフィルムスキャナ21によって取得された画像データは、容量が非常に大きくなるため所定の容量ごとに分割されて各装置間で送受信されることがある。
For example, image data having a large image size or image data obtained by a
本実施形態のバッファ基板31では、ステップS21においてこのような分割画像データを取得した場合には、ステップS22において入力された分割画像データごとに補正処理を行う。ここで補正処理された分割画像データは、プリントステーション3へ送られるとともに(ステップS29)、CD−Rドライブ26に対しても送られる(ステップS23)。プリントステーション3に送られた分割画像データは、ステップS30において順次印画紙Pにプリントされて出力される。
In the
一方、CD−Rドライブ26に対して送られた分割画像データは、ステップS24において受信した順に入力メモリ31aに一時的に格納されていく。そして、ステップS25において、画像データ変換部31bが分割画像データごとにJPEG圧縮する。JPEG圧縮された分割画像データは、ステップS26において、順次出力メモリ31cへと送られ、出力メモリ31cにおいて受け取った順に圧縮後の分割画像データが合成されて1枚の画像となる。
On the other hand, the divided image data sent to the CD-
次に、ステップS27において、データコントローラ31dが、圧縮後の分割画像データを1つずつ出力メモリ31cへ送っていった結果、全ての分割画像データを出力メモリ31cに格納できるか否かの判定を行う。ここで全ての分割画像データが出力メモリ31cに格納できる容量である場合には、そのまま出力メモリ31cにおいて1枚の画像が合成され、1枚の画像に相当するJPEG圧縮された画像データとしてCD−Rへの書き込みが行われる。
Next, in step S27, as a result of the
一方、出力メモリ31cが全ての圧縮された分割画像データを格納することができない場合には、ステップS31において、入力メモリ31aに一時的に格納されている圧縮前の分割画像データの合計容量と出力メモリ31cの記憶容量とに基づいて、データコントローラ31dが新たな圧縮率を算出する。そして、ステップS32において、算出された新たな圧縮率によって分割画像データが最初から再度圧縮され、ステップS33において圧縮後の分割画像データが出力メモリ31cに順次格納されるとともに、受け取った順に圧縮後の分割画像データが合成されて1枚の画像となる。そして、ステップS34において、1枚の画像に相当する画像データがCD−Rへ書き込まれる。
On the other hand, if the
なお、新たな圧縮率が算出された場合には、上記1つの画像データの場合と同様に、モニタ23にその新たな圧縮率が表示されるため、上記と同様の効果を得ることができる。
When a new compression rate is calculated, the new compression rate is displayed on the
[写真プリントシステム1の特徴]
(1)
本実施形態の写真プリントシステム1では、補正処理された画像データをJPEG圧縮するバッファ基板31を備えている。バッファ基板31は、入力メモリ31a、画像データ変換部31b、出力メモリ31cおよびデータコントローラ31dを有している。そして、バッファ基板31に送られた画像データは、入力メモリ31aに一時的に格納された後、予め設定された圧縮率によって画像データ変換部31bにおいてJPEG圧縮される。JPEG圧縮された画像データは、出力メモリ31cに格納される。ここで、出力メモリ31cの記憶容量よりも圧縮後の画像データの容量の方が大きい場合には、データコントローラ31dが、出力メモリ31cに格納できる最大の画像データになるように新たな圧縮率を算出する。
[Features of Photo Print System 1]
(1)
The photo print system 1 according to the present embodiment includes a
これにより、予め複数段階ごとに設定された圧縮率の中から新たな圧縮率を選択して出力メモリ31cに格納できる大きさに圧縮する従来の基板と比較して、出力メモリ31cの記憶容量に応じて可能な限り大きい画像データになるように圧縮することができるため、新たに圧縮率を再設定した際の圧縮後の画像の画質低下を最小限に抑制することが可能になる。
As a result, the storage capacity of the
(2)
本実施形態の写真プリントシステム1では、例えば、画像サイズの大きな画像データが所定のサイズごとに分割されて送られてきた場合には、出力メモリ31cに圧縮された分割画像データを順次送っていき、格納できないことがわかった段階で、データコントローラ31dが、新たな圧縮率を算出する。そして、入力メモリ31aに格納されている分割画像データの全てを新たな圧縮率によって圧縮して出力メモリ31cに格納する。
(2)
In the photo print system 1 of the present embodiment, for example, when image data having a large image size is divided and sent for each predetermined size, the compressed divided image data is sequentially sent to the
これにより、画像サイズが大きい画像データが分割されて送られてきた場合でも、圧縮後に1つの画像データにまとめられた状態での容量と出力メモリ31cの記憶容量とを比較して格納できないと判定すると、データコントローラ31dによって新たな圧縮率が算出される。この結果、分割画像データを圧縮後にまとめて1つの画像データとする場合でも、できる限り高画質の画像になるように出力メモリ31cの記憶容量との関係で最大の圧縮率を新たな圧縮率として算出することができるため、画質の低下を最小限に抑えることができる。
As a result, even when image data having a large image size is divided and sent, it is determined that the capacity in a state where the image data is combined into one image data after compression and the storage capacity of the
(3)
本実施形態の写真プリントシステム1では、データコントローラ31dによって新たに算出された圧縮率をモニタ23に表示する。
(3)
In the photo print system 1 of this embodiment, the compression rate newly calculated by the
これにより、ユーザは自身で設定した圧縮率では圧縮後の画像データの容量が大き過ぎて不具合があったこと、および出力メモリ31cの記憶容量に応じて新たに算出された圧縮率がどの程度変更されているか等の情報を、容易に確認することができる。
As a result, the user has a problem that the compression rate of the image data after compression is too large at the compression rate set by himself, and how much the compression rate newly calculated according to the storage capacity of the
[他の実施形態]
以上、本発明の一実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、発明の要旨を逸脱しない範囲で種々の変更が可能である。
[Other Embodiments]
As mentioned above, although one Embodiment of this invention was described, this invention is not limited to the said embodiment, A various change is possible in the range which does not deviate from the summary of invention.
(A)
上記実施形態では、出力メモリ31cの記憶容量と圧縮後の画像データの容量とに基づいて新たな圧縮率を算出して、この新たな圧縮率を用いて再度圧縮処理を行う例を挙げて説明した。しかし、本発明はこれに限定されるものではない。
(A)
In the above embodiment, an example in which a new compression ratio is calculated based on the storage capacity of the
例えば、図4のフローチャートにおけるステップS11以降の処理を、図6の示すフローチャートに従って行ってもよい。具体的には、ステップS11において新たな圧縮率を算出後、ステップS11aにおいて、算出された新たな圧縮率が予め設定された圧縮率の下限値を下回っていないか否かの判定が行われる。ここで、下回っていない場合には、そのままステップS12へ進む。一方、所定の下限値を下回っている場合には、新たな圧縮率で圧縮処理された画像データでは相当に画質が低下していると予想されるため、圧縮処理は行わずに、ステップS11bにおいてモニタ23に警告画面を表示する。モニタ23に表示される警告画面の内容としては、圧縮率が下限値を下回っているため画質の大幅な低下が予想されることや、取得された画像データの画像サイズを落としての処理を促すような内容が考えられる。これにより、圧縮後の画像データの容量と出力メモリ31cの記憶容量との関係で自動的に算出される新たな圧縮率があまりにも小さすぎる場合には、そのまま圧縮処理が実行されて、ユーザが希望しない低画質の画像データがCD−R等に書き込まれることを防止することができる。
For example, the processing after step S11 in the flowchart of FIG. 4 may be performed according to the flowchart shown in FIG. Specifically, after calculating a new compression rate in step S11, in step S11a, it is determined whether or not the calculated new compression rate is below a preset lower limit of the compression rate. Here, if not lower, the process proceeds to step S12 as it is. On the other hand, if the value is below the predetermined lower limit value, it is expected that the image quality of the image data compressed at the new compression rate is considerably reduced. A warning screen is displayed on the
(B)
上記実施形態では、出力メモリ31cへの格納の可否を実際に圧縮後の画像データを入れてみて判断する例を挙げて説明した。しかし、新たな圧縮率の算出タイミングについて、本発明はこれに限定されるものではない。
(B)
In the above-described embodiment, an example in which whether or not the image data can be stored in the
例えば、入力メモリ31aに一時的に格納された画像データの容量と、予め設定されている圧縮率と、出力メモリ31cの記憶容量とに基づいて、実際に圧縮処理を行う前の段階において、圧縮後の画像データが出力メモリ31cに格納できない場合にはその時点で新たな圧縮率を算出してもよい。この場合には、実際に圧縮処理を行う前に新たな圧縮率の算出の要否が確認できるため、無駄な圧縮処理を行う必要がなくなり、処理効率の向上が図れる。
For example, based on the capacity of the image data temporarily stored in the
(C)
上記実施形態では、CD−Rドライブ26に搭載されたバッファ基板31に対して本発明を適用した例を挙げて説明した。しかし、本発明はこれに限定されるものではない。
(C)
In the above embodiment, an example in which the present invention is applied to the
例えば、基板としてではなく、コンピュータに上述した画像処理方法を実行させる画像処理プログラムに対して本発明を適用してもよい。 For example, the present invention may be applied to an image processing program that causes a computer to execute the above-described image processing method, not as a substrate.
(D)
上記実施形態では、入力メモリに記憶された画像データを圧縮する方式として、JPEG圧縮方式を採用した画像処理基板を例として挙げて説明した。しかし、本発明はこれに限定されるものではない。
(D)
In the above-described embodiment, the image processing board adopting the JPEG compression method has been described as an example as a method for compressing the image data stored in the input memory. However, the present invention is not limited to this.
例えば、MR(Modified Read)、MH(Modified Huffman)、JBIG(Joint Bi-level Imaging Group),TIFF(Tagged Image File Format)等の他のデータ圧縮方式を採用した場合でも、上記と同様の効果を得ることができる。 For example, even when other data compression methods such as MR (Modified Read), MH (Modified Huffman), JBIG (Joint Bi-level Imaging Group), and TIFF (Tagged Image File Format) are adopted, the same effect as described above is obtained. Obtainable.
本発明の画像処理基板は、メモリに入る最大の大きさになるように画像データの圧縮率を算出して、必要以上に圧縮されて画質が低下してしまうことを防止できるという効果を奏することから、データを圧縮して格納するメモリを備えた各種基板に対して広く適用可能である。 The image processing board of the present invention has an effect of calculating the compression rate of the image data so as to be the maximum size that can be accommodated in the memory, and preventing the image quality from being deteriorated by being compressed more than necessary. Therefore, the present invention can be widely applied to various boards having a memory for compressing and storing data.
1 写真プリントシステム
2 操作ステーション
2a 写真フィルム
2b メディア
3 プリントステーション
4 ケーブル
21 フィルムスキャナ
22 メディアリーダ
23 モニタ(表示部)
24 キーボード
25 マウス
26 CD−Rドライブ
30 画像補正基板
31 バッファ基板(画像処理基板)
31a 入力メモリ(画像入力部)
31b 画像データ変換部
31c 出力メモリ(記憶部)
31d データコントローラ(圧縮率再設定部、表示制御部)
DESCRIPTION OF SYMBOLS 1
24
31a Input memory (image input unit)
31b Image
31d Data controller (compression rate resetting unit, display control unit)
Claims (5)
前記画像入力部に入力された前記画像データを予め設定された圧縮率で圧縮する画像データ変換部と、
前記画像データ変換部において圧縮された前記画像データを記憶する記憶部と、
前記画像データ変換部における圧縮後の前記画像データの容量と前記記憶部の記憶容量とを比較して、必要な場合には前記画像データの容量と前記記憶部の記憶容量とに基づいて前記画像データの新たな圧縮率を算出する圧縮率再設定部と、
を備えた画像処理基板。 An image input unit for inputting image data;
An image data conversion unit that compresses the image data input to the image input unit at a preset compression rate;
A storage unit for storing the image data compressed in the image data conversion unit;
The image data volume after compression in the image data converter is compared with the storage capacity of the storage unit, and if necessary, based on the image data capacity and the storage capacity of the storage unit A compression rate resetting unit for calculating a new compression rate of data;
An image processing board comprising:
前記記憶部では、前記画像データ変換部において圧縮された前記分割された画像データをまとめて1つの画像データが形成される、
請求項1に記載の画像処理基板。 The image input unit receives the divided image data,
In the storage unit, one piece of image data is formed by combining the divided image data compressed in the image data conversion unit.
The image processing board according to claim 1.
請求項1または2に記載の画像処理基板。 A display control unit for causing the display unit to display the compression rate of the image data calculated in the compression rate resetting unit;
The image processing substrate according to claim 1.
請求項1から3のいずれか1項に記載の画像処理基板。 In the compression rate resetting unit, a lower limit value of the calculated compression rate is set,
The image processing substrate according to claim 1.
前記第1のステップにおいて取得された前記画像データを予め設定された圧縮率で圧縮する第2のステップと、
前記圧縮後の画像データの容量と、画像処理基板に設けられた前記圧縮後の画像データを記憶する記憶部の記憶容量とを比較して、必要な場合には前記画像データの新たな圧縮率を、前記画像データの容量と前記記憶部の記憶容量とに基づいて算出する第3のステップと、
前記第3のステップにおいて算出された圧縮率によって前記画像データを圧縮して前記記憶部に記憶させる第4のステップと、
を備えた画像処理方法をコンピュータに実行させる画像処理プログラム。 A first step of acquiring image data;
A second step of compressing the image data acquired in the first step at a preset compression rate;
Comparing the volume of the compressed image data with the storage capacity of the storage unit for storing the compressed image data provided on the image processing board, and if necessary, a new compression rate of the image data A third step of calculating the image data based on the capacity of the image data and the storage capacity of the storage unit;
A fourth step of compressing the image data by the compression ratio calculated in the third step and storing the compressed image data in the storage unit;
An image processing program for causing a computer to execute an image processing method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004330117A JP2006140868A (en) | 2004-11-15 | 2004-11-15 | Image processing board and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004330117A JP2006140868A (en) | 2004-11-15 | 2004-11-15 | Image processing board and image processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006140868A true JP2006140868A (en) | 2006-06-01 |
Family
ID=36621337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004330117A Pending JP2006140868A (en) | 2004-11-15 | 2004-11-15 | Image processing board and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006140868A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009182424A (en) * | 2008-01-29 | 2009-08-13 | Seiko Epson Corp | Image processing device and method for image processing |
US20090244651A1 (en) * | 2008-03-27 | 2009-10-01 | Nec Access Technica, Ltd. | Image combining device and image combining method |
-
2004
- 2004-11-15 JP JP2004330117A patent/JP2006140868A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009182424A (en) * | 2008-01-29 | 2009-08-13 | Seiko Epson Corp | Image processing device and method for image processing |
JP4697234B2 (en) * | 2008-01-29 | 2011-06-08 | セイコーエプソン株式会社 | Image processing apparatus and image processing method |
US8295616B2 (en) | 2008-01-29 | 2012-10-23 | Seiko Epson Corporation | Image processing device and method for image processing |
US20090244651A1 (en) * | 2008-03-27 | 2009-10-01 | Nec Access Technica, Ltd. | Image combining device and image combining method |
JP2009239688A (en) * | 2008-03-27 | 2009-10-15 | Nec Access Technica Ltd | Image synthesizing device |
US8760735B2 (en) | 2008-03-27 | 2014-06-24 | Nec Accesstechnica, Ltd. | Image combining device and image combining method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7706011B2 (en) | Image sensing apparatus and control method therefor | |
US8982390B2 (en) | Image forming apparatus, image printing system, image combining and outputting method, and computer product | |
JP4241228B2 (en) | Imaging device | |
KR20080081309A (en) | Image file providing raw and processed data | |
JP4998312B2 (en) | Image processing apparatus, imaging apparatus, and image processing method | |
JP2006325186A (en) | Image processing apparatus | |
JPH11282446A (en) | Image processing method and recording medium | |
JP2006140868A (en) | Image processing board and image processing program | |
JP2003224793A (en) | Print system | |
JP2005236496A (en) | Image recording display system | |
JP4854344B2 (en) | Image processing apparatus and image processing method | |
JP2006025213A (en) | Photographing device, its control method, and program therefor | |
JP2004253909A (en) | Image processing method | |
JP4983392B2 (en) | Imaging apparatus, program, editing system, and editing method | |
JP2008177838A (en) | Digital camera and image processor, and image control program | |
JP2007081478A (en) | Printing system, imaging apparatus and control method thereof, printer, program and storage medium | |
JP2006101459A (en) | Image transfer device and program | |
JP2007049632A (en) | Digital camera | |
JP2007094973A (en) | Print processing system | |
JP4232360B2 (en) | Image file generation device, image processing device, and image file editing device | |
JP4752894B2 (en) | Image editing apparatus and recording medium | |
JP2004040204A (en) | Image reproducing apparatus | |
JP4807399B2 (en) | Image file generation apparatus and image file generation method | |
JP2007094958A (en) | Print processing system | |
JP2009303232A (en) | Image processor, printer and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071010 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090825 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091016 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20091110 |