Imaging system, matrix data, and method for generating matrix data

The imaging system addresses the challenge of generating accurate spectral images from compressed data by using an encoding element with varied transmission spectra and optimizing pixel values, resulting in improved restoration accuracy and reduced errors.

WO2024195499A1PCT designated stage expired Publication Date: 2024-09-26PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/008076
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2024-03-04
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Current imaging systems face challenges in accurately generating multiple spectral images from compressed spectral information, leading to potential errors in restoration accuracy.

Method used

An imaging system is developed that includes an encoding element with regions of different transmission spectra, a storage device for matrix data, and a processing circuit to generate spectral images from compressed data, where the average pixel value of each matrix is optimized to ensure accurate reconstruction.

Benefits of technology

This approach enables the generation of more accurate spectral images from compressed data by effectively reducing restoration errors and improving the accuracy of hyperspectral image reconstruction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024008076_26092024_PF_FP
    Figure JP2024008076_26092024_PF_FP
Patent Text Reader

Abstract

This imaging system comprises: an imaging device which has an encoding element that includes a plurality of regions having different transmission spectra; a storage device which stores matrix data that contains N sub-matrices respectively corresponding to N wavelength bands; and a processing circuit which generates N spectral images respectively corresponding to the N wavelength bands on the basis of the matrix data and a compressed image generated by the imaging device. Each sub-matrix contains a plurality of numerical values respectively corresponding to a plurality of pixel values acquired by imaging based on light through the encoding element. Where M is the maximum among the numerical values, which corresponds to the maximum among the pixel values, which are determined by the number of bits, and μi is the average of the plurality of numerical values contained in the i-th sub-matrix among the N sub-matrices, there is an i satisfying μi ≦ 0.8M.
Need to check novelty before this filing date? Find Prior Art

Description

Imaging system, matrix data, and method for generating matrix data

[0001] The present disclosure relates to an imaging system, matrix data, and a method for generating matrix data.

[0002] Compressed sensing is a technique for recovering more data than observed data by assuming that the data distribution of an observed object is sparse in a certain space, such as frequency space. Compressed sensing can be applied, for example, to imaging devices that recover images containing more information from a small amount of observed data. An imaging device to which compressed sensing is applied generates multiple spectral images corresponding to multiple wavelength bands from an image in which the spectral information of the object has been compressed. As a result, various effects can be achieved, such as higher image resolution, multiple wavelengths, shorter imaging time, and higher sensitivity.

[0003] Patent Literature 1 discloses an example in which compressed sensing technology is applied to a hyperspectral camera that acquires multiple spectral images. The technology disclosed in Patent Literature 1 makes it possible to realize a hyperspectral camera that generates high-resolution, multi-wavelength images.

[0004] U.S. Pat. No. 9,599,511

[0005] There is a need for an imaging system that can more accurately generate multiple spectral images from an image with compressed spectral information.

[0006] an image capturing system according to one aspect of the present disclosure, comprising: an image capturing device having an encoding element including a plurality of regions having mutually different transmission spectra; a storage device that stores matrix data including N sub-matrices corresponding to N wavelength bands (N is an integer of 2 or greater); and a processing circuit that generates N spectroscopic images corresponding to the N wavelength bands based on a compressed image generated by the image capturing device in which information of the N wavelength bands is compressed, and the matrix data; wherein each of the N sub-matrices includes a plurality of numerical values, and the plurality of numerical values ​​correspond to a plurality of pixel values ​​acquired by imaging based on light transmitted through the encoding element; the maximum value of each of the plurality of numerical values ​​corresponds to a maximum value determined by the number of bits set for each of the plurality of pixel values; and wherein when the maximum value of each of the plurality of numerical values ​​is M and μi is the average of the plurality of numerical values ​​included in the i-th sub-matrix (i is a natural number greater than or equal to 1 and less than or equal to N) of the N sub-matrices, there exists an i such that μi≦0.8M.

[0007] A general or specific aspect of the present disclosure may be realized as a system, an apparatus, a method, an integrated circuit, a computer program, or a computer-readable recording medium, or as any combination of a system, an apparatus, a method, an integrated circuit, a computer program, and a recording medium. The computer-readable recording medium may include a non-volatile recording medium such as a CD-ROM (Compact Disc-Read Only Memory). An apparatus may be composed of one or more devices. When an apparatus is composed of two or more devices, the two or more devices may be located in a single device or may be located separately in two or more separate devices. In this specification and claims, the term "apparatus" may refer not only to a single device but also to a system consisting of multiple devices.

[0008] According to the technology of the present disclosure, it is possible to realize an imaging system that can more accurately generate multiple spectral images from an image in which spectral information is compressed.

[0009] FIG. 1A is a diagram schematically illustrating an example configuration of an imaging system. FIG. 1B is a diagram schematically illustrating another example configuration of an imaging system. FIG. 1C is a diagram schematically illustrating yet another example configuration of an imaging system. FIG. 1D is a diagram schematically illustrating yet another example configuration of an imaging system. FIG. 2A is a diagram schematically illustrating an example of a filter array. FIG. 2B is a diagram illustrating an example of the spatial distribution of light transmittance of each of multiple wavelength bands included in a target wavelength range. FIG. 2C is a diagram illustrating an example of the spectral transmittance of a region A1 included in the filter array shown in FIG. 2A. FIG. 2D is a diagram illustrating an example of the spectral transmittance of a region A2 included in the filter array shown in FIG. 2A. FIG. 3A is a diagram for explaining an example relationship between a target wavelength range and multiple wavelength bands included therein. FIG. 3B is a diagram for explaining another example relationship between a target wavelength range and multiple wavelength bands included therein. FIG. 4A is a diagram for explaining the characteristics of the spectral transmittance in a certain region of a filter array. FIG. 4B is a diagram illustrating the result of averaging the spectral transmittance shown in FIG. 4A for each wavelength band. FIG. 5 is a diagram schematically illustrating an example of the configuration of an imaging system for acquiring a restoration table from an encoded mask. FIG. 6 is a flowchart schematically illustrating an example of a calibration operation performed by a processing circuit in this embodiment. FIG. 7A is a diagram schematically illustrating an example of a restoration table format. FIG. 7B is a diagram schematically illustrating another example of a restoration table format. FIG. 8 is a diagram schematically illustrating an example of an imaging system for generating a hyperspectral image from a compressed image. FIG. 9 is a flowchart schematically illustrating an example of a hyperspectral image generation operation performed by a processing circuit in this embodiment. FIG. 10A is a diagram for explaining a method for evaluating a restoration error of a hyperspectral image. FIG. 10B is a diagram for explaining a method for evaluating a restoration error of a hyperspectral image. FIG. 10C is a diagram for explaining a method for evaluating a restoration error of a hyperspectral image. FIG. 10D is a diagram for explaining a method for evaluating a restoration error of a hyperspectral image. FIG. 11 is a graph showing the relationship between the average pixel value of each mask image included in the restoration table and the restoration error. FIG. 12 is a diagram schematically illustrating an enlarged local spatial distribution of pixel values ​​in a mask image corresponding to a certain wavelength band.Fig. 13 is a diagram illustrating an example of a filter array, Fig. 14 is a diagram illustrating an example of an image sensor, and Fig. 15 is a diagram illustrating an example of an image processing device 200.

[0010] In the present disclosure, all or part of a circuit, unit, device, component, or part, or all or part of a functional block in a block diagram, may be implemented by one or more electronic circuits, including, for example, a semiconductor device, a semiconductor integrated circuit (IC), or an LSI (large scale integration). The LSI or IC may be integrated on a single chip or may be configured by combining multiple chips. For example, functional blocks other than memory elements may be integrated on a single chip. While the terms LSI and IC are used here, the term may be changed depending on the degree of integration, and may be referred to as a system LSI, a VLSI (very large scale integration), or an ULSI (ultra large scale integration). A Field Programmable Gate Array (FPGA), which is programmed after the LSI is manufactured, or a reconfigurable logic device, which can reconfigure the connection relationships within the LSI or set up circuit sections within the LSI, can also be used for the same purpose.

[0011] Furthermore, all or part of the functions or operations of a circuit, unit, device, component, or section can be implemented by software processing. In this case, the software is recorded on one or more non-transitory recording media such as ROMs, optical disks, hard disk drives, etc., and when the software is executed by a processor, the functions specified in the software are executed by the processor and peripheral devices. A system or device may include one or more non-transitory recording media on which the software is recorded, a processor, and required hardware devices, such as interfaces.

