JP5733706B2 - Image processing apparatus, method, and program - Google Patents

Image processing apparatus, method, and program Download PDF

Info

Publication number
JP5733706B2
JP5733706B2 JP2012131653A JP2012131653A JP5733706B2 JP 5733706 B2 JP5733706 B2 JP 5733706B2 JP 2012131653 A JP2012131653 A JP 2012131653A JP 2012131653 A JP2012131653 A JP 2012131653A JP 5733706 B2 JP5733706 B2 JP 5733706B2
Authority
JP
Japan
Prior art keywords
image
color
small area
deformation
corresponding point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012131653A
Other languages
Japanese (ja)
Other versions
JP2013257614A (en
Inventor
勝 土田
勝 土田
川西 隆仁
隆仁 川西
柏野 邦夫
邦夫 柏野
淳司 大和
淳司 大和
孝文 青木
孝文 青木
伊藤 康一
康一 伊藤
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.)
Tohoku University NUC
Nippon Telegraph and Telephone Corp
Original Assignee
Tohoku University NUC
Nippon Telegraph and Telephone 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 Tohoku University NUC, Nippon Telegraph and Telephone Corp filed Critical Tohoku University NUC
Priority to JP2012131653A priority Critical patent/JP5733706B2/en
Publication of JP2013257614A publication Critical patent/JP2013257614A/en
Application granted granted Critical
Publication of JP5733706B2 publication Critical patent/JP5733706B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、画像処理装置、方法、及びプログラムに係り、特に、マルチバンド画像を用いて色再現処理を行なう画像処理装置、方法、及びプログラムに関する。   The present invention relates to an image processing apparatus, method, and program, and more particularly, to an image processing apparatus, method, and program for performing color reproduction processing using a multiband image.

非特許文献1や非特許文献2に示されるような、RGB(3バンド)デジタルカメラとデジタルカメラが持つ本来のR(赤)、G(緑)、B(青)の各色に対応するフィルタの透過波長の一部のみを透過するカラーフィルタを組み合わせて4バンド以上のマルチバンド画像を撮影し、得られたマルチバンド画像からRGB画像等を生成する技術が知られている。   Filters corresponding to the original R (red), G (green), and B (blue) colors of RGB (3-band) digital cameras and digital cameras as shown in Non-Patent Document 1 and Non-Patent Document 2 A technique for capturing a multiband image of four or more bands by combining color filters that transmit only a part of the transmission wavelength and generating an RGB image or the like from the obtained multiband image is known.

非特許文献1及び非特許文献2の場合には、例えば、図14に示すように、RGBカメラ501a及びカラーフィルタ501bを組み合わせた画像入力部501により3バンド画像1を得ると共に、RGBカメラ502aを有する画像入力部502により3バンド画像1を得ることにより、フィルタの厚み等による光学収差や、対応する被写体上の同一点が画像上で異なる位置に記録されている2種類の3バンド画像が得られ、6バンド画像を得て、従来の画像処理装置503の対応点探索部503aにより、3バンド画像1及び3バンド画像2の対応点を検出し、画像変形処理部503bにより、3バンド画像1及び3バンド画像2の何れか一方を幾何的に変形させ、他方の画像に一致させる事でマルチバンド画像を生成している。そして、色再現処理部503cにより、上記得られた全てのバンドの画像を用いて色再現演算を行ない、その結果からRGB画像を生成している(図15も参照)。   In the case of Non-Patent Document 1 and Non-Patent Document 2, for example, as shown in FIG. 14, a 3-band image 1 is obtained by an image input unit 501 combining an RGB camera 501a and a color filter 501b, and an RGB camera 502a is installed. By obtaining the three-band image 1 using the image input unit 502, two types of three-band images in which the optical aberration due to the filter thickness and the like and the corresponding point on the subject are recorded at different positions on the image are obtained. 6-band images are obtained, corresponding points search unit 503a of conventional image processing apparatus 503 detects corresponding points of 3-band image 1 and 3-band image 2, and image deformation processing unit 503b detects 3-band image 1 The multi-band image is generated by geometrically deforming one of the three-band images 2 and matching the other image with the other image. Then, the color reproduction processing unit 503c performs a color reproduction calculation using all the obtained band images, and generates an RGB image from the result (see also FIG. 15).

橋本勝、"6バンド分光画像による浮世絵のアーカイブと高精度色再現"、人文科学とシンポジウム(じんもんこん)2008, pp.305-310, Dec., 2008Masaru Hashimoto, “Archives of Ukiyo-e and High-Precision Color Reproduction Using 6-Band Spectral Images,” Humanities and Symposium 2008, pp.305-310, Dec., 2008 土田勝、川西隆仁、大和淳司、伊藤康一、青木孝文、” 色再現を目的としたステレオ式ワンショット6バンド撮影システム”、画像の認識・理解シンポジウム(MIRU)2010, デモセッション, No. DS-1, pp. 1310-1311, July 2010Masaru Tsuchida, Takahito Kawanishi, Junji Yamato, Koichi Ito, Takafumi Aoki, “Stereo one-shot six-band imaging system for color reproduction”, Image Recognition and Understanding Symposium (MIRU) 2010, Demo Session, No. DS -1, pp. 1310-1311, July 2010

しかしながら、上記非特許文献1及び2では、フィルタ無しで撮影した画像とフィルタ有りで撮像した画像のどちらの画像を基準画像/変形対象の画像にすべきか明示されていない。フィルタ有りで撮影した画像を基準画像とした場合、対応点探索や画像変形が失敗したときには、色再現結果画像上への偽色の発生や、見た目の色が著しく不自然な画像(色再現性の低下)等といった画質の著しい低下や、基準画像を用いての画質の回復が困難になってしまう、という問題がある。   However, Non-Patent Documents 1 and 2 do not clearly indicate which of the image captured without a filter and the image captured with a filter should be the reference image / the image to be deformed. When an image taken with a filter is used as a reference image, if a corresponding point search or image transformation fails, false color generation on the color reproduction result image or an image with an unnatural appearance (color reproducibility) There is a problem that the image quality is remarkably deteriorated, such as a decrease in image quality), and that it is difficult to restore the image quality using the reference image.

本発明は、上記の問題を解決するためになされたもので、従来手法よりも色再現結果の精度が向上する画像処理装置、方法、及びプログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to provide an image processing apparatus, method, and program in which the accuracy of the color reproduction result is improved as compared with the conventional method.

上記目的を達成するために、第1の発明の画像処理装置は、カメラが撮影可能な色の一部の波長を透過するカラーフィルタを用いて撮影された第1カラー画像、及び前記カラーフィルタを用いずに撮影された第2カラー画像を取得する画像取得手段と、前記画像取得手段によって取得された前記第1カラー画像と前記第2カラー画像との対応点を複数検出する対応点検出手段と、前記対応点検出手段によって検出された前記複数の対応点に基づいて、各対応点の位置が一致するように前記第1カラー画像を変形した第3カラー画像を生成する画像変形手段と、前記画像取得手段によって取得された前記第2カラー画像及び前記画像変形手段によって生成された前記第3カラー画像の前記対応点の位置ずれ量が閾値以上であるか否かを判定する画像変形結果判定手段と、前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値以上であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像を用いて、被写体の色再現処理を行い、前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値未満であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像及び前記画像変形手段によって生成された前記第3カラー画像を用いて、被写体の色再現処理を行う色再現処理手段とを含んで構成されている。   In order to achieve the above object, an image processing apparatus according to a first aspect of the present invention includes a first color image photographed using a color filter that transmits a part of wavelengths of colors that can be photographed by a camera, and the color filter. Image acquisition means for acquiring a second color image photographed without use, and corresponding point detection means for detecting a plurality of corresponding points between the first color image and the second color image acquired by the image acquisition means; Image deformation means for generating a third color image obtained by deforming the first color image so that the positions of the corresponding points coincide with each other based on the plurality of corresponding points detected by the corresponding point detection means; It is determined whether or not the amount of positional deviation of the corresponding points of the second color image acquired by the image acquisition unit and the third color image generated by the image transformation unit is greater than or equal to a threshold value. When the image deformation result determining unit and the image deformation result determining unit determine that the amount of positional deviation of the corresponding point is equal to or greater than a threshold, the second color image acquired by the image acquiring unit is used to The second color image acquired by the image acquisition unit and the image deformation unit when the image deformation result determination unit determines that the amount of positional deviation of the corresponding point is less than a threshold value. And a color reproduction processing means for performing a color reproduction process of the subject using the third color image generated by the above-described method.

第2の発明の画像処理方法は、画像取得手段、対応点検出手段、検出対応点数結果判定手段、画像変形手段、画像変形結果判定手段、及び色再現処理手段を含む画像処理装置における画像処理方法であって、前記画像取得手段によって、カメラが撮影可能な色の一部の波長を透過するカラーフィルタを用いて撮影された第1カラー画像、及び前記カラーフィルタを用いずに撮影された第2カラー画像を取得し、前記対応点検出手段によって、前記画像取得手段によって取得された前記第1カラー画像と前記第2カラー画像との対応点を複数検出し、前記検出対応点数判定手段によって、前記対応点検出手段によって取得された前記第1カラー画像及び前記第2カラー画像間で検出された対応点の数が閾値以上であるか否かを判定し、前記対応点数がある閾値以上である場合には前記画像変形手段によって、前記対応点検出手段によって検出された前記複数の対応点に基づいて、各対応点の位置が一致するように前記第1カラー画像を変形した第3カラー画像を生成し、前記画像変形結果判定手段によって、前記画像取得手段によって取得された前記第2カラー画像及び前記画像変形手段によって生成された前記第3カラー画像の前記対応点の位置ずれ量が閾値以上であるか否かを判定し、前記色再現処理手段によって、前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値以上であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像を用いて、被写体の色再現処理を行い、前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値未満であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像及び前記画像変形手段によって生成された前記第3カラー画像を用いて、被写体の色再現処理を行う。前記検出対応点判定手段において検出された対応点数が閾値未満と判定された場合には、前記画像取得手段によって取得された前記第2カラー画像を用いて、被写体の色再現処理を行う。   An image processing method according to a second aspect of the present invention is an image processing method in an image processing apparatus including image acquisition means, corresponding point detection means, detection corresponding point number result determination means, image deformation means, image deformation result determination means, and color reproduction processing means. A first color image photographed using a color filter that transmits a part of wavelengths of colors that can be photographed by the camera and a second photographed without using the color filter. A color image is acquired, and a plurality of corresponding points between the first color image and the second color image acquired by the image acquisition unit are detected by the corresponding point detection unit, and the detection corresponding point number determination unit determines the Determining whether or not the number of corresponding points detected between the first color image and the second color image acquired by the corresponding point detecting means is greater than or equal to a threshold; If the number is equal to or greater than a certain threshold, the first color image is adjusted by the image deformation unit based on the plurality of corresponding points detected by the corresponding point detection unit so that the positions of the corresponding points coincide with each other. A deformed third color image is generated, and the corresponding point of the second color image acquired by the image acquiring unit and the corresponding point of the third color image generated by the image deforming unit are determined by the image deformation result determining unit. It is determined whether or not the amount of misregistration is greater than or equal to a threshold, and when the color reproduction processing unit determines that the amount of misregistration of the corresponding point is greater than or equal to the threshold, the image acquisition The second color image acquired by the means is used to perform subject color reproduction processing, and the image deformation result determination means determines the amount of positional deviation of the corresponding point as a threshold value. If it is determined that the full, with the third color image generated by the acquired second color image and said image modification means by said image acquiring means, performs color reproduction processing of an object. When it is determined that the number of corresponding points detected by the detected corresponding point determination unit is less than a threshold value, subject color reproduction processing is performed using the second color image acquired by the image acquisition unit.

このように、カラーフィルタの無い第2撮影手段により撮影された第2カラー画像を基準画像として、十分な数の対応点が得られなかった場合には、第2カラー画像を用いて、被写体の色再現処理を行う。また十分な数の対応点が得られた場合には、各対応点の位置が一致するように、カラーフィルタとを有する第1撮影手段により撮影された第1カラー画像を変形した第3カラー画像を生成し、第3カラー画像との対応点の位置ずれ量が閾値以上である場合に、第2カラー画像を用いて、被写体の色再現処理を行う。これらの処理により、従来手法よりも色再現結果の精度が向上する。   As described above, when a sufficient number of corresponding points cannot be obtained using the second color image captured by the second imaging unit without the color filter as a reference image, the second color image is used to Perform color reproduction processing. Further, when a sufficient number of corresponding points are obtained, a third color image obtained by modifying the first color image captured by the first imaging unit having the color filter so that the positions of the corresponding points coincide with each other. Is generated, and the color reproduction process of the subject is performed using the second color image when the positional deviation amount of the corresponding point with the third color image is equal to or larger than the threshold value. By these processes, the accuracy of the color reproduction result is improved as compared with the conventional method.

