Method and apparatus for processing data used in the process of generating spectral images

By incorporating a filter array with feature parts and a processing circuit to correct alignment, the system addresses misalignment issues in hyperspectral imaging, ensuring accurate reconstruction of multiple wavelength bands.

JP7954373B2Active Publication Date: 2026-11-20PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2025158465
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-02-28
Filing Date
2025-09-24
Publication Date
2026-11-20
Estimated Expiration
2041-01-29

AI Technical Summary

Technical Problem

Existing hyperspectral imaging systems face errors in the reconstruction of images across multiple wavelength bands due to misalignment between the filter array and the image sensor, leading to decreased wavelength resolution.

Method used

The system includes a filter array with feature parts to detect relative position changes and a processing circuit that compensates for deviations by physically correcting the alignment or adjusting image data, using methods such as drive devices or signal processing to reduce errors in spectral image data.

Benefits of technology

This approach reduces errors in spectral image data caused by relative positional misalignment, maintaining high wavelength resolution and image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007954373000003
    Figure 0007954373000003
  • Figure 0007954373000004
    Figure 0007954373000004
  • Figure 0007954373000005
    Figure 0007954373000005
Patent Text Reader

Abstract

To reduce an error accompanying the generation of images of a plurality of wavelength bands.SOLUTION: A method includes: acquiring first information indicating a relative position between an encoding element including a plurality of regions having spectral transmittance different from each other and an image sensor that detects light transmitted through the encoding element; and correcting data including second information about the spatial distribution of the spectral transmittance on the basis of the first information. The data is used for processing of generating four or more spectral images on the basis of an image acquired by causing the image sensor to detect the light transmitted through the encoding element. Each of the four or more spectral images indicates an image corresponding to one wavelength band of the four or more wavelength bands.SELECTED DRAWING: Figure 1A
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This disclosure relates to a method and apparatus for processing data used in the process of generating spectral images. [Background technology]

[0002] By utilizing spectral information from numerous wavelength bands, each with a narrow bandwidth, such as tens of bands, it becomes possible to understand the detailed physical properties of an object in a way that was impossible with conventional RGB images. Cameras that acquire such multi-wavelength information are called "hyperspectral cameras." Hyperspectral cameras are used in various fields, including food inspection, biological testing, pharmaceutical development, and mineral component analysis.

[0003] Patent Document 1 discloses an example of a hyperspectral imaging device utilizing compressed sensing. The imaging device comprises an encoding element which is an array of optical filters whose light transmittances have different wavelength dependencies, an image sensor which detects light transmitted through the encoding element, and a signal processing circuit. The encoding element is arranged on the optical path connecting the subject and the image sensor. The image sensor acquires a single wavelength-division multiplexed image by simultaneously detecting light with superimposed components of multiple wavelength bands for each pixel. The signal processing circuit reconstructs image data for each of the multiple wavelength bands by applying compressed sensing to the acquired wavelength-division multiplexed image using information on the spatial distribution of the spectral transmittance of the encoding element. [Prior art documents] [Patent Documents]

[0004] [Patent Document 1] U.S. Patent No. 9599511 [Overview of the Initiative] [Problems that the invention aims to solve]

[0005] This disclosure provides a technique for reducing errors associated with the reconstruction of images across multiple wavelength bands. [Means for solving the problem]

[0006] An imaging device according to one aspect of the present disclosure includes an image sensor, a filter array including a plurality of optical filters arranged two-dimensionally on an optical path from an object to the image sensor, wherein the plurality of optical filters include a plurality of types of optical filters with different spectral transmittances, and a processing circuit that generates four or more spectral image data based on an image acquired by the image sensor. Each of the four or more spectral image data represents an image corresponding to one wavelength band among the four or more wavelength bands. The filter array includes one or more feature parts. The processing circuit detects the relative position between the filter array and the image sensor based on the one or more feature parts in the image acquired by the image sensor, and compensates for the deviation when it detects a difference between the relative position and a preset relative position.

[0007] An imaging device according to another aspect of the present disclosure includes an image sensor and a filter array including a plurality of optical filters arranged in two dimensions on an optical path from an object to the image sensor, wherein the plurality of optical filters include a plurality of types of optical filters with different spectral transmittances, and based on an image acquired by the image sensor and data showing the spatial distribution of the spectral transmittances of the plurality of optical filters, four or more The system includes a processing circuit for generating spectral image data. Each of the four or more spectral image data represents an image corresponding to one of the four or more wavelength bands. The processing circuit performs (a) a first operation to generate multiple sets of the four or more spectral image data by repeating the process of generating the four or more spectral image data multiple times while changing the relative position between the filter array and the image sensor, or (b) a second operation to generate multiple sets of the four or more spectral image data by repeating the process of generating the four or more spectral image data multiple times while changing the coordinates of the image acquired by the image sensor, and generates output data by synthesizing the multiple sets of the four or more spectral image data.

[0008] The comprehensive or specific embodiments of this disclosure may be implemented as systems, apparatus, methods, integrated circuits, computer programs, or recording media such as computer-readable discs, or as any combination of systems, apparatus, methods, integrated circuits, computer programs, and recording media. Computer-readable recording media may include, for example, non-volatile recording media such as CD-ROMs (Compact Disc-Read Only Memory). An apparatus may consist of one or more devices. If an apparatus consists of two or more devices, these two or more devices may be located in a single device or in two or more separate devices. In this specification and in the claims, “apparatus” may mean not only a single device but also a system consisting of multiple devices. [Effects of the Invention]

[0009] According to one aspect of this disclosure, it is possible to reduce errors associated with the reconstruction of images of multiple wavelength bands. [Brief explanation of the drawing]

[0010] [Figure 1A] Figure 1A is a schematic diagram illustrating an exemplary imaging device. [Figure 1B]FIG. 1B is a diagram showing another exemplary configuration of an imaging apparatus. [Figure 1C] FIG. 1C is a diagram showing another exemplary configuration of an imaging apparatus. [Figure 2A] FIG. 2A is a diagram schematically illustrating an example of a filter array. [Figure 2B] FIG. 2B is a diagram showing an example of the spatial distribution of the light transmittance for each of a plurality of wavelength bands included in a target wavelength range. [Figure 2C] FIG. 2C is a diagram showing an example of the spectral transmittance of a region A1 included in the filter array shown in FIG. 2A. [Figure 2D] FIG. 2D is a diagram showing an example of the spectral transmittance of a region A2 included in the filter array shown in FIG. 2A. [Figure 3A] FIG. 3A is a diagram for explaining the relationship between a target wavelength range and a plurality of wavelength bands included therein. [Figure 3B] FIG. 3B is a diagram for explaining the relationship between a target wavelength range and a plurality of wavelength bands included therein. [Figure 4A] FIG. 4A is a diagram for explaining the spectral transmittance characteristic in a certain region of a filter array. [Figure 4B] FIG. 4B is a diagram showing the result of averaging the spectral transmittance shown in FIG. 4A for each wavelength range. [Figure 5] FIG. 5 is a diagram schematically showing the configuration of an imaging apparatus according to Exemplary Embodiment 1 of the present disclosure. [Figure 6A] FIG. 6A is a diagram for explaining the filter array in Embodiment 1. [Figure 6B] FIG. 6B is a diagram showing an example of the spatial distribution of the transmittance of the filter array for N wavelength bands included in a target wavelength range. [Figure 6C] FIG. 6C is a diagram showing a modification of the filter array. [Figure 6D] FIG. 6D is a diagram showing another modification of the filter array. [Figure 7] FIG. 7 is an image showing an example of alignment marks formed on a filter array. [Figure 8A] Figure 8A shows an example of the percentage change in the transmittance of a filter array when the relative position of the filter array as seen from the image sensor is shifted by one pixel in the x and y directions. [Figure 8B] Figure 8B shows an example of the error in average brightness between the generated image and the ground truth image. [Figure 9A] Figure 9A shows examples of images generated for each wavelength band. [Figure 9B] Figure 9B shows an example of images for each wavelength band that are generated when no correction is performed. [Figure 10] Figure 10 is a flowchart illustrating the overview of the processes performed by the processing circuit. [Figure 11] Figure 11 is a schematic diagram showing the configuration of an imaging device according to a modified example of Embodiment 1. [Figure 12] Figure 12 is a schematic diagram showing the configuration of an imaging device according to another modification of Embodiment 1. [Figure 13] Figure 13 is a schematic diagram showing the configuration of an imaging device according to an exemplary embodiment 2 of the present disclosure. [Figure 14A] Figure 14A is the first diagram illustrating the effects of Embodiment 2. [Figure 14B] Figure 14B is a second figure illustrating the effects of Embodiment 2. [Figure 14C] Figure 14C is a third figure illustrating the effects of Embodiment 2. [Figure 15A] Figure 15A is a schematic diagram showing an example of a filter array in an exemplary embodiment 3 of the present disclosure. [Figure 15B] Figure 15B is a schematic diagram showing a filter array in a modified example of Embodiment 3. [Figure 16] Figure 16 is a diagram illustrating the signal processing in Embodiment 4. [Figure 17] Figure 17 is a flowchart showing an example of signal processing in Embodiment 4. [Modes for carrying out the invention]

