JP2009077431A - Image processing apparatus, and image processing method - Google Patents

Image processing apparatus, and image processing method Download PDF

Info

Publication number
JP2009077431A
JP2009077431A JP2008309456A JP2008309456A JP2009077431A JP 2009077431 A JP2009077431 A JP 2009077431A JP 2008309456 A JP2008309456 A JP 2008309456A JP 2008309456 A JP2008309456 A JP 2008309456A JP 2009077431 A JP2009077431 A JP 2009077431A
Authority
JP
Japan
Prior art keywords
image data
color space
feature amount
image
standard
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
JP2008309456A
Other languages
Japanese (ja)
Inventor
Yasuhisa Hayaishi
育央 早石
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 JP2008309456A priority Critical patent/JP2009077431A/en
Publication of JP2009077431A publication Critical patent/JP2009077431A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To uniformly deal with a feature amount of an image regardless of a difference in a color space. <P>SOLUTION: Image data and color space conversion information are received, and a color space of the image data is converted into a standard color space, wherein the color space conversion information is information for converting the color space of the image data into the standard color space and the standard color space is a color space preset as a standard. Next, the image data in the standard color space are analyzed to extract a prescribed feature amount from images. Otherwise, the feature amount may also be extracted first and then converted into a feature amount of the standard color space in accordance with the color space conversion information. Thus, since the feature amount of the standard color space can be extracted regardless of the color space of the image data, it becomes possible to uniformly deal with various image data on the basis of the feature amount. As a result, processing for correcting or retrieving image data on the basis of the feature amount, for example, can be appropriately and easily performed. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像データを解析して画像の特徴量を抽出する技術に関する。   The present invention relates to a technique for analyzing image data and extracting a feature amount of an image.

コンピュータを初めとするデジタル技術に進歩により、今日では、画像が、デジタル化
された画像データとして取り扱われることが多くなってきた。画像が画像データの形態で
表現されていれば、画像をコンピュータに取り込んで各種の補正を加えたり、画像データ
を印刷装置に出力して印刷することが可能となる。このような画像データは、コンピュー
タ上で稼働する各種のアプリケーションプログラムを用いて生成することも可能であるが
、スキャナやデジタルカメラなど、画像データを生成する各種の画像機器が開発されて、
市場に供給されている。
Due to advances in digital technology such as computers, today, images are often handled as digitized image data. If the image is expressed in the form of image data, the image can be taken into a computer and various corrections can be made, or the image data can be output to a printing apparatus for printing. Such image data can be generated using various application programs running on a computer, but various image devices that generate image data such as scanners and digital cameras have been developed.
Supplied to the market.

また、画像データに補正を加えるに際しては、画像データを解析して画像の特徴量を抽
出し、抽出した特徴量に応じた補正を行うことが行われている(例えば、特許文献1、特
許文献2など)。画像の特徴量としては、例えば、最小階調値、最大階調値、階調値の平
均値など、種々の値が用いられる。こうした画像の特徴量は、画像データを解析すること
によって得られるため、得られる特徴量の数値は、画像データの色空間に依存した数値と
なる。
In addition, when correcting image data, it is performed to analyze the image data, extract the feature amount of the image, and perform correction according to the extracted feature amount (for example, Patent Document 1, Patent Document). 2). As the image feature amount, for example, various values such as a minimum gradation value, a maximum gradation value, and an average value of gradation values are used. Since the image feature amount is obtained by analyzing the image data, the obtained feature amount value depends on the color space of the image data.

特開平5−63972号公報JP-A-5-63972 特開平9−233336号公報JP 9-233336 A

しかし、近年では、画像データを生成する各種画像機器の性能を十分に活用して、高画
質な画像データを生成可能とするために、画像機器の特性に合わせて設定された機器毎に
固有の色空間が用いられる傾向にある。画像の特徴量は画像データを解析することによっ
て得られるから、画像データが機器に固有の色空間で記述されていると、得られる特徴量
の数値も異なったものとなるので、特徴量を抽出しても、種々の画像データ間で横断的な
活用ができないという問題がある。
However, in recent years, in order to make it possible to generate high-quality image data by making full use of the performance of various image devices that generate image data, it is unique to each device set according to the characteristics of the image device. Color space tends to be used. Since image feature values can be obtained by analyzing image data, if the image data is described in a color space specific to the device, the obtained feature value values will also be different, so the feature values are extracted. However, there is a problem in that it cannot be used across various image data.

この発明は、従来の技術における上述した課題を解決するためになされたものであり、
異なる色空間で記述された画像データであっても、特徴量を横断的に活用可能な状態で抽
出する技術の提供を目的とする。
The present invention has been made to solve the above-described problems in the prior art,
An object of the present invention is to provide a technique for extracting feature data in a state where it can be used across a cross-section even for image data described in different color spaces.

上述した課題の少なくとも一部を解決するために、本発明の第1の画像データ解析装置
は次の構成を採用した。すなわち、画像データに対して所定の画像解析を行うことで、該
画像データが表す画像から所定の特徴量を抽出する画像データ解析装置であって、前記特
徴量を抽出しようとする画像の画像データを受け取る画像データ受取手段と、前記受け取
った画像データを、予め標準として設定された色空間たる標準色空間の画像データに変換
するための色空間変換情報を取得する色空間変換情報取得手段と、前記受け取った画像デ
ータを、前記色空間変換情報に基づいて、前記標準色空間の画像データに変換する画像デ
ータ変換手段と、前記標準色空間に変換された画像データを解析することにより、前記所
定の特徴量を抽出する特徴量抽出手段とを備えることを要旨とする。
In order to solve at least a part of the problems described above, the first image data analysis apparatus of the present invention employs the following configuration. That is, an image data analysis apparatus that extracts a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data, and the image data of the image to be extracted A color space conversion information acquisition unit for acquiring color space conversion information for converting the received image data into image data of a standard color space which is a color space set in advance as a standard; The received image data is converted into image data in the standard color space based on the color space conversion information, and the predetermined data by analyzing the image data converted into the standard color space. And a feature amount extracting means for extracting the feature amount.

また、上記の画像データ解析装置に対応する本発明の第1の画像データ解析方法は、画
像データに対して所定の画像解析を行うことで、該画像データが表す画像から所定の特徴
量を抽出する画像データ解析方法であって、前記特徴量を抽出しようとする画像の画像デ
ータを受け取る第1の工程と、前記受け取った画像データを、予め標準として設定された
色空間たる標準色空間の画像データに変換するための色空間変換情報を取得する第2の工
程と、前記受け取った画像データを、前記色空間変換情報に基づいて、前記標準色空間の
画像データに変換する第3の工程と、前記標準色空間に変換された画像データを解析する
ことにより、前記所定の特徴量を抽出する第4の工程とを備えることを要旨とする。
The first image data analysis method of the present invention corresponding to the above image data analysis apparatus extracts a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data. A first step of receiving image data of an image from which the feature amount is to be extracted, and an image of a standard color space that is a color space set as a standard in advance. A second step of acquiring color space conversion information for conversion into data, and a third step of converting the received image data into image data of the standard color space based on the color space conversion information; And a fourth step of extracting the predetermined feature amount by analyzing the image data converted into the standard color space.

かかる本発明の第1の画像データ解析装置および第1の画像データ解析方法においては
、画像データおよび色空間変換情報を受け取ると、色空間変換情報に基づいて、画像デー
タを予め標準として設定された色空間たる標準色空間の画像データに変換する。ここで、
色空間変換情報とは、画像データの色空間のデータを、標準色空間のデータに変換するた
めの情報であり、変換式あるいは変換マトリックスなどの種々の形態を取ることができる
。また、標準色空間としては、十分に広い色域を有し且つ標準的に広く使用されている色
空間であれば、どのような色空間を用いることもできる。次いで、標準色空間に変換され
た画像データを解析することにより、所定の特徴量を画像から抽出する。
In the first image data analysis apparatus and the first image data analysis method of the present invention, when the image data and the color space conversion information are received, the image data is preset as a standard based on the color space conversion information. The image data is converted into image data in a standard color space as a color space. here,
The color space conversion information is information for converting color space data of image data into standard color space data, and can take various forms such as a conversion formula or a conversion matrix. As the standard color space, any color space can be used as long as it has a sufficiently wide color gamut and is widely used as a standard. Next, a predetermined feature amount is extracted from the image by analyzing the image data converted into the standard color space.

こうすれば、画像データがどのような色空間で記述されている場合でも、標準色空間の
特徴量を抽出することができる。このため、画像データを記述している色空間の違いを超
えて、多数の画像データを特徴量に基づいて統一的に取り扱うことができるので、例えば
、特徴量に基づいて画像データを補正する処理や、あるいは画像データを検索する処理な
どを、適切に且つ容易に行うことが可能となる。
In this way, the feature quantity of the standard color space can be extracted regardless of the color space in which the image data is described. For this reason, since a large number of image data can be handled in a unified manner based on the feature amount beyond the difference in the color space describing the image data, for example, a process for correcting the image data based on the feature amount Alternatively, it is possible to appropriately and easily perform processing for retrieving image data.

また、前述した課題の少なくとも一部を解決するために、本発明の第2の画像データ解
析装置は次の構成を採用した。すなわち、画像データに対して所定の画像解析を行うこと
で、該画像データが表す画像から所定の特徴量を抽出する画像データ解析装置であって、
前記特徴量を抽出しようとする画像の画像データを受け取る画像データ受取手段と、前記
画像データが記述された色空間のデータを、予め標準として設定された色空間たる標準色
空間のデータに変換するための色空間変換情報を取得する色空間変換情報取得手段と、前
記受け取った画像データを解析することにより、前記所定の特徴量を抽出する特徴量抽出
手段と、前記抽出した特徴量を前記色空間変換情報に基づいて変換することにより、前記
標準色空間での特徴量に変換する特徴量変換手段とを備えることを特徴とする。
In order to solve at least a part of the problems described above, the second image data analysis apparatus of the present invention employs the following configuration. That is, an image data analysis apparatus that extracts a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data,
Image data receiving means for receiving image data of an image from which the feature amount is to be extracted, and data in a color space in which the image data is described are converted into data in a standard color space which is a color space set as a standard in advance. A color space conversion information acquisition unit that acquires color space conversion information for the image data; a feature amount extraction unit that extracts the predetermined feature amount by analyzing the received image data; and It is characterized by comprising a feature value conversion means for converting into a feature value in the standard color space by converting based on the space conversion information.

また、上記の画像データ解析装置に対応する本発明の第2の画像データ解析方法は、画
像データに対して所定の画像解析を行うことで、該画像データが表す画像から所定の特徴
量を抽出する画像データ解析方法であって、前記特徴量を抽出しようとする画像の画像デ
ータを受け取る工程(A)と、前記画像データが記述された色空間のデータを、予め標準
として設定された色空間たる標準色空間のデータに変換するための色空間変換情報を取得
する工程(B)と、前記受け取った画像データを解析することにより、前記所定の特徴量
を抽出する工程(C)と、前記抽出した特徴量を前記色空間変換情報に基づいて変換する
ことにより、前記標準色空間での特徴量に変換する工程(D)とを備えることを要旨とす
る。
The second image data analysis method of the present invention corresponding to the above-described image data analysis apparatus extracts a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data. A method (A) of receiving image data of an image from which the feature amount is to be extracted, and a color space in which a color space in which the image data is described is set in advance as a standard A step (B) for obtaining color space conversion information for conversion into data of a standard color space, a step (C) for extracting the predetermined feature amount by analyzing the received image data, The gist of the present invention is to provide a step (D) of converting the extracted feature quantity based on the color space conversion information into a feature quantity in the standard color space.

かかる本発明の第2の画像データ解析装置および第2の画像データ解析方法においては
、画像データおよび色空間変換情報を受け取ると、初めに画像データを解析して、画像の
特徴量を抽出する。次いで、抽出した特徴量を、色空間変換情報に基づいて標準色空間の
特徴量に変換する。
In the second image data analysis apparatus and the second image data analysis method of the present invention, when image data and color space conversion information are received, the image data is first analyzed to extract image feature amounts. Next, the extracted feature amount is converted into a feature amount of the standard color space based on the color space conversion information.

このようにしても、画像データの色空間に関わらず、標準色空間の特徴量を抽出するこ
とができるので、多数の画像データを特徴量に基づいて統一的に取り扱うことが可能とな
り、特徴量に基づいて画像データを補正する処理や、あるいは画像データを検索する処理
などを、適切に且つ容易に行うことが可能となる。
Even in this way, the feature quantity in the standard color space can be extracted regardless of the color space of the image data, so that a large number of image data can be handled in a unified manner based on the feature quantity. Thus, it is possible to appropriately and easily perform processing for correcting image data based on the above, processing for searching for image data, and the like.

また、上述した第1の画像データ解析装置あるいは第2の画像データ解析装置において
は、標準色空間として、いわゆる測色色空間を設定しておき、画像データの色空間を測色
色空間に変換するための情報を、色空間変換情報として取得することとしてもよい。
In the first image data analysis device or the second image data analysis device described above, a so-called colorimetric color space is set as the standard color space, and the color space of the image data is converted to the colorimetric color space. This information may be acquired as color space conversion information.

L*a*b*色空間を初めとする測色色空間は、原理的には無限の広さの色域を有し、
且つ、標準的な色区間として広く使用されているため、標準色空間として測色色空間を設
定しておけば、抽出した特徴量を、より広く利用することが可能となるので好適である。
The colorimetric color space including the L * a * b * color space has an infinitely wide color gamut in principle.
In addition, since it is widely used as a standard color section, it is preferable to set a colorimetric color space as a standard color space because the extracted feature amount can be used more widely.

また、上述した本発明の画像データ解析装置および画像データ解析方法は、抽出された
特徴量を画像データにメタデータとして付加することで、メタ画像データを生成する形態
として把握することも可能である。すなわち、上述した第1の画像データ解析装置に対応
する本発明の第1のメタ画像データ生成装置は、画像を表す画像データに、該画像につい
ての情報を示すメタデータを付加することにより、メタデータを伴う画像データたるメタ
画像データを生成するメタ画像データ生成装置であって、前記画像データを受け取る画像
データ受取手段と、前記受け取った画像データを、予め標準として設定された色空間たる
標準色空間の画像データに変換するための色空間変換情報を取得する色空間変換情報取得
手段と、前記受け取った画像データを、前記色空間変換情報に基づいて、前記標準色空間
の画像データに変換する画像データ変換手段と、前記標準色空間に変換された画像データ
を解析することにより、前記所定の特徴量を抽出する特徴量抽出手段と、前記抽出した特
徴量を、前記受け取った画像データに前記メタデータとして付加することにより、前記メ
タ画像データを生成するメタデータ付加手段とを備えることを要旨とする。
Further, the above-described image data analysis apparatus and image data analysis method of the present invention can be grasped as a form of generating meta image data by adding the extracted feature amount to the image data as metadata. . That is, the first meta image data generation device of the present invention corresponding to the first image data analysis device described above adds meta data indicating information about the image to the image data representing the image, thereby adding the meta data. A meta image data generating device for generating meta image data as image data accompanied by data, wherein the image data receiving means receives the image data, and the received image data is a standard color as a color space set as a standard in advance. Color space conversion information acquisition means for acquiring color space conversion information for conversion to space image data, and the received image data is converted to image data of the standard color space based on the color space conversion information. Feature data extraction means for extracting the predetermined feature data by analyzing the image data converted into the standard color space And stage, a feature quantity the extracted, by adding as the metadata to the image data received above and summarized in that and a metadata adding unit which generates the meta image data.

また、上記のメタ画像データ生成装置に対応する本発明の第1のメタ画像データ生成方
法は、画像を表す画像データに、該画像についての情報を示すメタデータを付加すること
により、メタデータを伴う画像データたるメタ画像データを生成するメタ画像データ生成
方法であって、前記画像データを受け取る工程(1)と、前記受け取った画像データを、
予め標準として設定された色空間たる標準色空間の画像データに変換するための色空間変
換情報を取得する工程(2)と、前記受け取った画像データを、前記色空間変換情報に基
づいて、前記標準色空間の画像データに変換する工程(3)と、前記標準色空間に変換さ
れた画像データを解析することにより、前記所定の特徴量を抽出する工程(4)と、前記
抽出した特徴量を、前記受け取った画像データに前記メタデータとして付加することによ
り、前記メタ画像データを生成する工程(5)とを備えることを要旨とする。
The first meta image data generation method of the present invention corresponding to the above-described meta image data generation apparatus adds metadata indicating information about an image to image data representing the image, thereby adding the metadata. A meta image data generation method for generating meta image data as accompanying image data, the step (1) of receiving the image data, and the received image data,
Step (2) of acquiring color space conversion information for converting into image data of a standard color space which is a color space set as a standard in advance, and the received image data based on the color space conversion information A step (3) of converting the image data into a standard color space, a step (4) of extracting the predetermined feature amount by analyzing the image data converted into the standard color space, and the extracted feature amount. Is added to the received image data as the metadata, thereby generating the meta image data (5).