なお、色再現処理は、被写体の色(例えば、スペクトル、分光反射率、色、RGB/多原色画素値等)を計算(推定)し、計算した値を画素値とする色再現結果画像(例えば、スペクトル画像、分光反射率画像、RGB画像等々)を生成する処理をいう。   The color reproduction process calculates (estimates) the color of the subject (for example, spectrum, spectral reflectance, color, RGB / multi-primary pixel value, etc.) and uses the calculated value as a pixel value (for example, a color reproduction result image). , Spectral image, spectral reflectance image, RGB image, etc.).

また、第3の発明の画像処理装置は、第1の発明または第2の発明の画像処理装置において、前記画像取得手段によって取得された前記第1カラー画像と前記第2カラー画像との各々を小領域画像に分割する画像分割処理手段と、画像貼り合わせ処理手段とを更に含み、前記対応点検出手段は、前記小領域画像毎に、前記画像取得手段によって取得された前記第1カラー画像の前記小領域画像と、前記第2カラー画像の対応する前記小領域画像との対応点を複数検出し、前記画像変形手段は、前記小領域画像毎に、前記対応点検出手段によって検出された前記対応点に基づいて、各対応点の位置が一致するように前記第1カラー画像の前記小領域画像を変形した第3カラー画像の小領域画像を生成し、前記画像変形結果判定手段は、前記小領域画像毎に、前記画像取得手段によって取得された前記第2カラー画像の前記小領域画像及び前記画像変形手段によって生成された前記第3カラー画像の対応する前記小領域画像の前記対応点の位置ずれ量が閾値以上であるか否かを判定し、前記色再現処理手段は、前記小領域画像毎に、前記画像変形結果判定手段によって前記小領域画像について前記対応点の位置ずれ量が閾値以上であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像の前記小領域画像を用いて、前記小領域画像における被写体の色再現処理を行い、前記画像変形結果判定手段によって前記小領域画像について前記対応点の位置ずれ量が閾値未満であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像の前記小領域画像及び前記画像変形手段によって生成された前記第3カラー画像の対応する前記小領域画像を用いて、前記小領域画像における被写体の色再現処理を行い、前記画像貼り合わせ処理手段は、前記色再現処理を行った各小領域画像から一枚の画像を生成する。   An image processing apparatus according to a third aspect is the image processing apparatus according to the first aspect or the second aspect, wherein each of the first color image and the second color image acquired by the image acquisition means is obtained. The image processing unit further includes an image division processing unit that divides the image into small region images, and an image pasting processing unit, wherein the corresponding point detection unit is configured to output the first color image acquired by the image acquisition unit for each of the small region images. A plurality of corresponding points between the small region image and the small region image corresponding to the second color image are detected, and the image transformation unit detects the corresponding point detected by the corresponding point detection unit for each small region image. Based on the corresponding points, a small area image of a third color image is generated by deforming the small area image of the first color image so that the positions of the corresponding points coincide with each other. Small territory For each image, the displacement of the corresponding point of the small area image corresponding to the small color image of the second color image acquired by the image acquiring means and the third color image generated by the image deformation means. Determining whether or not the amount is greater than or equal to a threshold value, the color reproduction processing means, for each of the small area images, the image deformation result determination means for the small area image the positional deviation amount of the corresponding point is greater than or equal to the threshold value If it is determined that there is a color reproduction process of a subject in the small region image using the small region image of the second color image acquired by the image acquisition unit, the image deformation result determination unit When it is determined that the positional deviation amount of the corresponding point is less than a threshold value for the small area image, the small area of the second color image acquired by the image acquisition means Using the small area image corresponding to the image and the third color image generated by the image transformation means, color reproduction processing of the subject in the small area image is performed, and the image combining processing means One image is generated from each processed small area image.

第3の発明の画像処理装置は、小領域画像に分割した後は、上記の第1の発明もしくは第2の発明と同様の方法に基づき、小領域画像毎に色再現画像を生成し、得られた小領域毎の色再現画像結果を貼り合せ、1枚の色再現画像を得る。   The image processing apparatus according to the third aspect of the invention generates a color reproduction image for each small area image based on the same method as the first aspect or the second aspect of the invention after dividing into small area images. The obtained color reproduction image results for each small region are combined to obtain one color reproduction image.

第4の発明の画像処理装置は、カメラが撮影可能な色の一部の波長を透過するカラーフィルタを用いて撮影された第1カラー画像、及び前記カラーフィルタを用いずに撮影された第2カラー画像を取得する画像取得手段と、前記画像取得手段によって取得された前記第1カラー画像と前記第2カラー画像との各々を小領域画像に分割する画像分割処理手段と、前記小領域画像毎に、前記画像取得手段によって取得された前記第1カラー画像の前記小領域画像と、前記第2カラー画像の対応する前記小領域画像との対応点を複数検出する対応点検出手段と、前記小領域画像毎に、前記対応点検出手段によって前記小領域画像について検出された前記対応点に基づいて、各対応点の位置が一致するように前記第1カラー画像の前記小領域画像を変形した第3カラー画像の小領域画像を生成する画像変形手段と、前記小領域画像毎に、前記画像取得手段によって取得された前記第2カラー画像の前記小領域画像及び前記画像変形手段によって生成された前記第3カラー画像の対応する前記小領域画像の前記対応点の位置ずれ量が閾値以上であるか否かを判定する画像変形結果判定手段と、前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値以上であると判定された前記小領域画像の各々について、前記第2カラー画像の前記小領域画像から、前記第1カラー画像の対応する前記小領域画像を推定する画像推定手段と、前記画像変形結果判定手段によって前記対応点の位置ずれ量が未満以上であると判定された前記小領域画像に対応する前記第1カラー画像の前記小領域画像、及び前記画像推定手段によって推定された前記第1カラー画像の前記小領域画像を貼り合わせた画像を生成する画像貼り合わせ手段と、前記画像取得手段によって取得された前記第2カラー画像及び前記画像貼り合わせ処理手段によって生成された画像を用いて、被写体の色再現処理を行う色再現処理手段と、を含んで構成されている。   An image processing apparatus according to a fourth aspect of the present invention is a first color image captured using a color filter that transmits a part of wavelengths of colors that can be captured by the camera, and a second image captured without using the color filter. Image acquisition means for acquiring a color image, image division processing means for dividing each of the first color image and the second color image acquired by the image acquisition means into small area images, and each small area image Corresponding point detecting means for detecting a plurality of corresponding points between the small area image of the first color image acquired by the image acquisition means and the corresponding small area image of the second color image; For each area image, based on the corresponding points detected for the small area image by the corresponding point detection means, the small area image of the first color image is changed so that the positions of the corresponding points coincide with each other. Generated by the image deformation means for generating a small area image of the third color image, and the small area image of the second color image acquired by the image acquisition means and the image deformation means for each of the small area images. In addition, an image deformation result determination unit that determines whether or not a positional deviation amount of the corresponding point of the small area image corresponding to the third color image is greater than or equal to a threshold value, and the image deformation result determination unit determines the corresponding point. Image estimation means for estimating the small area image corresponding to the first color image from the small area image of the second color image for each of the small area images determined to have a positional deviation amount equal to or greater than a threshold value. And the small area image of the first color image corresponding to the small area image determined by the image deformation result determination means that the positional deviation amount of the corresponding point is less than or equal to And an image pasting unit that generates an image obtained by pasting the small area images of the first color image estimated by the image estimating unit, and the second color image and the image pasting obtained by the image obtaining unit. And color reproduction processing means for performing color reproduction processing of the subject using the image generated by the matching processing means.

このように、小領域画像毎に、カラーフィルタの無い第2撮影手段により撮影された第2カラー画像を基準画像として、各対応点の位置が一致するように、カラーフィルタとを有する第1撮影手段により撮影された第1カラー画像を変形した第3カラー画像を生成し、小領域画像毎に、第3カラー画像との対応点の位置ずれ量が閾値以上である場合に、第2カラー画像を用いて、被写体の色再現処理を行うことにより、従来手法よりも色再現結果の精度が向上する。   In this way, for each small area image, the first image pickup having the color filter so that the positions of the corresponding points coincide with each other using the second color image taken by the second image pickup means without the color filter as the reference image. When a third color image obtained by deforming the first color image photographed by the means is generated, and the positional deviation amount of the corresponding point with the third color image is greater than or equal to the threshold value for each small region image, the second color image By performing the color reproduction process of the subject using, the accuracy of the color reproduction result is improved as compared with the conventional method.

また、本発明のプログラムは、コンピュータを、上記の画像処理装置を構成する各手段として機能させるための画像処理プログラムである。   The program of the present invention is an image processing program for causing a computer to function as each means constituting the image processing apparatus.

以上説明したように、本発明の画像処理装置、方法、及びプログラムによれば、カラーフィルタの無い第2撮影手段により撮影された第2カラー画像を基準画像として、各対応点の位置が一致するように、カラーフィルタとを有する第1撮影手段により撮影された第1カラー画像を変形した第3カラー画像を生成し、第3カラー画像との対応点の位置ずれ量が閾値以上である場合に、第2カラー画像を用いて、被写体の色再現処理を行うことにより、従来手法よりも色再現結果の精度が向上する、という効果が得られる。   As described above, according to the image processing apparatus, method, and program of the present invention, the positions of the corresponding points coincide with each other using the second color image captured by the second imaging unit without the color filter as the reference image. As described above, when a third color image obtained by deforming the first color image photographed by the first photographing means having the color filter is generated, and the amount of positional deviation of the corresponding point with the third color image is equal to or larger than the threshold value. By performing the color reproduction process of the subject using the second color image, an effect that the accuracy of the color reproduction result is improved as compared with the conventional method can be obtained.

第1の実施の形態に係る画像処理装置の構成を示す概略図である。1 is a schematic diagram illustrating a configuration of an image processing apparatus according to a first embodiment. マルチバンド画像を入力する画像入力装置の一例を示す図である。It is a figure which shows an example of the image input device which inputs a multiband image. (A)カラーフィルタの透過波長の一例を示す図、及び(B)カラーフィルタにより得られるバンドの一例を示す図である。(A) It is a figure which shows an example of the transmission wavelength of a color filter, (B) It is a figure which shows an example of the band obtained by a color filter. 第1の実施の形態に係る画像処理装置における対応点検出部の構成の一例を示す図である。It is a figure which shows an example of a structure of the corresponding point detection part in the image processing apparatus which concerns on 1st Embodiment. 第1の実施の形態に係る画像処理装置における色再現処理ルーチンの内容を示すフローチャートである。3 is a flowchart showing the contents of a color reproduction processing routine in the image processing apparatus according to the first embodiment. 第2の実施の形態に係る画像処理装置の構成を示す概略図である。It is the schematic which shows the structure of the image processing apparatus which concerns on 2nd Embodiment. 第2の実施の形態に係る画像処理装置における色再現処理ルーチンの内容を示すフローチャートである。It is a flowchart which shows the content of the color reproduction process routine in the image processing apparatus which concerns on 2nd Embodiment. 他の例に係る画像処理装置の構成を示す概略図である。It is the schematic which shows the structure of the image processing apparatus which concerns on another example. 第3の実施の形態に係る画像処理装置の構成を示す概略図である。It is the schematic which shows the structure of the image processing apparatus which concerns on 3rd Embodiment. 第3の実施の形態に係る画像処理装置における色再現処理ルーチンの内容を示すフローチャートである。14 is a flowchart showing the contents of a color reproduction processing routine in the image processing apparatus according to the third embodiment. 第4の実施の形態に係る画像処理装置の構成を示す概略図である。It is the schematic which shows the structure of the image processing apparatus which concerns on 4th Embodiment. 第4の実施の形態に係る画像処理装置における色再現処理ルーチンの内容を示すフローチャートである。It is a flowchart which shows the content of the color reproduction process routine in the image processing apparatus which concerns on 4th Embodiment. マルチバンド画像を入力する画像入力装置の一例を示す図である。It is a figure which shows an example of the image input device which inputs a multiband image. 従来の画像処理装置の構成を示す概略図である。It is the schematic which shows the structure of the conventional image processing apparatus. 分光撮影の原理イメージを示す図である。It is a figure which shows the principle image of spectral imaging.

以下、図面を参照して本発明の実施の形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[第1の実施の形態]
<システム構成>
第1の実施の形態に係る画像処理装置について説明する。
[First Embodiment]
<System configuration>
An image processing apparatus according to the first embodiment will be described.