[0011] The embodiments described below are all general or specific examples. The numerical values, shapes, materials, components, arrangement and connection configurations of components, steps, and order of steps shown in the following embodiments are examples and are not intended to limit the art of this disclosure. Components in the following embodiments that are not described in the independent claim representing the highest-level concept are described as optional components. The figures are schematic and not necessarily strictly illustrative. Furthermore, substantially identical or similar components are denoted by the same reference numerals in each figure. Duplication of explanation may be omitted or simplified.

[0012] In this 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 a large-scale integration (LSI). The LSI or IC may be integrated on a single chip or may be composed of multiple chips. For example, functional blocks other than memory elements may be integrated on a single chip. Here, we refer to them as LSIs or ICs, but the terminology may vary depending on the degree of integration; they may also be called system LSIs, VLSIs (very large-scale integrations), or ULSIs (ultra-large-scale integrations). Field-Programmable Ga Reconfigurable logic devices (FPGAs), which allow for the reconfiguration of internal junctions or the setup of internal circuit compartments within an LSI, can also be used for the same purpose.

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

[0014] This disclosure describes an example configuration of a hyperspectral imaging apparatus according to an embodiment of this disclosure, and the findings made by the inventors.

[0015] Figure 1A is a schematic diagram of an exemplary imaging device. This imaging device has a configuration similar to that of the imaging device disclosed in Patent Document 1. The imaging device comprises an optical system 40, a filter array 100, an image sensor 60, and a processing circuit 200. The filter array 100 has a structure and function similar to the "encoding element" disclosed in Patent Document 1. The optical system 40 and the filter array 100 are arranged on the optical path of light incident from the object 70, which is the subject. The filter array 100 is positioned between the optical system 40 and the image sensor 60, and away from the image sensor 60. In Figure 1A, an apple is shown as an example of the object 70. The object 70 is not limited to an apple and can be any object. The processing circuit 200 generates spectral image data for each of the multiple wavelength bands included in a specific wavelength range to be detected (hereinafter sometimes referred to as the "target wavelength range") based on the image data generated by the image sensor 60. In the following explanation, the spectral image data of the multiple wavelength bands generated will be referred to as separated images 220W1, 220W2, ..., 220W NThese are referred to as separated images 220. In this specification, the signal representing an image (i.e., the set of signals representing the pixel value of each pixel) may be simply referred to as an "image".

[0016] The filter array 100 is an array of multiple light-transmitting filters arranged in rows and columns. The multiple filters include several types of filters whose spectral transmittance, i.e., wavelength dependence of light transmittance, differs from one another. The filter array 100 modulates the intensity of the incident light for each wavelength and outputs it. This process by the filter array 100 is referred to as "encoding" in this specification.

[0017] The image sensor 60 is a monochrome type photodetector having a plurality of two-dimensionally arranged photodetectors (also referred to herein as "pixels"). The image sensor 60 may be, for example, a CCD (Charge-Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor) sensor.

[0018] The processing circuit 200 generates multiple separated images 220W1, 220W2, ... 220W based on the image 120 acquired by the image sensor 60, each containing information for multiple wavelength bands. N Generate data.

[0019] Figures 1B and 1C show other configuration examples of the imaging device. In the example in Figure 1B, the filter array 100 is positioned between the object 70 and the optical system 40. In the example in Figure 1C, the imaging device has two optical systems 40A and 40B, with the filter array 100 between them. An optical system may be placed between the filter array 100 and the image sensor 60, as in these examples.

[0020] Figure 2A is a schematic diagram showing an example of a filter array 100. The filter array 100 has multiple regions arranged in two dimensions. In this specification, these regions may be referred to as "cells". Each region is equipped with an optical filter having an individually set spectral transmittance. The spectral transmittance is expressed as a function T(λ), where λ is the wavelength of the incident light. The spectral transmittance T(λ) can take values ​​between 0 and 1, inclusive.

[0021] In the example shown in Figure 2A, the filter array 100 has 48 rectangular regions arranged in a 6x8 grid. This is merely an example, and in actual applications, more regions may be provided. The number of regions may be, for example, roughly equivalent to the number of pixels in the image sensor 60. The number of filters included in the filter array 100 is determined according to the application, for example, ranging from tens of thousands to tens of millions.

[0022] Figure 2B shows multiple wavelength bands W1, W2, ..., W included in the target wavelength range. N This figure shows an example of the spatial distribution of light transmittance for each wavelength band. In the example shown in Figure 2B, the difference in intensity in each region represents the difference in transmittance. Lighter regions have higher transmittance, and darker regions have lower transmittance. As shown in Figure 2B, the spatial distribution of light transmittance differs depending on the wavelength band.

[0023] Figures 2C and 2D show examples of spectral transmittances for regions A1 and A2, respectively, included in the filter array 100 shown in Figure 2A. The spectral transmittances of region A1 and region A2 are different from each other. Thus, the spectral transmittance of the filter array 100 differs by region. However, it is not necessary for the spectral transmittances of all regions to be different. In the filter array 100, the spectral transmittances of at least some of the regions are different from each other. The filter array 100 includes two or more filters with different spectral transmittances. In one example, the number of spectral transmittance patterns for multiple regions included in the filter array 100 may be the same as or greater than the number of wavelength bands N included in the target wavelength range. The filter array 100 may be designed so that the spectral transmittances of more than half of the regions are different.

[0024] Figures 3A and 3B show the target wavelength range W and the multiple wavelength bands W1, W2, ..., W contained within it. N This diagram illustrates the relationship. The target wavelength range W can be set to various ranges depending on the application. For example, the target wavelength range W may be the visible light wavelength range from about 400 nm to about 700 nm, the near-infrared wavelength range from about 700 nm to about 2500 nm, or the near-ultraviolet wavelength range from about 10 nm to about 400 nm. Alternatively, the target wavelength range W may be the radio wave range, such as mid-infrared, far-infrared, terahertz waves, or millimeter waves. Thus, the wavelength range used is not limited to the visible light range. In this specification, not only visible light but also non-invisible light such as near-ultraviolet, near-infrared, and radio waves are referred to as "light" for convenience.

[0025] In the example shown in Figure 3A, N is any integer greater than or equal to 4, and the target wavelength range W is divided into N equal parts, with each wavelength range being designated as wavelength bands W1, W2, ..., W N This is the case. However, it is not limited to this example. 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 gaps or overlaps between adjacent wavelength bands. In the example shown in Figure 3B, the bandwidth differs depending on the wavelength band, and there is a gap between two adjacent wavelength bands. Thus, the multiple wavelength bands only need to be different from each other, and the method of determining them is arbitrary.