[0012] In this disclosure, "light" refers to electromagnetic waves including not only visible light (wavelengths of about 400 nm to about 700 nm), but also ultraviolet light (wavelengths of about 10 nm to about 400 nm) and infrared light (wavelengths of about 700 nm to about 1 mm).

[0013] Exemplary embodiments of the present disclosure will be described below. Note that the embodiments described below are all comprehensive or specific examples. The numerical values, shapes, components, component placement and connection configurations, steps, and step order shown in the following embodiments are merely examples and are not intended to limit the present disclosure. Furthermore, among the components in the following embodiments, components that are not recited in the independent claims that represent the highest concepts will be described as optional components. Furthermore, each figure is a schematic diagram and is not necessarily an exact illustration. Furthermore, in each figure, substantially identical components are assigned the same reference numerals, and duplicated descriptions may be omitted or simplified.

[0014] Before describing the embodiments of the present disclosure, it will be noted that an image restored based on sparsity may have restoration errors.

[0015] Sparsity is the property that elements that characterize an object to be observed exist sparsely in a certain space, such as frequency space. Sparsity is widely observed in nature. By utilizing sparsity, it becomes possible to observe necessary information efficiently. Sensing technology that utilizes sparsity is called compressed sensing technology. By utilizing compressed sensing technology, it is possible to build highly efficient devices and systems.

[0016] As a specific application example of compressed sensing technology, for example, a hyperspectral camera with improved wavelength resolution has been proposed, as disclosed in Patent Document 1. The hyperspectral camera includes, for example, an optical filter with irregular light transmission characteristics in terms of space and / or wavelength. Such an optical filter is also referred to as a "coding mask." The coding mask is placed on the optical path of light incident on the image sensor and transmits light incident from an object with different light transmission characteristics depending on the region. This process using the coding mask is referred to as "encoding." The image of the object acquired through the coding mask contains compressed spectral information of the object. The image is referred to as a "compressed image." Mask information indicating the light transmission characteristics of the coding mask is pre-stored in a storage device as a restoration table.

[0017] The processing device of the imaging device performs restoration processing based on the compressed image and the restoration table. The restoration processing generates multiple restored images that have more information than the compressed image, such as image information with higher resolution or image information with more wavelengths. In this specification, the multiple restored images are also referred to as "multiple spectral images." The restoration table may be, for example, data that reflects the spatial distribution of the optical response characteristics of the coding mask. The restoration processing based on such a restoration table can generate multiple restored images corresponding to multiple wavelength bands included in the target wavelength range from a single compressed image.

[0018] The present inventors have found that there is room for improving the restoration accuracy of multiple restored images, and have conceived an imaging system according to an embodiment of the present disclosure that solves this problem. The imaging system according to this embodiment can more accurately generate multiple restored images from a compressed image by using a restoration table that is appropriately generated from an encoding mask. The imaging system according to the embodiment of the present disclosure will be described below.

[0019] (Embodiment) First, an imaging system for generating a restored image from a compressed image will be described below, followed by a description of how to generate a restoration table and evaluate a restoration error.

[0020] [1. Imaging System] Fig. 1A is a diagram schematically illustrating an example configuration of an imaging system. The system illustrated in Fig. 1A includes an imaging device 100 and an image processing device 200. The imaging device 100 has a configuration similar to that of the imaging device disclosed in Patent Document 1. The imaging device 100 includes an optical system 140, a filter array 110, and an image sensor 160. The optical system 140 and the filter array 110 are disposed on the optical path of light incident from an object 70, which is a subject. In the example of Fig. 1A, the filter array 110 is disposed between the optical system 140 and the image sensor 160.

[0021] FIG. 1A illustrates an apple as an example of the object 70. The object 70 is not limited to an apple and may be any object. The image sensor 160 generates data for a compressed image 10 in which information of a plurality of wavelength bands is compressed as a two-dimensional monochrome image. The image processing device 200 generates data representing a plurality of images that correspond one-to-one to a plurality of wavelength bands included in a predetermined target wavelength range, based on the data for the compressed image 10 generated by the image sensor 160. Here, the number of wavelength bands included in the target wavelength range is set to N (N is an integer equal to or greater than 4). In the following description, the N images generated based on the compressed image 10 are referred to as a restored image 20W. 1 , 20W 2 , ..., 20W N These may be collectively referred to as "hyperspectral images 20."

[0022] In this embodiment, the filter array 110 is an array of multiple light-transmitting filters arranged in rows and columns. The multiple filters include multiple types of filters with different spectral transmittances, i.e., different wavelength dependencies of light transmittance. The filter array 110 modulates the intensity of incident light for each wavelength and outputs the modulated light. This process performed by the filter array 110 is called "encoding," and the filter array 110 is also called a "coding mask."

[0023] 1A, the filter array 110 is disposed near or directly above the image sensor 160. Here, "near" means close enough that a light image from the optical system 140 is formed on the surface of the filter array 110 with a certain degree of clarity. "Directly above" means that the two are so close that there is almost no gap between them. The filter array 110 and the image sensor 160 may be integrated.

[0024] 1A, optical system 140 includes at least one lens. Although optical system 140 is shown as a single lens in FIG. 1A, optical system 140 may be a combination of multiple lenses. Optical system 140 forms an image on the imaging surface of image sensor 160 through filter array 110.

[0025] The filter array 110 may be disposed away from the image sensor 160. FIGS. 1B to 1D are diagrams showing configuration examples of the imaging device 100 in which the filter array 110 is disposed away from the image sensor 160. In the example of FIG. 1B, the filter array 110 is disposed between the optical system 140 and the image sensor 160 and at a position away from the image sensor 160. In the example of FIG. 1C, the filter array 110 is disposed between the object 70 and the optical system 140. In the example of FIG. 1D, the imaging device 100 includes two optical systems 140A and 140B, with the filter array 110 disposed between them. As in these examples, an optical system including one or more lenses may be disposed between the filter array 110 and the image sensor 160.

[0026] The image sensor 160 is a monochrome photodetection device having a plurality of photodetection elements (also referred to herein as "pixels") arranged two-dimensionally. The image sensor 160 may be, for example, a charge-coupled device (CCD), a complementary metal oxide semiconductor (CMOS) sensor, or an infrared array sensor. The photodetection elements include, for example, photodiodes. The image sensor 160 does not necessarily have to be a monochrome sensor. For example, a color sensor may be used. A color sensor may include, for example, a plurality of red (R) filters that transmit red light, a plurality of green (G) filters that transmit green light, and a plurality of blue (B) filters that transmit blue light. A color sensor may further include a plurality of IR filters that transmit infrared light. Alternatively, a color sensor may include a plurality of transparent filters that transmit all red, green, and blue light. The use of a color type sensor can increase the amount of information about wavelengths, thereby improving the accuracy of reconstructing the hyperspectral image 20. The wavelength range to be acquired may be determined arbitrarily, and is not limited to the visible wavelength range, but may also be the ultraviolet, near-infrared, mid-infrared, or far-infrared wavelength range.

[0027] The image processing device 200 may be a computer including one or more processors and one or more storage media such as a memory. The image processing device 200 generates a plurality of restored images 20W based on the compressed image 10 acquired by the image sensor 160. 1 , 20W 2 ,...20W N Generate data.

[0028] 2A is a diagram schematically illustrating an example of a filter array 110. The filter array 110 has a plurality of regions arranged two-dimensionally. In this specification, these regions may be referred to as "cells." An optical filter having an individually set spectral transmittance is disposed in each region. The spectral transmittance is expressed by a function T(λ), where λ is the wavelength of incident light. The spectral transmittance T(λ) can take a value between 0 and 1.

[0029] 2A , the filter array 110 has 48 rectangular regions arranged in 6 rows and 8 columns. This is merely an example, and in actual applications, more regions may be provided. The number of regions may be approximately the same as the number of pixels in the image sensor 160, for example. The number of filters included in the filter array 110 is determined depending on the application and may range from several tens to several tens of millions, for example.

[0030] FIG. 2B shows the wavelength band W included in the target wavelength range. 1 , W 2 , ..., W N 2B is a diagram showing an example of the spatial distribution of light transmittance of each of the wavelength bands. In the example shown in FIG. 2B, the difference in shading of each region represents the difference in transmittance. The lighter the region, the higher the transmittance, and the darker the region, the lower the transmittance. As shown in FIG. 2B, the spatial distribution of light transmittance differs depending on the wavelength band.