また、上述した第2の画像データ解析装置に対応する本発明の第2のメタ画像データ生
成装置は、画像を表す画像データに、該画像についての情報を示すメタデータを付加する
ことにより、メタデータを伴う画像データたるメタ画像データを生成するメタ画像データ
生成装置であって、前記画像データを受け取る画像データ受取手段と、前記画像データが
記述された色空間のデータを、予め標準として設定された色空間たる標準色空間のデータ
に変換するための色空間変換情報を取得する色空間変換情報取得手段と、前記受け取った
画像データを解析することにより、前記所定の特徴量を抽出する特徴量抽出手段と、前記
抽出した特徴量を前記色空間変換情報に基づいて変換することにより、前記標準色空間で
の特徴量に変換する特徴量変換手段と、前記変換された特徴量を、前記受け取った画像デ
ータに前記メタデータとして付加することにより、前記メタ画像データを生成するメタデ
ータ付加手段とを備えることを要旨とする。
In addition, the second meta image data generation device of the present invention corresponding to the second image data analysis device described above adds meta data indicating information about the image to the image data representing the image. A meta image data generating device for generating meta image data as image data accompanied by data, wherein image data receiving means for receiving the image data and data of a color space in which the image data is described are set in advance as a standard. A color space conversion information acquisition means for acquiring color space conversion information for conversion into data of a standard color space, which is a color space, and a feature amount for extracting the predetermined feature amount by analyzing the received image data An extraction unit; and a feature amount conversion for converting the extracted feature amount into a feature amount in the standard color space by converting the extracted feature amount based on the color space conversion information. And stage, the converted feature quantities by adding as the metadata to the image data received above and summarized in that and a metadata adding unit which generates the meta image data.

更に、上記のメタ画像データ生成装置に対応する本発明の第2のメタ画像データ生成方
法は、画像を表す画像データに、該画像についての情報を示すメタデータを付加すること
により、メタデータを伴う画像データたるメタ画像データを生成するメタ画像データ生成
方法であって、前記画像データを受け取る工程(ア)と、前記画像データが記述された色
空間のデータを、予め標準として設定された色空間たる標準色空間のデータに変換するた
めの色空間変換情報を取得する工程(イ)と、前記受け取った画像データを解析すること
により、前記所定の特徴量を抽出する工程(ウ)と、前記抽出した特徴量を前記色空間変
換情報に基づいて変換することにより、前記標準色空間での特徴量に変換する工程(エ)
と、前記変換された特徴量を、前記受け取った画像データに前記メタデータとして付加す
ることにより、前記メタ画像データを生成する工程(オ)とを備えることを要旨とする。
Furthermore, in the second meta image data generation method of the present invention corresponding to the above-described meta image data generation apparatus, metadata indicating information about the image is added to the image data representing the image, thereby adding the metadata. A meta image data generation method for generating meta image data as accompanying image data, the step (a) of receiving the image data, and a color space data in which the image data is described as a color set in advance as a standard A step (a) of obtaining color space conversion information for conversion into data of a standard color space which is a space, a step (c) of extracting the predetermined feature amount by analyzing the received image data, Converting the extracted feature quantity into a feature quantity in the standard color space by converting the extracted feature quantity based on the color space conversion information (D)
And a step (e) of generating the meta image data by adding the converted feature quantity as the metadata to the received image data.

これら本発明のメタ画像データ生成装置およびメタ画像データ生成方法によって生成さ
れたメタ画像データには、メタデータとして画像の特徴量が付加されており、しかもこの
特徴量は、予め標準として設定された色空間である標準色空間での特徴量となっている。
すなわち、画像データの色空間が異なっている場合でも、メタデータとして付加されてい
る特徴量は統一的に扱うことができるので、画像データを特徴量に基づいて補正する処理
や、あるいは特徴量に基づいて画像データを検索する処理など、特徴量を利用した種々の
処理を適切に且つ容易に行うことが可能となる。
The meta image data generated by the meta image data generating apparatus and the meta image data generating method of the present invention has an image feature amount added as metadata, and this feature amount is set in advance as a standard. It is a feature quantity in the standard color space that is a color space.
That is, even if the color space of the image data is different, the feature amount added as metadata can be handled in a unified manner, so that the processing for correcting the image data based on the feature amount or the feature amount It is possible to appropriately and easily perform various processes using the feature amount, such as a process of searching for image data based on the image data.

更に本発明は、上述した画像データ解析方法あるいは画像データ生成方法を実現するた
めのプログラムをコンピュータに読み込ませ、所定の機能を実行させることにより、コン
ピュータを用いて実現することも可能である。従って、本発明は次のようなプログラム、
あるいは該プログラムを記録した記録媒体としての態様も含んでいる。すなわち、上述し
た第1の画像データ解析方法に対応する本発明のプログラムは、画像データに対して所定
の画像解析を行うことで、該画像データが表す画像から所定の特徴量を抽出する方法を、
コンピュータを用いて実現するためのプログラムであって、前記特徴量を抽出しようとす
る画像の画像データを受け取る第1の機能と、前記受け取った画像データを、予め標準と
して設定された色空間たる標準色空間の画像データに変換するための色空間変換情報を取
得する第2の機能と、前記受け取った画像データを、前記色空間変換情報に基づいて、前
記標準色空間の画像データに変換する第3の機能と、前記標準色空間に変換された画像デ
ータを解析することにより、前記所定の特徴量を抽出する第4の機能とをコンピュータを
用いて実現することを要旨とする。
Furthermore, the present invention can also be realized using a computer by causing a computer to read a program for realizing the above-described image data analysis method or image data generation method and to execute a predetermined function. Accordingly, the present invention provides the following program,
Or the aspect as a recording medium which recorded this program is also included. That is, the program of the present invention corresponding to the first image data analysis method described above is a method for extracting a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data. ,
A program implemented using a computer, the first function for receiving image data of an image from which the feature amount is to be extracted, and a standard that is a color space in which the received image data is set in advance as a standard A second function for acquiring color space conversion information for conversion to image data in a color space; and a second function for converting the received image data into image data in the standard color space based on the color space conversion information. The gist of the present invention is to realize the third function and the fourth function for extracting the predetermined feature amount by analyzing the image data converted into the standard color space using a computer.

また、上記のプログラムに対応する本発明の記録媒体は、画像データに対して所定の画
像解析を行うことで、該画像データが表す画像から所定の特徴量を抽出するプログラムを
、コンピュータで読取可能に記録した記録媒体であって、前記特徴量を抽出しようとする
画像の画像データを受け取る第1の機能と、前記受け取った画像データを、予め標準とし
て設定された色空間たる標準色空間の画像データに変換するための色空間変換情報を取得
する第2の機能と、前記受け取った画像データを、前記色空間変換情報に基づいて、前記
標準色空間の画像データに変換する第3の機能と、前記標準色空間に変換された画像デー
タを解析することにより、前記所定の特徴量を抽出する第4の機能とをコンピュータを用
いて実現するプログラムを記録していることを要旨とする。
Further, the recording medium of the present invention corresponding to the above program can read a program for extracting a predetermined feature amount from an image represented by the image data by performing a predetermined image analysis on the image data. A first function for receiving image data of an image from which the feature amount is to be extracted, and an image in a standard color space which is a color space set as a standard in advance. A second function of acquiring color space conversion information for conversion into data, and a third function of converting the received image data into image data of the standard color space based on the color space conversion information; And recording a program for realizing, using a computer, a fourth function for extracting the predetermined feature amount by analyzing the image data converted into the standard color space It is summarized as is.

また、上述した第2の画像データ解析方法に対応する本発明のプログラムは、画像デー
タに対して所定の画像解析を行うことで、該画像データが表す画像から所定の特徴量を抽
出する方法を、コンピュータを用いて実現するためのプログラムであって、前記特徴量を
抽出しようとする画像の画像データを受け取る機能(A)と、前記画像データが記述され
た色空間のデータを、予め標準として設定された色空間たる標準色空間のデータに変換す
るための色空間変換情報を取得する機能(B)と、前記受け取った画像データを解析する
ことにより、前記所定の特徴量を抽出する機能(C)と、前記抽出した特徴量を前記色空
間変換情報に基づいて変換することにより、前記標準色空間での特徴量に変換する機能(
D)とをコンピュータを用いて実現することを要旨とする。
The program of the present invention corresponding to the second image data analysis method described above is a method for extracting a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data. A program for realizing using a computer, the function (A) for receiving image data of an image from which the feature amount is to be extracted, and data of a color space in which the image data is described as a standard in advance A function (B) for obtaining color space conversion information for conversion to data in a standard color space, which is a set color space, and a function for extracting the predetermined feature amount by analyzing the received image data ( C) and a function for converting the extracted feature quantity into a feature quantity in the standard color space by converting the feature quantity based on the color space conversion information (
It is a gist to realize D) using a computer.

また、上記のプログラムに対応する本発明の記録媒体は、画像データに対して所定の画
像解析を行うことで、該画像データが表す画像から所定の特徴量を抽出するプログラムを
、コンピュータで読取可能に記録した記録媒体であって、前記特徴量を抽出しようとする
画像の画像データを受け取る機能(A)と、前記画像データが記述された色空間のデータ
を、予め標準として設定された色空間たる標準色空間のデータに変換するための色空間変
換情報を取得する機能(B)と、前記受け取った画像データを解析することにより、前記
所定の特徴量を抽出する機能(C)と、前記抽出した特徴量を前記色空間変換情報に基づ
いて変換することにより、前記標準色空間での特徴量に変換する機能(D)とをコンピュ
ータを用いて実現するプログラムを記録していることを要旨とする。
Further, the recording medium of the present invention corresponding to the above program can read a program for extracting a predetermined feature amount from an image represented by the image data by performing a predetermined image analysis on the image data. A color space preset as a standard with a function (A) for receiving image data of an image from which the feature amount is to be extracted and data of a color space in which the image data is described. A function (B) for obtaining color space conversion information for conversion into data of a standard color space, a function (C) for extracting the predetermined feature amount by analyzing the received image data, A program that realizes the function (D) for converting the extracted feature quantity based on the color space conversion information into the feature quantity in the standard color space using a computer. And summarized in that that records.

更に、上述した第1の画像データ生成方法に対応する本発明のプログラムは、画像を表
す画像データに、該画像についての情報を示すメタデータを付加することにより、メタデ
ータを伴う画像データたるメタ画像データを生成する方法を、コンピュータを用いて実現
するためのプログラムであって、前記画像データを受け取る機能(1)と、前記受け取っ
た画像データを、予め標準として設定された色空間たる標準色空間の画像データに変換す
るための色空間変換情報を取得する機能(2)と、前記受け取った画像データを、前記色
空間変換情報に基づいて、前記標準色空間の画像データに変換する機能(3)と、前記標
準色空間に変換された画像データを解析することにより、前記所定の特徴量を抽出する機
能(4)と、前記抽出した特徴量を、前記受け取った画像データに前記メタデータとして
付加することにより、前記メタ画像データを生成する機能(5)とをコンピュータを用い
て実現することを要旨とする。
Further, the program of the present invention corresponding to the first image data generation method described above adds metadata indicating information about the image to the image data representing the image, so that the metadata as the image data accompanied by the metadata is added. A program for realizing a method of generating image data using a computer, the function (1) for receiving the image data, and a standard color as a color space in which the received image data is set in advance as a standard A function (2) for acquiring color space conversion information for conversion into image data of space, and a function of converting the received image data into image data of the standard color space based on the color space conversion information ( 3), a function (4) for extracting the predetermined feature amount by analyzing the image data converted into the standard color space, and the extracted feature And by adding as said metadata to said received image data, and summarized in that realized using a computer function and (5) for generating the meta image data.

また、上記のプログラムに対応する本発明の記録媒体は、画像を表す画像データに、該
画像についての情報を示すメタデータを付加することにより、メタデータを伴う画像デー
タたるメタ画像データを生成するプログラムを、コンピュータで読取可能に記録した記録
媒体であって、前記画像データを受け取る機能(1)と、前記受け取った画像データを、
予め標準として設定された色空間たる標準色空間の画像データに変換するための色空間変
換情報を取得する機能(2)と、前記受け取った画像データを、前記色空間変換情報に基
づいて、前記標準色空間の画像データに変換する機能(3)と、前記標準色空間に変換さ
れた画像データを解析することにより、前記所定の特徴量を抽出する機能(4)と、前記
抽出した特徴量を、前記受け取った画像データに前記メタデータとして付加することによ
り、前記メタ画像データを生成する機能(5)とをコンピュータを用いて実現するプログ
ラムを記録していることを要旨とする。
Also, the recording medium of the present invention corresponding to the above program generates meta image data as image data accompanied by metadata by adding metadata indicating information about the image to image data representing the image. A recording medium in which a program is recorded so as to be readable by a computer, the function (1) for receiving the image data, and the received image data,
A function (2) for acquiring color space conversion information for converting into image data of a standard color space which is a color space set as a standard in advance, and the received image data based on the color space conversion information A function (3) for converting the image data into the standard color space, a function (4) for extracting the predetermined feature amount by analyzing the image data converted into the standard color space, and the extracted feature amount Is added to the received image data as the metadata to record a program for realizing the function (5) for generating the meta image data using a computer.

更に、上述した第2の画像データ生成方法に対応する本発明のプログラムは、画像を表
す画像データに、該画像についての情報を示すメタデータを付加することにより、メタデ
ータを伴う画像データたるメタ画像データを生成する方法を、コンピュータを用いて実現
するためのプログラムであって、前記画像データを受け取る機能(ア)と、前記画像デー
タが記述された色空間のデータを、予め標準として設定された色空間たる標準色空間のデ
ータに変換するための色空間変換情報を取得する機能(イ)と、前記受け取った画像デー
タを解析することにより、前記所定の特徴量を抽出する機能(ウ)と、前記抽出した特徴
量を前記色空間変換情報に基づいて変換することにより、前記標準色空間での特徴量に変
換する機能(エ)と、前記変換された特徴量を、前記受け取った画像データに前記メタデ
ータとして付加することにより、前記メタ画像データを生成する機能(オ)とをコンピュ
ータを用いて実現することを要旨とする。
Furthermore, the program of the present invention corresponding to the second image data generation method described above adds metadata indicating information about the image to the image data representing the image, whereby the metadata as the image data accompanied by the metadata is added. A program for realizing a method of generating image data by using a computer, wherein the function (a) for receiving the image data and the data of the color space in which the image data is described are preset as a standard. A function (a) for obtaining color space conversion information for conversion into data of a standard color space, which is a color space, and a function (c) for extracting the predetermined feature amount by analyzing the received image data A function (d) for converting the extracted feature quantity into a feature quantity in the standard color space by converting the extracted feature quantity based on the color space conversion information; and the conversion The feature amount, by adding as the metadata to the image data received above and summarized in that realized using a computer function and (e) generating the meta image data.

また、上記のプログラムに対応する本発明の記録媒体は、画像を表す画像データに、該
画像についての情報を示すメタデータを付加することにより、メタデータを伴う画像デー
タたるメタ画像データを生成するプログラムを、コンピュータで読取可能に記録した記録
媒体であって、前記画像データを受け取る機能(ア)と、前記画像データが記述された色
空間のデータを、予め標準として設定された色空間たる標準色空間のデータに変換するた
めの色空間変換情報を取得する機能(イ)と、前記受け取った画像データを解析すること
により、前記所定の特徴量を抽出する機能(ウ)と、前記抽出した特徴量を前記色空間変
換情報に基づいて変換することにより、前記標準色空間での特徴量に変換する機能(エ)
と、前記変換された特徴量を、前記受け取った画像データに前記メタデータとして付加す
ることにより、前記メタ画像データを生成する機能(オ)とをコンピュータを用いて実現
するプログラムを記録していることを要旨とする。
Also, the recording medium of the present invention corresponding to the above program generates meta image data as image data accompanied by metadata by adding metadata indicating information about the image to image data representing the image. A recording medium in which a program is recorded so as to be readable by a computer, the function (a) for receiving the image data, and the color space data in which the image data is described as a standard color space set as a standard. A function (a) for acquiring color space conversion information for conversion into data of color space, a function (c) for extracting the predetermined feature amount by analyzing the received image data, and the extracted A function (d) for converting the feature quantity into the feature quantity in the standard color space by converting the feature quantity based on the color space conversion information.
And a program for realizing the function (e) for generating the meta image data by adding the converted feature amount as the metadata to the received image data. This is the gist.