第1の実施の形態に係る画像処理装置10は、CPU(Central Processing Unit)と、RAM(Random Access Memory)と、後述する色再現処理ルーチンを実行するためのプログラムを記憶したROM(Read Only Memory)とを備えたコンピュータで構成されている。このコンピュータは、機能的には、図1に示すように、対応点検出部14、画像変形処理部15、画像変形結果判定部16、変形結果画像出力部17、色再現処理部18、及び色再現処理部19を含んだ構成で表すことができる。   An image processing apparatus 10 according to the first embodiment includes a CPU (Central Processing Unit), a RAM (Random Access Memory), and a ROM (Read Only Memory) that stores a program for executing a color reproduction processing routine described later. ). As shown in FIG. 1, this computer functionally includes a corresponding point detection unit 14, an image deformation processing unit 15, an image deformation result determination unit 16, a deformation result image output unit 17, a color reproduction processing unit 18, and a color It can be expressed by a configuration including the reproduction processing unit 19.

画像処理装置10には、画像入力部11で撮影されて得られた3バンド画像1と、画像入力部12で撮影されて得られたRGB(3バンド)画像2とが入力される。画像入力部11は、RGBカメラ11aを有しており、画像入力部12は、RGBカメラ12aを有している。RGBカメラ11a及びRGBカメラ12aは、共にCCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor )等のセンサ及びRGB各色のフィルタを備えたデジタルカメラである。図2に示すように、画像入力部11は、RGBカメラ11aの他、該RGBカメラ11aが有する本来のR、G、Bの各色に対応するフィルタの透過波長の一部のみを透過するカラーフィルタ11bを備えている(図3(A)参照)。画像入力部11及び画像入力部12により、6つのバンドの各々のデジタル信号値が、6バンド画像の画素値として得られる(図3(B)参照)。以下では、マルチバンド画像の一例として6バンド画像を例に挙げて説明するが、マルチバンド画像を6バンド画像に限定するものではない。また画像入力部11におけるカラーフィルタはカメラが有する波長感度の一部のみを透過するバンドパスフィルタでも良い。また画像入力部11におけるカメラは白黒カメラでも良い。   The image processing apparatus 10 receives a three-band image 1 obtained by photographing with the image input unit 11 and an RGB (three-band) image 2 obtained by photographing with the image input unit 12. The image input unit 11 has an RGB camera 11a, and the image input unit 12 has an RGB camera 12a. Each of the RGB camera 11a and the RGB camera 12a is a digital camera including a sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor), and filters for each color of RGB. As shown in FIG. 2, the image input unit 11 is a color filter that transmits only a part of the transmission wavelengths of the filters corresponding to the original R, G, and B colors of the RGB camera 11 a in addition to the RGB camera 11 a. 11b (see FIG. 3A). The digital signal values of each of the six bands are obtained as the pixel values of the six-band image by the image input unit 11 and the image input unit 12 (see FIG. 3B). In the following, a 6-band image will be described as an example of a multiband image, but the multiband image is not limited to a 6-band image. The color filter in the image input unit 11 may be a band pass filter that transmits only a part of the wavelength sensitivity of the camera. The camera in the image input unit 11 may be a black and white camera.

画像処理装置10の対応点検出部14は、画像入力部11から入力された3バンド画像1のデータ、及び画像入力部12から入力された3バンド画像2のデータに基づいて、フィルタ無しで撮影した3バンド画像2を基準画像とし、フィルタを用いて撮影された3バンド画像1と3バンド画像2の2枚の3バンド画像間での対応点を複数検出する。   The corresponding point detection unit 14 of the image processing apparatus 10 takes an image without a filter based on the data of the 3-band image 1 input from the image input unit 11 and the data of the 3-band image 2 input from the image input unit 12. A plurality of corresponding points between two three-band images of the three-band image 1 and the three-band image 2 photographed using a filter are detected by using the three-band image 2 thus obtained as a reference image.

2枚の3バンド画像間での対応点の検出は、例えば、位相限定相関法(参考文献(青木孝文、伊藤康一、柴原琢磨、長嶋聖、「位相限定相関法に基づく高精度マシンビジョン−ピクセル分解能の壁を越える画像センシング技術をめざして−」、Fundamentals Review Vol.1 No.1)を参照)に従って行えばよい。この場合には、図4に示すように、対応点検出部14は、白黒画像生成部112a、112bと、位相画像生成部113a、113bと、相関画像生成部114と、対応点検出部115とを含んだ構成で表すことができる。この対応点検出部14によれば、白黒画像生成部112a、112bで、3バンド画像1及び3バンド画像2から白黒画像を各々生成し、位相画像生成部113a及び113bで、生成された白黒画像各々から位相画像を生成する。そして、相関画像生成部114で、生成された2つの位相画像から相関画像を生成し、対応点検出部115で、生成された相関画像における相関値が最大の座標に基づいて2画像間のずれ量を求めて対応点を検出する。相関値が最大の座標を求めるに当たり、例えばガウス関数等を内挿することによりサブピクセル精度でのずれ量、対応点の座標を検出することも可能である。   Corresponding points between two 3-band images can be detected by, for example, phase-only correlation method (references (Takafumi Aoki, Koichi Ito, Takuma Shibahara, Kiyoshi Nagashima, “High-precision machine vision based on phase-only correlation method− Aiming at Image Sensing Technology that Crosses the Pixel Resolution Wall ”, see Fundamentals Review Vol.1 No.1)). In this case, as shown in FIG. 4, the corresponding point detection unit 14 includes black and white image generation units 112a and 112b, phase image generation units 113a and 113b, a correlation image generation unit 114, and a corresponding point detection unit 115. Can be expressed in a configuration including According to the corresponding point detection unit 14, the monochrome images are generated from the 3-band image 1 and the 3-band image 2 by the monochrome image generation units 112a and 112b, respectively, and the monochrome image generated by the phase image generation units 113a and 113b is generated. A phase image is generated from each. Then, the correlation image generation unit 114 generates a correlation image from the two generated phase images, and the corresponding point detection unit 115 shifts between the two images based on the coordinates having the maximum correlation value in the generated correlation image. Find the quantity and detect the corresponding points. In obtaining the coordinate having the maximum correlation value, it is possible to detect the shift amount and the coordinates of the corresponding point with subpixel accuracy by interpolating a Gaussian function, for example.

対応点検出部14は、上記の対応点の検出の結果として、検出された対応点の数、及び3バンド画像1、2における対応点の座標およびズレ幅を出力する。   The corresponding point detection unit 14 outputs the number of detected corresponding points, the coordinates of the corresponding points in the 3-band images 1 and 2, and the deviation width as a result of the detection of the corresponding points.

画像変形処理部15は、得られた対応点の検出結果を用いて、カラーフィルタ11bを装着して撮影した画像(3バンド画像1)を変形させて、新たな3バンド画像(3バンド画像3)を生成する。   The image deformation processing unit 15 deforms an image (3-band image 1) photographed with the color filter 11b by using the obtained corresponding point detection result, and creates a new 3-band image (3-band image 3). ) Is generated.

画像変形処理部15による変形処理では、対応点検出部14で得られた対応点情報を元に画像変形パラメータ(射影変換の場合には水平/垂直方向のずれ量、3軸(X軸、Y軸、Z軸)それぞれに対する回転角度、倍率。スプライン補完等の非線形手法に基づく場合には、そのモデルパラメータ)を算出し、算出した画像変形パラメータを仮定した変形モデル(射影変換や非線形変換)に適用して、3バンド画像2と各対応点の位置が一致するように3バンド画像1に対して変形処理を施す。なお、画像変形における手法は、ここでは特に限定しないが、例えば、射影変換(線形変換)もしくは非線形的な画像変形処理を施す。   In the deformation process by the image deformation processing unit 15, based on the corresponding point information obtained by the corresponding point detection unit 14, an image deformation parameter (horizontal / vertical shift amount in the case of projective transformation, three axes (X axis, Y Rotation angle and magnification with respect to each of the axis and the Z-axis) (when using non-linear methods such as spline interpolation, the model parameters) are calculated, and the calculated image deformation parameters are assumed to be a deformation model (projective transformation or non-linear transformation). As a result, deformation processing is performed on the 3-band image 1 so that the positions of the corresponding points coincide with those of the 3-band image 2. The method for image deformation is not particularly limited here, but for example, projective transformation (linear transformation) or nonlinear image deformation processing is performed.

画像変形結果判定部16は、3バンド画像2と3バンド画像3とに基づいて、画像変形が正しく行われたか否かを判定する。判定処理では、3バンド画像2と3バンド画像3の間での対応点が同じ座標上に存在するかを判断するために、画像間での対応点の位置ずれ量を再度計算する。また、対応点間の位置ずれ量(距離)に関する閾値を予め設定(閾値の決め方は限定しない)しておき、例えば、対応点間の平均二乗誤差が閾値以下であれば、正しく画像変形が行われたと判定し、閾値以上であれば正しく画像変形が行われなかったと判定する。なお、対応点間の平均二乗誤差が、対応点間の位置ずれ量の一例である。   Based on the 3-band image 2 and the 3-band image 3, the image deformation result determination unit 16 determines whether image deformation has been performed correctly. In the determination process, in order to determine whether the corresponding points between the 3-band image 2 and the 3-band image 3 exist on the same coordinates, the amount of positional deviation of the corresponding points between the images is calculated again. In addition, a threshold value regarding a positional deviation amount (distance) between corresponding points is set in advance (how to determine the threshold value is not limited). For example, if the mean square error between corresponding points is equal to or less than the threshold value, the image is correctly deformed. If it is equal to or greater than the threshold value, it is determined that the image has not been correctly deformed. Note that the mean square error between corresponding points is an example of the amount of positional deviation between corresponding points.

変形結果画像出力部17は、画像変形結果判定部16によって正しく画像変形が行われたと判定された場合に得られた3バンド画像2および3バンド画像3をメモリ上に展開、モニタ上へ表示、もしくはファイルへ出力する。   The deformation result image output unit 17 expands the 3-band image 2 and the 3-band image 3 obtained when the image deformation result determination unit 16 determines that the image is correctly deformed on the memory, displays the image on the monitor, Or output to a file.

色再現処理部18は、画像変形結果判定部16によって正しく画像変形が行われなかったと判定された場合に、3バンド画像2のみを用いた被写体の色再現処理を行い、色再現結果画像を生成して出力する。   The color reproduction processing unit 18 performs color reproduction processing of the subject using only the 3-band image 2 when the image deformation result determination unit 16 determines that the image deformation has not been performed correctly, and generates a color reproduction result image. And output.

色再現処理では、3バンド画像2、色再現パラメータ(撮影時の照明光スペクトルやカメラの感度などの分光反射率推定に必要な情報、および再現したい照明環境での照明光スペクトルや表示デバイスの特性)に基づいて、3バンド画像2から写っている被写体の色(スペクトル、分光反射率、色、RGB/多原色信号値)をウィナー推定法等により算出し、色再現結果画像(分光反射率画像、もしくはRGB/多原色画像)を生成して出力する。   In color reproduction processing, 3-band image 2, color reproduction parameters (information necessary for spectral reflectance estimation such as illumination light spectrum and camera sensitivity at the time of photographing, and illumination light spectrum and display device characteristics in the illumination environment to be reproduced) ), The color (spectrum, spectral reflectance, color, RGB / multi-primary color signal value) of the subject in the three-band image 2 is calculated by the Wiener estimation method or the like, and the color reproduction result image (spectral reflectance image) Or RGB / multi-primary color image).

例えば、ウィナー推定法を用いて、3バンド画像2から画素毎の分光反射率を推定し、推定した分光反射率を画素値とする分光反射率画像を生成する。そして、分光反射率画像から、例えば、RGB画像を生成する場合には、例えば、上記生成した分光反射率画像に対して、予め定めた再現したい照明環境での照明光スペクトル及び予め定めた表示デバイスの特性を用いて、RGB画像を生成すればよい。具体的には、予め定めた再現したい照明環境での照明光スペクトルと各画素に対応する推定された分光反射率の各波長の値を掛け合わせ反射光スペクトルを算出し、更に各画素に等色関数を掛け合わせXYZ測色値を求める。各画素について計算されたXYZ測色値から表示デバイスの特性(XYZ測色値と表示デバイスのRGB値の関係式、およびトーンカーブなど表示デバイスに関する入出力の関係)に基づきR値、G値、及びB値を計算し、各画素の画素値を、計算したRGB値とするRGB画像を生成する。予め等色関数と表示デバイスの特性からスペクトル-RGB値変換行列を求めておき、反射スペクトルに対し該当行列を掛け合わせ、さらにトーンカーブによる補正を経てRGB画像を生成してもよい。   For example, the spectral reflectance for each pixel is estimated from the 3-band image 2 using the Wiener estimation method, and a spectral reflectance image having the estimated spectral reflectance as a pixel value is generated. For example, when an RGB image is generated from the spectral reflectance image, for example, an illumination light spectrum in a predetermined illumination environment to be reproduced and a predetermined display device are generated with respect to the generated spectral reflectance image. An RGB image may be generated using the above characteristics. Specifically, the reflected light spectrum is calculated by multiplying the value of each wavelength of the estimated spectral reflectance corresponding to each pixel by the illumination light spectrum in the lighting environment to be reproduced in advance, and the same color for each pixel. The XYZ colorimetric values are obtained by multiplying the functions. Based on the XYZ colorimetric values calculated for each pixel, based on the characteristics of the display device (the relational expression between the XYZ colorimetric values and the RGB value of the display device, and the input / output relationship regarding the display device such as the tone curve), the R value, G value, And the B value are calculated, and an RGB image is generated with the pixel value of each pixel as the calculated RGB value. A spectrum-RGB value conversion matrix may be obtained in advance from the color matching function and the characteristics of the display device, the reflection spectrum may be multiplied by the corresponding matrix, and an RGB image may be generated through correction using a tone curve.