[0026] Figure 4A is a diagram illustrating the spectral transmittance characteristics in a region of the filter array 100. In the example shown in Figure 4A, the spectral transmittance is multiple with respect to wavelengths within the target wavelength range W. It has local maxima P1 to P5 and multiple local maxima. In the example shown in Figure 4A, the optical transmittance within the target wavelength range W is normalized so that the maximum value is 1 and the minimum value is 0. In the example shown in Figure 4A, the wavelength bands W2 and W N-1 The spectral transmittance has a maximum value in wavelength ranges such as W1 to W. Namong which local maximum values are present in a plurality of wavelength regions. In the example of FIG. 4A, the local maximum value P1, the local maximum value P3, the local maximum value P4, and the local maximum value P5 are 0.5 or more.

[0027] As described above, the light transmittance of each region varies with wavelength. Accordingly, the filter array 100 transmits a large amount of the component in a certain wavelength band out of the incident light, and does not transmit much of the component in other wavelength bands. For example, among the N wavelength bands, for light in k wavelength bands, the transmittance may be greater than 0.5, and for light in the remaining N-k wavelength bands, the transmittance may be less than 0.5. k is an integer satisfying 2≦k<N. If the incident light is white light that uniformly includes all visible light wavelength components, the filter array 100 modulates the incident light for each region into light having a plurality of discrete intensity peaks with respect to wavelength, and superimposes and outputs these multi-wavelength lights.

[0028] FIG. 4B shows, as an example, the spectral transmittance shown in FIG. 4A divided into wavelength regions W1, W2, ..., W N is a diagram showing the result of averaging for each. 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 manner is defined as the transmittance in that wavelength band. In this example, the transmittance is prominently high in the three wavelength regions where the local maximum values P1, P3, and P5 are taken. In particular, the transmittance exceeds 0.8 in the two wavelength regions where the local maximum values P3 and P5 are taken.

[0029] In the examples shown in FIGS. 2A to 2D, a grayscale transmittance distribution is assumed in which the transmittance of each region can take any value from 0 to 1. However, it is not always necessary to use a grayscale transmittance distribution. For example, a binary-scale transmittance distribution in which the transmittance of each region can take a value of approximately 0 or approximately 1 may be adopted. In the binary-scale transmittance distribution, each region transmits most of the light in at least two wavelength regions among the plurality of wavelength regions included in the target wavelength band, and does not transmit most of the light in the remaining wavelength regions. Here, "most" generally refers to 80% or more.

[0030] Some of all the cells, for example half of the cells, may be replaced with transparent regions. Such transparent regions transmit all wavelength ranges W1 to W included in the target wavelength range N light with a similarly high transmittance, for example a transmittance of 80% or more. In such a configuration, the plurality of transparent regions may be arranged in a checkerboard pattern, for example. That is, in the two arrangement directions of the plurality of regions in the filter array 100, regions whose light transmittance varies with wavelength and transparent regions may be alternately arranged.

[0031] Data indicating the spatial distribution of the spectral transmittance of such a filter array 100 is acquired in advance by design data or actual measurement calibration, and stored in a storage medium included in the processing circuit 200. This data is used for arithmetic processing described later.

[0032] The filter array 100 may be configured using, for example, a multilayer film, an organic material, a diffraction grating structure, or a fine structure containing a metal. When a multilayer film is used, for example, a dielectric multilayer film or a multilayer film including a metal layer may be used. In this case, at least one of the thickness, material, and lamination order of each multilayer film is formed to be different for each cell. Thereby, different spectral characteristics can be realized for each cell. By using the multilayer film, sharp rise and fall in spectral transmittance can be realized. The configuration using an organic material is realized by making the pigment or dye contained different for each cell, or by laminating different types of materials can be obtained. The configuration using a diffraction grating structure can be realized by providing a diffraction structure with a different diffraction pitch or depth for each cell. When a fine structure containing a metal is used, it can be fabricated utilizing spectroscopy based on the plasmon effect.

[0033] Next, an example of signal processing by the processing circuit 200 will be described. The processing circuit 200 reconstructs a multi-wavelength separated image 220 based on the image 120 output from the image sensor 60 and the spatial distribution characteristics of the transmittance for each wavelength of the filter array 100. Here, "multi-wavelength" means more wavelength ranges than, for example, the three RGB wavelength ranges acquired by a normal color camera. The number of these wavelength ranges can be, for example, between 4 and 100. This number of wavelength ranges is called the number of bands. Depending on the application, the number of bands may exceed 100.

[0034] The data we want to obtain is 220 separated images, and let's call this data f. If the number of bands is N, then f is the image data for each band f1, f2, ..., f N This is integrated data. Here, as shown in Figure 1A, 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 n, and the number of pixels in the y-direction is m, then the image data f1, f2, ..., f N Each of these is a collection of 2D data with n × m pixels. Therefore, data f is 3D data with n × m × N elements. On the other hand, the data g of image 120, which is obtained by encoding and multiplexing by the filter array 100, has n × m elements. Data g can be expressed by the following equation (1).

number

[0035] Here, f1, f2, ..., f N This is data with n × m elements. Therefore, the vector on the right side is strictly an n × m × N x 1 1 dimensional vector. Vector g is represented and calculated by transforming it into an n × m x 1 1 dimensional vector. Matrix H is the vector f, with each component f1, f2, ..., f N This represents a transformation that encodes and intensity modulates each wavelength band with different encoding information and then adds them together. Therefore, H is an n×m row n×m×N column matrix. In this specification, matrix H may be referred to as the "system matrix".

[0036] Given a vector g and a matrix H, it appears that f can be calculated by solving the inverse problem of equation (1). However, since the number of elements n × m × N of the data f to be obtained is greater than the number of elements n × m of the acquired data g, this problem is poorly set up and cannot be solved as is. Therefore, the processing circuit 200 uses the redundancy of the image contained in the data f and employs a compressed sensing technique to find the solution. Specifically, the data f to be obtained is estimated by solving the following equation (2).

number

[0037] Here, f' represents the estimated data for f. The first term in parentheses in the above equation represents the difference between the estimated 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 may also be used as the residual term. The second term in parentheses is the regularization term or stabilization term. Equation (2) means finding the f that minimizes the sum of the first and second terms. The processing circuit 200 can converge the solution through recursive iterative operations and calculate the final solution f'.

[0038] The first term in parentheses in equation (2) represents the operation of calculating the sum of squares of the differences between the acquired data g and Hf, which is obtained by transforming the estimation process f by matrix H. The second term, Φ(f), is a constraint in the regularization of f and is a function that reflects the sparse information of the estimated data. This function has the effect of making the estimated data smoother or more stable. The regularization term can be represented by, for example, the discrete cosine transform (DCT), wavelet transform, Fourier transform, or total variation (TV) of f. For example, using total variation allows for obtaining stable estimated data that suppresses the effects of noise in the observed data g. The sparsity of the object 70 in the space of each regularization term differs depending on the texture of the object 70. A regularization term may be selected that makes the texture of the object 70 more sparse in the space of the regularization term. Alternatively, multiple regularization terms may be included in the operation. τ is a weighting coefficient. The larger the weighting coefficient τ, the greater the reduction of redundant data and the higher the compression rate. The smaller the weight coefficient τ, the weaker the convergence to the solution. The weight coefficient τ is set to a moderate value that allows f to converge to a certain extent without overcompression.