これらのプログラムをコンピュータに読み込んで、上記の各種機能を実現させれば、画
像データの色空間に影響されることなく、画像の特徴量を統一的に扱うことが可能となる
ので、画像データに適切な補正を行ったり、あるいは適切な画像データを検索するなど、
画像データを種々に利用することが可能となる。
If these programs are read into a computer and the various functions described above are realized, the image feature values can be handled uniformly without being affected by the color space of the image data. Make appropriate corrections, search for appropriate image data, etc.
The image data can be used in various ways.

以下では、上述した本願発明の内容を明確にするために、次のような順序に従って実施
例を説明する。
A.実施例の概要:
B.装置構成:
B−1.全体構成:
B−2.内部構成:
B−2−1.スキャナ部の内部構成:
B−2−2.プリンタ部の内部構成:
C.画像印刷処理の概要:
D.画像形成処理の概要:
E.第1実施例の特徴量抽出処理:
F.第2実施例の特徴量抽出処理:
G.変形例:
Hereinafter, in order to clarify the contents of the present invention described above, examples will be described in the following order.
A. Summary of Examples:
B. Device configuration:
B-1. overall structure:
B-2. Internal configuration:
B-2-1. Internal configuration of the scanner unit:
B-2-2. Internal configuration of the printer unit:
C. Overview of image printing process:
D. Overview of image formation processing:
E. Feature amount extraction processing of the first embodiment:
F. Feature amount extraction processing of the second embodiment:
G. Variations:

A.実施例の概要:
実施例の詳細な説明に入る前に、図1を参照しながら、実施例の概要について説明して
おく。図1は、本実施例の画像データ解析装置1の概要を示した説明図である。図示した
画像データ解析装置1は、デジタルカメラ20や、コンピュータ30、スキャナ40など
の各種画像機器から画像データを受け取って、画像データを解析することにより、画像の
特徴量を抽出する。画像の特徴量としては、例えば、最小階調値、最大階調値、階調値の
平均値、標準偏差、更には階調値のヒストグラムなど、種々の値を抽出することができる
。こうして得られた特徴量は、画像データの例えばヘッダ部などに付加されて、メタ画像
データとして、画像の出力機器(例えばプリンタ2)に供給されたり、画像サーバ3に蓄
えられる。プリンタ2などの画像出力機器では、特徴量が付加されたメタ画像データを受
け取ると、特徴量に応じて画像データに補正を加えることにより、より好ましい画像を印
刷することが可能となる。また、画像サーバ3では、特徴量に基づいて画像を検索するこ
とで、膨大な画像データの中から所望の画像データを迅速に見つけることが可能となる。
A. Summary of Examples:
Prior to detailed description of the embodiment, an outline of the embodiment will be described with reference to FIG. FIG. 1 is an explanatory diagram showing an outline of the image data analysis apparatus 1 of the present embodiment. The illustrated image data analysis apparatus 1 receives image data from various image devices such as the digital camera 20, the computer 30, and the scanner 40, and analyzes the image data to extract image feature amounts. As the image feature amount, for example, various values such as a minimum gradation value, a maximum gradation value, an average value of gradation values, a standard deviation, and a gradation value histogram can be extracted. The feature amount obtained in this way is added to, for example, a header portion of the image data, and supplied as meta image data to an image output device (for example, the printer 2) or stored in the image server 3. When the image output device such as the printer 2 receives the meta image data to which the feature amount is added, it is possible to print a more preferable image by correcting the image data according to the feature amount. Further, the image server 3 can quickly find desired image data from a vast amount of image data by searching for an image based on the feature amount.

もっとも、近年では、より高画質な画像を得るために、デジタルカメラ20や、スキャ
ナ40などの画像機器では、機器の特性に合わせて固有の色空間が使用される傾向にある
。画像の特徴量は、画像データを解析することによって得られるから、画像データが機器
毎に固有の色空間で表現されると、得られる特徴量の数値も異なったものとなり、その結
果、特徴量に基づいて画像を適切に補正したり、あるいは、膨大な画像データの中から、
特徴量に基づいて所望の画像データを検索することができないという問題が生じる。こう
した点に鑑みて、本実施例の画像データ解析装置1では、次のようにして画像の特徴量を
抽出する。
However, in recent years, in order to obtain a higher quality image, the image device such as the digital camera 20 or the scanner 40 tends to use a unique color space according to the characteristics of the device. Since image feature values are obtained by analyzing image data, if image data is represented in a unique color space for each device, the resulting feature value values will also differ, resulting in feature values. Correct the image appropriately based on or from a huge amount of image data,
There arises a problem that desired image data cannot be searched based on the feature amount. In view of these points, the image data analysis apparatus 1 of the present embodiment extracts image feature amounts as follows.

先ず、デジタルカメラ20や、コンピュータ30、スキャナ40などの画像機器からの
画像データを、画像データ受取モジュールで受け取った後、画像解析モジュールに供給し
て、画像解析モジュール内で特徴量を抽出する。ここで、「モジュール」とは、画像デー
タ解析装置1が特徴量を抽出するために内部で行っている一連の処理を、機能に着目して
分類したものである。従って、「モジュール」は、プログラムの一部として実現すること
もできるし、あるいは、特定の機能を有する論理回路を用いて実現したり、更には、これ
らを組合せることによって実現することが可能である。
First, image data from an image device such as the digital camera 20, the computer 30, or the scanner 40 is received by an image data receiving module, and then supplied to the image analysis module, and feature amounts are extracted in the image analysis module. Here, the “module” is a series of processes performed internally by the image data analysis apparatus 1 in order to extract feature amounts, with a focus on functions. Therefore, a “module” can be realized as a part of a program, or can be realized by using a logic circuit having a specific function, or can be realized by combining them. is there.

また、画像データを受け取ることと併せて、色空間変換情報取得モジュールでは、デジ
タルカメラ20や、コンピュータ30、スキャナ40などの画像機器から、色空間変換情
報を取得する。ここで、色空間変換情報とは、画像データを記述している色空間のデータ
を、予め標準として設定された色空間(標準色空間)のデータに変換するための情報であ
る。色空間変換情報としては、変換式の形式で受け取ることもできるし、いわゆるカラー
プロファイルの形式で受け取ることもできる。また、標準色空間としては、十分な広さの
色域を有し、且つ、標準的に使用されている色空間であれば、どのような色空間を用いる
こともできるが、L*a*b*色空間に代表されるいわゆる測色色空間であれば、原理的
に無限の広さの色域を有しているので特に好適である。
In addition to the reception of the image data, the color space conversion information acquisition module acquires color space conversion information from the image equipment such as the digital camera 20, the computer 30, and the scanner 40. Here, the color space conversion information is information for converting color space data describing image data into data of a color space (standard color space) set as a standard in advance. The color space conversion information can be received in the form of a conversion formula or in the form of a so-called color profile. In addition, as the standard color space, any color space can be used as long as it has a sufficiently wide color gamut and is a standard color space, but L * a * A so-called colorimetric color space represented by the b * color space is particularly suitable because it has an infinitely wide color gamut in principle.

画像解析モジュールの中には、特徴量抽出モジュールと、データ変換モジュールなどが
設けられている。このうち、特徴量抽出モジュールは、画像データを解析して画像の特徴
量を抽出し、データ変換モジュールは、画像データを記述している色空間のデータを、色
空間変換情報に基づいて標準色空間のデータに変換する処理を行う。
In the image analysis module, a feature amount extraction module, a data conversion module, and the like are provided. Among these, the feature amount extraction module analyzes the image data and extracts the feature amount of the image, and the data conversion module converts the color space data describing the image data into the standard color based on the color space conversion information. Performs processing to convert to spatial data.

画像解析モジュール内で特徴量を抽出する態様としては、種々の態様を取ることができ
る。例えば、画像データ受取モジュールから供給された画像データを、データ変換モジュ
ールによって標準色空間の画像データに変換する。次いで、特徴量抽出モジュールによっ
て、変換後の画像データを解析することにより特徴量を抽出することができる。このよう
に、データ変換モジュールによって、画像データを予め標準色空間の画像データに変換し
ておけば、画像データがたとえ画像機器に固有の色空間で記述された画像データであって
も、標準色空間の特徴量を抽出することができる。あるいは、画像データ受取モジュール
から供給された画像データを解析して特徴量を抽出した後、得られた特徴量を、データ変
換モジュールによって標準色空間の特徴量に変換してもよい。このようにしても、最終的
には、標準色空間の特徴量を得ることができる。
Various modes can be taken as the mode for extracting the feature amount in the image analysis module. For example, the image data supplied from the image data receiving module is converted into image data in the standard color space by the data conversion module. Next, the feature amount extraction module can extract the feature amount by analyzing the converted image data. In this way, if the image data is converted into image data in the standard color space in advance by the data conversion module, even if the image data is image data described in a color space unique to the image device, the standard color It is possible to extract the feature amount of the space. Alternatively, the image data supplied from the image data receiving module may be analyzed to extract a feature value, and the obtained feature value may be converted into a standard color space feature value by the data conversion module. Even in this case, the feature amount of the standard color space can be finally obtained.

メタ画像データ生成モジュールでは、このようにして得られた標準色空間の特徴量を、
画像データ受取モジュールから受け取った画像データに付加することで、メタ画像データ
を生成した後、プリンタ2など、画像の出力機器や、画像サーバ3などに出力する。こう
すれば、デジタルカメラ20やコンピュータ30などから受け取った画像データが、どの
ような色空間で記述されている場合でも、特徴量は標準色空間の特徴量となっている。こ
のため、特徴量に基づいて画像データを適切に補正したり、あるいは、膨大な画像データ
の中から、所望の画像データを、特徴量に基づいて迅速に探し出したりすることが可能と
なる。
In the meta image data generation module, the feature quantity of the standard color space obtained in this way is
By adding to the image data received from the image data receiving module, meta image data is generated and then output to an image output device such as the printer 2 or the image server 3. In this way, the feature amount is the feature amount of the standard color space, regardless of the color space in which the image data received from the digital camera 20 or the computer 30 is described. For this reason, it is possible to appropriately correct the image data based on the feature amount, or to quickly find out desired image data from the enormous amount of image data based on the feature amount.

尚、図1では、特徴量は、画像データに付加されて、メタ画像データとして出力される
場合を例示しているが、必ずしもメタ画像データの形態で出力する必要はなく、特徴量と
画像データとを別々に出力するものであっても構わない。また、図1では、画像データ解
析装置1は、デジタルカメラ20などの画像機器や、プリンタ2、画像サーバ3などとは
別体に設けられているものとして表示されているが、画像データ解析装置1を、デジタル
カメラ20や、プリンタ2、画像サーバ3などに組み込んだ構成とすることも可能である
。以下では、このような画像データ解析装置1について、実施例に基づいて詳しく説明す
る。
FIG. 1 illustrates the case where the feature amount is added to the image data and is output as meta image data. However, the feature amount is not necessarily output in the form of meta image data, and the feature amount and the image data are not necessarily output. May be output separately. In FIG. 1, the image data analysis apparatus 1 is displayed as being provided separately from an image device such as the digital camera 20, the printer 2, and the image server 3. 1 may be incorporated in the digital camera 20, the printer 2, the image server 3, or the like. Hereinafter, such an image data analyzing apparatus 1 will be described in detail based on examples.

B.装置構成:
B−1.全体構成:
図2は、本実施例の画像データ解析装置が組み込まれた印刷装置10の外観形状を示す
斜視図である。図示されるように、印刷装置10は、スキャナ部100と、プリンタ部2
00と、スキャナ部100およびプリンタ部200の動作を設定するための操作パネル3
00などから構成されている。スキャナ部100は、印刷された画像を読み込んで画像デ
ータを生成するスキャナ機能を有しており、プリンタ部200は、画像データを受け取っ
て印刷媒体上に画像を印刷するプリンタ機能を有している。また、スキャナ部100で読
み取った画像(原稿画像)をプリンタ部200から出力すれば、コピー機能を実現するこ
とも可能である。すなわち、本実施例の印刷装置10は、単独でスキャナ機能、プリンタ
機能、コピー機能を実現可能な、いわゆるスキャナ・プリンタ・コピー複合装置(以下、
SPC複合装置という)となっている。
B. Device configuration:
B-1. overall structure:
FIG. 2 is a perspective view showing the external shape of the printing apparatus 10 in which the image data analysis apparatus of this embodiment is incorporated. As illustrated, the printing apparatus 10 includes a scanner unit 100 and a printer unit 2.
00 and an operation panel 3 for setting operations of the scanner unit 100 and the printer unit 200
00 or the like. The scanner unit 100 has a scanner function of reading a printed image and generating image data, and the printer unit 200 has a printer function of receiving image data and printing an image on a print medium. . Further, if an image (original image) read by the scanner unit 100 is output from the printer unit 200, a copy function can be realized. That is, the printing apparatus 10 of this embodiment is a so-called scanner / printer / copy combined apparatus (hereinafter, referred to as “scanner / printer / copier combined apparatus”).
It is called SPC composite device).

図3は、原稿画像を読み込むために、印刷装置10の上部に設けられた原稿台カバー1
02を開いた様子を示す説明図である。図示されているように、原稿台カバー102を上
に開くと、透明な原稿台ガラス104が設けられており、その内部には、スキャナ機能を
実現するための後述する各種機構が搭載されている。原稿画像を読み込む際には、図示さ
れているように原稿台カバー102を開いて原稿台ガラス104の上に原稿画像を置き、
原稿台カバー102を閉じてから操作パネル300上のボタンを操作する。こうすれば、
原稿画像を直ちに画像データに変換することが可能である。
FIG. 3 shows a document table cover 1 provided at the top of the printing apparatus 10 for reading a document image.
It is explanatory drawing which shows a mode that 02 was opened. As shown in the drawing, when the document table cover 102 is opened upward, a transparent document table glass 104 is provided, and various mechanisms to be described later for realizing the scanner function are mounted therein. . When reading a document image, as shown in the figure, the document table cover 102 is opened and the document image is placed on the document table glass 104.
The button on the operation panel 300 is operated after the document table cover 102 is closed. This way
It is possible to immediately convert a document image into image data.

また、スキャナ部100は全体が一体のケース内に収納された構成となっており、スキ
ャナ部100とプリンタ部200とは、印刷装置10の背面側でヒンジ機構204(図4
参照)によって結合されている。このため、スキャナ部100の手前側を持ち上げること
により、ヒンジの部分でスキャナ部100のみを回転させることが可能となっている。
The scanner unit 100 is entirely housed in an integrated case, and the scanner unit 100 and the printer unit 200 are provided with a hinge mechanism 204 (FIG. 4) on the back side of the printing apparatus 10.
Reference). For this reason, by lifting the front side of the scanner unit 100, it is possible to rotate only the scanner unit 100 at the hinge portion.

図4は、スキャナ部100の手前側を持ち上げて回転させた様子を示した斜視図である
。図示するように、本実施例の印刷装置10では、スキャナ部100の手前側を持ち上げ
ることで、プリンタ部200の上面を露出させることが可能である。プリンタ部200の
内部には、プリンタ機能を実現するための後述する各種機構や、スキャナ部100を含め
て印刷装置10全体の動作を制御するための後述する制御回路260、更には、スキャナ
部100やプリンタ部200などに電力を供給するための電源回路(図示は省略)なども
設けられている。また、図4に示されているように、プリンタ部200の上面には、開口
部202が設けられており、インクカートリッジなどの消耗品の交換や、紙詰まりの処理
、その他の軽微な修理などを簡便に行うことが可能となっている。
FIG. 4 is a perspective view illustrating a state in which the front side of the scanner unit 100 is lifted and rotated. As shown in the figure, in the printing apparatus 10 of the present embodiment, the upper surface of the printer unit 200 can be exposed by lifting the front side of the scanner unit 100. Inside the printer unit 200, various mechanisms to be described later for realizing the printer function, a control circuit 260 to be described later for controlling the operation of the entire printing apparatus 10 including the scanner unit 100, and the scanner unit 100 are further described. And a power supply circuit (not shown) for supplying power to the printer unit 200 and the like. Also, as shown in FIG. 4, an opening 202 is provided on the upper surface of the printer unit 200, and replacement of consumables such as ink cartridges, paper jam handling, and other minor repairs are performed. Can be performed easily.