色再現処理部19は、画像変形結果判定部16によって正しく画像変形が行われたと判定された場合に、3バンド画像2および3バンド画像3を用いて、色再現処理を行い、色再現結果画像を生成して出力する。   The color reproduction processing unit 19 performs color reproduction processing using the 3-band image 2 and the 3-band image 3 when the image deformation result determination unit 16 determines that the image deformation has been correctly performed, and the color reproduction result image Is generated and output.

色再現処理では、3バンド画像2、3バンド画像3、色再現パラメータ(撮影時の照明光スペクトルやカメラの感度などの分光反射率推定に必要な情報、および再現したい照明環境での照明光スペクトルや表示デバイスの特性)に基づいて、3バンド画像2及び3バンド画像3から、写っている被写体の色(スペクトル、分光反射率、色、RGB/多原色信号値)をウィナー推定法等により算出し、色再現結果画像(分光反射率画像、もしくはRGB/多原色画像)を生成して出力する。   In color reproduction processing, 3-band image 2, 3-band image 3, color reproduction parameters (illumination light spectrum at the time of photographing, information necessary for spectral reflectance estimation such as camera sensitivity, and illumination light spectrum in the illumination environment to be reproduced) And the color of the subject (spectrum, spectral reflectance, color, RGB / multi-primary color signal value) from the 3-band image 2 and 3-band image 3 based on the characteristics of the display device and the display device) Then, a color reproduction result image (spectral reflectance image or RGB / multi-primary color image) is generated and output.

<画像処理装置の作用>
次に、第1の実施の形態に係る画像処理装置10の作用について説明する。まず、画像入力部11及び画像入力部12により、3バンド画像1及び3バンド画像2が撮影された後、画像処理装置10によって、図5に示す色再現処理ルーチンが実行される。
<Operation of image processing apparatus>
Next, the operation of the image processing apparatus 10 according to the first embodiment will be described. First, after the 3-band image 1 and the 3-band image 2 are captured by the image input unit 11 and the image input unit 12, the image processing apparatus 10 executes a color reproduction processing routine shown in FIG.

ステップS101において、画像入力部11で撮影された3バンド画像1のデータ及び画像入力部12で撮影された3バンド画像2のデータを取得する。   In step S101, the data of the 3-band image 1 captured by the image input unit 11 and the data of the 3-band image 2 captured by the image input unit 12 are acquired.

ステップS102において、上記ステップS101で取得した3バンド画像1及び3バンド画像2の間における対応点を複数検出する。そして、ステップS103において、上記ステップS102で検出された対応点の情報に基づいて、上記ステップS101で取得した3バンド画像1に対して画像変形処理を行って、3バンド画像3を生成する。   In step S102, a plurality of corresponding points between the 3-band image 1 and the 3-band image 2 acquired in step S101 are detected. In step S103, based on the corresponding point information detected in step S102, image deformation processing is performed on the 3-band image 1 acquired in step S101 to generate a 3-band image 3.

次のステップS104では、上記ステップS101で取得した3バンド画像2及び上記ステップS103で生成された3バンド画像3の間における対応点の位置ずれ量(例えば平均二乗誤差)を計算する。そして、ステップS105において、上記ステップS104で計算された位置ずれ量が閾値以上であるか否かを判定する。計算された位置ずれ量が閾値以上である場合には、ステップS106において、3バンド画像2のみを用いて、被写体の色再現処理を行い、色再現処理の結果を出力し、色再現処理ルーチンを終了する。   In the next step S104, a positional deviation amount (for example, mean square error) of corresponding points between the 3-band image 2 acquired in step S101 and the 3-band image 3 generated in step S103 is calculated. In step S105, it is determined whether or not the displacement amount calculated in step S104 is greater than or equal to a threshold value. If the calculated misregistration amount is equal to or larger than the threshold, in step S106, subject color reproduction processing is performed using only the three-band image 2, the result of color reproduction processing is output, and the color reproduction processing routine is executed. finish.

一方、上記ステップS105で、計算された対応点の位置ずれ量が閾値未満であると判定された場合には、ステップS107において、上記ステップS101で取得した3バンド画像2及び上記ステップS103で生成された3バンド画像3を出力する。次のステップS108では、上記ステップS101で取得した3バンド画像2及び上記ステップS103で生成された3バンド画像3を用いて、被写体の色再現処理を行い、色再現処理の結果を出力し、色再現処理ルーチンを終了する。   On the other hand, if it is determined in step S105 that the calculated positional deviation amount of the corresponding point is less than the threshold value, the three-band image 2 acquired in step S101 and the step S103 are generated in step S107. 3 band image 3 is output. In the next step S108, subject color reproduction processing is performed using the three-band image 2 acquired in step S101 and the three-band image 3 generated in step S103, and the result of the color reproduction processing is output. The reproduction processing routine is terminated.

以上説明したように、第1の実施の形態の画像処理装置によれば、カラーフィルタの無いRGBカメラにより撮影された3バンド画像2を基準画像として、各対応点の位置が一致するように、カラーフィルタを装着したRGBカメラにより撮影された3バンド画像1を変形した3バンド画像3を生成し、3バンド画像3との対応点の位置ずれ量(例えば平均二乗誤差)が閾値以上である場合に、3バンド画像2のみを用いて、被写体の色再現処理を行うことにより、従来手法よりも色再現結果の精度および色再現結果画像の画質が向上する。   As described above, according to the image processing apparatus of the first embodiment, using the 3-band image 2 photographed by the RGB camera without a color filter as the reference image, the positions of the corresponding points match. When a 3-band image 3 is generated by deforming the 3-band image 1 photographed by an RGB camera equipped with a color filter, and the amount of positional deviation (for example, the mean square error) of the corresponding point with the 3-band image 3 is greater than or equal to a threshold value Furthermore, by performing the color reproduction process of the subject using only the three-band image 2, the accuracy of the color reproduction result and the image quality of the color reproduction result image are improved as compared with the conventional method.

画像変形処理に失敗した場合のエッジ周辺の偽色は(面積は微小だが)人の目には極めて目立つ。それに対して、3原色画像から色再現処理を行っても大きな劣化は人には感じられない。従って、画像の変形処理に失敗し、マルチバンド撮影の生成に失敗した場合でも、最低でも現在一般的に用いられている3バンド画像からの色再現結果とほぼ同等の精度が保証される。   The false color around the edge when the image transformation process fails (although the area is very small) is extremely noticeable to the human eye. On the other hand, even if the color reproduction process is performed from the three primary color images, no significant deterioration is felt by humans. Therefore, even when the image deformation process fails and the generation of multiband shooting fails, at least the accuracy almost equivalent to the color reproduction result from the three-band image generally used at present is guaranteed.

[第2の実施の形態]
<システム構成>
次に、第2の実施の形態について説明する。なお、第2の実施の形態の画像処理装置について、第1の実施の形態の画像処理装置10と同様の構成については、同一符号を付して詳細な説明を省略する。
[Second Embodiment]
<System configuration>
Next, a second embodiment will be described. In addition, about the image processing apparatus of 2nd Embodiment, about the structure similar to the image processing apparatus 10 of 1st Embodiment, the same code | symbol is attached | subjected and detailed description is abbreviate | omitted.

第2の実施の形態の画像処理装置210を構成するコンピュータは、機能的には、図6に示すように、対応点検出部14、検出対応点数判定部214、画像変形処理部15、画像変形結果判定部16、変形結果画像出力部17、色再現処理部18、及び色再現処理部19を含んだ構成で表すことができる。   As shown in FIG. 6, the computer constituting the image processing apparatus 210 according to the second embodiment functionally has a corresponding point detection unit 14, a detection corresponding point number determination unit 214, an image deformation processing unit 15, and an image deformation. The result determination unit 16, the deformation result image output unit 17, the color reproduction processing unit 18, and the color reproduction processing unit 19 can be represented.

検出対応点数判定部214は、対応点検出部14で検出された対応点の数が閾値以上(例えば、画像変形処理が射影変形である場合の閾値は6点以上)であるか否かを判定し、検出された対応点の数が閾値以上であれば、画像の変形に十分な数の対応点が検出されたと判定し、一方、検出された対応点の数が閾値未満であれば、画像の変形に十分な数の対応点が検出されなかったと判定する。   The detected corresponding point number determination unit 214 determines whether or not the number of corresponding points detected by the corresponding point detection unit 14 is equal to or greater than a threshold value (for example, the threshold value when the image deformation process is projective deformation is equal to or greater than six points). If the number of detected corresponding points is equal to or greater than the threshold value, it is determined that a sufficient number of corresponding points are detected for deformation of the image. On the other hand, if the detected number of corresponding points is less than the threshold value, the image It is determined that a sufficient number of corresponding points have not been detected.

検出対応点数判定部214によって、画像の変形に十分な数の対応点が検出されたと判定された場合には、画像変形処理部15が、対応点検出部14で得られた対応点の情報を用いて、カラーフィルタ11bを装着して撮影した3バンド画像2を変形させて、新たな3バンド画像3を生成する。   When the detected corresponding point number determination unit 214 determines that a sufficient number of corresponding points for image deformation have been detected, the image deformation processing unit 15 uses the corresponding point information obtained by the corresponding point detection unit 14 as information. Then, the 3-band image 2 photographed with the color filter 11b is deformed to generate a new 3-band image 3.

検出対応点数判定部214によって、画像の変形に十分な数の対応点が検出されなかったと判定された場合、色再現処理部18は、3バンド画像2のみを用いた被写体の色再現処理を行い、色再現結果画像を生成して出力する。   When the detection corresponding point number determination unit 214 determines that a sufficient number of corresponding points for image deformation has not been detected, the color reproduction processing unit 18 performs color reproduction processing of the subject using only the three-band image 2. Then, a color reproduction result image is generated and output.

<画像処理装置の作用>
次に、図7を参照して、第2の実施の形態の画像処理装置210で実行される色再現処理ルーチンについて説明する。なお、第1の実施の形態における色再現処理ルーチンと同一の処理については、同一符号を付して詳細な説明を省略する。
<Operation of image processing apparatus>
Next, a color reproduction processing routine executed by the image processing apparatus 210 according to the second embodiment will be described with reference to FIG. Note that the same processes as those in the color reproduction process routine in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted.

ステップS101において、画像入力部11で撮影された3バンド画像1のデータ及び画像入力部12で撮影された3バンド画像2のデータを取得する。   In step S101, the data of the 3-band image 1 captured by the image input unit 11 and the data of the 3-band image 2 captured by the image input unit 12 are acquired.

ステップS102において、上記ステップS101で取得した3バンド画像1及び3バンド画像2の間における対応点を複数検出する。そして、ステップS201において、上記ステップS102で検出された対応点の数が閾値以上であるか否かを判定する。検出された対応点の数が閾値以上である場合には、ステップS103へ移行するが、一方、検出された対応点の数が閾値未満である場合には、ステップS106へ移行する。   In step S102, a plurality of corresponding points between the 3-band image 1 and the 3-band image 2 acquired in step S101 are detected. In step S201, it is determined whether or not the number of corresponding points detected in step S102 is greater than or equal to a threshold value. If the number of detected corresponding points is greater than or equal to the threshold, the process proceeds to step S103. On the other hand, if the number of detected corresponding points is less than the threshold, the process proceeds to step S106.