[0039] In the configurations shown in Figures 1A and 1C, the image encoded by the filter array 100 is acquired in a blurred state on the imaging surface of the image sensor 60. Therefore, by storing this blur information in advance and reflecting it in the aforementioned system matrix H, the separated image 220 can be reconstructed. Here, the blur information is represented by a point spread function (PSF). The PSF is a function that defines the degree to which a point image spreads to surrounding pixels. For example, if a point image corresponding to one pixel on the image spreads to a k×k pixel region around that pixel due to blurring, the PSF can be defined as a set of coefficients, i.e., a matrix, that shows the effect on the brightness of each pixel in that region. By reflecting the effect of blurring of the encoding pattern due to the PSF in the system matrix H, the separated image 220 can be reconstructed. The position where the filter array 100 is placed is arbitrary, but a position can be selected where the encoding pattern of the filter array 100 does not spread too much and disappear.

[0040] In the above configuration, the processing circuit 200 generates separated images 220 for each wavelength band for areas that are the same size as or smaller than the area captured by the image sensor 60. In order to obtain accurate separated images 220, it is necessary to accurately determine in advance the data showing the spatial distribution of the spectral transmittance of the filter array 100 (for example, information about the system matrix H described above). The data showing the spatial distribution of the spectral transmittance of the filter array 100 can be determined, for example, during the design or manufacturing stage by an experiment in which light is shone from behind the filter array 100 using a light source that emits light of wavelengths belonging to each wavelength band, and the intensity of the transmitted light is measured. The determined data showing the spatial distribution of spectral transmittance is recorded in advance on the storage medium of the processing circuit 200.

[0041] Thus, accurately understanding the spatial distribution of the spectral transmittance of the filter array 100 is crucial for generating multiple images for each wavelength band. Performing the above calculations with an incorrect spatial distribution of the spectral transmittance of the filter array 100 will result in incorrectly separated images. In other words, an incorrect spatial distribution of spectral transmittance leads to a significant decrease in wavelength resolution.

[0042] This problem is particularly pronounced in configurations where the filter array 100 can be removed from and attached to the imaging device. If the type of object 70 or the wavelength band of interest changes, the optimal characteristics of the filter array 100 also change. If the filter array 100 is replaceable, the optimal filter array 100 can be selected and attached according to the object 70 or application. In that case, data showing the spatial distribution of spectral transmittance for each filter array 100 is predetermined and stored in a storage medium.

[0043] However, if the filter array 100 is detachable, the relative position between the filter array 100 and the image sensor 60 may shift from the preset relative position. If such a shift occurs, even if the same filter array 100 is used, the spatial distribution of the spectral transmittance of the filter array 100 as seen from the image sensor 60 will change. In particular, if multiple filters in the filter array 100 are arranged randomly or in a near-random manner, a shift in relative position can result in a completely different spatial distribution of spectral transmittance. For example, if the relative position between the filter array 100 and the image sensor 60 changes by the equivalent of one pixel in the image sensor 60, the spatial distribution of the spectral transmittance of the filter array 100 as seen from the image sensor 60 will change by the equivalent of one pixel. If the filter array 100 is arranged randomly or in a near-random manner, a filter shifted by one pixel may have a completely different spectral transmittance than the original filter. As a result, errors may occur in the calculation results using the pre-prepared system matrix H, potentially generating an inaccurate image. In other words, the wavelength resolution may be significantly reduced.

[0044] As described above, in a hyperspectral camera that acquires multi-wavelength images, changes in the relative position between the filter array and the image sensor can lead to a decrease in the image quality of the multi-wavelength images. In particular, as in the example above, when spatial distribution information of the spectral transmittance of the filter array 100 is used in the calculation to construct the separated multi-wavelength images 220, the impact of changes in relative position on image quality becomes significant. Therefore, in one embodiment of this disclosure, one or more feature parts of the filter array 100 are detected from the image acquired by the image sensor, and the shift in the relative position between the filter array and the image sensor is detected based on the information of the feature parts. Furthermore, by introducing an operation to compensate for this shift, the above problem can be solved. For example, by physically correcting the relative position between the filter array and the image sensor, or by correcting the acquired image data or data showing the spatial distribution of the spectral transmittance of the filter array, calculation errors caused by the shift in relative position can be reduced. According to one embodiment of this disclosure, it is possible to prevent a decrease in wavelength resolution caused by the relative position between the filter array and the image sensor changing from a preset relative position.

[0045] The inventors have also devised a calculation method that reduces errors associated with the generation of images of multiple wavelength bands, regardless of whether or not there is a misalignment in the relative positions of the filter array and the image sensor.

[0046] The embodiments of this disclosure are outlined below.

[0047] An imaging device according to one aspect of the present disclosure includes an image sensor, a filter array including a plurality of optical filters arranged two-dimensionally on an optical path from an object to the image sensor, wherein the plurality of optical filters include a plurality of types of optical filters with different spectral transmittances, and a processing circuit that generates four or more spectral image data based on an image acquired by the image sensor. Each of the four or more spectral image data represents an image corresponding to one wavelength band among the four or more wavelength bands. The filter array includes one or more feature parts. The processing circuit detects the relative position between the filter array and the image sensor based on the one or more feature parts in the image acquired by the image sensor, and when it detects a difference between the relative position and a preset relative position, it compensates for the difference in the relative position.

[0048] According to the above configuration, the filter array has one or more feature parts, for example, on its surface or outer periphery. The processing circuit can detect the relative position between the filter array and the image sensor based on information such as the position, shape, or size of the one or more feature parts included in the acquired image. When the relative position changes from, for example, a preset initial relative position, the processing circuit performs an operation to compensate for the shift in the relative position. For example, the relative position between the filter array and the image sensor may be physically corrected or corrected by signal processing. Actions can be taken to reduce the effects of positional misalignment. Such actions can reduce errors in spectral image data caused by relative positional misalignment.

[0049] The imaging device may further include a first drive device for moving the filter array. In that case, the processing circuit may compensate for the misalignment by controlling the first drive device to correct the relative position.

[0050] According to the above configuration, when a relative positional shift is detected, the first drive unit reduces the relative positional shift by moving the filter array. This reduces the error in spectral image data caused by the relative positional shift. The first drive unit may also compensate for the relative positional shift by rotating the filter array.

[0051] The imaging device may further include a second drive device for moving the image sensor. In that case, the processing circuit may compensate for the misalignment by controlling the second drive device to correct the relative position.

[0052] According to the above configuration, when a relative positional deviation is detected, the second drive unit reduces the deviation by moving the image sensor. This reduces the error in spectral image data caused by the relative positional deviation. The second drive unit may also compensate for the relative positional deviation by rotating the image sensor.

[0053] The imaging device may further include an optical system arranged on the optical path connecting the filter array and the image sensor, which forms an image on the imaging surface of the image sensor using light that has passed through the filter array, and a third drive device that changes the position of the image formed by the optical system. In this case, the processing circuit may compensate for the misalignment by controlling the third drive device to correct the position of the image.

[0054] According to the above configuration, when a relative positional shift is detected, the third drive device changes the position of the image formed by the optical system by, for example, moving or rotating the optical system. This makes it possible to reduce errors in spectral image data caused by relative positional shifts.

[0055] The processing circuit may generate four or more spectral image data based on the image acquired by the image sensor and data showing the spatial distribution of the spectral transmittances of the plurality of optical filters. In this case, the processing circuit may compensate for the deviation by correcting the data showing the spatial distribution of the spectral transmittances.

[0056] According to the above configuration, when the processing circuit detects a shift in relative position, it corrects data showing the spatial distribution of spectral transmittances of multiple optical filters. The data showing the spatial distribution of spectral transmittances of multiple optical filters corresponds, for example, to the matrix H mentioned above. By correcting this data, errors in spectral image data caused by the shift in relative position can be reduced.

[0057] The processing circuit may compensate for the misalignment by correcting the coordinates of the image acquired by the image sensor.