B−2.内部構成:
図5は、本実施例の印刷装置10の内部構成を概念的に示した説明図である。前述した
ように、印刷装置10にはスキャナ部100とプリンタ部200とが設けられており、ス
キャナ部100の内部にはスキャナ機能を実現するための各種構成が搭載され、プリンタ
部200の内部にはプリンタ機能を実現するための各種構成が搭載されている。以下では
、初めにスキャナ部100の内部構成について説明し、次いでプリンタ部200の内部構
成について説明する。
B-2. Internal configuration:
FIG. 5 is an explanatory diagram conceptually showing the internal configuration of the printing apparatus 10 of this embodiment. As described above, the printing apparatus 10 includes the scanner unit 100 and the printer unit 200, and various configurations for realizing the scanner function are mounted in the scanner unit 100. Is equipped with various configurations for realizing the printer function. Hereinafter, the internal configuration of the scanner unit 100 will be described first, and then the internal configuration of the printer unit 200 will be described.

B−2−1.スキャナ部の内部構成:
スキャナ部100は、原稿画像をセットする透明な原稿台ガラス104と、セットされ
た原稿画像を押さえておくための原稿台カバー102と、セットされた原稿画像を読み込
む読取キャリッジ110と、読取キャリッジ110を読取方向(主走査方向)に移動させ
る駆動ベルト120と、駆動ベルト120に動力を供給する駆動モータ122と、読取キ
ャリッジ110の動きをガイドするガイド軸106などから構成されている。また、駆動
モータ122や読取キャリッジ110の動作は、後述する制御回路260によって制御さ
れている。
B-2-1. Internal configuration of the scanner unit:
The scanner unit 100 includes a transparent platen glass 104 on which a document image is set, a document platen cover 102 for holding the set document image, a reading carriage 110 for reading the set document image, and a reading carriage 110. The driving belt 120 is configured to move in the reading direction (main scanning direction), the driving motor 122 supplies power to the driving belt 120, the guide shaft 106 that guides the movement of the reading carriage 110, and the like. The operations of the drive motor 122 and the reading carriage 110 are controlled by a control circuit 260 described later.

制御回路260の制御の下で駆動モータ122を回転させると、駆動ベルト120を介
してその動きが読取キャリッジ110に伝達され、その結果、読取キャリッジ110は、
ガイド軸106に導かれながら駆動モータ122の回転角度に応じて読取方向(主走査方
向)に移動するようになっている。また、駆動ベルト120は、アイドラプーリ124に
よって絶えず適度に張った状態に調整されており、このため、駆動モータ122を逆回転
させれば回転角度に応じた距離だけ読取キャリッジ110を逆方向に移動させることも可
能となっている。
When the drive motor 122 is rotated under the control of the control circuit 260, the movement is transmitted to the reading carriage 110 via the driving belt 120. As a result, the reading carriage 110 is
While being guided by the guide shaft 106, it moves in the reading direction (main scanning direction) according to the rotation angle of the drive motor 122. Further, the drive belt 120 is constantly adjusted to be in a moderately tensioned state by the idler pulley 124. Therefore, if the drive motor 122 is rotated in the reverse direction, the reading carriage 110 is moved in the reverse direction by a distance corresponding to the rotation angle. It is also possible to make it.

読取キャリッジ110の内部には、光源112や、レンズ114、ミラー116、CC
Dセンサ118などが搭載されている。光源112からの光は原稿台ガラス104に照射
され、原稿台ガラス104の上にセットされた原稿画像で反射する。この反射光は、ミラ
ー116によってレンズ114に導かれ、レンズ114によって集光されてCCDセンサ
118で検出される。CCDセンサ118は、光の強度を電気信号に変換するフォトダイ
オードが、読取キャリッジ110の移動方向(主走査方向)と直交する方向に列状に配置
されたリニアセンサによって構成されている。このため、読取キャリッジ110を主走査
方向に移動させながら、光源112の光を原稿画像に照射し、CCD118によって反射
光強度を検出することで、原稿画像に対応する電気信号を得ることができる。
Inside the reading carriage 110 are a light source 112, a lens 114, a mirror 116, and a CC.
A D sensor 118 and the like are mounted. Light from the light source 112 is applied to the platen glass 104 and reflected by a document image set on the platen glass 104. The reflected light is guided to the lens 114 by the mirror 116, collected by the lens 114, and detected by the CCD sensor 118. The CCD sensor 118 includes a linear sensor in which photodiodes that convert light intensity into an electrical signal are arranged in a row in a direction orthogonal to the moving direction (main scanning direction) of the reading carriage 110. Therefore, by moving the reading carriage 110 in the main scanning direction and irradiating the original image with light from the light source 112 and detecting the reflected light intensity by the CCD 118, an electrical signal corresponding to the original image can be obtained.

また、光源112は、RGBの3色の発光ダイオードによって構成されており、所定の
周期でR色、G色、B色の光を順次、照射することが可能となっており、これに応じてC
CD118では、R色、G色、B色の反射光が順次、検出されるようになっている。一般
に、画像の赤色の部分はR色の光を反射するが、G色やB色の光はほとんど反射しないか
ら、R色の反射光は画像のR成分を表している。同様に、G色の反射光は画像のG成分を
表しており、B色の反射光は画像のB成分を表している。従って、RGB3色の光を所定
の周期で切り替えながら原稿画像に照射し、これに同期してCCD118で反射光強度を
検出すれば、原稿画像のR成分、G成分、B成分を検出することができ、カラー画像を読
み込むことが可能となっている。尚、光源112が照射する光の色を切り替えている間も
読取キャリッジ110は移動しているから、RGBの各成分を検出する画像の位置は、厳
密には、読取キャリッジ110の移動量に相当する分だけ異なっているが、このずれは、
各成分を読み込んだ後に、画像処理によって補正することが可能である。
Further, the light source 112 is composed of light emitting diodes of three colors of RGB, and can sequentially irradiate light of R color, G color, and B color at a predetermined cycle. C
In CD118, the reflected light of R color, G color, and B color is detected sequentially. In general, the red portion of the image reflects R light, but hardly reflects G or B light, so the R reflected light represents the R component of the image. Similarly, the reflected light of G color represents the G component of the image, and the reflected light of B color represents the B component of the image. Accordingly, if the original image is irradiated while switching the light of three colors of RGB at a predetermined cycle and the reflected light intensity is detected by the CCD 118 in synchronization therewith, the R component, G component and B component of the original image can be detected. It is possible to read a color image. Note that since the reading carriage 110 is moved even while the color of the light emitted by the light source 112 is switched, the position of the image for detecting each component of RGB corresponds to the movement amount of the reading carriage 110 strictly. The difference is as much as
After reading each component, it can be corrected by image processing.

B−2−2.プリンタ部の内部構成:
次に、プリンタ部200の内部構成について説明する。プリンタ部200には、印刷装
置10の全体の動作を制御する制御回路260と、印刷媒体上に画像を印刷するための印
刷キャリッジ240と、印刷キャリッジ240を主走査方向に移動させる機構と、印刷媒
体の紙送りを行うための機構などが搭載されている。
B-2-2. Internal configuration of the printer unit:
Next, the internal configuration of the printer unit 200 will be described. The printer unit 200 includes a control circuit 260 that controls the overall operation of the printing apparatus 10, a print carriage 240 that prints an image on a print medium, a mechanism that moves the print carriage 240 in the main scanning direction, and printing. A mechanism for feeding media is mounted.

印刷キャリッジ240は、Kインクを収納するインクカートリッジ242と、Cインク
,Mインク,Yインクの各種インクを収納するインクカートリッジ243と、底面側に設
けられた印字ヘッド241などから構成されており、印字ヘッド241には、インク滴を
吐出するインク吐出ヘッドがインク毎に設けられている。印刷キャリッジ240にインク
カートリッジ242,243を装着すると、カートリッジ内の各インクは図示しない導入
管を通じて、各色のインク吐出ヘッド244ないし247に供給される。
The print carriage 240 includes an ink cartridge 242 that stores K ink, an ink cartridge 243 that stores various inks of C ink, M ink, and Y ink, a print head 241 provided on the bottom surface side, and the like. The print head 241 is provided with an ink discharge head for discharging ink droplets for each ink. When the ink cartridges 242 and 243 are mounted on the print carriage 240, each ink in the cartridge is supplied to the ink discharge heads 244 to 247 of each color through an introduction pipe (not shown).

印刷キャリッジ240を主走査方向に移動させる機構は、印刷キャリッジ240を駆動
するためのキャリッジベルト231と、キャリッジベルト231に動力を供給するキャリ
ッジモータ230と、キャリッジベルト231に絶えず適度な張力を付与しておくための
張力プーリ232と、印刷キャリッジ240の動きをガイドするキャリッジガイド233
と、印刷キャリッジ240の原点位置を検出する原点位置センサ234などから構成され
ている。後述する制御回路260の制御の下でキャリッジモータ230を回転させると、
回転角度に応じた距離だけ印刷キャリッジ240を主走査方向に移動させることが可能で
ある。また、キャリッジモータ230を逆回転させれば、印刷キャリッジ240を逆方向
に移動させることも可能となっている。
The mechanism that moves the print carriage 240 in the main scanning direction includes a carriage belt 231 for driving the print carriage 240, a carriage motor 230 that supplies power to the carriage belt 231, and an appropriate tension is constantly applied to the carriage belt 231. Tension pulley 232 for holding the carriage, and carriage guide 233 for guiding the movement of the print carriage 240
And an origin position sensor 234 for detecting the origin position of the print carriage 240. When the carriage motor 230 is rotated under the control of the control circuit 260 described later,
The print carriage 240 can be moved in the main scanning direction by a distance corresponding to the rotation angle. Further, if the carriage motor 230 is rotated in the reverse direction, the print carriage 240 can be moved in the reverse direction.

印刷媒体の紙送りを行うための機構は、印刷媒体を裏面側から支えるプラテン236と
、プラテン236を回転させて紙送りを行う紙送りモータ235などから構成されている
。後述する制御回路260の制御の下で紙送りモータ235を回転させることで、回転角
度に応じた距離だけ印刷媒体を副走査方向に紙送りすることが可能となっている。
The mechanism for feeding the print medium includes a platen 236 that supports the print medium from the back side, a paper feed motor 235 that feeds the paper by rotating the platen 236, and the like. By rotating the paper feed motor 235 under the control of the control circuit 260 described later, the print medium can be fed in the sub-scanning direction by a distance corresponding to the rotation angle.

制御回路260は、CPUを中心として、ROMや、RAM、デジタルデータをアナロ
グ信号に変換するD/A変換器、更には、周辺機器との間でデータのやり取りを行うため
の周辺機器インターフェースPIFなどから構成されている。制御回路260は、印刷装
置10全体の動作を制御しており、スキャナ部100に搭載された光源112や、駆動モ
ータ122、CCD118とデータをやり取りしながら、これらの動作を制御している。
また、制御回路260では、画像データを解析して特徴量を抽出する処理や、特徴量に応
じて画像データを補正する処理も行っている。
The control circuit 260 has a CPU, a ROM, a RAM, a D / A converter that converts digital data into an analog signal, and a peripheral device interface PIF for exchanging data with peripheral devices. It is composed of The control circuit 260 controls the overall operation of the printing apparatus 10, and controls these operations while exchanging data with the light source 112, the drive motor 122, and the CCD 118 mounted on the scanner unit 100.
The control circuit 260 also performs processing for analyzing image data and extracting feature amounts, and processing for correcting image data according to feature amounts.

更に、制御回路260は、印刷媒体上に画像を形成するために、キャリッジモータ23
0および紙送りモータ235を駆動して印刷キャリッジ240の主走査および副走査を行
いながら、各色のインク吐出ヘッド244ないし247に駆動信号を供給してインク滴を
吐出させる制御も行っている。インク吐出ヘッド244ないし247に供給する駆動信号
は、コンピュータ30や、デジタルカメラ30、外部記憶装置32などから画像データを
読み込んで、後述する画像処理を行うことによって生成する。もちろん、スキャナ部10
0で読み込んだ画像データに画像処理を施すことにより、駆動信号を生成することも可能
である。こうして制御回路260の制御の下で、印刷キャリッジ240を主走査および副
走査させながら、インク吐出ヘッド244ないし247からインク滴を吐出して印刷媒体
上に各色のインクドットを形成することによって、カラー画像を形成することが可能とな
っている。もちろん、画像を形成するための一連の画像処理は、制御回路260内で行う
のではなく、予め画像処理が施されたデータをコンピュータ30などから受け取って、こ
のデータに従って印刷キャリッジ240の主走査および副走査を行いながらインク吐出ヘ
ッド244ないし247を駆動することも可能である。
In addition, the control circuit 260 is used to form an image on the print medium.
While driving the 0 and paper feed motors 235 to perform main scanning and sub-scanning of the print carriage 240, control is also performed to supply drive signals to the ink discharge heads 244 to 247 of each color to discharge ink droplets. The drive signals supplied to the ink ejection heads 244 to 247 are generated by reading image data from the computer 30, the digital camera 30, the external storage device 32, etc., and performing image processing to be described later. Of course, the scanner unit 10
It is also possible to generate a drive signal by performing image processing on the image data read at 0. In this way, under the control of the control circuit 260, the ink droplets are ejected from the ink ejection heads 244 to 247 to form the ink dots of the respective colors on the printing medium while the print carriage 240 is moved in the main scan and the sub scan. An image can be formed. Of course, a series of image processing for forming an image is not performed in the control circuit 260, but data subjected to image processing in advance is received from the computer 30 or the like, and the main scanning and printing of the print carriage 240 are performed according to this data. It is also possible to drive the ink discharge heads 244 to 247 while performing sub-scanning.

また、制御回路260は、操作パネル300ともデータをやり取り可能に接続されてお
り、操作パネル300上に設けられた各種のボタンを操作することにより、スキャナ機能
や、プリンタ機能の詳細な動作モードを設定することが可能となっている。更には、コン
ピュータ30から、周辺機器インターフェースPIFを介して詳細な動作モードを設定す
ることも可能である。
The control circuit 260 is also connected to the operation panel 300 so as to be able to exchange data. By operating various buttons provided on the operation panel 300, detailed operation modes of the scanner function and the printer function are set. It is possible to set. Further, it is possible to set a detailed operation mode from the computer 30 via the peripheral device interface PIF.

図6は、各色のインク吐出ヘッド244ないし247に、インク滴を吐出する複数のノ
ズルNzが形成されている様子を示した説明図である。図示するように、各色のインク吐
出ヘッドの底面には、各色のインク滴を吐出する4組のノズル列が形成されており、1組
のノズル列には、48個のノズルNzがノズルピッチkの間隔を空けて千鳥状に配列され
ている。制御回路260からは、これらノズルNzのそれぞれに駆動信号が供給され、各
ノズルNzは駆動信号に従って、それぞれのインクによるインク滴を吐出するようになっ
ている。
FIG. 6 is an explanatory diagram showing a state in which a plurality of nozzles Nz for ejecting ink droplets are formed on the ink ejection heads 244 to 247 of each color. As shown in the figure, four sets of nozzle arrays for ejecting ink droplets of each color are formed on the bottom surface of each color ink ejection head, and 48 nozzles Nz are arranged in a nozzle pitch k in one set of nozzle arrays. They are arranged in a zigzag pattern with an interval of. A drive signal is supplied from the control circuit 260 to each of these nozzles Nz, and each nozzle Nz discharges an ink droplet of each ink according to the drive signal.

尚、インク吐出ヘッドからインク滴を吐出する方法には、種々の方法を適用することが
できる。すなわち、ピエゾ素子を用いてインクを吐出する方式や、インク通路に配置した
ヒータでインク通路内に泡(バブル)を発生させてインク滴を吐出する方法などを用いる
ことができる。また、インクを吐出する代わりに、熱転写などの現象を利用して印刷用紙
上にインクドットを形成する方式や、静電気を利用して各色のトナー粉を印刷媒体上に付
着させる方式を採用することも可能である。
Various methods can be applied to the method of ejecting ink droplets from the ink ejection head. That is, a method of ejecting ink using a piezoelectric element, a method of ejecting ink droplets by generating bubbles in the ink passage with a heater arranged in the ink passage, and the like can be used. Also, instead of ejecting ink, use a method that forms ink dots on printing paper using phenomena such as thermal transfer, or a method that attaches toner powder of each color onto the printing medium using static electricity. Is also possible.