ステップS103では、上記ステップS101で取得した3バンド画像1に対して画像変形処理を行って、3バンド画像3を生成する。次のステップS104では、上記ステップS101で取得した3バンド画像2及び上記ステップS103で生成された3バンド画像3の間における対応点の位置ずれ量(例えば平均二乗誤差)を計算する。そして、ステップS105において、上記ステップS104で計算された対応点の位置ずれ量が閾値以上であるか否かを判定する。計算された対応点の位置ずれ量が閾値以上である場合には、ステップS106において、3バンド画像2を用いて、被写体の色再現処理を行い、色再現処理の結果を出力し、色再現処理ルーチンを終了する。   In step S103, image deformation processing is performed on the 3-band image 1 acquired in step S101 to generate a 3-band image 3. In the next step S104, a positional deviation amount (for example, mean square error) of corresponding points between the 3-band image 2 acquired in step S101 and the 3-band image 3 generated in step S103 is calculated. In step S105, it is determined whether or not the positional deviation amount of the corresponding point calculated in step S104 is equal to or greater than a threshold value. If the calculated positional deviation amount of the corresponding point is equal to or larger than the threshold value, the color reproduction process of the subject is performed using the 3-band image 2 in step S106, the result of the color reproduction process is output, and the color reproduction process is performed. End the routine.

一方、上記ステップS105で、計算された対応点の位置ずれ量が閾値未満であると判定された場合には、ステップS107において、上記ステップS101で取得した3バンド画像2及び上記ステップS103で生成された3バンド画像3を出力する。次のステップS108では、上記ステップS101で取得した3バンド画像2及び上記ステップS103で生成された3バンド画像3を用いて、被写体の色再現処理を行い、色再現処理の結果を出力し、色再現処理ルーチンを終了する。   On the other hand, if it is determined in step S105 that the calculated positional deviation amount of the corresponding point is less than the threshold value, the three-band image 2 acquired in step S101 and the step S103 are generated in step S107. 3 band image 3 is output. In the next step S108, subject color reproduction processing is performed using the three-band image 2 acquired in step S101 and the three-band image 3 generated in step S103, and the result of the color reproduction processing is output. The reproduction processing routine is terminated.

以上説明したように、第2の実施の形態の画像処理装置によれば、カラーフィルタの無いRGBカメラにより撮影された3バンド画像2を基準画像として、各対応点の位置が一致するように、カラーフィルタを装着したRGBカメラにより撮影された3バンド画像1を変形した3バンド画像3を生成し、画像変形に十分な対応点の数が検出されなかった場合、及び3バンド画像3との対応点の位置ずれ量が閾値以上である場合に、3バンド画像2を用いて、被写体の色再現処理を行うことにより、従来手法よりも色再現結果の精度が向上する。   As described above, according to the image processing apparatus of the second embodiment, using the 3-band image 2 photographed by the RGB camera without the color filter as the reference image, the positions of the corresponding points match. A 3-band image 3 obtained by deforming the 3-band image 1 photographed by an RGB camera equipped with a color filter is generated, and the number of corresponding points sufficient for image deformation is not detected, and the correspondence with the 3-band image 3 When the point misregistration amount is equal to or greater than the threshold value, the color reproduction process of the subject using the three-band image 2 improves the accuracy of the color reproduction result as compared with the conventional method.

なお、上記の第1の実施の形態及び第2の実施の形態において、画像変形結果判定部16によって正しく画像変形が行われなかったと判定された場合に、再度、画像変形を行って、画像変形結果判定部16での判定をやり直すようにしてもよい。例えば、図8に示すように、画像変形結果判定部16によって正しく画像変形が行われなかったと判定された場合に、画像変形処理部215によって、再度、画像変形処理を行い、画像変形結果判定部16によって正しく画像変形が行われたと判定されるまで繰り返す。ある設定回数を超えた場合には正しい画像変形は不可能と判断し、色再現処理部18によって、3バンド画像2のみを用いて色再現処理を行う。   In the first embodiment and the second embodiment described above, when the image deformation result determination unit 16 determines that the image deformation has not been performed correctly, the image deformation is performed again and the image deformation is performed. You may make it redo the determination in the result determination part 16. FIG. For example, as illustrated in FIG. 8, when the image deformation result determination unit 16 determines that image deformation has not been performed correctly, the image deformation processing unit 215 performs image deformation processing again, and the image deformation result determination unit 16 is repeated until it is determined that the image has been correctly deformed. When a certain number of times is exceeded, it is determined that correct image deformation is impossible, and the color reproduction processing unit 18 performs color reproduction processing using only the three-band image 2.

[第3の実施の形態]
<システム構成>
次に、第3の実施の形態について説明する。なお、第3の実施の形態の画像処理装置について、第1の実施の形態の画像処理装置10と同様の構成については、同一符号を付して詳細な説明を省略する。
[Third Embodiment]
<System configuration>
Next, a third embodiment will be described. In addition, about the image processing apparatus of 3rd Embodiment, about the structure similar to the image processing apparatus 10 of 1st Embodiment, the same code | symbol is attached | subjected and detailed description is abbreviate | omitted.

第3の実施の形態の画像処理装置310を構成するコンピュータは、機能的には、図9に示すように、画像分割処理部312、色再現結果画像生成部314、及び画像貼り合わせ処理部316を含んだ構成で表すことができる。   The computer constituting the image processing apparatus 310 of the third embodiment functionally has an image division processing unit 312, a color reproduction result image generation unit 314, and an image pasting processing unit 316 as shown in FIG. Can be expressed in a configuration including

画像分割処理部312は、画像入力部11で得られた3バンド画像1及び画像入力部12で得られた3バンド画像2の各々を小領域画像に分割する。3バンド画像1は、3バンド画像2の小領域画像と同じサイズ、もしくは3バンド画像2を分割して得られた小領域よりも大きなサイズの領域に分割される。3バンド画像1、3バンド画像2を小領域画像に分割する際には、分割した小領域画像を最終的に1枚の画像に復元する際に画像の欠落を防ぐため、3バンド画像1および3バンド画像2ともに、分割した小領域の画像には重なりがあることが好ましい。   The image division processing unit 312 divides each of the 3-band image 1 obtained by the image input unit 11 and the 3-band image 2 obtained by the image input unit 12 into small region images. The 3-band image 1 is divided into areas having the same size as the small-area image of the 3-band image 2 or a larger area than the small area obtained by dividing the 3-band image 2. When the 3-band image 1 and the 3-band image 2 are divided into small-area images, the 3-band image 1 and the 3-band image 1 In both of the three-band images 2, it is preferable that the divided small region images have an overlap.

また、画像分割処理部312は、計算処理の高速化を考慮して、一辺の画素数を2のべき乗、64 pixel, 128 pixel, 256pixel、などとした小領域画像に分割することが好ましい。   Further, the image division processing unit 312 preferably divides the image into small area images in which the number of pixels on one side is a power of 2, 64 pixels, 128 pixels, 256 pixels, or the like in consideration of speeding up of the calculation process.

色再現結果画像生成部314は、対応点検出部14、画像変形処理部15、画像変形結果判定部16、変形結果画像出力部17、色再現処理部18、及び色再現処理部19を含み、対応点検出部14、画像変形処理部15、画像変形結果判定部16、変形結果画像出力部17、色再現処理部18、及び色再現処理部19の各々が、画像分割処理部312によって分割された、対応する3バンド画像1の小領域画像及び3バンド画像2の小領域画像の組み合わせ毎に、上記の第1の実施の形態と同様の処理を行う。色再現結果画像生成部314は、小領域画像毎に、当該小領域画像の色再現結果画像を出力する。なお色再現結果画像生成部314は、上記の第2の実施の形態と同様の処理を行っても良い。   The color reproduction result image generation unit 314 includes a corresponding point detection unit 14, an image deformation processing unit 15, an image deformation result determination unit 16, a deformation result image output unit 17, a color reproduction processing unit 18, and a color reproduction processing unit 19. Each of the corresponding point detection unit 14, the image deformation processing unit 15, the image deformation result determination unit 16, the deformation result image output unit 17, the color reproduction processing unit 18, and the color reproduction processing unit 19 is divided by the image division processing unit 312. The same processing as in the first embodiment is performed for each combination of the corresponding small area image of the 3-band image 1 and the small area image of the 3-band image 2. The color reproduction result image generation unit 314 outputs a color reproduction result image of the small area image for each small area image. Note that the color reproduction result image generation unit 314 may perform the same processing as in the second embodiment.

画像変形処理部15では、小領域内で局所的な対応点のみが画像変形パラメータに影響を与えるため、画像全体から得られた対応点すべてを使うよりも精度良く、撮影画像間の位置ずれを補正できる。   In the image deformation processing unit 15, only local corresponding points within the small area affect the image deformation parameters. Therefore, the positional deviation between the captured images is more accurately performed than using all the corresponding points obtained from the entire image. Can be corrected.

また、画像貼り合わせ処理部316は、色再現結果画像生成部314によって生成された小領域画像毎の色再現結果画像をタイリングして、小領域画像に分割する前の元画像のサイズの画像となるように1枚の画像に貼り合わせて、色再現結果画像を生成し、出力する。   Further, the image pasting processing unit 316 tiles the color reproduction result image for each small region image generated by the color reproduction result image generation unit 314, and the image has the size of the original image before being divided into the small region images. A color reproduction result image is generated and output by pasting the images together so that

<画像処理装置の作用>
次に、図10を参照して、第3の実施の形態の画像処理装置310で実行される色再現処理ルーチンについて説明する。なお、第1の実施の形態における色再現処理ルーチンと同一の処理については、同一符号を付して詳細な説明を省略する。
<Operation of image processing apparatus>
Next, a color reproduction processing routine executed by the image processing apparatus 310 according to the third embodiment will be described with reference to FIG. Note that the same processes as those in the color reproduction process routine in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted.

ステップS101において、画像入力部11で撮影された3バンド画像1のデータ及び画像入力部12で撮影された3バンド画像2のデータを取得する。   In step S101, the data of the 3-band image 1 captured by the image input unit 11 and the data of the 3-band image 2 captured by the image input unit 12 are acquired.

ステップS302において、上記ステップS101で取得した3バンド画像1及び3バンド画像2の各々を、小領域画像に分割する。ステップS303において、上記ステップS302で分割された小領域画像のうち、処理対象の小領域画像として、対応する3バンド画像1及び3バンド画像2の各々の小領域画像の組み合わせを設定する。   In step S302, each of the 3-band image 1 and the 3-band image 2 acquired in step S101 is divided into small area images. In step S303, the combination of the small area images of the corresponding 3-band image 1 and 3-band image 2 is set as the small area image to be processed among the small area images divided in step S302.

そして、ステップS304において、処理対象として設定された3バンド画像1及び3バンド画像2の各々の小領域画像に対して、上記第1の実施の形態で説明した図5に示す色再現処理ルーチンと同様の処理を実行して、当該小領域画像に対する色再現結果画像を生成する。   In step S304, the color reproduction processing routine shown in FIG. 5 described in the first embodiment is applied to each of the small area images of the 3-band image 1 and the 3-band image 2 set as the processing target. Similar processing is executed to generate a color reproduction result image for the small region image.

ステップS305では、全ての小領域画像について、上記ステップS303、S304の処理を実行したか否かを判定し、上記ステップS303、S304の処理を実行していない小領域画像が存在する場合には、上記ステップS303に戻り、当該小領域画像を、処理対象として設定する。一方、全ての小領域画像について、上記ステップS303、S304の処理を実行したと判定された場合には、ステップS306へ移行する。   In step S305, it is determined whether or not the processes in steps S303 and S304 have been executed for all the small area images. If there are small area images in which the processes in steps S303 and S304 have not been performed, Returning to step S303, the small area image is set as a processing target. On the other hand, if it is determined that the processes in steps S303 and S304 have been executed for all the small area images, the process proceeds to step S306.

ステップS306では、上記ステップS304で得られた各小領域画像に対する色再現結果画像を貼り合わせて、1枚の色再現結果画像を生成して出力し、色再現処理ルーチンを終了する。   In step S306, the color reproduction result images for the respective small area images obtained in step S304 are pasted to generate and output one color reproduction result image, and the color reproduction processing routine ends.

以上説明したように、第3の実施の形態の画像処理装置によれば、小領域画像毎に、カラーフィルタの無いRGBカメラにより撮影された3バンド画像2を基準画像として、各対応点の位置が一致するように、カラーフィルタを装着したRGBカメラにより撮影された3バンド画像1を変形した3バンド画像3を生成し、小領域画像毎に、3バンド画像3との対応点の位置ずれ量(例えば平均二乗誤差)が閾値以上である場合に、3バンド画像2の当該小領域画像のみを用いて、被写体の色再現処理を行うことにより、従来手法よりも色再現結果の精度および画質が向上する。   As described above, according to the image processing apparatus of the third embodiment, for each small region image, the position of each corresponding point using the 3-band image 2 photographed by the RGB camera without a color filter as the reference image. 3 band image 3 is generated by deforming 3 band image 1 photographed by an RGB camera equipped with a color filter so as to match, and for each small area image, the amount of positional deviation of the corresponding point with 3 band image 3 When (for example, the mean square error) is equal to or greater than a threshold value, the color reproduction result and the image quality of the color reproduction result can be improved compared to the conventional method by performing the color reproduction process of the subject using only the small area image of the 3-band image 2. improves.