[0031] 2C and 2D are diagrams showing examples of the spectral transmittance of region A1 and region A2 included in the filter array 110 shown in FIG. 2A . The spectral transmittance of region A1 and the spectral transmittance of region A2 are different from each other. In this way, the spectral transmittance of the filter array 110 varies depending on the region. However, it is not necessary for all regions to have different spectral transmittances. In the filter array 110, the spectral transmittances of at least some of the multiple regions are different from each other. The filter array 110 includes two or more filters with different spectral transmittances. In some examples, the number of spectral transmittance patterns of the multiple regions included in the filter array 110 may be equal to or greater than the number N of wavelength bands included in the target wavelength range. The filter array 110 may be designed so that the spectral transmittances of more than half of the regions are different.

[0032] 3A and 3B show the target wavelength range W and the wavelength bands W included therein. 1 , W 2 , ..., W N1 is a diagram for explaining the relationship between the wavelengths of visible light and ultraviolet light. The target wavelength range W can be set to various ranges depending on the application. The target wavelength range W can be, for example, the visible light wavelength range of about 400 nm to about 700 nm, the near-infrared wavelength range of about 700 nm to about 2500 nm, or the near-ultraviolet wavelength range of about 10 nm to about 400 nm. Alternatively, the target wavelength range W may be a wavelength range such as mid-infrared or far-infrared. In this manner, the wavelength range used is not limited to the visible light range. In this specification, the term "light" refers to radiation in general, including not only visible light but also infrared and ultraviolet light.

[0033] In the example shown in FIG. 3A , N is an arbitrary integer equal to or greater than 4, and each wavelength range obtained by dividing the target wavelength range W into N equal parts is called a wavelength band W 1 , W 2 , ..., W N However, the present invention is not limited to this example. The multiple wavelength bands included in the target wavelength range W may be set arbitrarily. For example, the bandwidth may be non-uniform depending on the wavelength band. There may be a gap or overlap between adjacent wavelength bands. In the example shown in FIG. 3B, the bandwidth differs depending on the wavelength band, and there is a gap between two adjacent wavelength bands. In this way, the method of determining the multiple wavelength bands is arbitrary.

[0034] 4A is a diagram illustrating the characteristics of the spectral transmittance in a certain region of the filter array 110. In the example shown in FIG. 4A, the spectral transmittance has multiple maximum values ​​P1 to P5 and multiple minimum values ​​for wavelengths within the target wavelength band W. In the example shown in FIG. 4A, the optical transmittance within the target wavelength band W is normalized so that the maximum value is 1 and the minimum value is 0. In the example shown in FIG. 4A, the wavelength band W 2 , and the wavelength band W N-1 In this way, the spectral transmittance of each region is expressed as a wavelength band W 1 , W 2 , ..., W N In the example of Fig. 4A, the maximum values ​​P1, P3, P4, and P5 are 0.5 or more.

[0035] As such, the light transmittance of each region varies depending on the wavelength. Therefore, the filter array 110 transmits a large amount of components in a certain wavelength range among the incident light, while not transmitting components in other wavelength ranges as much. For example, the transmittance of light in k wavelength bands among the N wavelength bands may be greater than 0.5, while the transmittance of light in the remaining N-k wavelength bands may be less than 0.5, where k is an integer satisfying 2≦k<N. If the incident light is white light that contains all visible light wavelength components equally, the filter array 110 modulates the incident light into light having multiple discrete intensity peaks with respect to wavelength for each region, and outputs this multi-wavelength light in a superimposed form.

[0036] FIG. 4B shows an example of the spectral transmittance shown in FIG. 4A in a wavelength band W 1 , W 2 , ..., W N This figure shows the results of averaging the spectral transmittance for each wavelength band. The averaged transmittance is obtained by integrating the spectral transmittance T(λ) for each wavelength band and dividing by the bandwidth of that wavelength band. In this specification, the transmittance value averaged for each wavelength band in this way is referred to as the transmittance for that wavelength band. In this example, the transmittance is remarkably high in the three wavelength ranges that have maximum values ​​P1, P3, and P5. In particular, the transmittance exceeds 0.8 in the two wavelength ranges that have maximum values ​​P3 and P5.

[0037] In the examples shown in Figures 2A to 2D, a grayscale transmittance distribution is assumed in which the transmittance of each region can take any value between 0 and 1. However, a grayscale transmittance distribution is not necessarily required. For example, a binary scale transmittance distribution may be employed in which the transmittance of each region can take a value of either approximately 0 or approximately 1. In a binary scale transmittance distribution, each region transmits most of the light in at least two wavelength ranges out of multiple wavelength ranges included in the target wavelength range, and does not transmit most of the light in the remaining wavelength ranges. Here, "most" refers to approximately 80% or more.

[0038] A portion of all cells, for example half of the cells, may be replaced with a transparent region. Such a transparent region is located within a wavelength band W included in the wavelength range W of interest.1 , W 2 , ..., W N The filter array 110 transmits light of each wavelength at a similarly high transmittance, for example, 80% or more. In such a configuration, the transparent regions may be arranged, for example, in a checkerboard pattern. That is, in two arrangement directions of the regions in the filter array 110, regions whose light transmittance varies depending on the wavelength and transparent regions may be arranged alternately.

[0039] Such data indicating the spatial distribution of the spectral transmittance of the filter array 110 is acquired in advance based on design data or actual measurement calibration, and is stored in a storage medium provided in the image processing device 200. This data is used in the calculation processing described below.

[0040] The filter array 110 can be constructed using, for example, a multilayer film, an organic material, a diffraction grating structure, or a microstructure containing a metal. When a multilayer film is used, for example, a dielectric multilayer film or a multilayer film containing a metal layer can be used. In this case, at least one of the thickness, material, and stacking order of each multilayer film is formed differently for each cell. This allows different spectral characteristics to be achieved for each cell. By using a multilayer film, sharp rises and falls in the spectral transmittance can be achieved. A configuration using an organic material can be achieved by containing different pigments or dyes in each cell or by stacking different materials. A configuration using a diffraction grating structure can be achieved by providing a diffraction structure with a different diffraction pitch or depth for each cell. When a microstructure containing a metal is used, it can be fabricated using spectral separation due to the plasmon effect.

[0041] Next, an example of signal processing by the image processing device 200 will be described. The image processing device 200 reconstructs a multi-wavelength hyperspectral image 20 based on the compressed image 10 output from the image sensor 160 and the spatial distribution characteristics of the transmittance for each wavelength of the filter array 110. Here, "multi-wavelength" means a wavelength range that is greater than the wavelength ranges of the three colors RGB captured by a typical color camera. The number of wavelength ranges can be, for example, between 4 and 100. This number of wavelength ranges is referred to as the "number of bands." Depending on the application, the number of bands may exceed 100.

[0042] The data to be obtained is the data of the hyperspectral image 20, and the data is denoted as f. If the number of bands is N, f is the data f of N bands. 1 , f 2 , ..., f N Here, the horizontal direction of the image is the x direction, and the vertical direction of the image is the y direction. If the number of pixels in the x direction of the image data to be obtained is m and the number of pixels in the y direction is n, then the image data f 1 , f 2 , ..., f N Each of the data f has n×m pixel values. Therefore, the data f has n×m×N elements. On the other hand, the data g of the compressed image 10 obtained by encoding and multiplexing by the filter array 110 has n×m elements. The data g can be expressed by the following equation (1).

[0043] In equation (1), f represents the hyperspectral image data expressed as a one-dimensional vector. 1 , f 2 , ..., f N Each of these has n×m elements. Therefore, the vector on the right side is a one-dimensional vector with n×m×N rows and one column. The compressed image data g is calculated as a one-dimensional vector with n×m rows and one column. The matrix H is calculated by dividing each component f of the vector f by 1 , f 2 , ..., f Nrepresents a transformation in which each wavelength band is encoded with different encoding information, intensity-modulated, and then added together. Therefore, H is an n×m×n×m×N matrix. Equation (1) can also be expressed as follows:

[0044] g = (pg 11 ...pg 1m ...pg n1 ...pg nm ) T = H(f 1 ...f N ) T Here, pg ij represents the pixel value of the i-th row and j-th column of the compressed image 10.

[0045] Given vector g and matrix H, it seems possible to calculate data f by solving the inverse problem of equation (1). However, because the number of elements n×m×N of the desired data f is greater than the number of elements n×m of the acquired data g, this problem is ill-posed and cannot be solved as is. Therefore, the image processing device 200 utilizes the image redundancy contained in data f to find a solution using a compressed sensing technique. Specifically, the desired data f is estimated by solving the following equation (2).