上述した印刷装置10では、デジタルカメラ20などから画像データを受け取ったり、
あるいはスキャナ部100で原稿画像を読み取って画像データを生成すると、制御回路2
60で画像の特徴量を抽出した後、特徴量に応じた補正を行って画像を印刷する。また、
特徴量を抽出するに際しては、画像データの色空間に依存しない形で抽出しているために
、どのような色空間で記述された画像データであっても、特徴量に応じて適切な補正を行
うことが可能となっている。以下では、画像データを受け取って画像を印刷する処理(画
像印刷処理)について簡単に説明し、その後、画像印刷処理の中で画像の特徴量を抽出す
る処理(特徴量抽出処理)について詳しく説明する。
In the printing apparatus 10 described above, image data is received from the digital camera 20 or the like,
Alternatively, when the scanner unit 100 reads an original image and generates image data, the control circuit 2
After extracting the feature amount of the image at 60, the image is printed with correction according to the feature amount. Also,
When extracting feature quantities, the image data is extracted in a form that does not depend on the color space of the image data. Therefore, even if the image data is described in any color space, appropriate correction is performed according to the feature quantities. It is possible to do. In the following, a process of receiving image data and printing an image (image printing process) will be briefly described, and then a process of extracting an image feature amount (a feature amount extraction process) in the image printing process will be described in detail. .

C.画像印刷処理:
図7は、本実施例の印刷装置10で画像を印刷するために行われている画像印刷処理の
流れを示すフローチャートである。かかる処理は、印刷装置10に搭載された制御回路2
60が、内蔵したCPUやRAM、ROMなどの機能を用いて実行する処理である。
C. Image printing process:
FIG. 7 is a flowchart illustrating a flow of image printing processing performed for printing an image by the printing apparatus 10 according to the present exemplary embodiment. Such processing is performed by the control circuit 2 installed in the printing apparatus 10.
Reference numeral 60 denotes processing executed using functions such as a built-in CPU, RAM, and ROM.

画像の印刷に際しては、先ず初めに、印刷しようとする画像の画像データを読み込む処
理を行う(ステップS100)。画像データとしては、デジタルカメラ20で撮影した画
像データや、コンピュータ30上で稼働する各種のアプリケーションプログラムによって
作成した画像データ、あるいは、スキャナ部100で読み込んだ画像データなどを用いる
ことができる。また、本実施例では、これら画像データは何れも、R,G,B各色の階調
値によって表現されたRGB画像データであるものとするが、RGB画像データの中にも
sRGB色空間を初めとする種々の色空間の規格が存在している。そこで、画像データの
読み込みに際しては、RGB画像データに加えて、RGB画像データの色空間を、測色色
空間(L*a*b*色空間)に変換するための情報も取得する。尚、本実施例では、RG
B画像データの色空間を、測色色空間に変換するものとして説明するが、実際には、十分
に広い色域を有し、且つ、標準的に広く使用されている色空間であれば、測色色空間に限
らず、どのような色空間を用いることもできる。
When printing an image, first, a process of reading image data of an image to be printed is performed (step S100). As the image data, image data taken by the digital camera 20, image data created by various application programs operating on the computer 30, or image data read by the scanner unit 100 can be used. In this embodiment, these image data are all RGB image data expressed by gradation values of R, G, and B colors. However, the RGB image data also includes the sRGB color space. There are various color space standards. Therefore, when reading the image data, in addition to the RGB image data, information for converting the color space of the RGB image data into a colorimetric color space (L * a * b * color space) is also acquired. In this embodiment, RG
Although the description will be made assuming that the color space of the B image data is converted to the colorimetric color space, actually, if the color space has a sufficiently wide color gamut and is widely used as a standard, the color space is measured. Any color space can be used in addition to the color space.

次いで、読み込んだ画像データを解析することにより、画像から所定の特徴量を抽出す
る処理を行う(ステップS102)。この特徴量抽出処理の詳細については、後ほど詳し
く説明するが、画像データがどのような色空間で記述されているかに拘わらず、測色色空
間の特徴量を抽出する処理を行う。
Next, a process of extracting a predetermined feature amount from the image is performed by analyzing the read image data (step S102). The details of the feature amount extraction processing will be described in detail later, but processing for extracting the feature amount of the colorimetric color space is performed regardless of the color space in which the image data is described.

こうして抽出した特徴量に基づいて、デジタルカメラ20やコンピュータ30などから
受け取った画像データを補正する(ステップS104)。特徴量に基づいて画像データを
補正する処理は、種々の手法が周知となっているため、ここでは説明を省略するが、本実
施例では、画像データの色空間に拘わらず、測色色空間の特徴量が得られている。このた
め、全ての画像データを同じ基準に従って統一的に扱うことができるので、適切に補正す
ることが可能である。
Based on the extracted feature quantity, the image data received from the digital camera 20 or the computer 30 is corrected (step S104). Since various methods are known for correcting image data based on feature amounts, a description thereof is omitted here. In this embodiment, the colorimetric color space is not related to the color space of the image data. Features are obtained. For this reason, since all image data can be handled uniformly according to the same standard, it is possible to correct appropriately.

こうして補正された画像データに対して、以下に示すような画像形成処理を行うことに
より、印刷媒体上に画像を形成することが可能となる(ステップS106)。
An image can be formed on the print medium by performing an image forming process as described below on the image data thus corrected (step S106).

D.画像形成処理の概要:
図8は、印刷媒体上にインクドットを用いて画像を形成する画像形成処理の流れを示す
フローチャートである。かかる処理は、上述した画像印刷処理の中で、特徴量に応じて補
正された画像データに対して制御回路260によって実行される処理である。
D. Overview of image formation processing:
FIG. 8 is a flowchart illustrating a flow of image forming processing for forming an image using ink dots on a print medium. Such a process is a process executed by the control circuit 260 on the image data corrected according to the feature amount in the above-described image printing process.

制御回路260は、画像形成処理を開始すると先ず初めに、画像データの解像度を、プ
リンタ部200が印刷するための解像度(印刷解像度)に変換する処理を行う(ステップ
S150)。画像データの解像度が印刷解像度よりも低い場合は、隣接する画素の間に補
間演算を行って新たな画像データを設定することで、より高い解像度に変換する。逆に、
画像データの解像度が印刷解像度よりも高い場合は、隣接する画素の間から一定の割合で
画像データを間引くことによって、より低い解像度に変換する。解像度変換処理では、画
像データに対して適切な割合で画像データを生成あるいは間引くことによって、画像デー
タの解像度を印刷解像度に変換する処理を行う。
When the image forming process is started, the control circuit 260 first performs a process of converting the resolution of the image data into a resolution (printing resolution) for printing by the printer unit 200 (step S150). When the resolution of the image data is lower than the print resolution, the image data is converted to a higher resolution by performing interpolation calculation between adjacent pixels and setting new image data. vice versa,
When the resolution of the image data is higher than the print resolution, the image data is converted to a lower resolution by thinning out the image data at a certain rate from between adjacent pixels. In the resolution conversion process, a process of converting the resolution of the image data to the print resolution is performed by generating or thinning out the image data at an appropriate ratio with respect to the image data.

こうして画像データの解像度を印刷解像度に変換したら、続いて、色変換処理を行う(
ステップS152)。ここで色変換処理とは、R,G,Bの各色で表現されたRGB画像
データを、C,M,Y,K各色の階調値によって表現された画像データに変換する処理で
ある。色変換処理は、色変換テーブル(LUT)と呼ばれる3次元の数表を参照すること
によって行う。
After the resolution of the image data is converted to the printing resolution in this way, color conversion processing is subsequently performed (
Step S152). Here, the color conversion process is a process of converting RGB image data expressed by R, G, B colors into image data expressed by gradation values of C, M, Y, K colors. The color conversion process is performed by referring to a three-dimensional numerical table called a color conversion table (LUT).

図9は、色変換処理のために参照される色変換テーブル(LUT)を概念的に示した説
明図である。今、RGB各色の階調値が0〜255の値を取り得るものとする。また、図
9に示すように、直交する3軸にR,G,B各色の階調値を取った色空間を考えると、全
てのRGB画像データは、原点を頂点として一辺の長さが255の立方体(色立体)の内
部の点に対応付けることができる。これを、見方を変えれば、次のように考えることもで
きる。すなわち、色立体をRGB各軸に直角に格子状に細分して色空間内に複数の格子点
を生成すると、各格子点に対応するRGB画像データが存在している。そこで、各格子点
に、C,M,Y,Kの階調値の組合せを予め記憶しておく。こうすれば、格子点に記憶さ
れている階調値を読み出すことによって、RGB画像データを、各色の階調値によって表
現された画像データ(CMYK画像データ)に迅速に変換することが可能となる。
FIG. 9 is an explanatory diagram conceptually showing a color conversion table (LUT) referred to for color conversion processing. Now, it is assumed that gradation values of RGB colors can take values from 0 to 255. Further, as shown in FIG. 9, when considering a color space in which gradation values of R, G, and B are taken on three orthogonal axes, all RGB image data have a side length of 255 with the origin as a vertex. Can be associated with points inside the cube (color solid). From a different perspective, this can be thought of as follows. That is, when a color solid is subdivided into a grid perpendicular to each RGB axis and a plurality of grid points are generated in the color space, RGB image data corresponding to each grid point exists. Therefore, a combination of C, M, Y, and K gradation values is stored in advance at each lattice point. By doing this, it is possible to quickly convert the RGB image data into image data (CMYK image data) expressed by the tone values of each color by reading the tone values stored in the grid points. .

例えば、画像データのR成分がRA、G成分がGA、B成分がBAであったとすると、
この画像データは、色空間内のA点に対応づけられる(図9参照)。そこで、色立体を格
子状に細分する小さな立方体の中から、A点を内包する立方体dVを検出し、この立方体
dVの各格子点に記憶されているCMYK各色の階調値を読み出してやる。そして、これ
ら各格子点の階調値から補間演算すればA点での階調値を求めることができる。以上に説
明したように、色変換テーブルLUTとは、RGB各色の階調値の組合せで示される各格
子点に、CMYK各色の階調値の組合せ(CMYK画像データ)を記憶した3次元の数表
と考えることができ、色変換テーブルを参照すれば、RGB画像データをCMYK画像デ
ータに、迅速に色変換することが可能となる。
For example, if the R component of the image data is RA, the G component is GA, and the B component is BA,
This image data is associated with point A in the color space (see FIG. 9). Therefore, a cube dV containing point A is detected from small cubes that subdivide the color solid into a lattice shape, and the gradation values of the CMYK colors stored in the lattice points of the cube dV are read out. Then, if the interpolation calculation is performed from the gradation values of these grid points, the gradation value at the point A can be obtained. As described above, the color conversion table LUT is a three-dimensional number in which a combination of gradation values of CMYK colors (CMYK image data) is stored at each grid point indicated by a combination of gradation values of RGB colors. It can be considered as a table, and by referring to the color conversion table, RGB image data can be quickly converted into CMYK image data.

制御回路260は、以上のようにして色変換処理を終了すると、図8に示されているよ
うにハーフトーン処理を開始する(ステップS154)。ハーフトーン処理とは、次のよ
うな処理である。色変換処理によって得られたCMYK画像データは、C,M,Y,Kの
各色毎に階調値0〜階調値255の範囲で表現された画像データである。これに対してプ
リンタ部200は、ドットを形成することによって画像を印刷するから、256階調によ
って表現されたCMYK画像データを、ドットの形成有無によって表現された画像データ
(ドットデータ)に変換する処理が必要となる。ハーフトーン処理とは、このようにCM
YK各色の画像データをドットデータに変換する処理である。
When the color conversion process is completed as described above, the control circuit 260 starts the halftone process as shown in FIG. 8 (step S154). Halftone processing is the following processing. The CMYK image data obtained by the color conversion process is image data expressed in the range of gradation value 0 to gradation value 255 for each color of C, M, Y, and K. In contrast, since the printer unit 200 prints an image by forming dots, the CMYK image data expressed by 256 gradations is converted into image data (dot data) expressed by the presence / absence of dot formation. Processing is required. Halftone processing is CM
This is processing for converting image data of each color YK into dot data.

ハーフトーン処理を行う手法としては、誤差拡散法やディザ法などの種々の手法を適用
することができる。誤差拡散法は、ある画素についてドットの形成有無を判断したことで
その画素に発生する階調表現の誤差を、周辺の画素に拡散するとともに、周囲から拡散さ
れてきた誤差を解消するように、各画素についてのドット形成の有無を判断していく手法
である。また、ディザ法は、ディザマトリックスにランダムに設定されている閾値とCM
YK各色の画像データとを画素毎に比較して、画像データの方が大きい画素にはドットを
形成すると判断し、逆に閾値の方が大きい画素についてはドットを形成しないと判断する
ことで、各画素についてのドットデータをインクの色毎に得る手法である。
As a method for performing the halftone process, various methods such as an error diffusion method and a dither method can be applied. The error diffusion method is to determine whether or not dots are formed for a certain pixel so as to diffuse an error in gradation expression generated in that pixel to surrounding pixels and to eliminate the error diffused from the surroundings. This is a method of determining the presence or absence of dot formation for each pixel. Also, the dither method uses a threshold value and CM that are randomly set in the dither matrix.
Comparing the image data of each color of YK for each pixel, it is determined that a dot is formed for a pixel having a larger image data, and conversely, a dot is not formed for a pixel having a larger threshold value. In this method, dot data for each pixel is obtained for each ink color.

図10は、ディザマトリックスの一部を拡大して例示した説明図である。図示したマト
リックスには、縦横それぞれ64画素、合計4096個の画素に、階調値0〜255の範
囲から万遍なく選択された閾値がランダムに記憶されている。ここで、閾値の階調値が0
〜255の範囲から選択されているのは、本実施例ではCMYK各色の画像データが1バ
イトデータであり、階調値が0〜255の値を取り得ることに対応するものである。尚、
ディザマトリックスの大きさは、図10に例示したように縦横64画素分に限られるもの
ではなく、縦と横の画素数が異なるものも含めて、種々の大きさに設定することが可能で
ある。
FIG. 10 is an explanatory diagram illustrating an enlarged part of the dither matrix. In the illustrated matrix, threshold values that are uniformly selected from the range of gradation values 0 to 255 are randomly stored in a total of 4096 pixels, 64 pixels in the vertical and horizontal directions. Here, the threshold gradation value is 0.
In the present embodiment, the image data of each color of CMYK is 1-byte data and the gradation value can take a value of 0 to 255. still,
The size of the dither matrix is not limited to 64 pixels in the vertical and horizontal directions as illustrated in FIG. 10, but can be set to various sizes including those having different numbers of vertical and horizontal pixels. .

図11は、ディザマトリックスを参照しながら、画素毎にドット形成の有無を判断して
いる様子を概念的に示した説明図である。尚、かかる判断は、CMYKの各色について行
われるが、以下では説明が煩雑となることを避けるために、CMYK各色の画像データを
区別することなく、単に画像データと称するものとする。
FIG. 11 is an explanatory diagram conceptually showing a state in which the presence / absence of dot formation is determined for each pixel with reference to the dither matrix. This determination is made for each color of CMYK, but in the following, in order to avoid complicated explanation, image data of each color of CMYK is simply referred to as image data without being distinguished.