画像変形処理に失敗した場合のエッジ周辺の偽色は(面積は微小だが)人の目には極めて目立つ。それに対して、画像変形処理に失敗した小領域を3原色で処理する場合は、全体としてはごく僅かな面積となるため、3原色画像から色再現処理としても大きな劣化は人には感じられない。小領域画像の変形処理に失敗した場合でも、最低でも3バンド画像からの色再現精度が保証される。   The false color around the edge when the image transformation process fails (although the area is very small) is extremely noticeable to the human eye. On the other hand, when processing a small area that has failed in image transformation processing with three primary colors, the overall area is very small, so no significant degradation is felt by humans as color reproduction processing from three primary color images. . Even when the deformation process of the small area image fails, the color reproduction accuracy from the three-band image is guaranteed at least.

なお、上記の実施の形態では、色再現結果画像生成部314が、対応点検出部14、画像変形処理部15、画像変形結果判定部16、変形結果画像出力部17、色再現処理部18、及び色再現処理部19を含んだ構成で表わされる場合を例に説明したが、これに限定されるものではない。色再現結果画像生成部314が、対応点検出部14、検出対応点数判定部214、画像変形処理部15、画像変形結果判定部16、変形結果画像出力部17、色再現処理部18、及び色再現処理部19を含んだ構成で表わされるようにしてもよい。この場合には、対応点検出部14、検出対応点数判定部214、画像変形処理部15、画像変形結果判定部16、変形結果画像出力部17、色再現処理部18、及び色再現処理部19の各々が、画像分割処理部312によって分割された、対応する3バンド画像1の小領域画像及び3バンド画像2の小領域画像の組み合わせ毎に、上記の第2の実施の形態と同様の処理を行う。   In the above-described embodiment, the color reproduction result image generation unit 314 includes the corresponding point detection unit 14, the image deformation processing unit 15, the image deformation result determination unit 16, the deformation result image output unit 17, the color reproduction processing unit 18, In addition, the case where the image is expressed by a configuration including the color reproduction processing unit 19 has been described as an example, but the present invention is not limited to this. The color reproduction result image generation unit 314 includes a corresponding point detection unit 14, a detection corresponding point number determination unit 214, an image deformation processing unit 15, an image deformation result determination unit 16, a deformation result image output unit 17, a color reproduction processing unit 18, and a color. You may make it represent with the structure containing the reproduction process part 19. FIG. In this case, the corresponding point detection unit 14, the detection corresponding point number determination unit 214, the image deformation processing unit 15, the image deformation result determination unit 16, the deformation result image output unit 17, the color reproduction processing unit 18, and the color reproduction processing unit 19 For each combination of the corresponding small area image of the 3-band image 1 and the small area image of the 3-band image 2 divided by the image division processing unit 312. I do.

[第4の実施の形態]
<システム構成>
次に、第4の実施の形態について説明する。なお、第4の実施の形態の画像処理装置について、第1の実施の形態の画像処理装置10及び第3の実施の形態の画像処理装置310と同様の構成については、同一符号を付して詳細な説明を省略する。
[Fourth Embodiment]
<System configuration>
Next, a fourth embodiment will be described. Note that, in the image processing device according to the fourth embodiment, the same reference numerals are given to the same configurations as those of the image processing device 10 according to the first embodiment and the image processing device 310 according to the third embodiment. Detailed description is omitted.

第4の実施の形態の画像処理装置410を構成するコンピュータは、機能的には、図11に示すように、画像分割処理部312、小領域変形判定部414、画像バンド数変換処理部416、画像貼り合わせ処理部418、変形結果画像出力部420、及び色再現処理部422を含んだ構成で表すことができる。なお、画像バンド数変換処理部416が、画像推定手段の一例である。   As shown in FIG. 11, the computer constituting the image processing apparatus 410 according to the fourth embodiment functionally includes an image division processing unit 312, a small region deformation determination unit 414, an image band number conversion processing unit 416, It can be expressed by a configuration including an image pasting processing unit 418, a deformation result image output unit 420, and a color reproduction processing unit 422. The image band number conversion processing unit 416 is an example of an image estimation unit.

小領域変形判定部414は、対応点検出部14、検出対応点数判定部214、画像変形処理部15、及び画像変形結果判定部16を含み、対応点検出部14、検出対応点数判定部214、画像変形処理部15、及び画像変形結果判定部16の各々が、画像分割処理部312によって分割された、対応する3バンド画像1の小領域画像及び3バンド画像2の小領域画像の組み合わせ毎に、上記の第2の実施の形態と同様の処理を行う。小領域変形判定部414は、小領域画像毎に、3バンド画像1の当該小領域画像及び3バンド画像3の当該小領域画像と、検出対応点数判定部214の判定結果と、画像変形結果判定部16の判定結果とを出力する。また、小領域変形判定部414は、上記の第1の実施形態と同様の処理を行っても良い。   The small region deformation determination unit 414 includes a corresponding point detection unit 14, a detection corresponding point number determination unit 214, an image deformation processing unit 15, and an image deformation result determination unit 16, and includes a corresponding point detection unit 14, a detection corresponding point number determination unit 214, Each of the image deformation processing unit 15 and the image deformation result determination unit 16 is divided by the image division processing unit 312 for each combination of the corresponding small area image of the 3-band image 1 and the small area image of the 3-band image 2. The same processing as in the second embodiment is performed. For each small region image, the small region deformation determination unit 414 determines the small region image of the 3-band image 1 and the small region image of the 3-band image 3, the determination result of the detection corresponding point number determination unit 214, and the image deformation result determination. The determination result of the unit 16 is output. In addition, the small region deformation determination unit 414 may perform the same processing as in the first embodiment.

画像バンド数変換処理部416は、検出対応点数判定部214によって画像の変形に十分な数の対応点が検出されなかったと判定された小領域画像、及び画像変形結果判定部16によって正しく画像変形が行われなかったと判定された小領域画像の各々について、3バンド画像2の当該小領域画像から、画像入力部11で得られるであろう3バンド画像1の当該小領域画像を推定して生成し、画像変形後の3バンド画像3の当該小領域画像と画像データを置き換える。   The image band number conversion processing unit 416 includes a small area image determined by the detection corresponding point number determination unit 214 that a sufficient number of corresponding points have not been detected for image deformation, and the image deformation result determination unit 16 to correctly perform image deformation. For each of the small area images determined not to be performed, the small area image of the 3-band image 1 that would be obtained by the image input unit 11 is estimated and generated from the small area image of the 3-band image 2. Then, the small area image and the image data of the 3-band image 3 after the image transformation are replaced.

3バンド画像1の推定処理では、3バンド画像2の当該小領域画像から分光反射率を推定し、撮影時の照明光スペクトル、および画像入力部11の光学特性を用いて、画像入力部11で得られるのと同等の画像の当該小領域画像を推定する。例えば、3バンド画像2の当該小領域画像からウィナー推定法などを用いて画素毎の分光反射率を推定し、推定した分光反射率を画素値とする分光反射率画像を生成する。生成した分光反射率画像に対して、予め定めた撮影時の照明光スペクトルを掛け合わせて観察される反射光スペクトルを算出し、得られた反射光スペクトルに対し、画像入力部11におけるカメラ11aとカラーフィルタ11bを総合した予め定めた分光感度を掛け合わせることで、画像入力部11で得られたであろう信号値を画素毎に算出し、画像入力部11で得られるのと同等の画像の当該小領域画像を生成する。   In the estimation process of the 3-band image 1, the spectral reflectance is estimated from the small region image of the 3-band image 2, and the image input unit 11 uses the illumination light spectrum at the time of shooting and the optical characteristics of the image input unit 11. The small region image of an image equivalent to that obtained is estimated. For example, the spectral reflectance for each pixel is estimated from the small area image of the 3-band image 2 using a Wiener estimation method or the like, and a spectral reflectance image having the estimated spectral reflectance as a pixel value is generated. A reflected light spectrum to be observed is calculated by multiplying the generated spectral reflectance image by a predetermined illumination light spectrum at the time of photographing, and the camera 11a in the image input unit 11 is compared with the obtained reflected light spectrum. By multiplying a predetermined spectral sensitivity that combines the color filter 11b, a signal value that would have been obtained by the image input unit 11 is calculated for each pixel, and an image equivalent to that obtained by the image input unit 11 is obtained. The small area image is generated.

画像貼り合わせ処理部418は、画像変形結果判定部16によって正しく画像変形が行われたと判定された小領域画像に対応する3バンド画像3の各小領域画像と、画像バンド数変換処理部416によって生成された各小領域画像とを貼り合わせ、オリジナル画像サイズの3バンド画像3を生成する。あるいは、3バンド画像2を更に用いて、1枚の6バンド画像を生成するようにしてもよい。   The image pasting processing unit 418 includes the small region images of the three-band image 3 corresponding to the small region image determined to have been correctly deformed by the image deformation result determination unit 16 and the image band number conversion processing unit 416. The generated small area images are pasted together to generate a 3-band image 3 having the original image size. Alternatively, one 6-band image may be generated by further using the 3-band image 2.

変形結果画像出力部420は、画像貼り合わせ処理部418によって生成された3バンド画像3、及び3バンド画像2からなる2種類の3バンド画像(もしくは1枚の6バンド画像)をメモリ上に展開、モニタ上へ表示、もしくはファイルへ出力する。   The deformation result image output unit 420 develops two types of three-band images (or one six-band image) composed of the three-band image 3 and the three-band image 2 generated by the image pasting processing unit 418 in the memory. Display on monitor or output to file.

色再現処理部422は、画像貼り合わせ処理部418によって生成された3バンド画像3、及び3バンド画像2からなる2種類の3バンド画像(もしくは1枚の6バンド画像)を用いて、色再現処理部19と同様に、被写体の色再現処理を行い、色再現結果画像を生成して出力する。   The color reproduction processing unit 422 performs color reproduction using two types of three-band images (or one six-band image) including the three-band image 3 and the three-band image 2 generated by the image combining processing unit 418. Similar to the processing unit 19, subject color reproduction processing is performed, and a color reproduction result image is generated and output.

<画像処理装置の作用>
次に、図12を参照して、第4の実施の形態の画像処理装置410で実行される色再現処理ルーチンについて説明する。なお、第1の実施の形態、第2の実施の形態及び第3の実施の形態における色再現処理ルーチンと同一の処理については、同一符号を付して詳細な説明を省略する。
<Operation of image processing apparatus>
Next, a color reproduction processing routine executed by the image processing apparatus 410 according to the fourth embodiment will be described with reference to FIG. Note that the same processing as the color reproduction processing routine in the first embodiment, the second embodiment, and the third embodiment is denoted by the same reference numeral, and detailed description thereof is omitted.

ステップS101において、画像入力部11で撮影された3バンド画像1のデータ及び画像入力部12で撮影された3バンド画像2のデータを取得する。   In step S101, the data of the 3-band image 1 captured by the image input unit 11 and the data of the 3-band image 2 captured by the image input unit 12 are acquired.

ステップS302において、上記ステップS101で取得した3バンド画像1及び3バンド画像2の各々を、小領域画像に分割する。ステップS303において、上記ステップS302で分割された小領域画像のうち、処理対象の小領域画像として、対応する3バンド画像1及び3バンド画像2の各々の小領域画像の組み合わせを設定する。   In step S302, each of the 3-band image 1 and the 3-band image 2 acquired in step S101 is divided into small area images. In step S303, the combination of the small area images of the corresponding 3-band image 1 and 3-band image 2 is set as the small area image to be processed among the small area images divided in step S302.

そして、ステップS404において、処理対象として設定された3バンド画像1及び3バンド画像2の各々の小領域画像に対して、上記第1の実施の形態で説明した図7に示す色再現処理ルーチンのステップS101、S102、S201、S103、S104、S105と同様の処理を実行して、当該小領域画像に対して、対応点検出、検出対応点数の判定、画像変形、及び画像変形結果の判定を行う。   In step S404, the color reproduction processing routine shown in FIG. 7 described in the first embodiment is applied to each of the small area images of the 3-band image 1 and the 3-band image 2 set as the processing target. The same processing as in steps S101, S102, S201, S103, S104, and S105 is executed, and corresponding point detection, determination of the number of detected corresponding points, image deformation, and image deformation result are determined for the small region image. .