[0046] Here, f' represents the estimated data of f. The first term in the parentheses in the above equation represents the amount of deviation between the estimation result Hf and the acquired data g, the so-called residual term. Here, the sum of squares is used as the residual term, but the absolute value or the square root of the sum of squares, etc., may also be used as the residual term. The second term in the parentheses is a regularization term or stabilization term. Equation (2) means that f that minimizes the sum of the first and second terms is found. The function in the parentheses in Equation (2) is called the evaluation function. The image processing device 200 can converge the solution through recursive iterative calculations and calculate the f that minimizes the evaluation function as the final solution f'.

[0047] The first term in the parentheses in Equation (2) represents an operation to calculate the sum of squares of the difference between the acquired data g and Hf, which is obtained by transforming f in the estimation process using the matrix H. The second term, Φ(f), is a constraint for regularizing f and is a function that reflects the sparsity information of the estimation data. This function has the effect of smoothing or stabilizing the estimation data. The regularization term can be expressed, for example, by the discrete cosine transform (DCT), wavelet transform, Fourier transform, or total variation (TV) of f. For example, using total variation can obtain stable estimation data that suppresses the influence of noise in the observation data g. The sparsity of the object 70 in the space of each regularization term varies depending on the texture of the object 70. A regularization term that makes the texture of the object 70 sparser in the space of the regularization term may be selected. Alternatively, multiple regularization terms may be included in the operation. τ is a weighting coefficient. The larger the weighting coefficient τ, the greater the amount of redundant data reduction and the higher the compression rate. The smaller the weighting factor τ, the weaker the convergence to a solution. The weighting factor τ is set to an appropriate value that allows f to converge to a certain extent but does not result in over-compression.

[0048] In the configurations of FIGS. 1B and 1C , the image encoded by the filter array 110 is acquired in a blurred state on the imaging surface of the image sensor 160. Therefore, by storing this blur information in advance and reflecting the blur information in the aforementioned matrix H, the hyperspectral image 20 can be reconstructed. Here, the blur information is represented by a point spread function (PSF). The PSF is a function that defines the degree of spread of a point image to surrounding pixels. For example, if a point image corresponding to one pixel on an image spreads due to blurring into a k×k pixel region around that pixel, the PSF can be defined as a group of coefficients, i.e., a matrix, that indicates the influence on the pixel values ​​of each pixel within that region. The hyperspectral image 20 can be reconstructed by reflecting the influence of blurring of the encoding pattern by the PSF in the matrix H. The filter array 110 may be positioned at any position, but a position that does not cause the encoding pattern of the filter array 110 to be lost due to excessive diffusion can be selected.

[0049] Through the above processing, a hyperspectral image 20 can be restored from the compressed image 10 acquired by the image sensor 160. Details of the method for restoring the hyperspectral image 20 are disclosed in Patent Document 1, the entire disclosure of which is incorporated herein by reference.

[0050] Next, a description will be given of other configuration examples of the imaging device 100. Compressed images and hyperspectral images may be generated by imaging using a filter array 110 including a plurality of optical filters, i.e., a method different from imaging using a coded mask.

[0051] For example, the imaging device 100 may be configured such that the light-receiving characteristics of the image sensor 160 are changed for each pixel by processing the image sensor 160. Similar to the above example, a compressed image can be generated by capturing an image using the processed image sensor 160. That is, a compressed image may be generated by an imaging device configured such that the filter array 110 is built into the image sensor 160. In this case, the encoded information corresponds to the light-receiving characteristics of the image sensor 160.

[0052] Alternatively, an optical element such as a metalens may be incorporated into at least a portion of the optical system 140, thereby varying the optical characteristics of the optical system 140 spatially and wavelength-wise, thereby compressing the spectral information. A compressed image can also be generated using an imaging device including such a configuration. In this case, the encoded information corresponds to the optical characteristics of the optical element, such as a metalens. In this manner, the intensity of incident light may be modulated for each wavelength using an imaging device 100 with a configuration other than that using a filter array 110, thereby generating the compressed image 10 and hyperspectral image 20.

[0053] In other words, the present disclosure also includes a configuration for generating a restored image including a greater number of signals (e.g., the number of pixels) than the number of signals included in the compressed image 10, based on coded information corresponding to the photoresponse characteristics of the image capture device 100 including a plurality of light-receiving regions having different photoresponse characteristics, and the compressed image 10 generated by the image capture device 100. As described above, the photoresponse characteristics may correspond to the light-receiving characteristics of an image sensor, or may correspond to the optical characteristics of an optical element.

[0054] Therefore, the imaging device 100 according to this embodiment can be said to have an encoding element including a plurality of light-receiving regions with different photoresponse characteristics. Here, the term "encoding element" refers not only to the encoding mask but also to the optical system 140 whose optical characteristics are varied spatially and wavelength-wise.

[0055] 2. Generation of Reconstruction Table Next, an example of an imaging system and its operation for generating a reconstruction table from an encoding mask will be described. The encoding mask includes multiple regions with different transmission spectra. By appropriately generating a reconstruction table from such an encoding mask, reconstruction errors in hyperspectral images can be effectively reduced.

[0056] [2.1. Imaging system for generating a restoration table from a coding mask] Fig. 5 is a diagram schematically illustrating an example configuration of an imaging system for generating a restoration table from a coding mask. The imaging system shown in Fig. 5 includes a light source 510, a monochromator 520, an integrating sphere 530, an imaging device 100, an image processing device 200, and a display device 300. Lines with arrows represent signal transmission and reception.

[0057] The components of the imaging system shown in Fig. 5 will be described below. However, some of the following components are not necessarily required for generating the restoration table, but are also used for generating, outputting, and displaying the hyperspectral image.

[0058] The light source 510 emits light containing all components of multiple wavelength bands within a target wavelength range. If the target wavelength range is at least a portion of the visible light range, the light may be, for example, white light. The light emitted from the light source 510 may be, for example, laser light, but is not limited to laser light. The light emitted from the light source 510 may be, for example, light from an LED or light from a light bulb. The monochromator 520 extracts light of a certain wavelength band from the laser light emitted from the light source 510. Instead of the monochromator 520, a bandpass filter may be used to extract light of a certain wavelength band. The integrating sphere 530 has an aperture and spatially uniformizes the extracted monochromatic light before emitting it from the aperture. The imaging device 100 acquires an image of the light emitted from the integrating sphere 530.

[0059] 5 represent the optical fiber connecting light source 510 and monochromator 520 to each other and the optical fiber connecting monochromator 520 and integrating sphere 530 to each other. The optical fiber connecting light source 510 and monochromator 520 to each other guides the laser light emitted from light source 510 to monochromator 520. The optical fiber connecting monochromator 520 and integrating sphere 530 to each other guides the light emitted from monochromator 520 to integrating sphere 530. Mirrors may be used instead of optical fibers.

[0060] The image processing device 200 includes a processing circuit 210 including a control circuit 210a and a signal processing circuit 210b, and a storage device 220. The control circuit 210a controls the operations of the light source 510, the monochromator 520, the image capturing device 100, the signal processing circuit 210b, and the display device 300. The signal processing circuit 210b includes a memory 212 and an image restoration module 214. The memory 212 stores images acquired during calibration, which will be described later. The image restoration module 214 generates a hyperspectral image from the compressed image generated by the image capturing device 100 by a restoration calculation, and outputs information related to the hyperspectral image. The information is sent to the display device 300.

[0061] The signal processing circuit 210b includes a memory 212 and a processor that functions as an image restoration module 214. In the example shown in Figure 5, the control circuit 210a and the signal processing circuit 210b are shown as separate circuits, but they may also be a single circuit.

[0062] The storage device 220 includes one or more storage media. Each storage medium may be any storage medium, such as a semiconductor memory, a magnetic storage medium, or an optical storage medium. The storage device 220 stores a reconstruction table generated by calibration, which will be described later. The reconstruction table is an example of coded information that indicates the optical transmission characteristics of the filter array 110, which functions as a coded mask.

[0063] The display device 300 displays an input user interface (UI) 310 and a display UI 320. The input UI 310 is used for a user to input information. The information input by the user to the input UI 310 is received by the control circuit 210a. The display UI 320 is used to display information about the hyperspectral image.

[0064] The input UI 310 and the display UI 320 are displayed as a graphical user interface (GUI). It can also be said that the information shown on the input UI 310 and the display UI 320 is displayed on the display device 300. The input UI 310 and the display UI 320 may be realized by a device capable of both input and output, such as a touch screen. In this case, the touch screen may function as the display device 300. When a keyboard and / or a mouse are used as the input UI 310, the input UI 310 is a device independent of the display device 300.

[0065] 5 does not necessarily include the image restoration module 214 and the display device 300 among the above components, because these components are used to generate a hyperspectral image and to output and display information related to the hyperspectral image, as will be described later.