ドット形成有無の判断に際しては、先ず、判断の対象として着目している画素(着目画
素)についての画像データの階調値と、ディザマトリックス中の対応する位置に記憶され
ている閾値とを比較する。図中に示した細い破線の矢印は、着目画素の画像データを、デ
ィザマトリックス中の対応する位置に記憶されている閾値と比較していることを模式的に
表したものである。そして、ディザマトリックスの閾値よりも着目画素の画像データの方
が大きい場合には、その画素にはドットを形成するものと判断する。逆に、ディザマトリ
ックスの閾値の方が大きい場合には、その画素にはドットを形成しないものと判断する。
図11に示した例では、画像の左上隅にある画素の画像データは「97」であり、ディザ
マトリックス上でこの画素に対応する位置に記憶されている閾値は「1」である。従って
、左上隅の画素については、画像データの方がディザマトリックスの閾値よりも大きいか
ら、この画素にはドットを形成すると判断する。図11中に実線で示した矢印は、この画
素にはドットを形成すると判断して、判断結果をメモリに書き込んでいる様子を模式的に
表したものである。一方、この画素の右隣の画素については、画像データは「97」、デ
ィザマトリックスの閾値は「177」であり、閾値の方が大きいので、この画素について
はドットを形成しないものと判断する。このように、画像データとディザマトリックスに
設定された閾値とを比較することにより、ドットの形成有無を画素毎に決定することがで
きる。ハーフトーン処理(図8のステップS154)では、C,M,Y,K各色の画像デ
ータに対して上述したディザ法を適用することにより、画素毎にドット形成の有無を判断
してドットデータを生成する処理を行う。
When determining the presence or absence of dot formation, first, the gradation value of the image data for the pixel of interest (the pixel of interest) as the object of determination is compared with the threshold value stored at the corresponding position in the dither matrix. . The thin broken arrow shown in the figure schematically represents that the image data of the pixel of interest is compared with the threshold value stored at the corresponding position in the dither matrix. If the image data of the pixel of interest is larger than the threshold value of the dither matrix, it is determined that a dot is formed for that pixel. On the other hand, when the threshold value of the dither matrix is larger, it is determined that no dot is formed in the pixel.
In the example shown in FIG. 11, the image data of the pixel at the upper left corner of the image is “97”, and the threshold value stored at the position corresponding to this pixel on the dither matrix is “1”. Accordingly, for the pixel at the upper left corner, the image data is larger than the threshold value of the dither matrix, and therefore it is determined that a dot is formed on this pixel. An arrow indicated by a solid line in FIG. 11 schematically shows a state in which it is determined that a dot is to be formed in this pixel and the determination result is written in the memory. On the other hand, for the pixel on the right side of this pixel, the image data is “97”, and the threshold value of the dither matrix is “177”. Since the threshold value is larger, it is determined that no dot is formed for this pixel. Thus, by comparing the image data with the threshold value set in the dither matrix, it is possible to determine whether or not dots are formed for each pixel. In the halftone process (step S154 in FIG. 8), the above-described dither method is applied to the C, M, Y, and K image data to determine the presence or absence of dot formation for each pixel and to generate dot data. Generate the process.

以上のようにしてハーフトーン処理を行ったら、今度は、インターレース処理を開始す
る(ステップS156)。インターレース処理とは、印字ヘッド241がドットを形成す
る順序でドットデータを並び替えて、各色のインク吐出ヘッド244ないし247に供給
する処理である。すなわち、図6に示したように、インク吐出ヘッド244ないし247
に設けられたノズルNzは副走査方向にノズルピッチkの間隔を空けて設けられているか
ら、印刷キャリッジ240を主走査させながらインク滴を吐出すると、副走査方向にノズ
ルピッチkの間隔を空けてドットが形成されてしまう。そこで全画素にドットを形成する
ためには、印刷キャリッジ240と印刷媒体との相対位置を副走査方向に移動させて、ノ
ズルピッチkだけ隔たったドット間の画素に新たなドットを形成することが必要となる。
このように、実際に画像を印刷する場合には、画像上で上方にある画素から順番にドット
を形成しているわけではない。更に、主走査方向に同じ列にある画素についても、一回の
主走査でドットを形成するのではなく、画質上の要請から、複数回の主走査に分けてドッ
トを形成することとして、各回の主走査では飛び飛びの位置の画素にドットを形成するこ
とも広く行われている。
Once the halftone process is performed as described above, the interlace process is started (step S156). The interlace process is a process in which the print head 241 rearranges the dot data in the order in which dots are formed and supplies them to the ink discharge heads 244 to 247 for each color. That is, as shown in FIG. 6, the ink discharge heads 244 to 247 are used.
Since the nozzles Nz provided in the nozzles are provided with an interval of the nozzle pitch k in the sub-scanning direction, when ink droplets are ejected while the print carriage 240 is main-scanned, the nozzle pitch k is spaced in the sub-scanning direction. As a result, dots are formed. Therefore, in order to form dots in all the pixels, the relative position between the print carriage 240 and the print medium is moved in the sub-scanning direction, and new dots are formed in the pixels between the dots separated by the nozzle pitch k. Necessary.
As described above, when an image is actually printed, dots are not formed in order from the upper pixel on the image. Furthermore, for pixels in the same row in the main scanning direction, instead of forming dots in a single main scan, the dots are divided into a plurality of main scans in response to image quality requirements. In this main scanning, dots are also widely formed on the pixels at the skipped positions.

このため、実際にドットの形成を開始するに先立って、C,M,Y,Kの各色について
得られたドットデータを、インク吐出ヘッド244ないし247がドットを形成する順番
に並び替えておく処理が必要となる。このような処理が、インターレースと呼ばれる処理
である。
For this reason, prior to actually starting dot formation, the dot data obtained for each color of C, M, Y, and K is rearranged in the order in which the ink ejection heads 244 to 247 form dots. Is required. Such a process is a process called interlace.

制御回路260はインターレース処理を終了すると、インターレース処理によって並べ
替えられたドットデータに従って、実際に印刷媒体上にドットを形成する処理(ドット形
成処理)を開始する(ステップS158)。すなわち、キャリッジモータ230を駆動し
て印刷キャリッジ240を主走査させながら、順番を並び替えておいたドットデータをイ
ンク吐出ヘッド244ないし247に供給する。前述したようにドットデータは、各画素
にドットを形成するか否かを表したデータであるから、インク吐出ヘッド244ないし2
47は、ドットデータに従ってインク滴を吐出すれば、各画素に適切にインクドットを形
成することができる。
When the interlace process is completed, the control circuit 260 starts a process (dot formation process) for actually forming dots on the print medium in accordance with the dot data rearranged by the interlace process (step S158). That is, while the carriage motor 230 is driven to cause the print carriage 240 to perform main scanning, the rearranged dot data is supplied to the ink ejection heads 244 to 247. As described above, since the dot data is data indicating whether or not to form dots in each pixel, the ink ejection heads 244 to 2 are used.
If ink droplets are ejected according to dot data 47, ink dots can be appropriately formed in each pixel.

そして、一回の主走査が終了したら、今度は、紙送りモータ235を駆動して印刷媒体
を副走査方向に紙送りした後、再びキャリッジモータ230を駆動して印刷キャリッジ2
40を主走査させつつ、順番を並べ替えておいたドットデータをインク吐出ヘッド244
ないし247に供給してドットを形成する。このような操作を繰り返し行うことにより、
印刷媒体上には、C,M,Y,Kの各色のドットが画像データの階調値に応じて適切な分
布で形成され、その結果として画像が印刷される。
When one main scan is completed, the paper feed motor 235 is driven to feed the print medium in the sub-scanning direction, and the carriage motor 230 is driven again to print the print carriage 2.
The ink discharge head 244 converts the dot data rearranged in the order while 40 is main-scanned.
To 247 to form dots. By repeating these operations,
On the print medium, dots of each color of C, M, Y, and K are formed with an appropriate distribution according to the gradation value of the image data, and as a result, the image is printed.

以上に説明したように、画像印刷処理では、予め特徴量に基づいて補正された画像デー
タに基づいて、印刷媒体上に適切な密度でインクドットを形成することにより、画像を印
刷する。また、画像データの補正に際しては、画像データの色空間で得られる特徴量では
なく、測色色空間での特徴量に基づいて補正が行われる。このため、画像データが記述さ
れた色空間が異なっていても、全ての画像データを同じ基準に従って統一的に扱うことが
できるので、適切に補正することが可能となっている。以下では、画像データから、測色
色空間での特徴量を抽出するために行われる処理(特徴量抽出処理)について、詳しく説
明する。
As described above, in the image printing process, an image is printed by forming ink dots with an appropriate density on a print medium based on image data that has been corrected based on a feature amount in advance. Further, when correcting image data, correction is performed based on the feature quantity in the colorimetric color space, not the feature quantity obtained in the color space of the image data. For this reason, even if the color space in which the image data is described is different, all the image data can be handled uniformly according to the same standard, so that it is possible to correct appropriately. Hereinafter, a process (feature quantity extraction process) performed to extract a feature quantity in the colorimetric color space from the image data will be described in detail.

E.第1実施例の特徴量抽出処理:
図12は、第1実施例の特徴量抽出処理の流れを示すフローチャートである。本実施例
では、かかる処理も、印刷装置10の制御回路260で実行される。
E. Feature amount extraction processing of the first embodiment:
FIG. 12 is a flowchart showing the flow of the feature amount extraction process of the first embodiment. In this embodiment, such processing is also executed by the control circuit 260 of the printing apparatus 10.

第1実施例の特徴量抽出処理では、先ず初めに、画像データの色空間情報を読み込む処
理を行う(ステップS200)。ここで色空間変換情報とは、前述したように、デジタル
カメラ20など、画像データを生成する機器で採用されている色空間のデータを、予め標
準として設定された標準色空間(ここでは、測色色空間)のデータに変換するための情報
である。色空間変換情報としては、変換式の形式で受け取ることもできるし、いわゆるカ
ラープロファイルの形式で受け取ることもできる。また、色空間変換情報は、デジタルカ
メラ20などの画像データを生成する機器に対して、印刷装置10の側から要求しても良
いし、あるいは、デジタルカメラ20などから画像データとともに、受け取ることとして
も良い。
In the feature amount extraction process of the first embodiment, first, a process of reading color space information of image data is performed (step S200). Here, as described above, the color space conversion information is a standard color space (in this case, measurement data) obtained by setting color space data adopted by a device such as the digital camera 20 that generates image data as a standard. Color color space) data. The color space conversion information can be received in the form of a conversion formula or in the form of a so-called color profile. Further, the color space conversion information may be requested from the printing apparatus 10 side to a device that generates image data such as the digital camera 20 or may be received together with the image data from the digital camera 20 or the like. Also good.

次いで、受け取った画像データのデータサイズを圧縮する(ステップS202)。かか
る処理では、画像中の画素を一定間隔で間引くことにより、640画素×480画素、ま
たは320画素×240画素などの、画素数の比較的少ない画像データに圧縮する。
Next, the data size of the received image data is compressed (step S202). In such processing, the pixels in the image are thinned out at a constant interval, thereby compressing the image data into a relatively small number of pixels such as 640 pixels × 480 pixels or 320 pixels × 240 pixels.

こうして圧縮した画像データを、予め読み込んでおいた色空間変換情報に従って、測色
色空間の画像データに変換する(ステップS204)。前述したように色空間変換情報は
、画像データを生成する機器で採用されている色空間のデータを、予め標準として設定さ
れた標準色空間のデータに変換するための情報であり、直接的には、変換式や、変換マト
リックス、更には、いわゆるカラープロファイルなどの形式で記述される。もちろん、色
空間変換情報は、これらの形式で記述された情報を、間接的に特定することができれば十
分であり、例えば、印刷装置10に予め記憶されている複数の変換式などの中から、該当
するものを指定する情報であっても構わない。また、本実施例の特徴量抽出処理では、予
め画像データのデータサイズが圧縮されているので、色空間変換情報に従って、画像デー
タを標準色空間(ここでは、L*a*b*測色色空間)の画像データに迅速に変換するこ
とが可能である。
The compressed image data is converted into image data in the colorimetric color space according to the color space conversion information read in advance (step S204). As described above, the color space conversion information is information for converting color space data adopted by a device that generates image data into standard color space data set in advance as a standard. Is described in a format such as a conversion formula, a conversion matrix, or a so-called color profile. Of course, the color space conversion information only needs to be able to indirectly specify information described in these formats. For example, from among a plurality of conversion formulas stored in advance in the printing apparatus 10, It may be information specifying the corresponding item. In the feature amount extraction processing of this embodiment, since the data size of the image data is compressed in advance, the image data is converted into a standard color space (here, L * a * b * colorimetric color space) according to the color space conversion information. ) Can be quickly converted into image data.

こうして測色色空間に変換された画像データを解析することにより、画像の特徴量を抽
出する(ステップS206)。抽出する特徴量としては、周知の種々の特徴量を抽出する
ことができる。例えば、画像データ中の最小階調値、最大階調値、階調値の平均値、標準
偏差、更には階調値のヒストグラムなどを抽出することができる。あるいは、図13に示
すように、画像を複数の領域に分割して、それぞれの領域について、これらの特徴量を抽
出することとしても良い。以上のようにして特徴量が得られたら、図12に示した第1実
施例の特徴量抽出処理を終了して、図7の画像印刷処理に復帰した後、S104以降の処
理を継続する。
By analyzing the image data thus converted into the colorimetric color space, the feature amount of the image is extracted (step S206). As the feature quantity to be extracted, various known feature quantities can be extracted. For example, a minimum gradation value, maximum gradation value, average value of gradation values, standard deviation, and a histogram of gradation values can be extracted from image data. Alternatively, as shown in FIG. 13, the image may be divided into a plurality of regions, and these feature amounts may be extracted for each region. When the feature quantity is obtained as described above, the feature quantity extraction process of the first embodiment shown in FIG. 12 is terminated, and after returning to the image printing process of FIG. 7, the processes after S104 are continued.

上述した第1実施例の特徴量抽出処理では、受け取った画像データを、測色色空間の画
像データに予め変換し、測色色空間の画像データを解析することによって特徴量を抽出し
ている。こうして得られた特徴量は、デジタルカメラ20などの画像機器から受け取った
画像データが、どのような色空間の画像データであっても、測色色空間で得られた特徴量
となっている。このため、各画像データから抽出された特徴量を、その画像データを生成
する際に用いられた色空間の違いに影響されることなく、統一的に扱うことが可能となり
、特徴量に応じて画像データを適切に補正して、高画質な画像を印刷することが可能とな
る。また、画像データを、このようにして得られた特徴量と共に、サーバに記憶しておけ
ば、たとえ、画像データの色空間が異なっていても、特徴量については測色色空間のデー
タとなっているので、全ての画像データを統一的に検索することが可能となり、膨大な画
像データの中から所望の画像データを迅速に見つけることが可能となる。
In the feature amount extraction process of the first embodiment described above, the received image data is converted into image data in the colorimetric color space in advance, and the feature amount is extracted by analyzing the image data in the colorimetric color space. The feature amount obtained in this way is the feature amount obtained in the colorimetric color space, regardless of the color space image data received from the image device such as the digital camera 20. For this reason, it is possible to handle the feature amount extracted from each image data in a unified manner without being affected by the difference in the color space used when generating the image data. It is possible to appropriately correct the image data and print a high-quality image. Further, if the image data is stored in the server together with the feature quantity obtained in this way, the feature quantity is data in the colorimetric color space even if the color space of the image data is different. Therefore, it is possible to search all image data in a unified manner, and it is possible to quickly find desired image data from a vast amount of image data.

F.第2実施例の特徴量抽出処理:
以上に説明した第1実施例の特徴量抽出処理では、デジタルカメラ20などから受け取
った画像データを、一旦、測色色空間の画像データに変換した後、変換後の画像データを
解析して特徴量を抽出していた。しかし、受け取った画像データの色空間を変換すること
なく特徴量を抽出し、抽出した特徴量だけを、測色色空間のデータに変換することも可能
である。以下に説明する第2実施例の特徴量抽出処理は、このような処理となっている。
F. Feature amount extraction processing of the second embodiment:
In the feature amount extraction process of the first embodiment described above, image data received from the digital camera 20 or the like is once converted into image data in a colorimetric color space, and the converted image data is analyzed to analyze the feature amount. Was extracted. However, it is also possible to extract the feature amount without converting the color space of the received image data, and to convert only the extracted feature amount into the colorimetric color space data. The feature amount extraction processing of the second embodiment described below is such processing.

図14は、第2実施例の特徴量抽出処理の流れを示すフローチャートである。第2実施
例の特徴量抽出処理は、図12に示した第1実施例の処理に対して、特徴量を抽出してか
ら、色空間の変換を行っている点が大きく異なっている。以下では、かかる相違点を中心
として、第2実施例の特徴量抽出処理について説明する。
FIG. 14 is a flowchart showing the flow of the feature amount extraction process of the second embodiment. The feature amount extraction processing of the second embodiment is greatly different from the processing of the first embodiment shown in FIG. 12 in that the feature amount is extracted and then the color space is converted. In the following, the feature amount extraction processing of the second embodiment will be described focusing on such differences.