[0058] According to the above configuration, when the processing circuit detects a shift in relative position, it corrects the coordinates of the image acquired by the image sensor. Here, correcting the image coordinates means correcting the correspondence between coordinates and pixel values ​​in the data represented by the image. Image correction is equivalent to, for example, performing a coordinate transformation such as translation or rotation on the aforementioned vector g. By correcting the acquired image, the error in spectral image data caused by the shift in relative position is reduced. It can be reduced.

[0059] The filter array may have one or more alignment marks. The one or more feature portions may be the one or more alignment marks.

[0060] One or more alignment marks may be formed, for example, on the surface of a filter array. The alignment marks are formed in a manner that makes them distinguishable from other parts of the image. For example, the alignment marks may be formed by a metal film having a transmittance lower than that of the surrounding filters.

[0061] Each of the one or more alignment marks may include a first portion extending in a first direction and a second portion extending in a second direction intersecting the first direction. In this case, the processing circuit may further perform operations to detect tilt in the filter array based on the ratio of the length of the first portion to the length of the second portion in the image acquired by the image sensor, and to reduce the effect of the tilt.

[0062] The one or more alignment marks may include multiple alignment marks. In that case, the processing circuit may further perform an operation to detect tilt of the filter array based on the positional relationship of the multiple alignment marks in the image acquired by the image sensor, and to reduce the effect of the tilt.

[0063] Filter array tilt refers to a state where the filter array's orientation is tilted from its predetermined correct orientation. Actions to mitigate the effects of tilt may include, for example, rotation of the filter array or rotation of the image sensor.

[0064] The processing circuit can detect the deflection of the filter array, for example, based on the ratio of the distance between two alignment marks separated in a first direction to the distance between two alignment marks separated in a second direction.

[0065] According to the above configuration, errors in spectral image data caused by the filter array's movement can be reduced.

[0066] The image sensor may include a plurality of photodetectors that output signals corresponding to the intensity of light they receive. The processing circuit may generate four or more spectral image data based on signals output from the photodetectors among the plurality of photodetectors that receive light that has passed through the region in the filter array. The one or more alignment marks may be located inside or outside the region.

[0067] If one or more alignment marks are located outside the region, the alignment marks are detected from the image data of the region not used to generate the spectral image data. Therefore, the alignment marks can be detected without affecting the generated spectral image data.

[0068] The one or more alignment marks may be located within the range that can be captured by the image sensor when the relative positions are at a preset relative position. In this case, the alignment marks can be detected from the image acquired by the image sensor, and the misalignment of the relative position between the filter array and the image sensor can be easily detected based on information such as their position.

[0069] The filter array, when the relative position is a preset relative position, The area may be larger than the area that can be imaged by the image sensor. The one or more alignment marks may be located outside the area. In that case, the alignment marks may be placed near the boundary between the inside and outside of the imageable area. If the processing circuit detects alignment marks in the image acquired by the image sensor, it can determine that a relative positional shift has occurred.

[0070] An imaging device according to another aspect of the present disclosure includes an image sensor, a filter array including a plurality of optical filters arranged two-dimensionally on an optical path from an object to the image sensor, wherein the plurality of optical filters include a plurality of types of optical filters with different spectral transmittances, and a processing circuit that generates four or more spectral image data based on an image acquired by the image sensor and data showing the spatial distribution of the spectral transmittances of the plurality of optical filters. Each of the four or more spectral image data represents an image corresponding to one wavelength band among the four or more wavelength bands. The processing circuit, (a) A first operation to generate multiple sets of four or more spectral image data by repeating the process of generating the four or more spectral image data multiple times while changing the relative position between the filter array and the image sensor, or (b) A second operation which generates multiple sets of four or more spectral image data by repeating the process of generating the four or more spectral image data multiple times while changing the coordinates of the image acquired by the image sensor. The process is executed, and output data is generated by synthesizing the four or more sets of spectral image data.

[0071] According to the above configuration, by performing the first or second operation and synthesizing the four or more sets of spectral image data, the errors contained in the spectral image data can be reduced.

[0072] The first operation may include correcting the data showing the spatial distribution of the spectral transmittance in response to the change in the relative position.

[0073] The second operation may include correcting the data showing the spatial distribution of the spectral transmittance in response to the change in the coordinates.

[0074] More specific embodiments of the present disclosure are described below. However, unnecessary details may be omitted. For example, detailed descriptions of already well-known matters and redundant descriptions of substantially identical configurations may be omitted. This is to avoid the following description becoming unnecessarily verbose and to facilitate understanding for those skilled in the art. The inventors provide the accompanying drawings and the following description so that those skilled in the art can fully understand the present disclosure, and not to limit the subject matter described in the claims. In the following description, identical or similar components are denoted by the same reference numerals. In the following description, the xyz coordinates shown in the figures are used.

[0075] (Embodiment 1) Figure 5 is a schematic diagram showing the configuration of an imaging device according to an exemplary embodiment 1 of the present disclosure. The imaging device in this embodiment comprises a filter array 100, optical systems 40A and 40B, an image sensor 60, a processing circuit 200, and a movable stage 80.

[0076] The filter array 100 is positioned on the optical path from the object 70 to the image sensor 60, but away from the image sensor 60. As described above, the filter array 100 includes a plurality of optical filters arranged in two dimensions. The plurality of optical filters have a spectral transmittance It includes multiple types of optical filters that are different from each other. Each of the multiple types of optical filters is designed to exhibit maximum light transmittance in two or more wavelength bands out of N wavelength bands (where N is an integer greater than or equal to 4).

[0077] Optical system 40A is positioned between the object 70 and the filter array 100. Optical system 40B is positioned between the filter array 100 and the image sensor 60. Each of optical systems 40A and 40B includes one or more lenses. Optical systems 40A and 40B form an image on the imaging surface of the image sensor 60 using light from the object 70 that has passed through the filter array 100.

[0078] As described above, the image sensor 60 comprises a plurality of photodetectors arranged two-dimensionally on the imaging surface. Each photodetector includes a photoelectric conversion element, such as a photodiode, and outputs an electrical signal corresponding to the amount of light received. The image sensor 60 may be, for example, a CCD or CMOS sensor, an infrared array sensor, a terahertz array sensor, or a millimeter-wave array sensor. The image sensor 60 does not necessarily have to be a monochrome type sensor. For example, a color type sensor having R / G / B, R / G / B / IR, or R / G / B / W filters may be used. By using a color type sensor, the amount of information related to wavelength can be increased, and the accuracy of reconstructing the separated image 220 can be improved. However, when a color type sensor is used, the amount of information in the spatial direction (x, y direction) decreases, so there is a trade-off between the amount of information related to wavelength and the resolution. The wavelength range to be acquired can be arbitrarily determined and is not limited to the visible wavelength range, but may also include ultraviolet, near-infrared, mid-infrared, far-infrared, microwave, and radio wave wavelength ranges.

[0079] Light arriving from the object 70 passes sequentially through the optical system 40A, the filter array 100, and the optical system 40B, and forms an image on the imaging surface of the image sensor 60. The z-direction is defined as the direction parallel to the optical axes of optical systems 40A and 40B and moving from the object 70 towards the image sensor 60. The filter array 100 is arranged approximately parallel to the xy-plane, which includes the x-axis and y-axis, respectively, perpendicular to the z-axis. The image sensor 60 acquires an image from the light from the object 70 that has passed through the filter array 100.

[0080] The processing circuit 200 generates image data corresponding to each of the N wavelength bands, i.e., separated images 220, based on the image data output from the image sensor 60 and data showing the spatial distribution of the spectral transmittance of the filter array 100. The data showing the spatial distribution of the spectral transmittance of the filter array 100 is pre-stored in the memory of the processing circuit 200. The processing circuit 200 generates the image 220 corresponding to each wavelength band by performing calculations based on the above equation (2).