ステップS305では、全ての小領域画像について、上記ステップS303、S404の処理を実行したか否かを判定し、上記ステップS303、S404の処理を実行していない小領域画像が存在する場合には、上記ステップS303に戻り、当該小領域画像を、処理対象として設定する。一方、全ての小領域画像について、上記ステップS303、S404の処理を実行したと判定された場合には、ステップS406へ移行する。   In step S305, it is determined whether or not the processes in steps S303 and S404 have been executed for all the small area images. If there are small area images in which the processes in steps S303 and S404 have not been performed, Returning to step S303, the small area image is set as a processing target. On the other hand, if it is determined that the processes in steps S303 and S404 have been executed for all the small area images, the process proceeds to step S406.

ステップS406では、上記ステップS404で得られた各小領域画像に対する判定結果に基づいて、画像の変形に十分な数の対応点が検出されなかったと判定された小領域画像、及び画像変形結果判定部16によって正しく画像変形が行われなかったと判定された小領域画像の各々について、3バンド画像2の当該小領域画像から、画像入力部11で得られるであろう3バンド画像1の当該小領域画像を推定して生成し、3バンド画像3の当該小領域画像と画像データを置き換える。   In step S406, based on the determination result for each small region image obtained in step S404, the small region image determined to have not detected a sufficient number of corresponding points for image deformation, and an image deformation result determination unit For each of the small area images that are determined not to have been correctly deformed by 16, the small area image of the three-band image 1 that will be obtained by the image input unit 11 from the small area image of the three-band image 2. Is generated by substituting and substituting the small area image of the 3-band image 3 with the image data.

ステップS407では、上記ステップS406で置き換えられた結果の3バンド画像3の各小領域画像を貼り合わせて、1枚の3バンド画像3を生成する。次のステップS408では、上記ステップS101で取得した3バンド画像2、及び上記ステップS407で生成した3バンド画像3を用いて、被写体の色再現処理を行い、色再現処理の結果を出力し、色再現処理ルーチンを終了する。   In step S407, each small area image of the 3-band image 3 obtained as a result of the replacement in step S406 is pasted to generate one 3-band image 3. In the next step S408, using the 3-band image 2 acquired in step S101 and the 3-band image 3 generated in step S407, subject color reproduction processing is performed, and the result of color reproduction processing is output. The reproduction processing routine is terminated.

以上説明したように、第4の実施の形態の画像処理装置によれば、小領域画像毎に、カラーフィルタの無いRGBカメラにより撮影された3バンド画像2を基準画像として、各対応点の位置が一致するように、カラーフィルタを装着したRGBカメラにより撮影された3バンド画像1を変形した3バンド画像3を生成し、小領域画像毎に、3バンド画像3との対応点の位置ずれ量(例えば平均二乗誤差)が閾値以上である場合に、3バンド画像2の当該小領域画像を用いて、3バンド画像1と同様の画像を推定し、小領域画像を貼り合わせた画像を用いて、被写体の色再現処理を行うことにより、従来手法よりも色再現結果の精度が向上する。   As described above, according to the image processing apparatus of the fourth embodiment, for each small region image, the position of each corresponding point using the 3-band image 2 photographed by an RGB camera without a color filter as a reference image. 3 band image 3 is generated by deforming 3 band image 1 photographed by an RGB camera equipped with a color filter so as to match, and for each small area image, the amount of positional deviation of the corresponding point with 3 band image 3 When (for example, the mean square error) is equal to or greater than the threshold, an image similar to the 3-band image 1 is estimated using the small-area image of the 3-band image 2, and an image obtained by pasting the small-area images is used. By performing the subject color reproduction process, the accuracy of the color reproduction result is improved as compared with the conventional method.

なお、上記の実施の形態では、小領域変形判定部414が、対応点検出部14、検出対応点数判定部214、画像変形処理部15、及び画像変形結果判定部16を含んだ構成で表わされる場合を例に説明したが、これに限定されるものではない。小領域変形判定部414が、上記の第1の実施の形態で説明した対応点検出部14、画像変形処理部15、及び画像変形結果判定部16を含んだ構成で表わされるようにしてもよい。この場合には、画像バンド数変換処理部416は、画像変形結果判定部16によって正しく画像変形が行われなかったと判定された小領域画像の各々について、3バンド画像2の当該小領域画像から、画像入力部11で得られるであろう3バンド画像1の当該小領域画像を推定するようにすればよい。   In the above embodiment, the small region deformation determination unit 414 is represented by a configuration including the corresponding point detection unit 14, the detected corresponding point number determination unit 214, the image deformation processing unit 15, and the image deformation result determination unit 16. Although the case has been described as an example, the present invention is not limited to this. The small region deformation determination unit 414 may be represented by a configuration including the corresponding point detection unit 14, the image deformation processing unit 15, and the image deformation result determination unit 16 described in the first embodiment. . In this case, the image band number conversion processing unit 416, for each of the small region images determined by the image deformation result determination unit 16 that the image deformation has not been performed correctly, from the small region image of the 3-band image 2, What is necessary is just to estimate the said small area image of the 3 band image 1 which will be obtained by the image input part 11. FIG.

また、上記第1〜第4の実施の形態では、2つの3バンド画像(計6バンド画像)が画像処理装置に入力される例について説明したが、マルチバンド画像であれば、これに限定されないのはもちろんである。   In the first to fourth embodiments, an example in which two three-band images (total six-band images) are input to the image processing apparatus has been described. However, the present invention is not limited to this as long as it is a multiband image. Of course.

また、上記第1〜第4の実施の形態では、マルチバンド画像を入力する画像入力装置として、RGBカメラ11a及びカラーフィルタ11bを有する画像入力部11と、RGBカメラ12aを有する画像入力部12とを例に挙げて説明したが、これに限定されない。例えば、図13に示すように、RGBカメラと、単色カラーフィルタを備えた単色(白黒)カメラを複数台組み合わせた多眼式カメラシステムにも適用可能である。また画像入力部11におけるカラーフィルタはカメラが有する波長感度の一部のみを透過するバンドパスフィルタでも良い。また画像入力部11におけるカメラは白黒カメラでも良い。   In the first to fourth embodiments, as an image input device for inputting a multiband image, an image input unit 11 having an RGB camera 11a and a color filter 11b, and an image input unit 12 having an RGB camera 12a However, the present invention is not limited to this. For example, as shown in FIG. 13, the present invention can also be applied to a multi-lens camera system in which a plurality of RGB cameras and a single color (monochrome) camera having a single color filter are combined. The color filter in the image input unit 11 may be a band pass filter that transmits only a part of the wavelength sensitivity of the camera. The camera in the image input unit 11 may be a black and white camera.

また、上記第1〜第4の実施の形態では、2つの画像入力部により3バンド画像1及び3バンド画像2が同期して撮像される場合を例に説明したが、これに限定されるものではなく、1つの画像入力部から時系列で撮像される3バンド画像1及び3バンド画像2を用いてもよい。この場合には、カラーフィルタの装着及び非装着を切替える機構を設け、カラーフィルタを装着した状態で3バンド画像1を撮像し、カラーフィルタを外した状態で3バンド画像2を撮像するようにすればよい。また、3つ以上の画像入力部を有していても構わない。   In the first to fourth embodiments, the case where the three-band image 1 and the three-band image 2 are captured in synchronization by the two image input units has been described as an example. However, the present invention is not limited to this. Instead, the 3-band image 1 and the 3-band image 2 captured in time series from one image input unit may be used. In this case, a mechanism for switching between mounting and non-mounting of the color filter is provided so that the 3-band image 1 is captured with the color filter mounted and the 3-band image 2 is captured with the color filter removed. That's fine. Moreover, you may have three or more image input parts.

また、上述の画像処理装置は、内部にコンピュータシステムを有しているが、コンピュータシステムは、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。   Further, the above-described image processing apparatus has a computer system inside, but the computer system includes a homepage providing environment (or display environment) if the WWW system is used.

また、本願明細書中において、プログラムが予めインストールされている実施形態として説明したが、当該プログラムを、コンピュータ読み取り可能な記録媒体に格納して提供することも可能である。   In the present specification, the embodiment has been described in which the program is installed in advance. However, the program can be provided by being stored in a computer-readable recording medium.

10、210、310、410画像処理装置
11a カメラ
11b カラーフィルタ
11 画像入力部
12a カメラ
12 画像入力部
14 対応点検出部
15 画像変形処理部
16 画像変形結果判定部
18、19、422 色再現処理部
19 色再現処理部
214 検出対応点数判定部
312 画像分割処理部
314 色再現結果画像生成部
316、418画像貼り合わせ処理部
414 小領域変形判定部
416 画像バンド数変換処理部
10, 210, 310, 410 Image processing apparatus 11a Camera 11b Color filter 11 Image input unit 12a Camera 12 Image input unit 14 Corresponding point detection unit 15 Image deformation processing unit 16 Image deformation result determination unit 18, 19, 422 Color reproduction processing unit 19 color reproduction processing unit 214 detection-corresponding point determination unit 312 image division processing unit 314 color reproduction result image generation unit 316, 418 image combination processing unit 414 small region deformation determination unit 416 image band number conversion processing unit

Claims (7)