第2実施例の特徴量抽出処理を開始すると、前述した第1実施例における場合と同様に
、先ず初めに、画像データの色空間情報を読み込んだ後(ステップS300)、読み込ん
だ画像データのデータサイズを圧縮する処理を行う(ステップS302)。
When the feature amount extraction process of the second embodiment is started, the color space information of the image data is first read (step S300) and then the data of the read image data, as in the case of the first embodiment described above. A process of compressing the size is performed (step S302).

第2実施例の特徴量抽出処理では、こうして画像データを圧縮すると、直ちに画像デー
タを解析して特徴量を抽出する(ステップS304)。解析する画像データは、データサ
イズが圧縮されているものの、色空間については、デジタルカメラ20などから受け取っ
たままの色空間なので、抽出される特徴量も画像データの色空間のデータとして得られる
ことになる。従って、こうして得られた特徴量は、異なる色空間で生成された画像データ
については統一的に扱うことができない。
In the feature amount extraction process of the second embodiment, when the image data is compressed in this way, the image data is immediately analyzed to extract the feature amount (step S304). Although the image data to be analyzed is compressed in data size, the color space is the color space as received from the digital camera 20 or the like, so that the extracted feature amount can also be obtained as data in the color space of the image data. become. Therefore, the feature quantity obtained in this way cannot be handled uniformly for image data generated in different color spaces.

そこで、第2実施例の特徴量抽出処理では、特徴量を抽出すると、測色色空間の特徴量
に変換する(ステップS306)。画像データが生成された色空間のデータを、測色色空
間のデータに変換するための色空間変換情報が、ステップS300において予め読み込ま
れているので、かかる色空間変換情報に従って、抽出した特徴量を測色色空間の特徴量に
変換することができる。こうして、測色色空間の特徴量が得られたら、図14に示した第
2実施例の特徴量抽出処理を終了して、図7の画像印刷処理に復帰した後、S104以降
の処理を継続する。
Therefore, in the feature amount extraction process of the second embodiment, when the feature amount is extracted, the feature amount is converted into a feature amount in the colorimetric color space (step S306). Since the color space conversion information for converting the color space data in which the image data is generated into the colorimetric color space data is read in advance in step S300, the extracted feature amount is determined according to the color space conversion information. It can be converted into a feature value of the colorimetric color space. When the feature quantity of the colorimetric color space is obtained in this way, the feature quantity extraction process of the second embodiment shown in FIG. 14 is finished, and after returning to the image printing process of FIG. 7, the processes after S104 are continued. .

上述した第2実施例の特徴量抽出処理においても、前述した第1実施例と同様に、測色
色空間の特徴量が得られるので、デジタルカメラ20などの画像機器から受け取った画像
データがどのような色空間の画像データであっても、色空間の違いに影響されることなく
、特徴量を統一的に扱うことが可能となる。
In the feature amount extraction process of the second embodiment described above, the feature amount of the colorimetric color space can be obtained in the same manner as in the first embodiment described above, so what is the image data received from the image device such as the digital camera 20? Even in the case of image data in a simple color space, it is possible to handle the feature values uniformly without being affected by the difference in the color space.

また、前述した第1実施例の特徴量抽出処理においては、画像データを一旦、測色色空
間に変換してから特徴量を抽出しているのに対して、第2実施例では、画像データを測色
色空間に変換すること無く、そのまま解析して特徴量を抽出し、得られた特徴量だけを測
色色空間のデータに変換している。このため、画像データを測色色空間に変換する処理が
不要となるので、処理を迅速化することが可能となる。
In the feature amount extraction process of the first embodiment described above, image data is temporarily converted into a colorimetric color space and then feature amounts are extracted, whereas in the second embodiment, image data is extracted. Without conversion to the colorimetric color space, the feature amount is extracted as it is, and only the obtained feature amount is converted into the colorimetric color space data. For this reason, the process of converting the image data into the colorimetric color space is unnecessary, and the process can be speeded up.

これに対して、前述した第1実施例の特徴量抽出処理では、画像データ全体を測色色空
間に変換してから解析しているため、詳細な解析が可能となり、それだけ高度が特徴量を
抽出することが可能であるという利点がある。
On the other hand, in the feature amount extraction process of the first embodiment described above, since the entire image data is analyzed after being converted into the colorimetric color space, detailed analysis is possible, and the feature amount is extracted by that much. There is an advantage that it is possible to do.

G.変形例:
以上に説明した各種実施例では、画像データ解析装置が印刷装置10に組み込まれてお
り、デジタルカメラ20などの画像機器から画像データを受け取ると、測色色空間の特徴
量を抽出した後、画像を印刷するものとして説明した。しかし、画像データ解析装置を、
例えば、デジタルカメラ20や、スキャナ40などの画像データを生成する機器に組み込
んでおき、特徴量が付加されたメタ画像データとして、画像データを生成することも可能
である。以下では、このような変形例について説明する。
G. Variations:
In the various embodiments described above, the image data analysis apparatus is incorporated in the printing apparatus 10, and when image data is received from an image device such as the digital camera 20, the image data is extracted after extracting the feature value of the colorimetric color space. Described as printed. However, the image data analysis device
For example, it is possible to generate image data as meta image data to which a feature amount is added by being incorporated in a device such as the digital camera 20 or the scanner 40 that generates image data. Below, such a modification is demonstrated.

図15は、メタ画像データを生成するために行われるメタ画像生成処理の流れを示すフ
ローチャートである。かかる処理は、デジタルカメラ20や、コンピュータ30、スキャ
ナ40などの、画像データを生成する画像機器の中で実施される処理である。以下、フロ
ーチャートに従って、メタ画像データを生成する処理について説明する。
FIG. 15 is a flowchart showing a flow of meta image generation processing performed to generate meta image data. Such processing is performed in an image device that generates image data, such as the digital camera 20, the computer 30, and the scanner 40. Hereinafter, processing for generating meta image data will be described with reference to a flowchart.

メタ画像データ生成処理を開始すると、先ず初めに画像データを生成する(ステップS
400)。メタ画像データ生成処理が、例えばデジタルカメラ20内で実施されるのであ
れば、画像を撮影することによって画像データを生成する。あるいは、メタ画像データ生
成処理が、コンピュータ30上で稼働するアプリケーションプログラムの中で実施される
のであれば、アプリケーションプログラムによって画像データを生成する。更には、メタ
画像データ生成処理が、スキャナ40で原稿画像を読み取る際に実施される場合は、原稿
画像を読み取ることによって画像データを生成する。
When the meta image data generation process is started, first, image data is generated (step S).
400). If the meta image data generation process is performed in the digital camera 20, for example, image data is generated by capturing an image. Alternatively, if the meta image data generation processing is performed in an application program running on the computer 30, image data is generated by the application program. Furthermore, when the meta image data generation process is performed when the scanner 40 reads an original image, the image data is generated by reading the original image.

次いで、生成した画像データのデータサイズを圧縮する処理を行う(ステップS402
)。すなわち、生成した画像データの中から、一定間隔で画素を間引くことにより、画素
数の比較的少ない画像データに圧縮する。
Next, a process for compressing the data size of the generated image data is performed (step S402).
). In other words, by compressing pixels from the generated image data at regular intervals, the image data is compressed into image data having a relatively small number of pixels.

その後、圧縮した画像データを、測色色空間の画像データに変換する(ステップS40
4)。変換に際しては、予め記憶しておいた色空間変換情報を読み出して、かかる変換情
報に従って画像データを変換する。尚、前述したように色空間変換情報とは、画像データ
を生成した色空間のデータを、予め標準として設定された標準色空間のデータに変換する
ための情報であり、変換式や、変換マトリックス、更には、いわゆるカラープロファイル
などの形式で記述されている。
Thereafter, the compressed image data is converted into image data in a colorimetric color space (step S40).
4). At the time of conversion, color space conversion information stored in advance is read, and image data is converted according to the conversion information. As described above, the color space conversion information is information for converting the color space data generated from the image data into the standard color space data set in advance as a standard. Furthermore, it is described in a format such as a so-called color profile.

次いで、測色色空間に変換された画像データを解析することにより、画像の特徴量を抽
出する(ステップS406)。その後、抽出した特徴量を、先に生成した画像データのヘ
ッダ部に添付することによってメタ画像データを生成したら(ステップS408)、図1
5に示したメタ画像データ生成処理を終了する。図16は、画像データのヘッダ部に特徴
量が付加されている様子を概念的に示した説明図である。
Next, by analyzing the image data converted into the colorimetric color space, the feature amount of the image is extracted (step S406). Thereafter, when meta image data is generated by attaching the extracted feature amount to the header portion of the previously generated image data (step S408), FIG.
The meta image data generation process shown in FIG. FIG. 16 is an explanatory diagram conceptually showing a state in which a feature amount is added to the header portion of the image data.

以上のようにして生成されたメタ画像データでは、測色色空間での特徴量が、ヘッダ部
に添付されている。このため、どのような色空間の画像データであっても、色空間の違い
に影響されることなく、特徴量を統一的に扱うことが可能となる。その結果、例えば、画
像の印刷(あるいは画面上への表示)する際に、特徴量に応じて画像データを適切に補正
して、高画質な画像を得ることが可能となる。また、このようなメタ画像データをサーバ
に記憶しておくことで、膨大な画像データの中から、特徴量に基づいて全ての画像データ
を統一的に検索することが可能となり、所望の画像データを迅速に見つけることが可能と
なる。
In the meta image data generated as described above, the feature amount in the colorimetric color space is attached to the header portion. For this reason, it is possible to handle the feature values uniformly regardless of the color space, regardless of the color space. As a result, for example, when an image is printed (or displayed on the screen), it is possible to appropriately correct the image data according to the feature amount to obtain a high-quality image. Also, by storing such meta-image data in the server, it becomes possible to search all image data uniformly from a huge amount of image data based on the feature amount, and the desired image data Can be found quickly.

以上、本実施例の印刷装置について説明したが、本発明は上記すべての実施例に限られ
るものではなく、その要旨を逸脱しない範囲において種々の態様で実施することができる
Although the printing apparatus of the present embodiment has been described above, the present invention is not limited to all the above-described embodiments, and can be implemented in various modes without departing from the scope of the present invention.

本実施例の画像データ解析装置の概要を示した説明図である。It is explanatory drawing which showed the outline | summary of the image data analysis apparatus of a present Example. 本実施例の画像データ解析装置が組み込まれた印刷装置の外観形状を示す斜視図である。1 is a perspective view showing an external shape of a printing apparatus in which an image data analysis apparatus according to an embodiment is incorporated. 原稿画像を読み込むために印刷装置10の上部に設けられた原稿台カバーを開いた様子を示す説明図である。FIG. 3 is an explanatory diagram showing a state in which a document table cover provided on the upper part of the printing apparatus is opened to read a document image. スキャナ部の手前側を持ち上げて回転させた様子を示した斜視図である。It is the perspective view which showed a mode that the front side of the scanner part was lifted and rotated. 本実施例の印刷装置の内部構成を概念的に示した説明図である。It is explanatory drawing which showed notionally the internal structure of the printing apparatus of a present Example. 各色のインク吐出ヘッドにインク滴を吐出する複数のノズルが形成されている様子を示した説明図である。It is explanatory drawing which showed a mode that the several nozzle which discharges an ink drop to the ink discharge head of each color was formed. 本実施例の印刷装置で画像を印刷するために行われている画像印刷処理の流れを示すフローチャートである。3 is a flowchart illustrating a flow of image printing processing performed to print an image with the printing apparatus according to the present exemplary embodiment. 印刷媒体上にインクドットを用いて画像を形成する画像形成処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of image forming processing for forming an image using ink dots on a print medium. 色変換処理のために参照される色変換テーブルを概念的に示した説明図である。It is explanatory drawing which showed notionally the color conversion table referred for a color conversion process. ディザマトリックスの一部を拡大して例示した説明図である。It is explanatory drawing which expanded and illustrated a part of dither matrix. ディザマトリックスを参照しながら画素毎にドット形成の有無を判断している様子を概念的に示した説明図である。It is explanatory drawing which showed notionally the mode that the presence or absence of dot formation was judged for every pixel, referring a dither matrix. 第1実施例の特徴量抽出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the feature-value extraction process of 1st Example. 特徴量を抽出するために画像を複数の領域に分割した様子を示した説明図である。It is explanatory drawing which showed a mode that the image was divided | segmented into several area | region in order to extract the feature-value. 第2実施例の特徴量抽出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the feature-value extraction process of 2nd Example. メタ画像データを生成するために行われるメタ画像生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the meta image production | generation process performed in order to produce | generate meta image data. 画像データのヘッダ部に特徴量が付加されている様子を概念的に示した説明図である。It is explanatory drawing which showed notably the mode that the feature-value is added to the header part of image data.

符号の説明Explanation of symbols

10…印刷装置、12…インク吐出ヘッド、100…スキャナ部、200…プリンタ部
、240…印刷キャリッジ、241…印字ヘッド、242…インクカートリッジ、243
…インクカートリッジ、260…制御回路、300…操作パネル。
DESCRIPTION OF SYMBOLS 10 ... Printing apparatus, 12 ... Ink discharge head, 100 ... Scanner part, 200 ... Printer part, 240 ... Print carriage, 241 ... Print head, 242 ... Ink cartridge, 243
... ink cartridge, 260 ... control circuit, 300 ... operation panel.

Claims (13)