[0081] The processing circuit 200 can be implemented, for example, by a programmable logic device (PLD) such as a digital signal processor (DSP) or a field-programmable gate array (FPGA), or by a combination of a central processing unit (CPU) / graphics processing unit (GPU) and a computer program. Such a computer program is stored on a recording medium such as memory, and the CPU can execute the program to perform calculations for generating the separated image 220.

[0082] In this embodiment, the processing circuit 200 further detects one or more feature portions in the filter array 100 from the image acquired by the image sensor 60. Then, based on information such as the position, shape, or size of the feature portion, it detects the relative position between the filter array 100 and the image sensor 60. When the relative position deviates from a preset relative position, the processing circuit 200 performs an operation to compensate for the deviation. In this embodiment, the operation to compensate for the deviation in relative position is performed by controlling the movable stage 80. This includes an operation to correct the relative position between the filter array 100 and the image sensor 60.

[0083] The movable stage 80 is a drive device that changes at least one of the position and orientation of the filter array 100. The filter array 100 is fixed to the movable stage 80. The movable stage 80 can move or rotate the filter array 100 independently of the object 70, the optical systems 40A and 40B, and the image sensor 60. The movable stage 80 can move the filter array 100 along the x, y, or z axis, rotate it in the xy plane, the yz plane, or the xz plane, or perform a combination of these actions. The movable stage 80 may only have the function of moving along the x, y, or z axis. The operation of the movable stage 80 is controlled by the processing circuit 200. In this embodiment, the movable stage 80 is an electrically driven device, but the movable stage 80 may be manually operated.

[0084] Figure 6A is a diagram illustrating the filter array 100. The left side of Figure 6A schematically shows the configuration of the filter array 100. The right side of Figure 6A shows an example of spectral transmittance in two filters in the filter array 100. Figure 6B shows the N wavelength bands W1, W2, ..., W included in the target wavelength range. N This shows an example of the spatial distribution of transmittance of the filter array 100. Figures 6A and 6B show regions in which 10 square filters are arranged in a grid in the vertical and horizontal directions of the filter array 100, but this is merely an example. The shape of each filter in the filter array 100 is not limited to a square, but can be any shape that can tile a plane. Also, the number of filters in the array is not limited to 10 in each of the vertical and horizontal directions, but can be any number. The size of each filter in the filter array 100, and the overall size of the filter array 100, can take on any value.

[0085] Figure 6A shows an example of the area occupied by the filter array 100, including the area 102 that can be imaged by the image sensor 60 when there is no relative positional shift, and the area 104 where the separated image 220 is generated. As in this example, the area 104 where the separated image 220 is generated may be smaller than the imageable area 102. In this case, the processing circuit 200 extracts the portion corresponding to the area 104 where the separated image 220 is generated from the image data generated by the image sensor 60 and generates the separated image 220. In other words, the processing circuit 200 generates image data for each of the N wavelength bands based on the signal output from the photodetector among the multiple photodetectors in the image sensor 60 that receives light that has passed through a portion of the filter array 100 (i.e., the area 104 where the separated image 220 is generated). In the example in Figure 6A, only a portion of the filter array 100 is included in the area 102 that can be imaged by the image sensor 60.

[0086] The filter array 100 shown in Figure 6A includes a plurality of alignment marks 106 within the area 102 that can be imaged by the image sensor 60. In this embodiment, four alignment marks 106 are located at the four corners inside the imageable area 102. Each alignment mark 106 is sized to form an image larger than one pixel of the image sensor 60 when imaged onto the imaging surface of the image sensor 60. The number, shape, and size of the alignment marks 106 are not limited to the illustrated example and can be arbitrarily selected.

[0087] The size of the range 104 in which the separated image 220 is generated is the same as or smaller than the size of the range 102 that can be captured by the image sensor 60. If the range 104 in which the separated image 220 is generated is smaller than the captureable range 102, the alignment mark 106 may be outside or inside the range 104 in which the separated image 220 is generated, as shown in Figure 6A.

[0088] Figure 6A shows a cross-shaped alignment mark 106 as an example, but the shape of the alignment mark 106 can be arbitrarily determined as long as its position can be identified. The shape of the alignment mark 106 may be, for example, any polygon, all or part of a circle, or a combination thereof.

[0089] As shown in Figure 6C, the alignment mark 106 may be outside the range 102 that can be captured by the image sensor when the relative position of the filter array 100 and the image sensor 60 is at a preset relative position. In this case, if there is no shift in the relative position, the alignment mark 106 will not be detected in the acquired image, but if there is a shift in the relative position, the alignment mark 106 will be detected. Based on the position of the detected alignment mark 106, the shift in the relative position can be detected.

[0090] As shown in Figure 6D, the area 102 that can be imaged by the image sensor 60 may include the area outside the filter array 100. In that case, the boundary portion 107 between the inside and outside of the filter array 100 plays the same role as the alignment mark 106. In such a configuration, the filter array 100 does not include explicit marks, and the outer periphery separating the inside and outside of the filter array 100 functions as a feature area for alignment.

[0091] Figure 7 is an image showing an example of alignment marks 106 actually formed on a filter array 100. In this example, a cross-shaped chromium (Cr) film is formed on the surface of the filter array 100 as the alignment marks 106. The small square blocks in Figure 7 represent individual filters. In this example, the length of one side of each filter is approximately 8 micrometers (μm). The cross-shaped alignment marks 106 have a shape in which two linear portions intersect. When irradiated with white light, the chromium film exhibits lower transmittance than the surrounding filter area. Therefore, as shown in Figure 7, it is observed as a dark area. Note that the alignment marks 106 are not limited to chromium films and can be composed of any material as long as they can be distinguished from other parts.

[0092] The processing circuit 200 can detect the relative position of the filter array 100 as seen from the image sensor 60 by detecting the center coordinates of the cross-shaped alignment mark 106, as illustrated in Figure 7.

[0093] Figure 8A shows an example of the rate of change (in %) of the transmittance of the filter array 100 when the relative position of the filter array 100 as seen from the image sensor 60 is shifted by 1 pixel in the x and y directions. Here, the transmittance when the relative position of the filter array 100 and the image sensor 60 is at the initial position is used as the reference, and the rate of change (in %) of the average transmittance in a 100x100 grid area is shown. As shown in Figure 8A, a change in transmittance occurs when the relative position of the image sensor 60 is changed by the size of one pixel. As a result, there is a possibility that the processing circuit 200 will generate an image that is significantly different from the correct image. Figure 8B shows an example of the error in average brightness between the image generated by the processing circuit 200 and the correct image. As shown, the error in average brightness increases significantly when the relative position of the filter array 100 and the image sensor 60 is shifted by 1 pixel in the x or y direction.

[0094] Thus, changes in the relative position between the filter array 100 and the image sensor 60 strongly affect the accuracy of image generation. Therefore, it is necessary to reduce the effects caused by changes in relative position.

[0095] In this embodiment, the filter array 100 having alignment marks 106 enables the detection of the relative position between the image sensor 60 and the filter array 100. In response to the detected change in relative position, the hardware of the imaging device or the acquired image is modified. By correcting the processing, a decrease in wavelength resolution can be prevented.

[0096] The processing circuit 200 shown in Figure 5 corrects the position of the filter array 100 by controlling the movable stage 80 in response to the detected change in relative position. This suppresses the degradation of image quality caused by changes in relative position.

[0097] Figure 9A shows an example of images for each wavelength band generated by the processing circuit 200 in this embodiment. Figure 9B shows an example of images for each wavelength band generated when no correction is performed in this embodiment. In these examples, the position of the filter array 100 has changed by approximately 1.5 pixels in the vertical direction of the image from the time the spatial distribution data of spectral transmittance was acquired. Three types of filters that allow light at 510 nm, 520 nm, and 530 nm to pass through, respectively, were used as the object 70, and imaging was performed with white light illuminating it from behind. As shown in Figure 9B, when no correction is performed, the three wavelength bands are not correctly separated, and a correct image is not generated for each wavelength band. In other words, the wavelength resolution is reduced. In contrast, in the example shown in Figure 9A, the position of the filter array 100 is corrected, so the spots corresponding to each of the three types of filters are clearly displayed. In other words, the reduction in wavelength resolution is suppressed.