[0066] [2.2. Calibration Operation for Generating Restoration Table] Next, an example of a calibration operation performed by the processing circuitry 210 in this embodiment will be described with reference to Fig. 6. This calibration makes it possible to generate a restoration table that can effectively reduce restoration errors.

[0067] 6 is a flowchart that schematically illustrates an example of a calibration operation performed by the processing circuit 210 in this embodiment. The control circuit 210a or the signal processing circuit 210b included in the processing circuit 210 performs the operations of steps S101 to S108 shown in FIG. The signal processing circuit 210b performs the operations upon receiving a control signal from the control circuit 210a. In this specification, the operations performed by the control circuit 210a or the signal processing circuit 210b are treated as operations performed by the processing circuit 210.

[0068] <Step S101> The user sets N wavelength bands (N is an integer equal to or greater than 2) included in the target wavelength range via the input UI 310 shown in Fig. 5. The control circuit 210a acquires information on the N wavelength bands from the input UI 310.

[0069] <Step S102> The control circuit 210a causes the light source 510 to emit laser light including components of N wavelength bands. The laser light is, for example, white laser light.

[0070] <Step S103> The control circuit 210a causes the monochromator 520 to extract light of a certain wavelength band from the laser light. This wavelength band is one of the N input wavelength bands.

[0071] <Step S104> Control circuit 210a causes image capturing device 100 to acquire an image of light emitted from integrating sphere 530 under adjusted imaging conditions as follows: Control circuit 210a causes light source 510 to adjust the intensity of the laser light emitted from light source 510 and adjust the exposure time of image capturing device 100 so that the average pixel value of multiple pixels included in the acquired image falls within a predetermined range. The predetermined range in which the restoration error can be effectively reduced will be described later.

[0072] For example, if the number of bits of a pixel value is 10, the pixel value is expressed in 1024 gradations. In this case, the pixel value is an integer between 0 and 1023. Alternatively, if the number of bits of a pixel value is 8, the pixel value is expressed in 256 gradations. In this case, the pixel value is an integer between 0 and 255.

[0073] <Step S105> The signal processing circuit 210b stores in the memory 212 a mask image corresponding to the certain wavelength band, which is generated based on the signal from the imaging device 100.

[0074] <Step S106> The control circuit 210a determines whether all wavelength bands have been examined. If the determination is Yes, the signal processing circuit 210b executes the operation of step S107. If the determination is No, the control circuit 210a executes the operation of step S103 again. In step S103, the control circuit 210a causes the monochromator 520 to extract light of wavelength bands that have not yet been examined from the laser light. This extraction may be performed in ascending or descending order of wavelength. In this way, the control circuit 210a repeatedly executes the operations of steps S103 to S105 for the N input wavelength bands to generate multiple mask images.

[0075] <Step S107> The signal processing circuit 210b generates a restoration table based on N mask images corresponding to the N wavelength bands, respectively.

[0076] <Step S108> The signal processing circuit 210b stores the restoration table in the storage device 220.

[0077] The above calibration operation allows a restoration table to be generated from the encoding mask included in the imaging device 100, including N mask images whose average pixel values ​​fall within a predetermined range. All of the N mask images may have the same average pixel value. Alternatively, the multiple mask images may have different average pixel values. Some of the multiple mask images may have average pixel values ​​that are different from the rest.

[0078] [2.2. Format of Restoration Table] Next, an example of the format of the restoration table will be described with reference to Fig. 7A and Fig. 7B. Fig. 7A and Fig. 7B are diagrams schematically showing an example of the format of the restoration table. The restoration table shown in Fig. 7A is expressed as a three-dimensional matrix in which the depth represents the wavelength band and the vertical and horizontal axes represent the pixel values ​​of multiple pixels included in each mask image. The restoration table shown in Fig. 7B is expressed as a two-dimensional matrix in which the horizontal axis represents the wavelength band and the vertical axis represents the pixel values ​​of multiple pixels included in each mask image.

[0079] As shown in FIGS. 7A and 7B , the restoration table is matrix data including N sub-matrices corresponding to N wavelength bands, respectively. Each of the N sub-matrices includes a plurality of numerical values. The plurality of numerical values ​​correspond to a plurality of pixel values ​​acquired by imaging based on light passing through a coding mask. The maximum value of each of the plurality of numerical values ​​corresponds to the maximum value determined by the number of bits set for each of the plurality of pixel values. In the example shown in FIGS. 7A and 7B , each of the plurality of numerical values ​​included in each sub-matrix is ​​normalized by the maximum number of bits to be between 0 and 1. However, such normalization is not necessarily required. Each of the plurality of numerical values ​​included in each sub-matrix may be, for example, between 0 and 50.

[0080] In the example shown in Figure 7A, each submatrix is ​​a two-dimensional matrix with n rows and m columns that represents a two-dimensional distribution of multiple numerical values, making it easier to understand how pixel values ​​are distributed two-dimensionally for a given wavelength band.

[0081] In the example shown in Fig. 7B, each submatrix is ​​a one-dimensional matrix (n x m rows x 1 column) in which multiple numerical values ​​are arranged one-dimensionally, i.e., a vector. Such a one-dimensional matrix can represent N mask images corresponding to N wavelength bands as a two-dimensional matrix.

[0082] The format of the restoration table is not limited to the examples shown in Fig. 7A and Fig. 7B. For example, the restoration table shown in Fig. 7A may be expressed as a two-dimensional matrix of n x N rows and m columns or an n row, m x N column matrix, in which N two-dimensional matrices are arranged vertically or horizontally. Alternatively, the restoration table shown in Fig. 7B may be expressed as a one-dimensional matrix of n x m x N rows and 1 column, in which N one-dimensional matrices are arranged vertically.

[0083] 3. Evaluation of Restoration Error Next, an example of an imaging system for generating a hyperspectral image from a compressed image and its operation, as well as evaluation of a restoration error, will be described.

[0084] [3.1. Imaging system for generating a hyperspectral image from a compressed image] Next, an example of an imaging system for generating a hyperspectral image from a compressed image will be described with reference to Fig. 8. Fig. 8 is a diagram schematically illustrating an example of an imaging system for generating a hyperspectral image from a compressed image. The imaging system shown in Fig. 8 captures an image of an object 70 and generates a hyperspectral image of the object.

[0085] The imaging system shown in Fig. 8 includes an imaging device 100, an image processing device 200, and a display device 300, similar to the imaging system shown in Fig. 5. A storage device 220 included in the image processing device 200 stores a restoration table generated by the above-described calibration operation. Unlike the imaging system shown in Fig. 5, the imaging system shown in Fig. 8 does not include a light source 510, a monochromator 520, or an integrating sphere 530.

[0086] [3.2. Operation for Generating Hyperspectral Image] Next, an example of the operation for generating a hyperspectral image executed by the processing circuitry 210 in this embodiment will be described with reference to FIG.

[0087] 9 is a flowchart showing an example of the operation of generating a plurality of restored images performed by the processing circuit 210 in this embodiment. The control circuit 210a or the signal processing circuit 210b included in the processing circuit 210 performs the operations of steps S201 to S205 shown in FIG.

[0088] <Step S201> The control circuit 210a causes the imaging device 100 to capture an image of the object 70.

[0089] <Step S202> The signal processing circuit 210b stores in the memory 212 a compressed image of the object 70 generated based on the signal from the imaging device 100. In the compressed image, information about the object 70 in N wavelength bands is compressed.

[0090] <Step S203> The signal processing circuit 210b acquires the restoration table from the storage device 220.

[0091] <Step S204> In the signal processing circuit 210b, the image restoration module 214 generates a hyperspectral image based on the compressed image and the restoration table stored in the memory 212, and outputs information about the hyperspectral image. The hyperspectral image includes N restored images corresponding to the N wavelength bands, i.e., N spectral images.

[0092] <Step S205> The signal processing circuit 210b displays information about the hyperspectral image on the display device 300. When the user specifies a location on the object 70 via the display UI 320, the display UI 320 may display spectral information about the location.

[0093] Through the above operations, a hyperspectral image of the object 70 can be generated. In the above example, the signal processing circuit 210b acquires the restoration table from the storage device 220, but this example is not limiting. If the restoration table is stored in an external server such as a cloud, the signal processing circuit 210b may acquire the restoration table from the external server. In this case, the imaging system shown in FIG. 8 does not need to include the storage device 220.