画像データに対して所定の画像解析を行うことで、該画像データが表す画像から所定の
特徴量を抽出する画像データ解析装置であって、
前記特徴量を抽出しようとする画像の画像データを受け取る画像データ受取手段と、
前記受け取った画像データを、予め標準として設定された色空間たる標準色空間の画像
データに変換するための色空間変換情報を取得する色空間変換情報取得手段と、
前記受け取った画像データを、前記色空間変換情報に基づいて、前記標準色空間の画像
データに変換する画像データ変換手段と、
前記標準色空間に変換された画像データを解析することにより、前記所定の特徴量を抽
出する特徴量抽出手段と
を備える画像データ解析装置。
An image data analysis apparatus that extracts a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data,
Image data receiving means for receiving image data of an image from which the feature amount is to be extracted;
Color space conversion information acquisition means for acquiring color space conversion information for converting the received image data into image data of a standard color space which is a color space set as a standard in advance;
Image data conversion means for converting the received image data into image data of the standard color space based on the color space conversion information;
An image data analysis apparatus comprising: feature amount extraction means for extracting the predetermined feature amount by analyzing the image data converted into the standard color space.
画像データに対して所定の画像解析を行うことで、該画像データが表す画像から所定の
特徴量を抽出する画像データ解析装置であって、
前記特徴量を抽出しようとする画像の画像データを受け取る画像データ受取手段と、
前記画像データが記述された色空間のデータを、予め標準として設定された色空間たる
標準色空間のデータに変換するための色空間変換情報を取得する色空間変換情報取得手段
と、
前記受け取った画像データを解析することにより、前記所定の特徴量を抽出する特徴量
抽出手段と、
前記抽出した特徴量を前記色空間変換情報に基づいて変換することにより、前記標準色
空間での特徴量に変換する特徴量変換手段と
を備える画像データ解析装置。
An image data analysis apparatus that extracts a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data,
Image data receiving means for receiving image data of an image from which the feature amount is to be extracted;
Color space conversion information acquisition means for acquiring color space conversion information for converting data of a color space in which the image data is described into data of a standard color space that is a color space set in advance as a standard;
Analyzing the received image data to extract the predetermined feature amount; and
An image data analysis apparatus comprising: a feature amount conversion unit that converts the extracted feature amount into a feature amount in the standard color space by converting the extracted feature amount based on the color space conversion information.
請求項1または請求項2に記載の画像データ解析装置であって、
前記色空間変換情報取得手段は、前記色空間変換情報として、前記画像データが記述さ
れた色空間のデータを測色色空間のデータに変換するための情報を取得する手段である画
像データ解析装置。
The image data analysis device according to claim 1 or 2, wherein
The color space conversion information acquisition unit is an image data analysis device that acquires, as the color space conversion information, information for converting color space data in which the image data is described into colorimetric color space data.
画像を表す画像データに、該画像についての情報を示すメタデータを付加することによ
り、メタデータを伴う画像データたるメタ画像データを生成するメタ画像データ生成装置
であって、
前記画像データを受け取る画像データ受取手段と、
前記受け取った画像データを、予め標準として設定された色空間たる標準色空間の画像
データに変換するための色空間変換情報を取得する色空間変換情報取得手段と、
前記受け取った画像データを、前記色空間変換情報に基づいて、前記標準色空間の画像
データに変換する画像データ変換手段と、
前記標準色空間に変換された画像データを解析することにより、前記所定の特徴量を抽
出する特徴量抽出手段と、
前記抽出した特徴量を、前記受け取った画像データに前記メタデータとして付加するこ
とにより、前記メタ画像データを生成するメタデータ付加手段と
を備えるメタ画像データ生成装置。
A meta image data generating device that generates meta image data as image data accompanied by metadata by adding metadata indicating information about the image to image data representing an image,
Image data receiving means for receiving the image data;
Color space conversion information acquisition means for acquiring color space conversion information for converting the received image data into image data of a standard color space which is a color space set as a standard in advance;
Image data conversion means for converting the received image data into image data of the standard color space based on the color space conversion information;
Analyzing the image data converted into the standard color space to extract the predetermined feature amount; and
A meta image data generation device comprising: metadata adding means for generating the meta image data by adding the extracted feature amount as the metadata to the received image data.
画像を表す画像データに、該画像についての情報を示すメタデータを付加することによ
り、メタデータを伴う画像データたるメタ画像データを生成するメタ画像データ生成装置
であって、
前記画像データを受け取る画像データ受取手段と、
前記画像データが記述された色空間のデータを、予め標準として設定された色空間たる
標準色空間のデータに変換するための色空間変換情報を取得する色空間変換情報取得手段
と、
前記受け取った画像データを解析することにより、前記所定の特徴量を抽出する特徴量
抽出手段と、
前記抽出した特徴量を前記色空間変換情報に基づいて変換することにより、前記標準色
空間での特徴量に変換する特徴量変換手段と、
前記変換された特徴量を、前記受け取った画像データに前記メタデータとして付加する
ことにより、前記メタ画像データを生成するメタデータ付加手段と
を備えるメタ画像データ生成装置。
A meta image data generating device that generates meta image data as image data accompanied by metadata by adding metadata indicating information about the image to image data representing an image,
Image data receiving means for receiving the image data;
Color space conversion information acquisition means for acquiring color space conversion information for converting data of a color space in which the image data is described into data of a standard color space that is a color space set in advance as a standard;
Analyzing the received image data to extract the predetermined feature amount; and
A feature amount conversion means for converting the extracted feature amount into a feature amount in the standard color space by converting the extracted feature amount based on the color space conversion information;
A meta image data generating device comprising: metadata adding means for generating the meta image data by adding the converted feature quantity as the metadata to the received image data.
画像データに対して所定の画像解析を行うことで、該画像データが表す画像から所定の
特徴量を抽出する画像データ解析方法であって、
前記特徴量を抽出しようとする画像の画像データを受け取る第1の工程と、
前記受け取った画像データを、予め標準として設定された色空間たる標準色空間の画像
データに変換するための色空間変換情報を取得する第2の工程と、
前記受け取った画像データを、前記色空間変換情報に基づいて、前記標準色空間の画像
データに変換する第3の工程と、
前記標準色空間に変換された画像データを解析することにより、前記所定の特徴量を抽
出する第4の工程と
を備える画像データ解析方法。
An image data analysis method for extracting a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data,
A first step of receiving image data of an image from which the feature amount is to be extracted;
A second step of acquiring color space conversion information for converting the received image data into image data of a standard color space which is a color space set in advance as a standard;
A third step of converting the received image data into image data of the standard color space based on the color space conversion information;
And a fourth step of extracting the predetermined feature amount by analyzing the image data converted into the standard color space.
画像データに対して所定の画像解析を行うことで、該画像データが表す画像から所定の
特徴量を抽出する画像データ解析方法であって、
前記特徴量を抽出しようとする画像の画像データを受け取る工程(A)と、
前記画像データが記述された色空間のデータを、予め標準として設定された色空間たる
標準色空間のデータに変換するための色空間変換情報を取得する工程(B)と、
前記受け取った画像データを解析することにより、前記所定の特徴量を抽出する工程(
C)と、
前記抽出した特徴量を前記色空間変換情報に基づいて変換することにより、前記標準色
空間での特徴量に変換する工程(D)と
を備える画像データ解析方法。
An image data analysis method for extracting a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data,
Receiving (A) image data of an image from which the feature amount is to be extracted;
(B) obtaining color space conversion information for converting color space data in which the image data is described into data of a standard color space that is a color space set in advance as a standard;
A step of extracting the predetermined feature amount by analyzing the received image data (
C) and
A process (D) for converting the extracted feature quantity into a feature quantity in the standard color space by converting the extracted feature quantity based on the color space conversion information.
画像を表す画像データに、該画像についての情報を示すメタデータを付加することによ
り、メタデータを伴う画像データたるメタ画像データを生成するメタ画像データ生成方法
であって、
前記画像データを受け取る工程(1)と、
前記受け取った画像データを、予め標準として設定された色空間たる標準色空間の画像
データに変換するための色空間変換情報を取得する工程(2)と、
前記受け取った画像データを、前記色空間変換情報に基づいて、前記標準色空間の画像
データに変換する工程(3)と、
前記標準色空間に変換された画像データを解析することにより、前記所定の特徴量を抽
出する工程(4)と、
前記抽出した特徴量を、前記受け取った画像データに前記メタデータとして付加するこ
とにより、前記メタ画像データを生成する工程(5)と
を備えるメタ画像データ生成方法。
A meta image data generation method for generating meta image data as image data accompanied by metadata by adding metadata indicating information about the image to image data representing an image,
Receiving the image data (1);
Obtaining (2) color space conversion information for converting the received image data into image data of a standard color space which is a color space set in advance as a standard;
(3) converting the received image data into image data of the standard color space based on the color space conversion information;
Analyzing the image data converted into the standard color space to extract the predetermined feature amount (4);
A meta image data generation method comprising: (5) generating the meta image data by adding the extracted feature amount as the metadata to the received image data.
画像を表す画像データに、該画像についての情報を示すメタデータを付加することによ
り、メタデータを伴う画像データたるメタ画像データを生成するメタ画像データ生成方法
であって、
前記画像データを受け取る工程(ア)と、
前記画像データが記述された色空間のデータを、予め標準として設定された色空間たる
標準色空間のデータに変換するための色空間変換情報を取得する工程(イ)と、
前記受け取った画像データを解析することにより、前記所定の特徴量を抽出する工程(
ウ)と、
前記抽出した特徴量を前記色空間変換情報に基づいて変換することにより、前記標準色
空間での特徴量に変換する工程(エ)と、
前記変換された特徴量を、前記受け取った画像データに前記メタデータとして付加する
ことにより、前記メタ画像データを生成する工程(オ)と
を備えるメタ画像データ生成方法。
A meta image data generation method for generating meta image data as image data accompanied by metadata by adding metadata indicating information about the image to image data representing an image,
Receiving the image data (A);
Obtaining (b) color space conversion information for converting the data of the color space in which the image data is described into data of a standard color space that is a color space set in advance as a standard;
A step of extracting the predetermined feature amount by analyzing the received image data (
C)
Converting the extracted feature quantity based on the color space conversion information into a feature quantity in the standard color space (D);
A meta image data generation method comprising: (e) generating the meta image data by adding the converted feature amount as the meta data to the received image data.
画像データに対して所定の画像解析を行うことで、該画像データが表す画像から所定の
特徴量を抽出する方法を、コンピュータを用いて実現するためのプログラムであって、
前記特徴量を抽出しようとする画像の画像データを受け取る第1の機能と、
前記受け取った画像データを、予め標準として設定された色空間たる標準色空間の画像
データに変換するための色空間変換情報を取得する第2の機能と、
前記受け取った画像データを、前記色空間変換情報に基づいて、前記標準色空間の画像
データに変換する第3の機能と、
前記標準色空間に変換された画像データを解析することにより、前記所定の特徴量を抽
出する第4の機能と
をコンピュータを用いて実現するプログラム。
A program for realizing, using a computer, a method for extracting a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data,
A first function for receiving image data of an image from which the feature amount is to be extracted;
A second function of acquiring color space conversion information for converting the received image data into image data of a standard color space which is a color space set in advance as a standard;
A third function for converting the received image data into image data of the standard color space based on the color space conversion information;
A program that uses a computer to realize the fourth function of extracting the predetermined feature amount by analyzing the image data converted into the standard color space.
画像データに対して所定の画像解析を行うことで、該画像データが表す画像から所定の
特徴量を抽出する方法を、コンピュータを用いて実現するためのプログラムであって、
前記特徴量を抽出しようとする画像の画像データを受け取る機能(A)と、
前記画像データが記述された色空間のデータを、予め標準として設定された色空間たる
標準色空間のデータに変換するための色空間変換情報を取得する機能(B)と、
前記受け取った画像データを解析することにより、前記所定の特徴量を抽出する機能(
C)と、
前記抽出した特徴量を前記色空間変換情報に基づいて変換することにより、前記標準色
空間での特徴量に変換する機能(D)と
をコンピュータを用いて実現するプログラム。
A program for realizing, using a computer, a method for extracting a predetermined feature amount from an image represented by the image data by performing predetermined image analysis on the image data,
A function (A) for receiving image data of an image from which the feature amount is to be extracted;
A function (B) for obtaining color space conversion information for converting data of a color space in which the image data is described into data of a standard color space which is a color space set in advance as a standard;
A function of extracting the predetermined feature amount by analyzing the received image data (
C) and
The program which implement | achieves the function (D) converted into the feature-value in the said standard color space using a computer by converting the extracted feature-value based on the said color space conversion information.
画像を表す画像データに、該画像についての情報を示すメタデータを付加することによ
り、メタデータを伴う画像データたるメタ画像データを生成する方法を、コンピュータを
用いて実現するためのプログラムであって、
前記画像データを受け取る機能(1)と、
前記受け取った画像データを、予め標準として設定された色空間たる標準色空間の画像
データに変換するための色空間変換情報を取得する機能(2)と、
前記受け取った画像データを、前記色空間変換情報に基づいて、前記標準色空間の画像
データに変換する機能(3)と、
前記標準色空間に変換された画像データを解析することにより、前記所定の特徴量を抽
出する機能(4)と、
前記抽出した特徴量を、前記受け取った画像データに前記メタデータとして付加するこ
とにより、前記メタ画像データを生成する機能(5)と
をコンピュータを用いて実現するプログラム。
A program for realizing, using a computer, a method of generating meta image data as image data accompanied by metadata by adding metadata indicating information about the image to image data representing the image. ,
A function (1) for receiving the image data;
A function (2) for obtaining color space conversion information for converting the received image data into image data of a standard color space which is a color space set in advance as a standard;
A function (3) for converting the received image data into image data of the standard color space based on the color space conversion information;
A function (4) for extracting the predetermined feature amount by analyzing the image data converted into the standard color space;
A program for realizing the function (5) for generating the meta image data by adding the extracted feature amount as the metadata to the received image data using a computer.
画像を表す画像データに、該画像についての情報を示すメタデータを付加することによ
り、メタデータを伴う画像データたるメタ画像データを生成する方法を、コンピュータを
用いて実現するためのプログラムであって、
前記画像データを受け取る機能(ア)と、
前記画像データが記述された色空間のデータを、予め標準として設定された色空間たる
標準色空間のデータに変換するための色空間変換情報を取得する機能(イ)と、
前記受け取った画像データを解析することにより、前記所定の特徴量を抽出する機能(
ウ)と、
前記抽出した特徴量を前記色空間変換情報に基づいて変換することにより、前記標準色
空間での特徴量に変換する機能(エ)と、
前記変換された特徴量を、前記受け取った画像データに前記メタデータとして付加する
ことにより、前記メタ画像データを生成する機能(オ)と
をコンピュータを用いて実現するプログラム。
A program for realizing, using a computer, a method of generating meta image data as image data accompanied by metadata by adding metadata indicating information about the image to image data representing the image. ,
A function (a) for receiving the image data;
A function (a) for obtaining color space conversion information for converting data of a color space in which the image data is described into data of a standard color space that is a color space set in advance as a standard;
A function of extracting the predetermined feature amount by analyzing the received image data (
C)
A function (d) for converting the extracted feature quantity based on the color space conversion information into a feature quantity in the standard color space;
A program for realizing the function (e) for generating the meta image data by adding the converted feature quantity as the metadata to the received image data using a computer.
JP2008309456A 2008-12-04 2008-12-04 Image processing apparatus, and image processing method Pending JP2009077431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008309456A JP2009077431A (en) 2008-12-04 2008-12-04 Image processing apparatus, and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008309456A JP2009077431A (en) 2008-12-04 2008-12-04 Image processing apparatus, and image processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006034789A Division JP2007215074A (en) 2006-02-13 2006-02-13 Image data analysis apparatus, image data generating apparatus, image data analysis method, and image data generating method

Publications (1)

Publication Number Publication Date
JP2009077431A true JP2009077431A (en) 2009-04-09

Family

ID=40611899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008309456A Pending JP2009077431A (en) 2008-12-04 2008-12-04 Image processing apparatus, and image processing method

Country Status (1)

Country Link
JP (1) JP2009077431A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021100201A (en) * 2019-12-23 2021-07-01 横河電機株式会社 Device, system, method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06113112A (en) * 1992-09-28 1994-04-22 Canon Inc Image forming device
JPH09233336A (en) * 1996-02-20 1997-09-05 Fuji Xerox Co Ltd Image processor
JPH10191060A (en) * 1996-12-26 1998-07-21 Fuji Xerox Co Ltd Image processor
JP2001218075A (en) * 2000-02-01 2001-08-10 Canon Inc Device and method for image processing and storage medium
JP2005192162A (en) * 2003-12-26 2005-07-14 Konica Minolta Photo Imaging Inc Image processing method, image processing apparatus, and image recording apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06113112A (en) * 1992-09-28 1994-04-22 Canon Inc Image forming device
JPH09233336A (en) * 1996-02-20 1997-09-05 Fuji Xerox Co Ltd Image processor
JPH10191060A (en) * 1996-12-26 1998-07-21 Fuji Xerox Co Ltd Image processor
JP2001218075A (en) * 2000-02-01 2001-08-10 Canon Inc Device and method for image processing and storage medium
JP2005192162A (en) * 2003-12-26 2005-07-14 Konica Minolta Photo Imaging Inc Image processing method, image processing apparatus, and image recording apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021100201A (en) * 2019-12-23 2021-07-01 横河電機株式会社 Device, system, method, and program
JP7205457B2 (en) 2019-12-23 2023-01-17 横河電機株式会社 Apparatus, system, method and program

Similar Documents

Publication Publication Date Title
JP2007053521A (en) Image data conversion apparatus, printer, image data conversion method, print method, and conversion table generating method
JP2008172662A (en) Device and method for converting image data
JP2008005469A (en) Image processing apparatus, printing apparatus, image processing method, color correction table setting method, and printing method
JP2006335020A (en) Printing device, image processing device, printing method, and image processing method
JP2007215074A (en) Image data analysis apparatus, image data generating apparatus, image data analysis method, and image data generating method
JP2007219815A (en) Printer, image processor, printing method and image processing method
JP2007190741A (en) Printer, image processor, method for printing, and method for processing image
JP2008148007A (en) Image processor, printer, image processing method and printing method
JP2007083547A (en) Printer, image processor, method for printing, and method for processing image
JP4752431B2 (en) Color image copying apparatus, color image copying method, and computer program
JP2009077431A (en) Image processing apparatus, and image processing method
JP2007295060A (en) Printer profile setting device and printer profile setting method
JP2007281914A (en) Image copying apparatus, image data conversion device, image copying method, and image data conversion method
JP2007006311A (en) Image copying apparatus and method, and printer and printing method
JP2008044295A (en) Printer, image processor, image copying method, and image processing method
JP2007221430A (en) Image output device and method, image processor, and image processing method
JP2008143026A (en) Image processor, method for processing image, and program
JP2007190885A (en) Printing device, image processor, printing method and image processing method
JP2007098745A (en) Printer, image processor, printing method, and image processing method
JP2006352526A (en) Image forming system, image forming method, and image forming program
JP2007125842A (en) Printer, image processor, printing method, and image processing method
JP4605061B2 (en) Color conversion table setting method, image data conversion device, printing device, image data conversion method, and printing method
JP2008109431A (en) Image output device, image output method, and program
JP2007110468A (en) Printer, image processor and processing method, and printing method
JP2008114570A (en) Image output unit, image output method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090212

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110118

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120124