[0098] As described above, by using the imaging device shown in Figure 5, it becomes possible to adjust the relative position between the filter array 100 and the image sensor 60, thereby preventing a decrease in wavelength resolution caused by changes in this relative position.

[0099] Figure 10 is a flowchart outlining the processing performed by the processing circuit 200 in this embodiment. First, in step S101, the processing circuit 200 acquires a wavelength-multiplexed image from the image sensor 60, in which multiple wavelength components from light that has passed through the filter array 100 are superimposed. In the following step S102, the processing circuit 200 detects the relative position between the filter array 100 and the image sensor 60 by detecting alignment marks 106 from the acquired image. Here, the relative position refers to the amount of displacement in the x and y directions of the coordinates of the center of the filter array 100 relative to the coordinates of the center of the imaging surface of the image sensor 60, for example. In step S103, the processing circuit 200 determines whether the relative position between the filter array 100 and the image sensor 60 has changed from a preset initial relative position. Here, the initial relative position refers to the relative position when data showing the spatial distribution of the spectral transmittance of the filter array 100 is acquired. If a change in the relative position is detected in step S103, the process proceeds to step S104. In step S104, the processing circuit 200 instructs the movable stage 80 to return the relative position between the filter array 100 and the image sensor 60 to its initial position. In response to this instruction, the movable stage 80 corrects the position of the filter array 100. If no change in relative position is detected in step S103, step S104 is not performed, and the process proceeds to step S105. In step S105, the processing circuit 200 generates multiple image data for each wavelength band based on the image acquired by the image sensor 60 and data showing the spatial distribution of the spectral transmittance of the filter array 100.

[0100] Through the above operation, deviations from the optimal relative position between the filter array 100 and the image sensor 60 can be detected, and the relative position can be corrected to compensate for the deviation. This makes it possible to suppress the decrease in wavelength resolution caused by the change in the relative position.

[0101] Figure 11 is a schematic diagram showing the configuration of an imaging device according to a modified example of this embodiment. In this modified example, the imaging device includes a movable stage 82, which is a second drive device that changes the position of the image sensor 60 instead of the filter array 100. The image sensor 60 is positioned on the movable stage 82. The processing circuit 200 controls the movable stage 82. This changes the position of the image sensor 60 along one or more of the x, y, and z axes. This corrects the relative position between the filter array 100 and the image sensor 60. As shown in the example in Figure 5, the image sensor 60 may be made rotatable in one or more of the xy, yz, and xz planes.

[0102] Figure 12 is a schematic diagram showing the configuration of an imaging device according to another modification. In this modification, there is no movable stage for moving the filter array 100 or the image sensor 60. The imaging device in this modification comprises an optical system 50 positioned between the optical system 40B and the image sensor 60, and a movable stage 84, which is a third drive device for changing the position of the optical system 50. The optical system 50 includes at least one lens. Instead of, or in addition to, the lens, an optical element having a reflective function, such as a mirror, may be provided.

[0103] The optical systems 40A, 40B, and 50 are arranged on the optical path connecting the filter array 100 and the image sensor 60, and form an image on the imaging surface of the image sensor 60 by light passing through the filter array 100. The movable stage 84 changes the position of the formed image by moving or rotating at least one lens included in the optical system 50. The processing circuit 200 can change the imaging position by controlling the movable stage 84 and compensate for the misalignment of the relative positions between the filter array 100 and the image sensor 60.

[0104] (Embodiment 2) Figure 13 is a schematic diagram showing the configuration of an imaging device according to an exemplary embodiment 2 of the present disclosure. In this embodiment, instead of physically adjusting the relative positions of the filter array 100 and the image sensor 60, the processing circuit 200 compensates for the shift in relative positions through signal processing. More specifically, the processing circuit 200 reduces the effect of changes in the relative positions of the filter array 100 and the image sensor 60 by correcting data showing the spatial distribution of spectral transmittance of the filter array 100 or the image acquired by the image sensor 60.

[0105] The data showing the spatial distribution of spectral transmittance of the filter array 100 may, for example, be the data showing matrix H in equation (2) above. Correction of the data showing the spatial distribution of spectral transmittance means, for example, correcting each component of matrix H so as to cancel out or reduce the detected change in relative position. Correction of the image acquired by the image sensor 60 means, for example, performing one of the operations of translation, rotation, or scaling on vector g in equation (2). As an example, consider the case where the relative position of the filter array 100 as seen from the image sensor 60 changes by n pixels of the image sensor 60 in the y direction as shown in Figure 13. In this case, the processing circuit 200 performs the operation of translating each component of matrix H or vector g in equation (2) by n in the y direction.