[0094] 3.3. Method for Evaluating Restoration Error of Hyperspectral Image Next, a method for evaluating restoration errors of a hyperspectral image will be described with reference to FIGS. 10A to 10D . FIGS. 10A to 10D are diagrams for explaining a method for evaluating restoration errors of a hyperspectral image. As shown in FIG. 10A , a plurality of two-dimensionally arranged color samples 70a are captured by the imaging device 100 as the object 70 shown in FIG. 8 . Next, as shown in FIG. 10B , a white board 70b is captured by the imaging device 100 as the object 70 shown in FIG. 8 . A first hyperspectral image obtained by capturing the plurality of color samples 70a is normalized by a second hyperspectral image obtained by capturing the white board 70b.

[0095] The normalization is performed as follows: for the first hyperspectral image, the pixel value of the pixel in row i and column j among the multiple pixels included in the restored image corresponding to a certain wavelength band is set as the first pixel value; and for the second hyperspectral image, the pixel value of the pixel in row i and column j among the multiple pixels included in the restored image corresponding to the certain wavelength band is set as the second pixel value. In this normalization, the first pixel value is divided by the second pixel value for all pixels. In this manner, normalized hyperspectral images for multiple color samples 70a are obtained as shown in FIG. 10C . Furthermore, the spectrum of a certain color sample 70a is obtained from the portion of the normalized hyperspectral image shown in FIG. 10C enclosed by a thick-line rectangle, as shown in FIG. 10D .

[0096] When the plurality of color samples 70a are numbered, the spectrum obtained from the normalized hyperspectral image for the i-th color sample 70a is expressed as α i (λ), and the correct spectrum β of the i-th color sample 70a i When N wavelength bands are numbered, the center wavelength of the nth wavelength band is λ. n In this case, the error rate of the i-th color sample 70a is expressed by the following equation (3).

[0097] Reconstruction error ε Acorresponds to the average error rate of the plurality of color samples 70a, and is expressed by the following equation (4), where M is the number of color samples 70a.

[0098] In the following, it is assumed that the multiple mask images included in the restoration table all have the same average pixel value. Table 1 shows the relationship between the average pixel value of each mask image included in the restoration table and the restoration error. The number of bits of the pixel value is 10, and the saturation value corresponding to the maximum pixel value is 1023.

[0099] 11 is a graph showing the relationship between the average pixel value of each mask image included in the restoration table and the restoration error. As shown in FIG. 11, when the average pixel value is extremely low, such as 50, or extremely high, such as 900, the restoration error exceeds 10%. In contrast, when the average pixel value is between 80 and 800, the restoration error is approximately 5% or less. The upper limit of the restoration error that is practically acceptable is about 5%.

[0100] For the average pixel value that can reduce the restoration error, the value obtained by normalizing the lower limit of 80 by the saturation value of 1023 is 0.0782, and the value obtained by normalizing the upper limit of 800 by the saturation value of 1023 is 0.782. Therefore, when the value obtained by normalizing the average pixel value by the saturation value is between approximately 0.08 and approximately 0.8, the hyperspectral image can be restored more accurately from the compressed image compared to when the value is not within that range.

[0101] The following is a consideration of the results shown in FIG. 11 . In the coded mask, multiple regions have different transmittances for a certain wavelength band and are irregularly arranged. The processing circuit 210 performs a reconstruction operation using a reconstruction table obtained from such a coded mask. The spatial distribution of pixel values ​​in the mask image reflects the different transmittances in the multiple regions of the coded mask. A mask image in which the spatial distribution of pixel values ​​is somewhat irregular and scattered is effective for accurate reconstruction operations.

[0102] Fig. 12 is an enlarged schematic diagram showing the local spatial distribution of pixel values ​​in a mask image corresponding to a certain wavelength band. Each square in Fig. 12 represents a pixel. The closer the pixel color is to white, the higher the pixel value is, and the closer the pixel color is to black, the lower the pixel value is.

[0103] As shown in the two lower left diagrams in Figure 12, the darker the mask image overall, the lower the pixel values ​​of the pixels contained in the mask image, and the more uniform the spatial distribution of pixel values ​​becomes. As a result, for multiple pixels that should actually have different pixel values, there is a possibility that the gradation required to distinguish between the pixel values ​​is insufficient, and the pixel values ​​of the multiple pixels are treated as the same value. In this way, the irregularity in the spatial distribution of pixel values ​​is lost, and the restoration error increases.

[0104] Furthermore, as shown in the two diagrams at the bottom right of Figure 12, the brighter the mask image overall, the higher the pixel values ​​of the multiple pixels contained in the mask image, and the more uniform the spatial distribution of pixel values ​​becomes. As a result, for multiple pixels that should have different pixel values, the pixel values ​​may be treated as the same value because the pixel values ​​cannot express any greater brightness due to saturation of the pixel values. For example, if the number of bits of a pixel value is 10, the maximum pixel value is 1023, so all brighter pixels will have pixel values ​​of 1023. In this way, the irregularity in the spatial distribution of pixel values ​​is lost, and the restoration error increases.

[0105] For the above reasons, when the average pixel value of each mask image is extremely low or extremely high, the restoration error increases, as shown in Fig. 11. Conversely, when the average pixel value of each mask image is neither extremely low nor extremely high, the restoration error can be effectively reduced.

[0106] In the example shown in FIG. 11 , the multiple mask images all have the same average pixel value, but this example is not limiting. As long as the average pixel value of each mask image normalized by the saturation value is between approximately 8% and approximately 80%, the multiple mask images do not all need to have the same average pixel value. The multiple mask images may, for example, have different average pixel values ​​from each other. Alternatively, some of the multiple mask images may have different average pixel values ​​from the rest. This is because the increase in restoration error associated with the spatial distribution of pixel values ​​is caused by the average pixel value of each mask image being extremely low or extremely high, regardless of whether the multiple mask images all have the same average pixel value.

[0107] Note that even if multiple mask images all have the same average pixel value, it is not necessary for all of the multiple mask images to have exactly the same average pixel value. For example, the highest and lowest average pixel values ​​among the multiple average pixel values ​​corresponding to the multiple mask images may be within a range of ±10% of the average of the multiple average pixel values.

[0108] If three mask images corresponding to three wavelength bands respectively have average pixel values ​​of 450, 500, and 550, the average of these three average pixel values ​​is (450 + 500 + 550) / 3 = 500, with the highest average pixel value being 550 and the lowest average pixel value being 450. The highest and lowest average pixel values ​​are within a range of ±10% of the average of the above three average pixel values, i.e., in the range of 450 to 550. Therefore, it can be said that all three mask images have the same average pixel value.

[0109] From the above, in the imaging system according to this embodiment, if the restoration table, which is matrix data including N submatrices, satisfies the following conditions, a hyperspectral image can be generated more accurately from a compressed image.

[0110] Regarding the upper limit of the average pixel value, as shown in Figure 11, if the value obtained by normalizing the average pixel value by the saturation value is approximately 0.8 or less, the average pixel value of each mask image will not be extremely high. In this case, when the maximum value of each of the multiple numbers contained in each submatrix is ​​M and the average of the multiple numbers contained in the i-th submatrix (i is a natural number between 1 and N) of the N submatrices is μi, μi≦0.8M for all i. Alternatively, μi may be μi≦0.6M so that μi is lower than the maximum pixel value by a certain margin.

[0111] Regarding the lower limit of the average pixel value, as shown in Figure 11, when the value obtained by normalizing the average pixel value by the saturation value is approximately 0.08 or more, the average pixel value of each mask image does not become extremely low. In this case, μi ≧ 0.08M for any i. Alternatively, μi may be ≧ 0.1M, μi ≧ 0.2M, or μi ≧ 0.4M so that μi is higher than the minimum pixel value by a certain margin.

[0112] The upper and lower limits of μi may be combined arbitrarily. For example, 0.08M≦μi≦0.8M, 0.1M≦μi≦0.8M, 0.2M≦μi≦0.8M, or 0.4M≦μi≦0.8M may be satisfied. Alternatively, 0.08M≦μi≦0.6M, 0.1M≦μi≦0.6M, 0.2M≦μi≦0.6M, or 0.4M≦μi≦0.6M may be satisfied.

[0113] [Additional Notes] The above description of the embodiments discloses the following techniques.

[0114] (Technology 1) An imaging system comprising: an imaging device having an encoding element including multiple regions with different transmission spectra; a storage device that stores matrix data including N sub-matrices corresponding to N wavelength bands (N is an integer of 2 or greater); and a processing circuit that generates N spectroscopic images corresponding to the N wavelength bands based on a compressed image generated by the imaging device in which information of the N wavelength bands is compressed, and the matrix data, wherein each of the N sub-matrices includes multiple numerical values, and the multiple numerical values ​​correspond to multiple pixel values ​​acquired by imaging based on light that has passed through the encoding element, and the maximum value of each of the multiple numerical values ​​corresponds to a maximum value determined by the number of bits set for each of the multiple pixel values, and wherein when the maximum value of each of the multiple numerical values ​​is M and the average of the multiple numerical values ​​included in the ith sub-matrix (i is a natural number between 1 and N) of the N sub-matrices is μi, there exists an i that satisfies μi≦0.8M.