カメラが撮影可能な色の一部の波長を透過するカラーフィルタを用いて撮影された第1カラー画像、及び前記カラーフィルタを用いずに撮影された第2カラー画像を取得する画像取得手段と、
前記画像取得手段によって取得された前記第1カラー画像と前記第2カラー画像との対応点を複数検出する対応点検出手段と、
前記対応点検出手段によって検出された前記複数の対応点に基づいて、各対応点の位置が一致するように前記第1カラー画像を変形した第3カラー画像を生成する画像変形手段と、
前記画像取得手段によって取得された前記第2カラー画像及び前記画像変形手段によって生成された前記第3カラー画像の前記対応点の位置ずれ量が閾値以上であるか否かを判定する画像変形結果判定手段と、
前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値以上であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像を用いて、被写体の色再現処理を行い、前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値未満であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像及び前記画像変形手段によって生成された前記第3カラー画像を用いて、被写体の色再現処理を行う色再現処理手段と、
を含む画像処理装置。
Image acquisition means for acquiring a first color image captured using a color filter that transmits a part of wavelengths of colors that can be captured by the camera, and a second color image captured without using the color filter;
Corresponding point detecting means for detecting a plurality of corresponding points between the first color image and the second color image acquired by the image acquiring means;
Image deformation means for generating a third color image obtained by deforming the first color image based on the plurality of corresponding points detected by the corresponding point detection means so that the positions of the corresponding points coincide with each other;
Image deformation result determination for determining whether the amount of positional deviation of the corresponding points of the second color image acquired by the image acquisition unit and the third color image generated by the image deformation unit is greater than or equal to a threshold value. Means,
When it is determined by the image deformation result determination means that the amount of positional deviation of the corresponding point is greater than or equal to a threshold value, using the second color image acquired by the image acquisition means, subject color reproduction processing is performed, When it is determined by the image deformation result determination means that the positional deviation amount of the corresponding point is less than a threshold value, the second color image acquired by the image acquisition means and the third color generated by the image deformation means. Color reproduction processing means for performing color reproduction processing of a subject using a color image;
An image processing apparatus.
前記対応点検出手段によって検出された前記対応点の数が、所定値以上であるか否かを判定する検出対応点数判定手段を更に含み、
前記画像変形手段は、前記検出対応点数判定手段によって前記対応点の数が、所定値以上であると判定された場合に、各対応点の位置が一致するように前記第1カラー画像を変形した前記第3カラー画像を生成し、
前記色再現処理手段は、前記検出対応点数判定手段によって前記対応点の数が、所定値未満であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像を用いて、前記色再現処理を行う請求項1記載の画像処理装置。
Further comprising a detection corresponding point number determination means for determining whether or not the number of the corresponding points detected by the corresponding point detection means is a predetermined value or more,
The image deformation means deforms the first color image so that the positions of the corresponding points coincide when the number of corresponding points is determined to be equal to or greater than a predetermined value by the detected corresponding point number determination means. Generating the third color image;
The color reproduction processing unit uses the second color image acquired by the image acquisition unit when the number of corresponding points is determined to be less than a predetermined value by the detection corresponding point number determination unit. The image processing apparatus according to claim 1, wherein color reproduction processing is performed.
前記画像取得手段によって取得された前記第1カラー画像と前記第2カラー画像との各々を小領域画像に分割する画像分割処理手段と、
画像貼り合わせ処理手段とを更に含み、
前記対応点検出手段は、前記小領域画像毎に、前記画像取得手段によって取得された前記第1カラー画像の前記小領域画像と、前記第2カラー画像の対応する前記小領域画像との対応点を複数検出し、
前記画像変形手段は、前記小領域画像毎に、前記対応点検出手段によって検出された前記対応点に基づいて、各対応点の位置が一致するように前記第1カラー画像の前記小領域画像を変形した第3カラー画像の小領域画像を生成し、
前記画像変形結果判定手段は、前記小領域画像毎に、前記画像取得手段によって取得された前記第2カラー画像の前記小領域画像及び前記画像変形手段によって生成された前記第3カラー画像の対応する前記小領域画像の前記対応点の位置ずれ量が閾値以上であるか否かを判定し、
前記色再現処理手段は、前記小領域画像毎に、前記画像変形結果判定手段によって前記小領域画像について前記対応点の位置ずれ量が閾値以上であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像の前記小領域画像を用いて、前記小領域画像における被写体の色再現処理を行い、前記画像変形結果判定手段によって前記小領域画像について前記対応点の位置ずれ量が閾値未満であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像の前記小領域画像及び前記画像変形手段によって生成された前記第3カラー画像の対応する前記小領域画像を用いて、前記小領域画像における被写体の色再現処理を行い、
前記画像貼り合わせ処理手段は、前記色再現処理を行った各小領域画像から一枚の画像を生成する請求項1又は2記載の画像処理装置。
Image division processing means for dividing each of the first color image and the second color image acquired by the image acquisition means into small area images;
Further comprising image pasting processing means,
The corresponding point detecting means corresponds to, for each small area image, a corresponding point between the small area image of the first color image acquired by the image acquiring means and the corresponding small area image of the second color image. Multiple detections,
The image deforming means, for each of the small area images, based on the corresponding points detected by the corresponding point detecting means, the small area images of the first color image so that the positions of the corresponding points coincide with each other. Generating a transformed small area image of the third color image;
The image deformation result determination means corresponds to the small area image of the second color image acquired by the image acquisition means and the third color image generated by the image deformation means for each of the small area images. Determining whether the amount of positional deviation of the corresponding point of the small area image is greater than or equal to a threshold,
The color reproduction processing means is acquired by the image acquisition means for each of the small area images when the image deformation result determination means determines that the amount of positional deviation of the corresponding points for the small area image is greater than or equal to a threshold value. Using the small area image of the second color image that has been processed, subject color reproduction processing in the small area image is performed, and the positional deviation amount of the corresponding point for the small area image by the image deformation result determination unit is a threshold value. If it is determined that the image is less than the image, the small area image of the second color image acquired by the image acquisition means and the small area image corresponding to the third color image generated by the image deformation means are used. And subject color reproduction processing in the small area image,
The image processing apparatus according to claim 1, wherein the image pasting processing unit generates one image from each small region image subjected to the color reproduction processing.
カメラが撮影可能な色の一部の波長を透過するカラーフィルタを用いて撮影された第1カラー画像、及び前記カラーフィルタを用いずに撮影された第2カラー画像を取得する画像取得手段と、
前記画像取得手段によって取得された前記第1カラー画像と前記第2カラー画像との各々を小領域画像に分割する画像分割処理手段と、
前記小領域画像毎に、前記画像取得手段によって取得された前記第1カラー画像の前記小領域画像と、前記第2カラー画像の対応する前記小領域画像との対応点を複数検出する対応点検出手段と、
前記小領域画像毎に、前記対応点検出手段によって前記小領域画像について検出された前記対応点に基づいて、各対応点の位置が一致するように前記第1カラー画像の前記小領域画像を変形した第3カラー画像の小領域画像を生成する画像変形手段と、
前記小領域画像毎に、前記画像取得手段によって取得された前記第2カラー画像の前記小領域画像及び前記画像変形手段によって生成された前記第3カラー画像の対応する前記小領域画像の前記対応点の位置ずれ量が閾値以上であるか否かを判定する画像変形結果判定手段と、
前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値以上であると判定された前記小領域画像の各々について、前記第2カラー画像の前記小領域画像から、前記第1カラー画像の対応する前記小領域画像を推定する画像推定手段と、
前記画像変形結果判定手段によって前記対応点の位置ずれ量が未満以上であると判定された前記小領域画像に対応する前記第1カラー画像の前記小領域画像、及び前記画像推定手段によって推定された前記第1カラー画像の前記小領域画像を貼り合わせた画像を生成する画像貼り合わせ手段と、
前記画像取得手段によって取得された前記第2カラー画像及び前記画像貼り合わせ処理手段によって生成された画像を用いて、被写体の色再現処理を行う色再現処理手段と、
を含む画像処理装置。
Image acquisition means for acquiring a first color image captured using a color filter that transmits a part of wavelengths of colors that can be captured by the camera, and a second color image captured without using the color filter;
Image division processing means for dividing each of the first color image and the second color image acquired by the image acquisition means into small area images;
Corresponding point detection for detecting a plurality of corresponding points between the small area image of the first color image acquired by the image acquisition unit and the corresponding small area image of the second color image for each of the small area images. Means,
For each of the small area images, based on the corresponding points detected for the small area image by the corresponding point detection unit, the small area image of the first color image is deformed so that the positions of the corresponding points coincide with each other. Image deformation means for generating a small area image of the third color image,
For each of the small area images, the corresponding points of the small area image corresponding to the small area image of the second color image acquired by the image acquisition means and the third color image generated by the image deformation means. Image deformation result determination means for determining whether or not the amount of positional deviation is greater than or equal to a threshold value;
Correspondence of the first color image from the small area image of the second color image for each of the small area images determined by the image deformation result determination means that the amount of positional deviation of the corresponding point is equal to or greater than a threshold value Image estimating means for estimating the small area image;
The small area image of the first color image corresponding to the small area image determined by the image deformation result determining means that the positional deviation amount of the corresponding point is less than or more, and estimated by the image estimating means. Image combining means for generating an image obtained by combining the small area images of the first color image;
Color reproduction processing means for performing color reproduction processing of a subject using the second color image acquired by the image acquisition means and the image generated by the image combining processing means;
An image processing apparatus.
前記小領域画像毎に、前記対応点検出手段によって前記小領域画像について検出された前記対応点の数が、所定値以上であるか否かを判定する検出対応点数判定手段を更に含み、
前記画像変形手段は、前記小領域画像毎に、前記検出対応点数判定手段によって前記小領域画像について前記対応点の数が所定値以上であると判定された場合、各対応点の位置が一致するように前記第1カラー画像の前記小領域画像を変形した前記第3カラー画像の小領域画像を生成し、
前記画像推定手段は、更に、前記検出対応点数判定手段によって前記対応点の数が所定値未満であると判定された前記小領域画像の各々について、前記第2カラー画像の前記小領域画像から、前記第1カラー画像の対応する前記小領域画像を推定する請求項4記載の画像処理装置。
For each of the small area images, further includes detected corresponding point number determining means for determining whether or not the number of the corresponding points detected for the small area image by the corresponding point detecting means is equal to or greater than a predetermined value.
For each of the small area images, the image deformation means matches the positions of the corresponding points when the number of corresponding points for the small area image is determined to be greater than or equal to a predetermined value for the small area image. Generating a small area image of the third color image obtained by deforming the small area image of the first color image,
The image estimation means further includes, for each of the small area images determined by the detection corresponding point number determination means that the number of corresponding points is less than a predetermined value, from the small area image of the second color image, The image processing apparatus according to claim 4, wherein the small area image corresponding to the first color image is estimated.
画像取得手段、対応点検出手段、画像変形手段、画像変形結果判定手段、及び色再現処理手段を含む画像処理装置における画像処理方法であって、
前記画像取得手段によって、カメラが撮影可能な色の一部の波長を透過するカラーフィルタを用いて撮影された第1カラー画像、及び前記カラーフィルタを用いずに撮影された第2カラー画像を取得し、
前記対応点検出手段によって、前記画像取得手段によって取得された前記第1カラー画像と前記第2カラー画像との対応点を複数検出し、
前記画像変形手段によって、前記対応点検出手段によって検出された前記複数の対応点に基づいて、各対応点の位置が一致するように前記第1カラー画像を変形した第3カラー画像を生成し、
前記画像変形結果判定手段によって、前記画像取得手段によって取得された前記第2カラー画像及び前記画像変形手段によって生成された前記第3カラー画像の前記対応点の位置ずれ量が閾値以上であるか否かを判定し、
前記色再現処理手段によって、前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値以上であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像を用いて、被写体の色再現処理を行い、前記画像変形結果判定手段によって前記対応点の位置ずれ量が閾値未満であると判定された場合、前記画像取得手段によって取得された前記第2カラー画像及び前記画像変形手段によって生成された前記第3カラー画像を用いて、被写体の色再現処理を行う
画像処理方法。
An image processing method in an image processing apparatus including image acquisition means, corresponding point detection means, image deformation means, image deformation result determination means, and color reproduction processing means,
The image acquisition unit acquires a first color image captured using a color filter that transmits a part of wavelengths of colors that can be captured by the camera, and a second color image captured without using the color filter. And
A plurality of corresponding points between the first color image and the second color image acquired by the image acquisition unit are detected by the corresponding point detection unit;
Based on the plurality of corresponding points detected by the corresponding point detection unit, the image deformation unit generates a third color image obtained by deforming the first color image so that the positions of the corresponding points coincide with each other.
Whether or not the amount of positional deviation between the corresponding points of the second color image acquired by the image acquisition means and the third color image generated by the image deformation means by the image deformation result determination means is greater than or equal to a threshold value. Determine whether
When the color reproduction processing unit determines that the positional deviation amount of the corresponding point is greater than or equal to a threshold value by the image deformation result determination unit, the second color image acquired by the image acquisition unit is used to The second color image acquired by the image acquisition unit and the image deformation unit when the image deformation result determination unit determines that the amount of positional deviation of the corresponding point is less than a threshold value. An image processing method for performing color reproduction processing of a subject using the third color image generated by the method.
請求項1〜請求項5の何れか1項に記載の画像処理装置を構成する各手段として、コンピュータを機能させることを特徴とするプログラム。   A program that causes a computer to function as each means that constitutes the image processing apparatus according to any one of claims 1 to 5.
JP2012131653A 2012-06-11 2012-06-11 Image processing apparatus, method, and program Active JP5733706B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012131653A JP5733706B2 (en) 2012-06-11 2012-06-11 Image processing apparatus, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012131653A JP5733706B2 (en) 2012-06-11 2012-06-11 Image processing apparatus, method, and program

Publications (2)

Publication Number Publication Date
JP2013257614A JP2013257614A (en) 2013-12-26
JP5733706B2 true JP5733706B2 (en) 2015-06-10

Family

ID=49954034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012131653A Active JP5733706B2 (en) 2012-06-11 2012-06-11 Image processing apparatus, method, and program

Country Status (1)

Country Link
JP (1) JP5733706B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5555046B2 (en) * 2010-05-18 2014-07-23 日本電信電話株式会社 Image input device, image input method, and image input program

Also Published As

Publication number Publication date
JP2013257614A (en) 2013-12-26

Similar Documents

Publication Publication Date Title
US9516285B2 (en) Image processing device, image processing method, and image processing program
US8358835B2 (en) Method for detecting and correcting chromatic aberration, and apparatus and method for processing image using the same
US8040558B2 (en) Apparatus and method for shift invariant differential (SID) image data interpolation in fully populated shift invariant matrix
US9008412B2 (en) Image processing device, image processing method and recording medium for combining image data using depth and color information
JP2012239103A (en) Image processing device, image processing method, and program
JP2011124948A (en) Information processor, method of processing information, program and image pickup device with optical microscope mounted thereon
CN109565577B (en) Color correction device, color correction system and color correction method
JP4250506B2 (en) Image processing method, image processing apparatus, image processing program, and imaging system
JP5718138B2 (en) Image signal processing apparatus and program
JP2012222669A (en) Image processing system and method therefor
JP6173065B2 (en) Imaging apparatus, image processing apparatus, imaging method, and image processing method
JP5777031B2 (en) Image processing apparatus, method, and program
JP2015119344A (en) Device for measuring sensitivity distribution of imaging element and its control method, and calibration device of image display device and its control method
GB2460241A (en) Correction of optical lateral chromatic aberration
US20230188690A1 (en) Electronic device for estimating camera illuminant and method of the same
JP5733706B2 (en) Image processing apparatus, method, and program
JP7279596B2 (en) Three-dimensional measuring device
JP6807538B2 (en) Image processing equipment, methods, and programs
JP5836878B2 (en) Image processing apparatus, method, and program
JP6372805B2 (en) Image processing apparatus, method, and program
WO2013111824A1 (en) Image processing device, image pickup device and image processing method
JPWO2015182447A1 (en) Imaging apparatus and colorimetric method
JP4629629B2 (en) Digital camera false color evaluation method, digital camera false color evaluation apparatus, and digital camera false color evaluation program
JP4334150B2 (en) Image interpolation device
JP2019079283A (en) Image processing device, imaging device, image processing method, and, program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140708

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20140708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150227

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150310

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150406

R150 Certificate of patent or registration of utility model

Ref document number: 5733706

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250