[0106] Figures 14A to 14C are diagrams illustrating the effects of this embodiment. Figure 14A shows an example of the image reconstruction results for three wavelength bands when the relative position between the filter array 100 and the image sensor 60 has not changed from the initial relative position (corresponding to vector g). Figure 14B shows an example of the image reconstruction results for three wavelength bands when the relative position between the filter array 100 and the image sensor 60 has shifted from the initial relative position (corresponding to the vector changing from g to g') and the matrix H is not corrected. Figure 14C shows an example of the image reconstruction results for three wavelength bands when the relative position between the filter array 100 and the image sensor 60 has shifted from the initial relative position (corresponding to vector g') and the matrix has been appropriately corrected (corresponding to the vector being corrected to H'). In these examples, as in the examples of Figures 9A and 9B, three filters that transmit light at 510 nm, 520 nm, and 530 nm, respectively, are arranged as the object 70. As shown in Figure 14A, the state in which each of the three filters is displayed as a spot is the correct reconstruction. This represents the original image. In the example in Figure 14B, the correct image was not generated. On the other hand, as shown in Figure 14C, when matrix H was appropriately corrected, the generated image was found to be closer to the image shown in Figure 14A. Thus, by correcting matrix H, a decrease in wavelength resolution can be prevented. Note that a similar effect can be obtained by correcting the vector g representing the acquired image instead of correcting matrix H.

[0107] As described above, in this embodiment, the operation to compensate for the shift in relative position includes correcting data showing the spatial distribution of spectral transmittance of multiple optical filters in the filter array 100, or the coordinates of the image acquired by the image sensor 60. For example, the processing circuit 200 corrects the matrix data showing the spatial distribution of spectral transmittance of the filter array 100, or the image data acquired by the image sensor 60. This makes it possible to suppress the decrease in wavelength resolution caused by changes in the relative position between the filter array 100 and the image sensor 60.

[0108] (Embodiment 3) Figure 15A is a schematic diagram showing an example of a filter array 100 in an exemplary embodiment 3 of the present disclosure. The configuration of the imaging device in this embodiment is the same as that shown in Figure 5. In this embodiment, the processing circuit 200 detects the tilt of the filter array 100 based on the positional relationship of multiple alignment marks 106, rather than the position of a single alignment mark 106. The tilt of the filter array 100 refers to the inclination of the filter array 100 from a plane perpendicular to the optical axes of the optical systems 40A and 40B. In the example shown in Figure 15A, the processing circuit 200 detects the tilt by measuring the spacing L1 in the y direction and the spacing L2 in the x direction of the alignment marks 106 based on the acquired image. If tilt occurs in the φ direction as shown in Figure 5, L1 is observed to be shorter than its original length, and if tilt occurs in the η direction, L2 is observed to be shorter than its original length. When a deflection of angle φ1 occurs in the φ direction as shown in Figure 5, the length of L1 becomes cos(φ1) times its original length. Similarly, when a deflection of angle η1 occurs in the η direction as shown in Figure 5, the length of L2 becomes cos(η1) times its original length.

[0109] Figure 15B schematically shows a filter array 100 in a modified example of this embodiment. Each alignment mark 106 has a shape that includes a first portion extending in the y direction and a second portion extending in the x direction. The tilt of the filter array 100 can be detected by measuring the length L3 of the first portion and the length L4 of the second portion. In this example, the first and second portions are orthogonal, but they may intersect at an angle other than 90 degrees. The processing circuit 200 detects the tilt of the filter array 100 based on the ratio of the lengths of the first and second portions of one or more alignment marks 106 in the image acquired by the image sensor 60 and performs an operation to reduce the effect of the tilt.

[0110] Actions to reduce the effects of tilt can be performed, for example, by controlling the movable stage 80 shown in Figure 5. Instead of the configuration shown in Figure 5, the configuration shown in Figure 11 may be adopted, for example. In that case, a movable stage 82 capable of changing the orientation of the image sensor 60 may be used. Alternatively, instead of correcting the relative position by mechanical drive, the effects of tilt may be reduced by software processing, similar to Embodiment 2.

[0111] (Embodiment 4) In the above embodiment, the processing circuit 200 detects the relative position between the filter array 100 and the image sensor 60 based on one or more feature parts of the filter array 100 in the image acquired by the image sensor 60 (for example, the alignment mark 106 portion). When the relative position deviates from a preset relative position, the processing circuit 200 performs an operation to compensate for the deviation in the relative position.

[0112] In contrast, in Embodiment 4, the processing circuit 200 performs either of the following operations (a) or (b). (a) The process of generating image data for each of the N wavelength bands is repeated multiple times by changing the relative position between the filter array 100 and the image sensor 60, and correcting the data showing the spatial distribution of spectral transmittance in accordance with the change in the relative position, thereby generating multiple sets of image data for each wavelength band. (b) The process of generating image data for each of the N wavelength bands is repeated multiple times by changing the coordinates of the image acquired by the image sensor 60 and correcting the data showing the spatial distribution of spectral transmittance in accordance with the change in coordinates, thereby generating multiple sets of image data for each wavelength band.

[0113] The processing circuit 200 generates output data by combining multiple sets of image data for each wavelength band through processing such as averaging. This operation can reduce the noise contained in the generated image.

[0114] Figure 16 is a diagram illustrating the signal processing in this embodiment. In this embodiment, imaging is performed multiple times using a single filter array 100, while intentionally changing the relative position between the filter array 100 and the image sensor 60. As explained with reference to Figure 8A, when the relative position between the filter array 100 and the image sensor 60 changes, the spatial distribution of the spectral transmittance of the filter array 100 changes. That is, one filter array 100 functions as another filter array 100 with a different spectral transmittance distribution. Therefore, in this embodiment, an effect equivalent to generating images using n types of filter arrays 100 (where n is an integer of 2 or more) with different spectral transmittance distributions can be obtained. When the n generated images are averaged, the noise added to the generated images is statistically reduced to 1 / √n times.

[0115] Figure 17 is a flowchart illustrating an example of signal processing in this embodiment. In this example, the configuration shown in Figure 5 is used, similar to Embodiment 1. The processing circuit 200 generates multiple images for each wavelength band with the filter array 100 in its initial position by performing the operations from steps S101 to S105 shown in Figure 10. In this example, relative position correction processing based on alignment marks is also performed, but this correction processing may be omitted. In that case, steps S102, S103, and S104 are omitted, and the filter array 100 does not need to have feature parts such as alignment marks. In the subsequent step S106, the processing circuit 200 determines whether the number of times the relative position between the filter array 100 and the image sensor 60 has been changed has reached a predetermined number (n times). If this determination is No, the processing circuit 200 sets a new initial position different from the original initial position (step S107). For example, a position that has been changed by a small amount in a predetermined direction such as the x or y direction from the original initial position may be set as the new initial position. "Insignificant size" can be, for example, a size equivalent to one to a few pixels of the image sensor 60. Next, the processing circuit 200 controls the movable stage 80 to move the filter array 100 to a newly set initial position (step S108). In conjunction with this, the data showing the spatial distribution of spectral transmittance used to generate spectral image data is also corrected. Thereafter, the operations from steps S101 to S108 are repeated until Yes is determined in step S106. In this embodiment, the movement of the filter array 100 in step S108 is performed by physical movement. Instead of moving the filter array 100, the image sensor 60 may be moved. Alternatively, instead of physically changing the relative position, the coordinates of the image acquired by the image sensor 60 may be changed. For the correction of the relative position in step S104, either physical movement or matrix correction in software may be used. After repeating the operations from steps S101 to S108 a predetermined number of times, the processing circuit 200 averages the generated n images to obtain the synthesized output data Generate and output (step S109).

[0116] Through the above operation, noise reduction processing can be performed by imaging using a single filter array 100. This reduces errors in the generated hyperspectral image and improves wavelength resolution.

[0117] The features of each of the embodiments 1 to 4 described above may be combined with features of the other embodiments, as long as there is no contradiction. For example, the mechanical relative position correction in embodiment 1 may be combined with the software-based relative position correction in embodiment 2. Furthermore, the processing of embodiment 4 may be applied to any of the configurations shown in Figures 11 to 13. [Industrial applicability]

[0118] The technology disclosed herein is useful, for example, in cameras and measuring instruments that acquire multi-wavelength images. The technology disclosed herein can also be applied, for example, to sensing for biological, medical, and cosmetic applications, foreign object and pesticide residue detection systems for food, remote sensing systems, and in-vehicle sensing systems. [Explanation of Symbols]

[0119] 40, 50 optical system 60 Image Sensors 70 Objects 80, 82, 84 Movable Stages 100 filter array 102 Imaging range 104 Range in which separated images are generated 106 Alignment Marks 200 Processing Circuits 220 separated images

Claims

1. To obtain first information indicating the relative position between an encoding element containing multiple regions with different spectral transmittances and an image sensor that detects light that has passed through the encoding element, This includes correcting data that includes second information relating to the spatial distribution of the spectral transmittance based on the first information, The aforementioned data is used in a process that generates four or more spectral images based on an image obtained by having the image sensor detect light that has passed through the encoding element. Each of the four or more spectral images represents an image corresponding to one of the four or more wavelength bands. method.

2. The method further includes determining the deviation of the relative position between the encoding element and the image sensor from an appropriate value based on the first information, Correcting the aforementioned data includes correcting the aforementioned data in accordance with the aforementioned deviation, The method according to claim 1.

3. The image obtained by having the image sensor detect the light that has passed through the encoding element has components of the four or more wavelength bands superimposed on it. The method according to claim 1.

4. The encoding element is a filter array including a plurality of optical filters arranged in a two-dimensional plane, Each of the plurality of regions corresponds to each of the plurality of optical filters, The method according to claim 1 or 2.

5. A program that causes a processing circuit to execute the method described in claim 1.

6. Equipped with a processing circuit, The aforementioned processing circuit is First information is obtained indicating the relative position between an encoding element containing multiple regions with different spectral transmittances and an image sensor that detects light that has passed through the encoding element. Based on the first information, the data including the second information relating to the spatial distribution of the spectral transmittance is corrected. The aforementioned data is used in a process that generates four or more spectral images based on an image obtained by causing the image sensor to detect light transmitted through the encoding element. Each of the four or more spectral images represents an image corresponding to one of the four or more wavelength bands. Processing device.

Citation Information

Patent Citations

  • Spectrum imager based on multiple image planes

    CN109443537A

  • Multi-imaging system with interleaved images

    JP2012150112A

  • Dynamic hyperspectral imaging of objects in apparent motion

    JP2020506373A

  • Imaging apparatus comprising coding element and spectroscopic system comprising the imaging apparatus

    US9599511B2