[0115] This imaging system can avoid the μi from becoming extremely high, and can more accurately generate multiple spectral images from an image with compressed spectral information.

[0116] (Technology 2) The imaging system according to Technology 1, wherein μi≧0.08M for any i.

[0117] This imaging system can prevent μi from becoming extremely low, and more accurately generate multiple spectral images from an image with compressed spectral information.

[0118] (Technology 3) The imaging system according to Technology 1 or 2, wherein μi≦0.6M for any i.

[0119] This imaging system allows μi to be lower than the maximum pixel value by a margin.

[0120] (Technology 4) The imaging system according to any one of Techniques 1 to 3, wherein μi≧0.1M for any i.

[0121] This imaging system allows μi to be set higher than the minimum pixel value by a margin.

[0122] (Technology 5) The imaging system according to any one of Techniques 1 to 4, wherein each of the N submatrices is a two-dimensional matrix representing a two-dimensional distribution of the plurality of numerical values.

[0123] This imaging system makes it easier to understand how pixel values ​​are distributed two-dimensionally for a given wavelength band from each submatrix.

[0124] (Technology 6) The imaging system according to any one of Techniques 1 to 4, wherein each of the N submatrices is a one-dimensional matrix in which the plurality of numerical values ​​are arranged one-dimensionally.

[0125] This imaging system allows matrix data to be represented as a two-dimensional matrix.

[0126] (Technology 7) Matrix data used when generating N spectral images corresponding to N wavelength bands (N is an integer of 2 or more) from a compressed image in which information on the N wavelength bands has been compressed, the matrix data including N sub-matrices corresponding to the N wavelength bands, each of the N sub-matrices including a plurality of numerical values, the plurality of numerical values ​​corresponding to a plurality of pixel values ​​acquired by imaging based on light that has passed through an encoding element including a plurality of regions having different transmission spectra, and the maximum value of each of the plurality of numerical values ​​corresponding to a maximum value determined by the number of bits set for each of the plurality of pixel values, where M is the maximum value of each of the plurality of numerical values ​​and μi is the average of the plurality of numerical values ​​included in the ith sub-matrix (i is a natural number between 1 and N) of the N sub-matrices, there exists an i that satisfies μi≦0.8M.

[0127] This matrix data allows multiple spectral images to be generated more accurately from an image with compressed spectral information.

[0128] (Technology 8) A method for generating matrix data executed by a computer, comprising: causing an imaging device having an encoding element including a plurality of regions with different transmission spectra to acquire N light images corresponding to N wavelength bands (N is an integer of 2 or more) under adjustment of imaging conditions; and generating matrix data including N sub-matrices corresponding to the N light images, respectively; wherein the matrix data is used when generating N spectroscopic images corresponding to the N wavelength bands from a compressed image in which the N wavelength bands are compressed, and each of the N sub-matrices includes a plurality of numerical values, and the plurality of numerical values ​​correspond to a plurality of pixel values ​​acquired by imaging based on light that has passed through the encoding element including a plurality of regions with different transmission spectra, and the maximum value of each of the plurality of numerical values ​​corresponds to a maximum value determined by the number of bits set for each of the plurality of pixel values; and wherein when the maximum value of each of the plurality of numerical values ​​is M and the average of the plurality of numerical values ​​included in the ith sub-matrix (i is a natural number between 1 and N) of the N sub-matrices is μi, there exists an i that satisfies μi≦0.8M.

[0129] This method makes it possible to obtain matrix data that allows for more accurate generation of multiple spectral images from an image with compressed spectral information.

[0130] (Other 1) The imaging system, matrix data, and matrix data generation method according to the present disclosure are not limited to the above-described embodiments. The present disclosure also includes other embodiments realized by combining any of the components in the above-described embodiments, and modifications obtained by applying various modifications to the above-described embodiments that would occur to those skilled in the art without departing from the spirit of the present disclosure.

[0131] (Other 2) Modifications of the embodiment of the present disclosure may be as follows.

[0132] an image processing device including: a filter array including filters F(1,1), ..., having a transmittance characteristic c(1,1) in a wavelength region W, and a filter F(n,m) having a transmittance characteristic c(n,m) in the wavelength region W; an image sensor including pixels p(1,1), ..., and pixels p(n,m); a memory storing first data including values ​​h1(1,1), ..., and value h1(n,m), and Nth data including ..., values ​​hN(1,1), ..., and value hN(n,m); and the image sensor captures an image of an object via the filter array and outputs an image including a plurality of pixel values, the plurality of pixel values ​​including pixel values ​​pg(1,1), to pg(n,m), the pixel p(1,1) corresponds to the pixel value pg(1,1), to pg(n,m), the pixel p(1,1) corresponds to the pixel value pg(n,m), the image processing device generates a first image including pixel values ​​pf1(1,1), to pf1(n,m) and corresponding to the first wavelength region based on the plurality of pixel values ​​and the first data, and an Nth image including pixel values ​​pfN(1,1), to pfN(n,m) and corresponding to the N wavelength region based on the plurality of pixel values ​​and the N data, the maximum value of the values ​​h1(1,1), ..., the value h1(n,m) is the first maximum value M1, ..., the maximum value of the values ​​hN(1,1), ..., the value hN(n,m) is the Nth maximum value MN, the average value of the values ​​h1(1,1), ..., the value h1(n,m) is M1 x 0.8 or less, ..., the average value of the values ​​hN(1,1), ..., the value hN(n,m) is MN x 0.8 or less, g = Hf, H = (H1...HN),

[0133] g=(pg(1,1)...pg(n,m)) T , f = (f 1 ...f N ) T = (pf1(1,1)...pf1(n,m)...pfN(1,1)...pfN(n,m)) T , f 1 = (pf1(1,1)...pf1(n,m)),..., f N = (pfN(1,1)...pfN(n,m)), an imaging system.

[0134] The above-mentioned modified example will be explained with reference to FIGS.

[0135] FIG. 13 is a diagram illustrating an example of a filter array.

[0136] FIG. 14 is a diagram illustrating an example of an image sensor.

[0137] FIG. 15 is a diagram illustrating an example of the image processing device 200. As shown in FIG.

[0138] The filter array 110 may include a filter F(1,1) having a transmittance characteristic c(1,1) in a wavelength region W, to a filter F(n,m) having a transmittance characteristic c(n,m) in the wavelength region W (see FIG. 13).

[0139] The image sensor 160 may include pixels p(1,1), . . . , p(n,m) (see FIG. 14).

[0140] The memory 212 may store first data including values ​​h1(1,1), ..., and value h1(n,m), and Nth data including ..., values ​​hN(1,1), ..., and value hN(n,m) (see FIG. 15).

[0141] The image processing device 200 may include the memory 212. Alternatively, the image processing device 200 may not include the memory 212. In other words, the memory 212 may be provided outside the image processing device 200.

[0142] The wavelength region W may include a first wavelength region, to an Nth wavelength region (see FIGS. 3A and 3B).

[0143] The image sensor 160 may capture an image of an object via the filter array 110 and output an image including a plurality of pixel values ​​(see FIGS. 1A to 1D ). The plurality of pixel values ​​may include pixel values ​​pg(1,1), to pg(n,m). The pixel p(1,1) may correspond to the pixel value pg(1,1), and the pixel p(n,m) may correspond to the pixel value pg(n,m) (see FIG. 14 ). The image processing device 200 may generate a first image including pixel values ​​pf1(1,1), to pf1(n,m) and corresponding to the first wavelength region based on the plurality of pixel values ​​and the first data, and an Nth image including pixel values ​​pfN(1,1), to pfN(n,m) and corresponding to the N wavelength region based on the plurality of pixel values ​​and the N data (see FIG. 15 , equations (1) and (2)). In FIG. 15, the first image is image 20W. 1 , ~ Nth image is image 20W N The first image is the reconstruction image 20W described in the above embodiment. 1 , to Nth images are the reconstruction images 20W described in the above embodiment. N may be.

[0144] The values ​​h1(1,1), ..., the maximum value of the values ​​h1(n,m) may be a first maximum value M1, ..., the values ​​hN(1,1), ..., the maximum value of the values ​​hN(n,m) may be an Nth maximum value MN.

[0145] The average value of the values ​​h1(1,1), ..., and h1(n,m) may be M1 x 0.8 or less, ..., and the average value of the values ​​hN(1,1), ..., and hN(n,m) may be MN x 0.8 or less.

[0146] g=Hf, H=(H1...HN),

[0147] g=(pg(1,1)...pg(n,m)) T , f = (f 1 ...f N ) T = (pf1(1,1)...pf1(n,m)...pfN(1,1)...pfN(n,m))T , f 1 = (pf1(1,1)...pf1(n,m)),..., f N = (pfN(1,1)...pfN(n,m)).

[0148] (Other 3) Modifications of the embodiment of the present disclosure may be as follows.

[0149] The imaging device may include an encoding element that includes a plurality of regions with different transmission spectra.

[0150] The optical fiber may include a storage device that stores matrix data including N sub-matrices corresponding to N wavelength bands (N is an integer of 2 or more).

[0151] The imaging device may include a compressed image in which information of the N wavelength bands is compressed, and a processing circuit that generates N spectral images corresponding to the N wavelength bands based on the matrix data.

[0152] Each of the N sub-matrices may include a plurality of values.

[0153] The plurality of numerical values ​​may correspond to a plurality of pixel values ​​acquired by imaging based on light transmitted through the encoding element, respectively.

[0154] The maximum value of each of the plurality of numerical values ​​may correspond to a maximum value determined by the number of bits set for each of the plurality of pixel values.

[0155] When the maximum value of each of the plurality of numerical values ​​is M and the average of the plurality of numerical values ​​included in the ith submatrix (i is a natural number between 1 and N) among the N submatrices is μi, there may exist an i that satisfies μi≦0.8M. In other words, μi≦0.8M does not have to be satisfied for all i. This allows for more accurate generation of a spectral image corresponding to the ith wavelength band that satisfies μi≦0.8M.

[0156] For example, when N=4, μ1≦0.8M, μ2≦0.8M, and μ4≦0.8M, and μ3 may be greater than 0.8M. In this case, the spectral images corresponding to the first wavelength band, the second wavelength band, and the fourth wavelength band can be generated more accurately.

[0157] For i that satisfies μi≦0.8M, μi≧0.08M may be used. This makes it possible to generate a more accurate spectral image corresponding to the i-th wavelength band that satisfies 0.08M≦μi≦0.8M.

[0158] The subject analysis process may be performed based on K spectral images corresponding to K (1≦K<N) submatrices consisting of submatrices corresponding to i that satisfy μi≦0.8M. In other words, the subject analysis process may be performed using spectral images generated based on submatrices corresponding to i that satisfy μi≦0.8M, and spectral images generated based on submatrices corresponding to i that do not satisfy μi≦0.8M may not be used in the subject analysis process. This allows for more accurate analysis using spectral images corresponding to the i-th wavelength band that satisfy μi≦0.8M. For example, when N=4, μ1≦0.8M, μ2≦0.8M, and μ4≦0.8M, and μ3>0.8M, the analysis process may be performed based on spectral images corresponding to the first wavelength band, the second wavelength band, and the fourth wavelength band, and the spectral image corresponding to the third wavelength band may not be used in the analysis process.

[0159] The analytical process may be, for example, an inspection to determine whether or not a foreign substance is present in a subject, an inspection to determine the quality of a coating, or a pharmaceutical inspection. The subject may be an electronic component, food, etc. The analytical process may also be a concentration analysis of a substance or an analysis of various components.

[0160] The subject analysis process may be performed based on K spectroscopic images corresponding to K (1≦K<N) submatrices consisting of submatrices corresponding to i that satisfy 0.08M≦μi≦0.8M. In other words, the subject analysis process may be performed using spectroscopic images generated based on submatrices corresponding to i that satisfy 0.08M≦μi≦0.8M, and the spectroscopic images generated based on submatrices corresponding to i that do not satisfy 0.08M≦μi≦0.8M may not be used in the subject analysis process.

[0161] The technology disclosed herein is useful, for example, in cameras and measuring devices that capture multi-wavelength or high-resolution images. The technology disclosed herein can also be applied to, for example, biomedical, cosmetic, and other sensing applications, food foreign matter and pesticide residue inspection systems, remote sensing systems, and vehicle-mounted sensing systems.

[0162] 10 Compressed image 20 Hyperspectral image 20W 1 , 20W 2 , ..., 20W N Reconstructed image 70 Object 100 Imaging device 110 Filter array 140, 140A, 140B Optical system 160 Image sensor 200 Image processing device 210 Processing circuit 210a Control circuit 210b Signal processing circuit 212 Memory 214 Image reconstruction module 220 Storage device 300 Display device 310 Input UI 320 Display UI 510 Light source 520 Monochromator 530 Integrating sphere

Claims

1. An imaging system comprising: an imaging device having an encoding element including a plurality of regions whose transmission spectra differ from one another; a storage device that stores matrix data including N sub-matrices corresponding to N wavelength bands (N is an integer equal to or greater than 2); and a processing circuit that generates N spectroscopic images corresponding to the N wavelength bands based on a compressed image generated by the imaging device in which information of the N wavelength bands is compressed, and the matrix data, wherein each of the N sub-matrices includes a plurality of numerical values, each of the plurality of numerical values ​​corresponds to a plurality of pixel values ​​obtained by imaging based on light passing through the encoding element, and a maximum value of each of the plurality of numerical values ​​corresponds to a maximum value determined by a number of bits set for each of the plurality of pixel values, and wherein when the maximum value of each of the plurality of numerical values ​​is M and the average of the plurality of numerical values ​​included in the i-th sub-matrix (i is a natural number between 1 and N) of the N sub-matrices is μi, there exists an i that satisfies μi≦0.8M.

2. The imaging system according to claim 1, wherein μi≧0.08M for i that satisfies μi≦0.8M.

3. The imaging system according to claim 1 or 2, wherein the processing circuit performs subject analysis processing based on K spectroscopic images corresponding to K (1≦K<N) submatrices consisting of submatrices corresponding to i that satisfy μi≦0.8M.

4. The imaging system according to claim 1 or 2, wherein μi≦0.8M for any i.

5. The imaging system according to claim 1 or 2, wherein μi≧0.08M for any i.

6. The imaging system according to claim 1 or 2, wherein μi≦0.6M for any i.

7. The imaging system according to claim 1 or 2, wherein μi≧0.1M for any i.

8. The imaging system according to claim 1 or 2, wherein each of the N sub-matrices is a two-dimensional matrix representing a two-dimensional distribution of the plurality of numerical values.

9. The imaging system according to claim 1 or 2, wherein each of the N sub-matrices is a one-dimensional matrix in which the plurality of numerical values ​​are arranged one-dimensionally.

10. Matrix data used to generate N spectroscopic images corresponding to N wavelength bands (N is an integer of 2 or more) from a compressed image in which information on the N wavelength bands has been compressed, the matrix data including N sub-matrices corresponding to the N wavelength bands, each of the N sub-matrices including a plurality of numerical values, the plurality of numerical values ​​corresponding to a plurality of pixel values ​​acquired by imaging based on light passing through an encoding element including a plurality of regions having mutually different transmission spectra, the maximum value of each of the plurality of numerical values ​​corresponding to a maximum value determined by a number of bits set for each of the plurality of pixel values, the maximum value of each of the plurality of numerical values ​​being M, and the average of the plurality of numerical values ​​included in the i-th sub-matrix (i is a natural number between 1 and N) of the N sub-matrices being μi, there exists an i that satisfies μi≦0.8M.

11. A method for generating matrix data executed by a computer, comprising: causing an imaging device having an encoding element including a plurality of regions having mutually different transmission spectra to acquire N light images corresponding to N wavelength bands (N is an integer equal to or greater than 2) under adjustment of imaging conditions; and generating matrix data including N sub-matrices corresponding to the N light images, wherein the matrix data is used when generating N spectroscopic images corresponding to the N wavelength bands, respectively, from a compressed image in which the N wavelength bands are compressed; each of the N sub-matrices includes a plurality of numerical values, each of the plurality of numerical values ​​corresponding to a plurality of pixel values ​​acquired by imaging based on light passing through the encoding element including a plurality of regions having mutually different transmission spectra; a maximum value of each of the plurality of numerical values ​​corresponds to a maximum value determined by a number of bits set for each of the plurality of pixel values; and wherein, when the maximum value of each of the plurality of numerical values ​​is M and the average of the plurality of numerical values ​​included in the i-th sub-matrix (i is a natural number between 1 and N) of the N sub-matrices is μi, there exists an i that satisfies μi≦0.8M.

Citation Information

Patent Citations

  • Imaging device and spectroscopy system

    JP2016156801A