Display condition determination method, display condition determination device and storage medium

By capturing multispectral image data through a spectroscopic camera device and performing image processing, the display range is automatically adjusted to improve the visibility of subject differences, solving the problem of difficulty in distinguishing differences in spectral images in the existing technology, and achieving clear difference display. .

CN118730828APending Publication Date: 2024-10-01FUJIFILM CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410290502.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2024-03-13
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively identify and display the differences between different subjects, especially in spectral image data. It is difficult to automatically adjust the display range according to indicators such as light brightness and contrast to improve the visibility of differences.

Method used

Capture multispectral image data of the subject through a spectroscopic camera device, select an appropriate wavelength band, perform image processing to generate a contrast map, and automatically determine the display range based on the difference in contrast representative values ​​to ensure clear display even in the presence of noise Differences between subjects.

Benefits of technology

It realizes automatic adjustment of the display range under different spectral conditions, improves the visibility of subject differences, and enhances the clarity and accuracy of comparison images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118730828A_ABST
    Figure CN118730828A_ABST
Patent Text Reader

Abstract

The invention provides a display condition determination method, a display condition determination device, and a storage medium capable of determining a difference between a first subject and a second subject compared with a case in which a display range is fixed to a predetermined display range, for example. The display condition determination method includes the steps of: acquiring first imaging data including a first subject and a second subject imaged by a spectroscopic imaging device; acquiring, from the first image data, first image data indicating an index relating to discriminating the first subject and the second subject; and determining a display condition of the first image data according to a relationship between the first subject and the second subject.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The technology of the present invention relates to a display condition determination method, a display condition determination device and a storage medium. Background Art

[0002] Patent document 1 discloses a pod screening system for inspecting or screening the pods by analyzing an image of pods with pods. The pod screening system includes: an image acquisition unit for acquiring an image captured by a photographing unit; and an image analysis unit for analyzing the image acquired by the image acquisition unit. The image analysis unit performs: a size inspection for measuring the length and width of each pod based on the photographed image; and a seed count inspection for calculating the number of seeds contained in the pod based on the measured length of the pod.

[0003] Patent document 2 discloses an inspection device including a correction gain calculation unit and a correction unit. The correction gain calculation unit calculates a correction gain of a spectrum based on reference spectrum information of a reference reflector or reference transmission plate having characteristics corresponding to an inspection object under a reference light source and measured spectrum information of the reference reflector or reference transmission plate obtained by sensing under a measurement light source. The correction unit corrects the measured spectrum information of the inspection object obtained by sensing under the measurement light source based on the calculated correction gain.

[0004] Patent document 3 discloses an imaging device that captures an image of a plant and calculates a growth index of the plant based on the image. The imaging device includes a prism, an infrared cut filter, an optical filter, a first image sensor, a second image sensor, and an output unit. The prism splits the reflected light incident from the plant through the incident surface, and emits the split reflected light from at least the first exit surface and the second exit surface. The infrared cut filter is arranged opposite to the first exit surface, and is used to capture a visible light image of the plant. The optical filter is arranged opposite to the second exit surface, and is used to capture an image used in the calculation of the growth index of the plant. The first image sensor receives the exit light from the first exit surface via the infrared cut filter, and captures a visible light image. The second image sensor receives the exit light from the second exit surface via the optical filter, and captures an image used in the calculation of the growth index of the plant. The output unit outputs the visible light image and the image used in the calculation of the growth index of the plant.

[0005] Patent Document 4 discloses an inspection device including a detection unit and a control unit. The detection unit detects components of reflected light in multiple different wavelength regions obtained by reflecting ambient light from an inspection object, and the control unit controls the sensitivity of each component in the multiple different wavelength regions.

[0006] Patent document 5 discloses a grain component analysis device that quantitatively analyzes specific components contained in grains in units of grains by spectroscopy. The grain component analysis device includes a light emitting unit, a spectrum detection unit, and a calculation unit. The light emitting unit irradiates light to grains of the analysis object. The spectrum detection unit detects the spectrum of transmitted light and / or reflected light from the grains irradiated with light. For the grains of the analysis object, the calculation unit uses a calibration curve representing the relationship between the spectrum value of a specific wavelength and the content of a specific component, and calculates the content of the specific component in the grains in units of grains based on the spectrum value detected from the effective part suitable for quantitative analysis of the image of the grain.

[0007] Patent Document 1: International Publication No. 2016 / 133175 Pamphlet

[0008] Patent Document 2: International Publication No. 2017 / 010258 Pamphlet

[0009] Patent Document 3: Japanese Patent Application Publication No. 2017-009396

[0010] Patent Document 4: International Publication No. 2016 / 208415 Pamphlet

[0011] Patent Document 5: Japanese Patent Application Publication No. 2013-238579 Summary of the invention

[0012] One embodiment of the technology involved in the present invention provides a display condition determination method, a display condition determination device, and a storage medium that can distinguish the difference between a first subject and a second subject, for example, compared with a case where the display range is fixed to a predetermined display range.

[0013] The first method involved in the technology of the present invention is a display condition determination method, which comprises the following steps: obtaining first camera data including a first subject and a second subject photographed by a spectroscopic camera device; obtaining first image data representing indicators related to distinguishing the first subject and the second subject from the first camera data; and determining the display condition of the first image data based on the relationship between the first subject and the second subject.

[0014] A second aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to the first aspect, the display condition includes a display range.

[0015] A third aspect of the technology of the present invention is a display condition determination method, wherein in the display condition determination method according to the first aspect or the second aspect, the index is an index based on brightness of light in a plurality of wavelength bands.

[0016] A fourth aspect according to the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to the third aspect, a plurality of wavelength bands are selected from a combination.

[0017] A fifth aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to the third aspect or the fourth aspect, a plurality of wavelength bands are selected based on attributes of the first object and the second object.

[0018] A sixth aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to any one of the third to fifth aspects, a plurality of wavelength bands are selected based on imaging conditions of a first subject and a second subject.

[0019] A seventh aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to the sixth aspect, the imaging condition includes a lighting condition.

[0020] An eighth aspect of the technology of the present invention is a display condition determination method according to any one of the first to seventh aspects, wherein the index includes a contrast ratio of brightness of light in a plurality of wavelength bands.

[0021] A ninth aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to any one of the first to eighth aspects, the index includes a normalized vegetation index.

[0022] The 10th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in any one of the 1st to 9th methods, the relationship includes the relationship between the first subject and the second subject in the image represented by the first image data.

[0023] An eleventh aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to the tenth aspect, the relationship between the first subject and the second subject in the image includes a relationship in a state where the image contains noise.

[0024] A twelfth aspect according to the technology of the present invention is a display condition determination method according to any one of the first to eleventh aspects, wherein the relationship includes attributes of the first subject and the second subject.

[0025] A thirteenth aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to any one of the first to twelfth aspects, the relationship includes imaging conditions of the first subject and the second subject.

[0026] A fourteenth aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to any one of the first to thirteenth aspects, the relationship includes a relationship between indicators of the first subject and the second subject.

[0027] The 15th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in the 14th method, the indicator includes a first indicator corresponding to the first subject and a second indicator corresponding to the second subject, and the relationship between the indicators includes a relationship based on the difference between the first indicator and the second indicator.

[0028] The 16th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in the 10th method, the 11th method to the 14th method subordinate to the 10th method, and the 15th method, the relationship includes a relationship in a state where image processing is performed on the image.

[0029] A seventeenth aspect according to the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to the sixteenth aspect, the image processing includes processing related to noise included in the image.

[0030] An eighteenth aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to the seventeenth aspect, the processing related to noise includes edge enhancement processing and / or noise reduction processing.

[0031] The 19th method involved in the technology of the present invention is a method for determining a display condition, wherein, in the method for determining a display condition involved in the 10th method, the 11th method to the 14th method subordinate to the 10th method, and the 15th method to the 18th method, the relationship includes a relationship in a state where a calculation processing is performed on the image.

[0032] A 20th aspect according to the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to the 19th aspect, the calculation processing includes processing related to visibility of the image.

[0033] A 21st aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to the 20th aspect, the processing related to visibility includes grayscale processing and / or gamma correction processing.

[0034] The 22nd method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in any one of the 1st to 21st methods, the relationship includes the relationship between the first subject and the second subject relative to the subject previously photographed by the spectroscopic camera device.

[0035] A 23rd mode involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in any one of the 1st to 22nd modes, determining the display condition includes selecting the display condition from a plurality of display conditions based on a relationship.

[0036] The 24th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in the 23rd method, the indicator includes a first indicator corresponding to the first subject and a second indicator corresponding to the second subject, and the relationship includes a relationship based on the difference between the first indicator and the second indicator, and the display condition is selected from multiple display conditions according to the relationship between the difference and the threshold.

[0037] The 25th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in the 24th method, when the difference is greater than a threshold, the upper limit value of the display condition is determined based on the larger indicator of the first indicator and the second indicator, and the lower limit value of the display condition is determined based on the smaller indicator of the first indicator and the second indicator.

[0038] The 26th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in the 25th method, the upper limit value of the display condition is determined based on the larger indicator and the first correction value, and the lower limit value of the display condition is determined based on the smaller indicator and the second correction value.

[0039] The 27th mode involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in the 26th mode, the first correction value and the second correction value are determined based on noise included in the image represented by the first image data.

[0040] The 28th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in any one of the 24th to 27th methods, when the difference is below a threshold, the difference between the upper limit value and the lower limit value of the display condition is determined as the threshold.

[0041] A 29th aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in the 28th aspect, the upper limit value and the lower limit value of the display condition are determined based on the average value of the first indicator and the second indicator.

[0042] The 30th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in the 29th method, the upper limit value of the display condition is determined based on the average value and the third correction value, and the lower limit value of the display condition is determined based on the average value and the fourth correction value.

[0043] A 31st mode involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in the 30th mode, the third correction value and the fourth correction value are determined based on noise included in the image represented by the first image data.

[0044] A thirty-second aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to any one of the first to thirty-first aspects, the spectroscopic imaging device is a multispectral camera.

[0045] A thirty-third aspect of the technology of the present invention is a display condition determination method, wherein in the display condition determination method according to the thirty-second aspect, the first imaging data includes spectral image data corresponding to light of a plurality of wavelength bands.

[0046] A 34th aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method according to any one of the 1st to 33rd aspects, the second subject is a subject having a larger index than the first subject.

[0047] A 35th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in any one of the 1st to 34th methods, the first image data is image data of an indicator displayed through a heat map.

[0048] The 36th method involved in the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in any one of the first to 35th methods, the first image data is acquired based on a selected area in the first subject and / or the second subject.

[0049] A 37th aspect of the technology of the present invention is a display condition determination method, wherein, in the display condition determination method involved in any one of the 1st to 36th aspects, the determination includes determining whether the first subject and the second subject are superior or inferior.

[0050] The 38th method involved in the technology of the present invention is a display condition determination device, which includes a processor, and the processor performs the following processing: obtaining first camera data including a first subject and a second subject photographed by a spectroscopic camera device; obtaining first image data representing indicators related to distinguishing the first subject and the second subject from the first camera data; and determining the display condition of the first image data based on the relationship between the first subject and the second subject.

[0051] The 39th method involved in the technology of the present invention is a display condition determination device, wherein, in the display condition determination device involved in the 38th method, the processor performs the following processing: obtains the values ​​of multiple timers related to the calibration of the spectroscopic camera device, and outputs update data related to the update of the calibration based on the values.

[0052] A 40th aspect of the technology of the present invention is a display condition determination device, wherein, in the display condition determination device involved in the 38th aspect or the 39th aspect, the processor outputs histogram data related to the index based on the first camera data.

[0053] A 41st aspect of the technology of the present invention is a display condition determination device, wherein in the display condition determination device involved in the 40th aspect, the histogram data includes first histogram data, and the first histogram data represents a ratio of indicators.

[0054] The 42nd method involved in the technology of the present invention is a display condition determination device, wherein, in the display condition determination device involved in the 40th method or the 41st method, the histogram data includes a second histogram data, and the second histogram data represents the brightness ratio of the wavelength components of the light emitted from the first subject and / or the second subject.

[0055] The 43rd method involved in the technology of the present invention is a display condition determination device, wherein, in the display condition determination device involved in any one of the 40th to 42nd methods, histogram data is displayed based on the selected area in the first subject and / or the second subject.

[0056] The 44th method involved in the technology of the present invention is a storage medium storing a program for causing a computer to execute a process including the following steps: acquiring first video data including a first subject and a second subject photographed by a spectroscopic camera device; acquiring first image data representing an indicator related to distinguishing the first subject and the second subject from the first video data; and determining a display condition for the first image data based on the relationship between the first subject and the second subject. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 This is a block diagram showing an example of an inspection system.

[0058] Figure 2 It is a perspective view showing an example of an imaging device.

[0059] Figure 3 It is an exploded perspective view showing an example of a pupil dividing filter.

[0060] Figure 4 This is a block diagram showing an example of the hardware configuration of the imaging device.

[0061] Figure 5 This is an exploded perspective view showing an example of a part of a photoelectric conversion element.

[0062] Figure 6 This is a block diagram showing an example of the functional structure of the imaging device.

[0063] Figure 7 This is a block diagram showing an example of the operations of the output value acquisition unit and the noise removal processing unit.

[0064] Figure 8 This is a block diagram showing an example of a functional configuration for executing inspection processing in the processing device according to the first embodiment.

[0065] Fig. 9 This is a block diagram showing an example of the operations of the imaging data acquisition unit, the wavelength band selection unit, and the image processing unit in the processing device according to the first embodiment.

[0066] Fig.10 This is a block diagram showing an example of the operations of the image region selection unit, the image data acquisition unit, and the display control unit in the processing device according to the first embodiment.

[0067] Fig.11 This is an explanatory diagram showing a first example of a case where the display ranges of comparison images including a first subject and a second subject are made different.

[0068] Fig.12 This is an explanatory diagram showing a second example of making the display ranges different for comparison images including the first subject and the second subject.

[0069] Fig.13 This is an explanatory diagram showing a third example of making the display ranges different for comparison images including the first subject and the second subject.

[0070] Fig.14 This is a block diagram showing an example of a functional configuration for executing a display range determination process in the processing device according to the first embodiment.

[0071] Fig.15 This is a block diagram showing an example of the operation of the imaging data acquisition unit in the processing device according to the first embodiment.

[0072] Fig.16 This is a block diagram showing an example of the operations of the imaging data acquisition unit, the wavelength band selection unit, and the image processing unit in the processing device according to the first embodiment.

[0073] Fig.17 This is a block diagram showing an example of the operations of the image region selection unit, the image data acquisition unit, and the display range determination unit in the processing device according to the first embodiment.

[0074] Fig.18 This is a block diagram showing an example of the operations of the image data acquisition unit, the display range determination unit, and the display control unit in the processing device according to the first embodiment.

[0075] Fig.19 This is a block diagram showing an example of the operations of the image data acquisition unit, the display range determination unit, and the display control unit in the processing device according to the first embodiment.

[0076] Fig. 20 : is a flowchart showing an example of the flow of spectral image generation processing.

[0077] Fig.21 This is a flowchart showing an example of the flow of display range determination processing.

[0078] Fig. 22 This is a flowchart showing an example of the flow of the inspection process.

[0079] Fig.23 This is a block diagram showing an example of the operations of the image region selection unit, the slider generation unit, the histogram generation unit, and the display control unit in the processing device according to the second embodiment.

[0080] Fig.24 This is a flowchart showing an example of the flow of histogram generation processing.

[0081] Fig.25 This is a block diagram showing an example of the operation of the first timer, the second timer, and the calibration update unit in the processing device according to the third embodiment.

[0082] Fig.26 This is a flowchart showing an example of the flow of the calibration update process.

[0083] Explanation of symbols

[0084] 10-camera device, 10A-incident part, 12-lens device, 14-camera device body, 16-pupil division filter, 18-frame, 20-spectrometric filter, 22-polarization filter, 24-opening, 26-optical system, 28-image sensor, 30-first lens, 32-second lens, 34-photoelectric conversion element, 34A-light receiving surface, 36-signal processing circuit, 38-pixel layer, 40-polarization filter layer, 42-spectrometric filter layer, 44-physical pixel, 46-pixel block, 48-polarizer, 50A-B filter, 50B-G filter, 50C-R filter, 52-control driver, 54-input and output I / F, 56-computer, 58-communication device, 60-processor, 62-memory, 64-RAM, 66-bus, 70-camera data, 70A-first camera data, 70B-second camera data, 72-spectral image data, 74-camera image, 74A-first camera image, 74B-second camera image, 76-image area, 76A-first image area, 76B-second image area, 80-spectral image generation program, 82-output value acquisition unit, 84-interference removal processing unit, 90-processing device, 92-computer, 94-processor, 96-memory, 98-RAM, 100-inspection program, 102-camera data data acquisition unit, 104-wavelength band selection unit, 106-image processing unit, 108-image area selection unit, 110-image data acquisition unit, 112-display control unit, 122-display device, 124-receiving device, 130-inspection system, 132-light source, 134-housing, 134A-top, 134B-bottom, 136-imaging space, 140-image data, 140A-first image data, 140B-second image data, 142-comparison chart, 142A-first comparison chart, 142B-second comparison chart, 144-comparison chart image, 150-display range determination program, 152-imaging data acquisition unit, 15 ... Long band selection unit, 156-image processing unit, 158-image area selection unit, 160-image data acquisition unit, 161-display range determination unit, 162-display control unit, 172-image area selection unit, 174-slider generation unit, 176-histogram generation unit, 178-display control unit, 180-slider, 182-guide bar, 184-sliding bar, 186-histogram, 190-display data, 200-subject, 200A-first subject, 200B-second subject, 202-culture dish, 212-first timer, 214-second timer, 216-calibration update unit, 218-table, 220-calibration update data. DETAILED DESCRIPTION

[0085] Hereinafter, an example of an embodiment of a display condition determination method, a display condition determination device, and a program according to the technology of the present invention will be described with reference to the drawings.

[0086] First, the terms used in the following description are explained.

[0087] LED is the abbreviation of “light emitting diode”. NDVI is the abbreviation of “Normalized Difference Vegetation Index”. RGB is the abbreviation of “Red Green Blue”. EL is the abbreviation of “Electro Luminescence”. CMOS is the abbreviation of “Complementary Metal Oxide Semiconductor”. CCD is the abbreviation of “Charge Coupled Device”. I / F is the abbreviation of “Interface”. RAM is the abbreviation of “Random Access Memory”. CPU is the abbreviation of “Central Processing Unit”. GPU is the abbreviation of “Graphics Processing Unit”. EEPROM is the abbreviation of “Electrically Erasable and Programmable Read Only Memory”. HDD is the abbreviation of “Hard Disk Drive”. DRAM is the abbreviation of "Dynamic Random Access Memory". SRAM is the abbreviation of "Static Random Access Memory". TPU is the abbreviation of "Tensor processing unit". SSD is the abbreviation of "Solid State Drive". USB is the abbreviation of "Universal Serial Bus". ASIC is the abbreviation of "Application Specific Integrated Circuit". FPGA is the abbreviation of "Field-Programmable Gate Array". PLD is the abbreviation of "Programmable Logic Device". SoC is the abbreviation of "System-on-a-chip". IC is the abbreviation of "Integrated Circuit". IR is the abbreviation of "Infrared Rays".

[0088] In the description of this specification, "same" means identical in the sense that, in addition to being completely identical, it also includes errors that are generally allowed in the technical field to which the technology of the present invention belongs and errors that do not violate the purpose of the technology of the present invention. In the description of this specification, "orthogonal" means orthogonal in the sense that, in addition to being completely orthogonal, it also includes errors that are generally allowed in the technical field to which the technology of the present invention belongs and errors that do not violate the purpose of the technology of the present invention. In the description of this specification, "straight line" means a straight line in the sense that, in addition to being a completely straight line, it also includes errors that are generally allowed in the technical field to which the technology of the present invention belongs and errors that do not violate the purpose of the technology of the present invention.

[0089] [First embodiment]

[0090] First, a first embodiment of the technology of the present invention will be described.

[0091] As an example, Figure 1 As shown, the inspection system 130 according to the first embodiment includes a plurality of light sources 132, a housing 134, an imaging device 10, and a processing device 90. The processing device 90 is an example of a "display condition determination device" according to the technology of the present invention.

[0092] The plurality of light sources 132 are, for example, LED light sources, laser light sources, or incandescent lamps. The light emitted from the plurality of light sources 132 is non-polarized light. As an example, the plurality of light sources 132 are arranged at the upper portion of the interior of the housing 134. The number of the plurality of light sources 132 may be any number, and one light source 132 may be used instead of the plurality of light sources 132.

[0093] The housing 134 is configured to cover an imaging space 136. A plurality of light sources 132, an incident portion 10A of the imaging device 10, and a subject 200 are arranged in the imaging space 136. The imaging device 10 is disposed at a top portion 134A of the housing 134. The subject 200 is disposed at a bottom portion 134B of the housing 134. As an example, the subject 200 is a plurality of seeds placed in a transparent culture dish 202. The following description is based on the premise that the subject 200 is a plurality of seeds. In addition, the subject 200 may be a plant other than seeds, or may be any object other than plants.

[0094] The plurality of seeds include good-quality seeds and inferior-quality seeds. For example, the normalized difference vegetation index NDVI is used to evaluate the quality of the seeds. Seeds with a normalized difference vegetation index above a predetermined threshold are considered good-quality seeds, and seeds with a normalized difference vegetation index less than the predetermined threshold are considered inferior-quality seeds. The predetermined threshold for determining the quality of seeds can be arbitrarily set according to the variety of the seeds, etc.

[0095] As an example, the camera device 10 is a multispectral camera. Here, an example in which the camera device 10 is a multispectral camera is cited, but the camera device 10 may also be a spectral camera such as a hyperspectral camera. Furthermore, the camera device 10 may also be an RGB camera with a spectral filter. Furthermore, the camera device 10 may also be a camera that performs multiple shots while switching illuminations of different wavelengths. Below, the camera device 10 is described as a multispectral camera. The camera device 10 is an example of a "spectral camera device" involved in the technology of the present invention.

[0096] The imaging device 10 includes an optical system 26 and an image sensor 28. The optical system 26 includes a first lens 30, a pupil dividing filter 16, and a second lens 32. The first lens 30, the pupil dividing filter 16, and the second lens 32 are arranged in this order along the optical axis OA from the object 200 side to the image sensor 28 side.

[0097] The pupil dividing filter 16 includes spectral filters 20A to 20C. Each spectral filter 20A to 20C is a bandpass filter that transmits light of a specific wavelength band. The spectral filters 20A to 20C have different wavelength bands. Specifically, the spectral filter 20A has a first wavelength band λ1, the spectral filter 20B has a second wavelength band λ2, and the spectral filter 20C has a third wavelength band λ3.

[0098] Hereinafter, when it is not necessary to distinguish the spectroscopic filters 20A to 20C for description, each of the spectroscopic filters 20A to 20C is referred to as a "spectroscopic filter 20". Furthermore, when it is not necessary to distinguish the first wavelength band λ1, the second wavelength band λ2, and the third wavelength band λ3 for description, the first wavelength band λ1, the second wavelength band λ2, and the third wavelength band λ3 are respectively referred to as "wavelength bands λ".

[0099] In the imaging device 10, as described in detail later, spectral image data 72A to 72C corresponding to each wavelength band λ are generated based on the imaging data 70 obtained by imaging the subject 200. The spectral image data 72A is spectral image data corresponding to the first wavelength band λ1, the spectral image data 72B is spectral image data corresponding to the second wavelength band λ2, and the spectral image data 72C is spectral image data corresponding to the third wavelength band λ3. Hereinafter, when it is not necessary to distinguish the spectral image data 72A to 72C for description, each spectral image data 72A to 72C is referred to as "spectral image data 72".

[0100] In the first embodiment, as an example, a case where three spectral image data 72 are generated from light dispersed into three wavelength bands λ is described. However, the three wavelength bands λ are just an example, and two or more wavelength bands λ may be used.

[0101] The camera 10 has a zoom function. When the camera 10 captures the subject 200, the zoom function adjusts the field angle of the camera 10. The field angle of the camera 10 is set to include the subject 200 in the imaging range of the camera 10.

[0102] The processing device 90 is connected to the camera 10 so as to be communicable. The processing device 90 is, for example, an information processing device such as a personal computer or a server. The processing device 90 includes a display device 122 and a receiving device 124. The display device 122 is, for example, a liquid crystal display or an EL display. The receiving device 124 includes, for example, a keyboard, a mouse, and a touch pad. As described in detail later, the processing device 90 performs an inspection of the object 200 based on the information received by the receiving device 124 and the camera data received from the camera 10, and displays the inspection results and / or images on the display device 122.

[0103] Next, the imaging device 10 according to the first embodiment will be described in detail.

[0104] As an example, Figure 2 As shown, the imaging device 10 includes a lens device 12 and an imaging device body 14. The lens device 12 has a pupil dividing filter 16. As described above, the imaging device 10 is a multispectral camera that generates and outputs a plurality of spectral image data 72A to 72C by capturing light separated into a plurality of wavelength bands λ by the pupil dividing filter 16.

[0105] As an example, Figure 3 As shown, the pupil dividing filter 16 includes a housing 18, spectral filters 20A to 20C, and polarization filters 22A to 22C.

[0106] The frame 18 has openings 24A to 24C. The openings 24A to 24C are arranged around the optical axis 0A. Hereinafter, when it is not necessary to distinguish the openings 24A to 24C for description, each opening 24A to 24C is referred to as "opening 24". The spectroscopic filters 20A to 20C are respectively arranged at the openings 24A to 24C, and are arranged around the optical axis OA. As a result, the center of gravity of each spectroscopic filter 20A to 20C is located at a position different from the optical axis 0A.

[0107] Polarization filters 22A to 22C are respectively provided corresponding to spectroscopic filters 20A to 20C. Specifically, polarization filter 22A is provided at opening 24A and overlaps with spectroscopic filter 20A. Polarization filter 22B is provided at opening 24B and overlaps with spectroscopic filter 20B. Polarization filter 22C is provided at opening 24C and overlaps with spectroscopic filter 20C.

[0108] Each polarization filter 22A to 22C is a filter that transmits light vibrating in a specific direction. Polarization filters 22A to 22C have polarization axes with different polarization angles. Specifically, polarization filter 22A has a first polarization angle α1, polarization filter 22B has a second polarization angle α2, and polarization filter 22C has a third polarization angle α3. In addition, the polarization axis may also be referred to as a transmission axis. As an example, the first polarization angle α1 is set to 0°, the second polarization angle α2 is set to 45°, and the third polarization angle α3 is set to 90°.

[0109] Hereinafter, when it is not necessary to distinguish the polarization filters 22A to 22C for description, each polarization filter 22A to 22C is referred to as a "polarization filter 22". Also, when it is not necessary to distinguish the first polarization angle α1, the second polarization angle α2, and the third polarization angle α3 for description, the first polarization angle α1, the second polarization angle α2, and the third polarization angle α3 are referred to as "polarization angles α", respectively.

[0110] In addition, Figure 3 In the example shown, the number of the plurality of openings 24 is set to three corresponding to the number of the plurality of wavelength bands λ, but the number of the plurality of openings 24 may be greater than the number of the plurality of wavelength bands λ (i.e., the number of the plurality of spectroscopic filters 20). Furthermore, the unused openings 24 among the plurality of openings 24 may be blocked by a shielding member (not shown). Figure 3 In the illustrated example, the plurality of spectral filters 20 have different wavelength bands λ from each other, but the plurality of spectral filters 20 may include spectral filters 20 having the same wavelength band λ.

[0111] As an example, Figure 4 As shown, the lens device 12 includes an optical system 26 , and the imaging device body 14 includes an image sensor 28 . The optical system 26 includes a pupil dividing filter 16 , a first lens 30 , and a second lens 32 .

[0112] The first lens 30 allows the light reflected by the subject 200 to enter the pupil dividing filter 16. The second lens 32 forms an image of the light transmitted through the pupil dividing filter 16 on a light receiving surface 34A of a photoelectric conversion element 34 provided in the image sensor 28.

[0113] The pupil dividing filter 16 is arranged at the pupil position of the optical system 26. The pupil position refers to the aperture surface that limits the brightness of the optical system 26. The pupil position here also includes the vicinity position, and the vicinity position refers to the range from the entrance pupil to the exit pupil. The structure of the pupil dividing filter 16 is as follows: Figure 3 As described. Figure 4In FIG. 1 , for convenience, the plurality of spectral filters 20 and the plurality of polarization filters 22 are shown in a state of being arranged linearly in a direction orthogonal to the optical axis OA.

[0114] The image sensor 28 includes a photoelectric conversion element 34 and a signal processing circuit 36. As an example, the image sensor 28 is a CMOS image sensor. In the first embodiment, a CMOS image sensor is exemplified as the image sensor 28, but the technology of the present invention is not limited thereto. For example, even if the image sensor 28 is another type of image sensor such as a CCD image sensor, the technology of the present invention is also applicable.

[0115] As an example, Figure 4 Schematic structure of the photoelectric conversion element 34 is shown in FIG. And, as an example, Figure 5 Detailed description is given of a part of the structure of the photoelectric conversion element 34. The photoelectric conversion element 34 includes a pixel layer 38, a polarization filter layer 40, and a spectroscopic filter layer 42. Figure 5 The structure of the photoelectric conversion element 34 shown is only an example, and the technology of the present invention is also applicable even if the photoelectric conversion element 34 does not have the spectral filter layer 42 .

[0116] The pixel layer 38 has a plurality of pixels 44. The plurality of pixels 44 are arranged in a matrix to form a light receiving surface 34A of the photoelectric conversion element 34. Each pixel 44 is a physical pixel having a photodiode (not shown), performs photoelectric conversion on received light, and outputs an electrical signal corresponding to the received amount.

[0117] Hereinafter, the pixel 44 provided in the photoelectric conversion element 34 is referred to as a “physical pixel 44 ” to distinguish it from the pixel forming the spectral image represented by the spectral image data 72 . Also, the pixel forming the spectral image is referred to as an “image pixel”.

[0118] The photoelectric conversion element 34 outputs the electric signals output from the plurality of physical pixels 44 as imaging data to the signal processing circuit 36. The signal processing circuit 36 ​​digitizes the analog imaging data 70 input from the photoelectric conversion element 34. The imaging data 70 is image data representing a captured image.

[0119] The plurality of physical pixels 44 form a plurality of pixel blocks 46. Each pixel block 46 is formed by a total of four physical pixels 44, two in the vertical direction and two in the horizontal direction. Figure 4 In the figure, for convenience, the four physical pixels 44 forming each pixel block 46 are shown as being arranged in a straight line along a direction orthogonal to the optical axis OA, but the four physical pixels 44 are respectively arranged adjacent to each other in the longitudinal and lateral directions of the photoelectric conversion element 34 (refer to Figure 5 ).

[0120] The polarization filter layer 40 has a plurality of polarizers 48A to 48D. Each polarizer 48A to 48D is a filter that transmits light vibrating in a specific direction. The polarizers 48A to 48D have polarization axes with polarization angles that are different from each other. Specifically, the polarizer 48A has a first polarization angle β1, the polarizer 48B has a second polarization angle β2, the polarizer 48C has a third polarization angle β3, and the polarizer 48D has a fourth polarization angle β4. As an example, the first polarization angle β1 is set to 0°, the second polarization angle β2 is set to 45°, the third polarization angle β3 is set to 90°, and the fourth polarization angle β4 is set to 135°.

[0121] Hereinafter, when it is not necessary to distinguish the polarizers 48A to 48D for description, each polarizer 48A to 48D is referred to as a “polarizer 48”. Also, when it is not necessary to distinguish the first polarization angle β1, the second polarization angle β2, the third polarization angle β3, and the fourth polarization angle β4 for description, the first polarization angle β1, the second polarization angle β2, the third polarization angle β3, and the fourth polarization angle β4 are referred to as “polarization angles β”, respectively.

[0122] The spectroscopic filter layer 42 has a B filter 50A, a G filter 50B, and an R filter 50C. The B filter 50A is a blue-band filter that transmits the most light in the blue wavelength band among the multiple wavelength bands of light. The G filter 50B is a green-band filter that transmits the most light in the green wavelength band among the multiple wavelength bands of light. The R filter 50C is a red-band filter that transmits the most light in the red wavelength band among the multiple wavelength bands of light. The B filter 50A, the G filter 50B, and the R filter 50C are assigned to each pixel block 46. In addition, the spectroscopic filter layer 42 generally has an IR cutoff filter (not shown), but in the case where near-infrared light is captured by the camera device 10, it is preferable to remove the IR cutoff filter.

[0123] exist Figure 4 In the figure, for convenience, the B filter 50A, the G filter 50B and the R filter 50C are shown in a state of being arranged in a straight line in a direction orthogonal to the optical axis OA, but as an example, Figure 5 As shown in FIG. 1 , the B filter 50A, the G filter 50B, and the R filter 50C are arranged in a matrix in a predetermined pattern. Figure 5 In the example shown, as an example of a predetermined pattern arrangement, the B filter 50A, the G filter 50B, and the R filter 50C are arranged in a matrix in a Bayer arrangement. In addition, the predetermined pattern arrangement may be an RGB stripe arrangement, an R / G grid arrangement, an X-Trans (registered trademark) arrangement, or a honeycomb arrangement, etc., in addition to the Bayer arrangement.

[0124] Hereinafter, when it is not necessary to distinguish the B filter 50A, the G filter 50B, and the R filter 50C for description, the B filter 50A, the G filter 50B, and the R filter 50C are each referred to as a “filter 50 ”.

[0125] As an example, Figure 4 As shown, the imaging device body 14 includes a control driver 52, an input / output I / F 54, a computer 56, and a communication device 58 in addition to the image sensor 28. The signal processing circuit 36, the control driver 52, the computer 56, and the communication device 58 are connected to the input / output I / F 54.

[0126] The computer 56 has a processor 60, a memory 62, and a RAM 64. The processor 60 controls the entire imaging device 10. The processor 60 is, for example, a computing device including a CPU and a GPU, and the GPU operates under the control of the CPU and is responsible for executing image-related processing. Here, as an example of the processor 60, a computing device including a CPU and a GPU is cited, but this is only an example, and the processor 60 may be one or more CPUs with integrated GPU functions, or one or more CPUs without integrated GPU functions.

[0127] The processor 60, the memory 62 and the RAM 64 are connected via a bus 66, and the bus 66 is connected to the input / output I / F 54. The memory 62 is a non-temporary storage medium that stores various parameters and various programs. For example, the memory 62 is a flash memory (for example, an EEPROM). However, this is just an example, and a HDD or the like may be used together with the flash memory as the memory 62. The RAM 64 temporarily stores various information and is used as a working memory. As the RAM 64, for example, a DRAM and / or an SRAM may be cited.

[0128] The processor 60 reads necessary programs from the memory 62 and executes the read programs on the RAM 64. The processor 60 controls the control driver 52 and the signal processing circuit 36 ​​according to the programs executed on the RAM 64. The control driver 52 controls the photoelectric conversion element 34 under the control of the processor 94.

[0129] The communication device 58 is connected to the processor 60 via the input / output I / F 54 and the bus 66. Furthermore, the communication device 58 is connected to the processing device 90 in a wired or wireless manner so as to be communicable. The communication device 58 is responsible for sending and receiving information with the processing device 90. For example, the communication device 58 sends data corresponding to a request from the processor 60 to the processing device 90. Furthermore, the communication device 58 receives data sent from the processing device 90 and outputs the received data to the processor 60 via the bus 66.

[0130] As an example, Figure 6 As shown, a spectral image generation program 80 is stored in the memory 62. The processor 60 reads the spectral image generation program 80 from the memory 62 and executes the read spectral image generation program 80 on the RAM 64. The processor 60 performs a spectral image generation process for generating a plurality of spectral image data 72 according to the spectral image generation program 80 executed on the RAM 64. The spectral image generation process is realized by the processor 60 operating as an output value acquisition unit 82 and a noise removal processing unit 84 according to the spectral image generation program 80.

[0131] As an example, Figure 7 As shown, when the image data 70 output from the image sensor 28 is input to the processor 60, the output value acquisition unit 82 acquires the output value Y of each physical pixel 44 based on the image data 70. The output value Y of each physical pixel 44 corresponds to the brightness value of each image pixel included in the image data 70.

[0132] Here, the output value Y of each physical pixel 44 is a value including interference (i.e., crosstalk). That is, since light of each wavelength band λ of the first wavelength band λ1, the second wavelength band λ2, and the third wavelength band λ3 is incident on each physical pixel 44, the output value Y becomes a value corresponding to the amount of light in the first wavelength band λ1, the value corresponding to the amount of light in the second wavelength band λ2, and the value corresponding to the amount of light in the third wavelength band λ3 mixed.

[0133] In order to obtain the spectral image data 72, the processor 60 needs to perform a process of separating and extracting the values ​​corresponding to each wavelength band λ from the output value Y for each physical pixel 44, that is, a process of removing interference, on the output value Y. Therefore, in the first embodiment, in order to obtain the spectral image data 72, the interference removal processing unit 84 performs the interference removal process on the output value Y of each physical pixel 44 obtained by the output value acquisition unit 82.

[0134] Here, the noise removal process is described. For red, green, and blue, the output value Y of each physical pixel 44 includes each brightness value for each polarization angle β as a component of the output value Y. The output value Y of each physical pixel 44 is represented by equation (1).

[0135] [Formula 1]

[0136]

[0137] Among them, Y β1_R is the brightness value of the red component of the output value Y whose polarization angle is the first polarization angle β1, Y β2_R is the brightness value of the red component of the output value Y whose polarization angle is the second polarization angle β2, Y β3_Ris the brightness value of the red component of the output value Y with the polarization angle being the third polarization angle β3, Y β4_R It is the brightness value of the red component in the output value Y whose polarization angle is the fourth polarization angle β4.

[0138] And, Y β1_G is the brightness value of the green component of the output value Y whose polarization angle is the first polarization angle β1, Y β2_G is the brightness value of the green component of the output value Y whose polarization angle is the second polarization angle β2, Y β3_G is the brightness value of the green component with the third polarization angle β3 in the output value Y, β4_G It is the brightness value of the green component in the output value Y whose polarization angle is the fourth polarization angle β4.

[0139] And, Y β1_B is the brightness value of the blue component of the output value Y whose polarization angle is the first polarization angle β1, Y β2_B is the brightness value of the blue component of the output value Y whose polarization angle is the second polarization angle β2, Y β3_B is the brightness value of the blue component of the output value Y with the polarization angle being the third polarization angle β3, Y β4_B It is the brightness value of the blue component in the output value Y whose polarization angle is the fourth polarization angle β4.

[0140] The pixel value X of each image pixel forming the spectral image data 72 includes a brightness value X of polarized light in a first wavelength band λ1 having a first polarization angle α1 (hereinafter referred to as “first wavelength band polarized light”). λ1 , the brightness value X of the polarized light in the second wavelength band λ2 having the second polarization angle α2 (hereinafter referred to as “polarized light in the second wavelength band”) λ2 , and the brightness value X of the polarized light in the third wavelength band λ3 having the third polarization angle α3 (hereinafter referred to as “the third wavelength band polarized light”) λ3 As a component of the pixel value X. The pixel value X of each image pixel is expressed by equation (2).

[0141] [Formula 2]

[0142]

[0143] The output value Y of each physical pixel 44 is expressed by equation (3).

[0144] [Formula 3]

[0145] Y=A×X···(3)

[0146] In formula (3), A is an interference matrix. The interference matrix A (not shown) is a matrix representing interference characteristics. The interference matrix A is predetermined based on a plurality of known values ​​such as the spectrum of incident light, the spectral transmittance of the first lens 30, the spectral transmittance of the second lens 32, the spectral transmittance of the plurality of spectral filters 20, and the spectral sensitivity of the image sensor 28.

[0147] Let the general inverse matrix of the interference matrix A, that is, the interference removal matrix, be A + In the case of , the pixel value X of each image pixel is expressed by equation (4).

[0148] [Formula 4]

[0149] X=A + ×Y···(4)

[0150] Interference removal matrix A + Similar to the interference matrix A, this is a matrix defined based on the spectrum of the incident light, the spectral transmittance of the first lens 30, the spectral transmittance of the second lens 32, the spectral transmittance of the plurality of spectral filters 20, and the spectral sensitivity of the image sensor 28. + Stored in the memory 62 in advance.

[0151] The interference removal processing unit 84 obtains the interference removal matrix A stored in the memory 62 + and the output value Y of each physical pixel 44 acquired by the output value acquisition unit 82, and the interference removal matrix A is obtained based on the obtained + And the output value Y of each physical pixel 44, the pixel value X of each image pixel is output through equation (4).

[0152] Here, as described above, the pixel value X of each image pixel includes the brightness value X of the polarized light in the first wavelength band. λ1 , Brightness value X of polarized light in the second wavelength band λ2 And the brightness value X of the third wavelength band polarized light λ3 As the components of pixel value X.

[0153] The spectral image data 72A in the image data 70 is the brightness value X of the light in the first wavelength band λ1. λ1 The corresponding image (i.e., based on the brightness value X λ1 The spectral image data 72B in the imaging data 70 is the brightness value X of the light in the second wavelength band λ2. λ2 The corresponding image (i.e., based on the brightness value X λ2 The spectral image data 72C in the image data 70 is the brightness value X of the light in the third wavelength band λ3. λ3 The corresponding image (i.e., based on the brightness value X λ3 ).

[0154] In this way, by executing the noise removal processing by the noise removal processing unit 84, the image data 70 is separated into the brightness value X of the polarized light in the first wavelength band and the brightness value X of the polarized light in the first wavelength band. λ1 The corresponding spectral image data 72A and the brightness value X of the polarized light in the second wavelength band λ2 The corresponding spectral image data 72B and the brightness value X of the polarized light in the third wavelength band λ3 Corresponding spectral image data 72C. That is, the image data 70 is separated into spectral image data 72 for each wavelength band λ of the plurality of spectral filters 20 .

[0155] Next, the processing device 90 according to the first embodiment will be described in detail.

[0156] As an example, Figure 8 As shown, the processing device 90 includes a computer 92. The computer 92 includes a processor 94, a memory 96, and a RAM 98. The processor 94, the memory 96, and the RAM 98 are connected to the processor 60, the memory 62, and the RAM 64 (see Figure 4 ) are implemented by the same hardware. The processor 94 is an example of a "processor" involved in the technology of the present invention.

[0157] The memory 96 stores an inspection program 100. The processor 94 reads the inspection program 100 from the memory 96 and executes the read inspection program 100 on the RAM 98. The processor 94 performs inspection processing according to the inspection program 100 executed on the RAM 98. The inspection processing is realized by the processor 94 operating as the imaging data acquisition unit 102, the wavelength band selection unit 104, the image processing unit 106, the image area selection unit 108, the image data acquisition unit 110 and the display control unit 112 according to the inspection program 100. The inspection of the object 200 is performed by the inspection processing. The inspection may be any inspection. For example, as an inspection, an inspection for determining the quality of the object 200 can be cited. The inspection processing is described below by taking the case of performing an inspection for determining the quality of the object 200 as an example.

[0158] As an example, Fig. 9 As shown, the subject 200 is irradiated with light by a plurality of light sources 132. The imaging device 10 photographs the subject 200 in a state where the subject 200 is irradiated with light by the plurality of light sources 132. Furthermore, the imaging device 10 transmits imaging data 70 obtained by photographing the subject 200 to the processing device 90. The imaging data 70 is image data including a plurality of spectral image data 72. The imaging data is an example of the “second imaging data” involved in the technology of the present invention.

[0159] The imaging data acquisition unit 102 acquires the imaging data 70 received by the processing device 90. The wavelength band selection unit 104 selects two spectral image data 72 from among the plurality of spectral image data 72 included in the imaging data 70 acquired by the imaging data acquisition unit 102. Fig. 9 In the example shown, spectral image data 72A corresponding to light in the first wavelength band λ1 and spectral image data 72B corresponding to light in the second wavelength band λ2 are selected as two spectral image data 72. The two wavelength bands λ corresponding to the two spectral image data 72 are an example of the "plurality of wavelength bands" involved in the technology of the present invention.

[0160] The two wavelength bands λ can be obtained, for example, by the receiving device 124 (refer to Figure 1 ) received from a user or the like, or may be selected based on the result of image analysis processing performed on a plurality of spectral image data 72. Fig. 9 In the example shown, two wavelength bands λ are selected from three wavelength bands λ corresponding to the three spectral filters 20 included in the pupil dividing filter 16. However, when the pupil dividing filter 16 includes four or more spectral filters 20, two wavelength bands λ may be selected from the four or more wavelength bands λ.

[0161] Furthermore, the two wavelength bands λ may be selected from, for example, two or more predetermined combinations, or may be selected based on the attributes of the subject 200 (e.g., the type of the subject, etc.). Furthermore, the two wavelength bands λ may be selected based on the imaging conditions of the subject 200 (e.g., the lighting conditions based on the plurality of light sources 132). The lighting conditions may include the wavelength bands λ of the light emitted by the plurality of light sources 132 and / or the output of the light.

[0162] For example, when the subject 200 is a plant, two wavelength bands λ can also be selected from the first combination and the second combination, wherein the first combination is a combination of a near-infrared wavelength band with 850nm as the center wavelength and a red wavelength band with 650nm as the center wavelength, and the second combination is a combination of a red wavelength band with 717nm as the center wavelength and a green wavelength band with 560nm as the center wavelength.

[0163] The image processing unit 106 acquires the video data 70 including the spectral image data 72 corresponding to the light of the two wavelength bands λ selected by the wavelength band selection unit 104, and performs image processing on the video image 74 represented by the video data 70. The image processing may include processing related to the noise contained in the video image 74. The processing related to the noise may include edge enhancement processing and / or noise reduction processing. In addition, the image processing unit 106 may also perform arithmetic processing on the video image 74. The arithmetic processing may include processing related to the visibility of the video image 74. The processing related to the visibility may include grayscale processing and / or gamma correction processing. In addition, before and after the processing related to the noise, etc., the spectral image data 72 may be subjected to processing for correcting the illumination distribution of the lighting, the spectral intensity of the lighting, the reduction of the peripheral light amount of the camera device 10, and / or the distortion of the image.

[0164] The image processing unit 106 may also process a comparison chart 142 (see FIG. 142 ) represented by the image data 140 described later. Fig.10 ) instead of performing image processing on the captured image 74 represented by the captured image data 70. Furthermore, the image processing unit 106 may perform arithmetic processing on a comparison chart 142 represented by image data 140 described later, instead of performing arithmetic processing on the captured image 74 represented by the captured image data 70.

[0165] As an example, Fig.10 As shown, the captured image 74 includes the subject 200 as an image. The subject 200 is represented by colors corresponding to the two wavelength bands λ selected by the wavelength band selection unit 104 .

[0166] The image area selection unit 108 selects an image area 76 from the captured image 74. The image area 76 may be selected based on, for example, the image area 76 received from the receiving device 124 (see Figure 1 ) received from a user or the like, or may be selected based on the result of image analysis processing performed on the captured image 74. The image area 76 is selected from an area further inside the outer edge of the subject 200 included as an image in the captured image 74. Fig.10 In the example shown, a quadrilateral region is selected as the image region 76 , but the image region 76 may be any shape. Also, the image region 76 may be selected freehand. The image region 76 is an image region corresponding to the selected region in the subject 200 .

[0167] The image data acquisition unit 110 acquires image data 140 representing a contrast graph 142 from the image data 70 in which the image region 76 is selected by the image region selection unit 108. Specifically, the image data acquisition unit 110 derives the contrast C of the brightness of the light of the two wavelength bands λ for each image pixel included in the image region 76 by using equation (5), and generates an image representing the contrast C of each image pixel by a heat map, i.e., a contrast graph 142. Among them, L1 represents the brightness of the light of one wavelength band λ of the two wavelength bands λ in each image pixel, and L2 represents the brightness of the light of the other wavelength band λ of the two wavelength bands λ in each image pixel.

[0168] [Formula 5]

[0169] C=(L1-L2)÷(L1+L2)···(5)

[0170] In addition, equation (5) is an equation for Michelson contrast, and is derived from equation (6).

[0171] [Formula 6]

[0172] C=((L1-L2) / 2)÷((L1+L2) / 2)···(6)

[0173] Furthermore, in the case where the subject 200 is a plant and the near-infrared wavelength band and the red wavelength band are selected as the two wavelength bands λ, the normalized vegetation index NDVI can also be derived as the above-mentioned contrast C by using formula (7). Furthermore, as a comparison chart 142, an image representing the normalized vegetation index NDVI of each image pixel, i.e., an NDVI chart, can also be generated. Among them, NIR represents the brightness of the light of the near-infrared wavelength band in each image pixel, and Red represents the brightness of the light of the red wavelength band in each image pixel.

[0174] [Formula 7]

[0175] NDVI=(NIR-Red)÷(NIR+Red)···(7)

[0176] Furthermore, although an example of deriving the contrast C is given here, an indicator related to determining the quality of the subject 200 may be derived using an equation other than equation (5). Furthermore, the indicator may be an indicator related to determination other than determining the quality of the subject 200. Furthermore, in addition to the contrast C, the indicator may be an indicator based on the brightness of light in two wavelength bands λ. Furthermore, in addition to the heat map, the comparison graph 142 may also be represented by a contour map or the like. Furthermore, as an example of an indicator, it may be "the brightness of light in wavelength band λ" and / or "the sum of the brightness of light in multiple wavelength bands λ".

[0177] The contrast C corresponding to each image pixel included in the comparison map 142 is an example of the "index" and "contrast" involved in the technology of the present invention. The normalized vegetation index NDVI corresponding to each image pixel included in the NDVI map is an example of the "normalized vegetation index" involved in the technology of the present invention.

[0178] The display control unit 112 acquires the image data 140 acquired by the image data acquisition unit 110. Then, the display control unit 112 controls the display device 122 to display the image data 140. Thus, the comparison chart 142 represented by the image data 140 is displayed on the display device 122.

[0179] In this way, according to the processing device 90, the comparison chart 142 can be displayed on the display device 122. Thus, based on the comparison chart 142, the quality of the subject 200 can be determined by visual observation.

[0180] However, since the display range of the contrast chart 142 suitable for visual observation varies depending on the imaging conditions such as the subject 200 and lighting, the display range may become unsuitable for visual observation depending on the imaging conditions.

[0181] Here, Fig.11 1 shows a first example of a case where the display range is changed differently for the comparison image 142 including the first subject 200A and the second subject 200B. Fig.11 In the contrast diagram 142, the lightness and darkness of the contrast diagram 142 indicate the magnitude of the contrast C. As an example, the second subject 200B is a subject having a larger contrast C than the first subject 200A. Here, the large contrast C refers to a case where, for example, the representative value (i.e., the average value, the maximum value, or the central value, etc.) of the contrast C is large. For example, the first subject 200A is a subject of a plurality of seeds assumed to be defective, and the second subject 200B is a subject of a plurality of seeds assumed to be good.

[0182] Fig.11 (A) shows an example of a case where the display range is wider than the display range suitable for visual observation, that is, an example of a case where the display range is too wide. Fig.11 (B) shows the Fig.11 The display range shown in (A) is an example of a case where the display range is narrowed to set the display range to a display range suitable for visual observation. The display range suitable for visual observation is determined by the recognition ability of the observer, that is, the user.

[0183] like Fig.11 As shown in (A), when the display range is too wide, the noise included in the comparison image 142 is not obvious, and it is difficult to confirm the difference between the first object 200A and the second object 200B by visual observation. Fig.11As shown in (B), if the display range is reduced, the noise increases, and the difference between the first subject 200A and the second subject 200B can be confirmed by visual observation.

[0184] Fig.12 2 shows a second example of making the display range different for the comparison chart 142 including the first subject 200A and the second subject 200B. Fig.12 The second example shown is a comparison of the amount of noise included in Figure 142. Fig.11 The first example shown is more of an example.

[0185] Fig.12 (A) shows an example of a case where the display range is narrower than the display range suitable for visual observation, that is, an example of a case where the display range is too narrow. Fig.12 (B) shows the Fig.12 The display range shown in (A) is an example of a case where the display range is enlarged and the display range is set to a display range suitable for visual observation.

[0186] like Fig.12 As shown in (A), when the display range is too narrow, the noise included in the comparison image 142 becomes obvious, and it is difficult to confirm the difference between the first object 200A and the second object 200B by visual observation. Fig.12 As shown in (A), if the display range is expanded, the contrast C of the second subject 200B is slightly higher than that of the first subject 200A, and the difference between the first subject 200A and the second subject 200B can be confirmed by visual observation.

[0187] Fig.13 2 shows a third example in which the display range is made different for the comparison chart 142 including the first subject 200A and the second subject 200B. Fig.13 The third example shown is a comparison of the amount of noise included in Figure 142 and Fig.11 The same example as Example 1 shown.

[0188] Fig.13 (A) shows an example of a case where the display range is lower than the display range suitable for visual observation, that is, an example of a case where the display range is too low. Fig.13 (B) shows an example of a case where the display range is higher than the display range suitable for visual observation, that is, a case where the display range is too high.

[0189] like Fig.13 As shown in (A), when the display range is too low, it is difficult to visually confirm the difference between the first object 200A and the second object 200B. Fig.13As shown in (B), when the display range is too high, it is difficult to visually confirm the difference between the first subject 200A and the second subject 200B.

[0190] Thus, when displaying the comparison chart 142, if the display range is not appropriate, it is difficult to confirm the difference between the first object 200A and the second object 200B by visual observation. Therefore, when the inspection process is executed in the processing device 90, the display range suitable for visual observation is determined as the display range used in the inspection process by executing the following display range determination process.

[0191] As an example, Fig.14 As shown, a display range determination program 150 is stored in the memory 96 of the processing device 90. The display range determination program 150 is an example of a "program" involved in the technology of the present invention. The processor 94 reads the display range determination program 150 from the memory 96 and executes the read display range determination program 150 on the RAM 98. The processor 94 performs a display range determination process for determining the display range according to the display range determination program 150 executed on the RAM 98. The display range is an example of a "display condition" involved in the technology of the present invention. The display range determination process is implemented by the processor 94 acting as a camera data acquisition unit 152, a wavelength band selection unit 154, an image processing unit 156, an image area selection unit 158, an image data acquisition unit 160, a display range determination unit 161 and a display control unit 162 according to the display range determination program 150.

[0192] As an example, Fig.15 As shown, in the display range determination process, the first subject 200A and the second subject 200B are used as the subject 200. The first subject 200A and the second subject 200B are the same type of subjects. The second subject 200B is a subject with a larger contrast C than the first subject 200A. Here, the contrast C is large, for example, when the representative value (i.e., average value, maximum value, or median value, etc.) of the contrast C is large.

[0193] For example, the first subject 200A is a plurality of seeds of defective products, and the second subject 200B is a plurality of seeds of good products. The first subject 200A is an example of the "first subject" involved in the technology of the present invention, and the second subject 200B is an example of the "second subject" involved in the technology of the present invention. The first subject 200A and the second subject 200B are sequentially photographed by the camera device 10 under the same shooting conditions while being illuminated by the plurality of light sources 132.

[0194] When the first subject 200A is captured, the image data acquisition unit 152 acquires the first image data 70A, which is image data sent from the image capture device 10 and received by the processing device 90. Furthermore, when the second subject 200B is captured, the image data acquisition unit 152 acquires the second image data 70B, which is image data sent from the image capture device 10 and received by the processing device 90. Thus, the image data acquisition unit 152 acquires image data 70 including the first and second objects 200A and 200B captured by the image capture device 10, that is, the first image data 70A corresponding to the first object 200A and the second image data 70B corresponding to the second object 200B. The image data 70 including the first and second objects 200A and 200B is an example of the "first image data" involved in the technology of the present invention.

[0195] In addition, the first object 200A and the second object 200B can be photographed separately or together. Then, the image data acquisition unit 152 can acquire the image data 70 including the first image data 70A corresponding to the first object 200A and the second image data 70B corresponding to the second object 200B.

[0196] As an example, Fig.16 As shown, similarly to the wavelength band selection unit 104 described above, the wavelength band selection unit 154 selects two spectral image data 72 from among the plurality of spectral image data 72 included in the image data 70 acquired by the image data acquisition unit 152. That is, the wavelength band selection unit 154 selects two spectral image data 72 from among the plurality of spectral image data 72 included in the first image data 70A, and selects two spectral image data 72 from among the plurality of spectral image data 72 included in the second image data 70B. In this case, the wavelength band selection unit 154 selects the spectral image data 72 corresponding to the light of the same two wavelength bands λ from the first image data 70A and the second image data 70B, respectively. Furthermore, the wavelength band selection unit 154 selects the same two wavelength bands λ as the two wavelength bands λ selected in the inspection process.

[0197] exist Fig.16 In the illustrated example, as the two spectral image data 72 , spectral image data 72A corresponding to light in the first wavelength band λ1 and spectral image data 72B corresponding to light in the second wavelength band λ2 are selected.

[0198] The image processing unit 156 obtains the video data 70 including the first video data 70A and the second video data 70B for which two wavelength bands λ are selected by the wavelength band selection unit 154, and performs image processing on the first video image 74A represented by the first video data 70A and the second video image 74B represented by the second video data 70B. The image processing in this case is the same as the image processing performed by the above-mentioned image processing unit 106. In addition, the image processing unit 156 may also perform arithmetic processing on the first video image 74A and the second video image 74B. The arithmetic processing in this case is the same as the arithmetic processing performed by the above-mentioned image processing unit 106. Image processing is an example of "image processing" involved in the technology of the present invention. Arithmetic processing is an example of "arithmetic processing" involved in the technology of the present invention.

[0199] The image processing unit 156 may also process a first comparison graph 142A and a second comparison graph 142B (see FIG. 142B ) represented by the image data 140 described later. Fig.17 ) instead of performing image processing on the first captured image 74A and the second captured image 74B represented by the captured image data 70. Furthermore, the image processing unit 156 may perform arithmetic processing on a first comparison graph 142A and a second comparison graph 142B represented by the image data 140 described later, instead of performing arithmetic processing on the first captured image 74A and the second captured image 74B represented by the captured image data 70.

[0200] As an example, Fig.17 As shown, the first captured image 74A includes the first subject 200A as an image, and the second captured image 74B includes the second subject 200B as an image. The first subject 200A and the second subject 200B are respectively represented by colors corresponding to the two wavelength bands λ selected by the wavelength band selection unit 154 .

[0201] The image area selection unit 158 ​​selects the first image area 76A from the first camera image 74A. Similarly, the image area selection unit 158 ​​selects the second image area 76B from the second camera image 74B. The size and / or shape of the first image area 76A and the second image area 76B may be the same or different from each other. The first image area 76A and the second image area 76B may be, for example, based on the image data received by the receiving device 124 (refer to Figure 1 ) may be selected based on an image area selection instruction received from a user or the like, or may be selected based on the result of image analysis processing performed on the first camera image 74A and the second camera image 74B.

[0202] The first image area 76A is selected from an area further inside the outer edge of the first subject 200A included as an image in the first camera image 74A. Similarly, the second image area 76B is selected from an area further inside the outer edge of the second subject 200B included as an image in the second camera image 74B. Fig.17 In the example shown, a quadrilateral region is selected as the first image region 76A, but the shape of the first image region 76A may be any shape. Fig.17 In the example shown, a quadrilateral region is selected as the second image region 76B, but the shape of the second image region 76B may be any shape. Furthermore, the first image region 76A and the second image region 76B may be selected manually. The first image region 76A is an image region corresponding to the selected region of the first subject 200A, and the second image region 76B is an image region corresponding to the selected region of the second subject 200B.

[0203] Similar to the above-described image data acquisition unit 110, the image data acquisition unit 160 acquires the first image data 140A representing the first comparison graph 142A from the first image data 70A in which the first image region 76A is selected by the image region selection unit 158. Also, similar to the above-described image data acquisition unit 110, the image data acquisition unit 160 acquires the second image data 140B representing the second comparison graph 142B from the second image data 70B in which the second image region 76B is selected by the image region selection unit 158.

[0204] Specifically, the image data acquisition unit 160 derives the brightness contrast C of the light of the two wavelength bands λ for each image pixel included in the first image area 76A by using the above formula (5), and generates an image, i.e., a first contrast image 142A, in which the contrast C of each image pixel is represented by a heat map. Furthermore, the image data acquisition unit 160 derives the brightness contrast C of the light of the two wavelength bands λ for each image pixel included in the second image area 76B by using the above formula (5), and generates an image, i.e., a second contrast image 142B, in which the contrast C of each image pixel is represented by a heat map. Thus, a contrast image 144 including the first contrast image 142A and the second contrast image 142B is obtained. The contrast image 144 is an image on which the above image processing and / or calculation processing is performed. However, in the following description, it is assumed that there is residual noise in the contrast image 144.

[0205] The image data 140 including the first image data 140A and the second image data 140B is an example of the “first image data” involved in the technology of the present invention. The contrast image 144 is an example of the “image represented by the first image data” involved in the technology of the present invention. The contrast C corresponding to each image pixel included in the first contrast image 142A is an example of the “first index” involved in the technology of the present invention, and the contrast C corresponding to each image pixel included in the second contrast image 142B is an example of the “second index” involved in the technology of the present invention.

[0206] The display range determination unit 161 determines the display range according to the following points based on the first image data 140A and the second image data 140B. First, the display range determination unit 161 derives the representative value of the contrast C included in the first contrast graph 142A (hereinafter referred to as the "first contrast representative value Ca"). In addition, the display range determination unit 161 derives the representative value of the contrast C included in the second contrast graph 142B (hereinafter referred to as the "second contrast representative value Cb"). The representative value may be any one of the average value, maximum value, and median value of the contrast C.

[0207] Next, the display range determination unit 161 derives the difference (hereinafter, also referred to as “difference”) between the first contrast representative value Ca and the second contrast representative value Cb. The difference between the first contrast representative value Ca and the second contrast representative value Cb indicates the relationship between the first subject 200A and the second subject 200B in the contrast map image 144 in a state including noise. In addition, as described above, since the image processing and / or calculation processing is performed on the imaging data 70 and / or the image data 140, the difference between the first contrast representative value Ca and the second contrast representative value Cb is the difference in a state where the image processing and / or calculation processing is performed on the contrast map image 144. The difference is an example of “the relationship between the first subject and the second subject”, “the relationship between the indices between the first subject and the second subject”, and “the degree of difference between the first index and the second index” involved in the technology of the present invention. Then, the display range determination unit 161 determines the display range by selecting which of the first display range and the second display range is based on the difference.

[0208] Specifically, when the difference is greater than a predetermined threshold value D, the display range determination unit 161 selects the first display range from the first display range and the second display range. On the other hand, when the difference is less than the threshold value D, the display range determination unit 161 selects the second display range from the first display range and the second display range. In this way, the display range is selected from the first display range and the second display range according to the size of the difference between the first contrast representative value Ca and the second contrast representative value Cb. The first display range and the second display range are examples of the “plurality of display ranges” involved in the technology of the present invention.

[0209] The threshold D for selecting the display range can be arbitrarily determined, for example, based on the amount of noise contained in the first comparison graph 142A and the second comparison graph 142B obtained in advance. For example, the threshold D may be larger as the amount of noise increases, or the threshold D may be smaller as the amount of noise decreases. The threshold D may be set to 0.06, for example. The threshold D is an example of a "threshold" involved in the technology of the present invention.

[0210] When the first display range is selected, the display range determination unit 161 determines the upper limit value MAX of the first display range by using equation (8), and determines the lower limit value MIN of the first display range by using equation (9). Here, C1 is the larger value of the first contrast representative value Ca and the second contrast representative value Cb, and B1 is the first correction value. Furthermore, C2 is the smaller value of the first contrast representative value Ca and the second contrast representative value Cb, and B2 is the second correction value.

[0211] [Formula 8]

[0212] MAX=C1+B1···(8)

[0213] [Formula 9]

[0214] MN=C2+B2···(9)

[0215] In this way, when the difference is greater than the threshold value D, the upper limit value MAX of the display range is determined according to the larger value of the first contrast representative value Ca and the second contrast representative value Cb, and the lower limit value MIN of the display range is determined according to the smaller value of the first contrast representative value Ca and the second contrast representative value Cb.

[0216] In addition, the first correction value B1 and the second correction value B2 can also be arbitrarily determined based on the amount of noise contained in the first comparison graph 142A and the second comparison graph 142B obtained in advance. For example, the greater the amount of noise, the larger the first correction value B1 and the second correction value B2, or the smaller the amount of noise, the smaller the first correction value B1 and the second correction value B2. The first correction value B1 and the second correction value B2 can be set to 0.03, for example. The first correction value B1 and the second correction value B2 can be the same value or different values ​​from each other. The first correction value B1 is an example of the "first correction value" involved in the technology of the present invention, and the second correction value B2 is an example of the "second correction value" involved in the technology of the present invention.

[0217] On the other hand, when the second display range is selected, the display range determination unit 161 determines the difference between the upper limit value MAX and the lower limit value MIN of the second display range as the threshold value D, and determines the upper limit value MAX of the second display range by equation (10), and determines the lower limit value MIN of the second display range by equation (11). Here, (Ca+Cb)÷2 is the average value of the first contrast representative value Ca and the second contrast representative value Cb, B3 is the third correction value, and B4 is the fourth correction value.

[0218] [Formula 10]

[0219] MAX=(Ca+Cb)÷2+B3···(10)

[0220] [Formula 11]

[0221] MIN=(Ca+Cb)÷2-B4···(11)

[0222] In this way, when the difference is less than or equal to the threshold value D, the upper limit value MAX and the lower limit value MIN of the display range are determined based on the average value of the first contrast representative value Ca and the second contrast representative value Cb. Furthermore, the upper limit value MAX of the display range is determined based on the average value and the third correction value, and the lower limit value MIN of the display range is determined based on the average value and the fourth correction value.

[0223] In addition, the third correction value B3 and the fourth correction value B4 can be arbitrarily determined based on the amount of noise contained in the first comparison graph 142A and the second comparison graph 142B obtained in advance. For example, the third correction value B3 and the fourth correction value B4 may be larger as the amount of noise increases, or the third correction value B3 and the fourth correction value B4 may be smaller as the amount of noise decreases. The third correction value B3 and the fourth correction value B4 may be set to 0.03, for example. The third correction value B3 and the fourth correction value B4 may be the same value or different values ​​from each other. Furthermore, the first correction value B1, the second correction value B2, the third correction value B3 and the fourth correction value B4 may be a combination of any values. The third correction value B3 is an example of the "third correction value" involved in the technology of the present invention, and the fourth correction value B4 is an example of the "fourth correction value" involved in the technology of the present invention.

[0224] In this way, the display range is determined by selecting which one of the first display range and the second display range is selected according to the relationship between the difference and the threshold value D. In addition, an example of selecting the display range from the first display range and the second display range is given here, but the display range may be selected from three or more display ranges. According to the above points, the display range is determined based on the first image data 140A and the second image data 140B.

[0225] As an example, Fig.18As shown, the display control unit 162 acquires the image data 140 acquired by the image data acquisition unit 160 and the display range determined by the display range determination unit 161. Then, the display control unit 162 controls the display device 122 to display the image data 140 in the acquired display range. As a result, the first comparison image 142A including the first subject 200A and the second comparison image 142B including the second subject 200B are displayed on the display device 122 in the display range determined by the display range determination unit 161.

[0226] Thus, in the inspection process executed after the display range is determined in the display range determination process, the new object 200 to be inspected is photographed to obtain the image data 70, and the above-mentioned inspection process is performed according to the obtained image data 70 (refer to FIG. Fig. 9 and Fig.10 ) to obtain image data 140.

[0227] Moreover, as an example, Fig.19 As shown, in the inspection process performed after the display range is determined in the display range determination process, the display control unit 112 acquires the image data 140 acquired by the image data acquisition unit 110 and the display range determined by the display range determination unit 161, and controls the display of the image data 140 in the acquired display range on the display device 122. As a result, the comparison image 142 including the new object 200 as the inspection object is displayed on the display device 122 in the display range determined by the display range determination unit 161.

[0228] In the inspection process performed after the display range is determined in the display range determination process, the new subject 200 photographed by the imaging device 10 is an example of the "third subject" involved in the technology of the present invention, and the contrast C corresponding to each image pixel included in the contrast graph 142 corresponding to the new subject 200 is an example of the "third index" involved in the technology of the present invention. In addition, in the inspection process performed after the display range is determined in the display range determination process, the imaging data 70 acquired by the imaging data acquisition unit 102 is an example of the "second imaging data" involved in the technology of the present invention, and the image data 140 acquired by the image data acquisition unit 110 is an example of the "second image data" involved in the technology of the present invention.

[0229] In addition, in the above description, an example of determining the display range for the image data 140 is given, but display conditions other than the display range may be determined. Also, in the above description, the display range is determined based on the difference between the first contrast representative value Ca and the second contrast representative value Cb, but in addition to the difference between the first contrast representative value Ca and the second contrast representative value Cb, the display range may be determined based on the relationship between the first object 200A and the second object 200B. In this case, the relationship between the first object 200A and the second object 200B may include, for example, attributes such as the types of the first object 200A and the second object 200B, and may also include imaging conditions such as lighting conditions of the first object 200A and the second object 200B.

[0230] Furthermore, in the above description, the display range is determined based on the relationship between the first subject 200A and the second subject 200B in the comparison image 144, but the display range may be determined based on the relationship between the first subject 200A and the second subject 200B relative to the subjects previously photographed by the imaging device 10 (i.e., the relationship of comparing the real objects with each other). Furthermore, the subjects previously photographed in this case may include a third subject of the same type as the first subject 200A and a fourth subject of the same type as the second subject 200B. Then, the display range may be determined based on the relationship between the first subject 200A and the third subject and / or the relationship between the second subject 200B and the fourth subject.

[0231] Next, the operation of the inspection system 130 according to the first embodiment will be described. First, the spectral image generation process executed by the imaging device 10 according to the first embodiment will be described. Fig. 20 An example of the flow of the spectral image generation process according to the first embodiment is shown in FIG.

[0232] exist Fig. 20 In the spectral image generation process shown in FIG. 1 , first, in step ST10, the output value acquisition unit 82 acquires the output value Y of each physical pixel 44 based on the imaging data 70 output from the image sensor 28 (see FIG. 1 ). Figure 7 ). After the process of step ST10 is executed, the spectrum image generation process shifts to step ST12.

[0233] In step ST12, the interference removal processing unit 84 obtains the interference removal matrix A stored in the memory 62. + and the output value Y of each physical pixel 44 obtained in step ST10, and the interference removal matrix A is obtained based on the obtained + and the output value Y of each physical pixel 44, outputting the pixel value X of each image pixel (reference Figure 7By executing the noise removal process in step ST12, the image data 70 is separated into the brightness value X of the polarized light in the first wavelength band and the brightness value X of the polarized light in the first wavelength band. λ1 The corresponding spectral image data 72A and the brightness value X of the polarized light in the second wavelength band λ2 The corresponding spectral image data 72B and the brightness value X of the polarized light in the third wavelength band λ3 The corresponding spectral image data 72C. After the process of step ST12 is executed, the spectral image generation process ends.

[0234] Next, the display range determination process executed by the processing device 90 according to the first embodiment will be described. Fig.21 An example of the flow of the display range determination process according to the first embodiment is shown in FIG.

[0235] exist Fig.21 In the display range determination process shown in FIG. 1 , first, in step ST20, the image data acquisition unit 152 acquires the image data 70 (see FIG. 1 ) including the first image data 70A corresponding to the first subject 200A photographed by the image camera 10 and the second image data 70B corresponding to the second subject 200B photographed by the image camera 10. Fig.15 ). After the process of step ST20 is executed, the display range determination process transfers to step ST22.

[0236] In step ST22, the wavelength band selection unit 154 selects two spectral image data 72 (see FIG. 1 ) from among the plurality of spectral image data 72 for the first imaging data 70A and the second imaging data 70B acquired in step ST20. Fig.16 ). After the process of step ST22 is executed, the display range determination process transfers to step ST24.

[0237] In step ST24, the image processing unit 156 acquires the first image data 70A including the two spectral image data 72 selected in step ST22, and performs image processing on the first image 74A represented by the first image data 70A (see FIG. 1 ). Fig.16 ). Then, the image processing unit 156 acquires the second imaging data 70B including the two spectral image data 72 selected in step ST22, and performs image processing on the second imaging image 74B represented by the second imaging data 70B (refer to Fig.16 ). After the process of step ST24 is executed, the display range determination process transfers to step ST26.

[0238] In step ST26, the image area selection unit 158 ​​selects the first image area 76A (see FIG. 1 ) from the first captured image 74A on which the image processing has been performed in step ST24. Fig.17). Then, the image area selection unit 158 ​​selects the second image area 76B (reference number 76B) from the second captured image 74B on which the image processing has been performed in step ST24. Fig.17 ). After the process of step ST26 is executed, the display range determination process transfers to step ST28.

[0239] In step ST28, the image data acquisition unit 160 acquires the first image data 140A (reference numeral 142A) representing the first comparison graph 142A from the first imaging data 70A in which the first image region 76A is selected in step ST26. Fig.17 ). Then, the image data acquisition unit 160 acquires the second image data 140B (reference number 142B) representing the second comparison chart 142B from the second imaging data 70B in which the second image area 76B is selected in step ST26. Fig.17 ). After the process of step ST28 is executed, the display range determination process transfers to step ST30.

[0240] In step ST30, the display range determination unit 161 determines the display range based on the first image data 140A and the second image data 140B acquired in step ST28 (see FIG. 140A ). Fig.17 ). After the process of step ST30 is executed, the display range determination process transfers to step ST32.

[0241] In step ST32, the display control unit 162 acquires the image data 140 including the first image data 140A and the second image data 140B acquired in step ST28 and the display range determined in step ST30, and controls the display of the image data 140 on the display device 122 in the acquired display range (see FIG. 14). Fig.18 ). Thus, in the display range determined by step ST30, the first comparison image 142A including the first subject 200A and the second comparison image 142B including the second subject 200B are displayed on the display device 122. After the process of step ST32 is executed, the display range determination process ends. In addition, the display range determination method executed by the above-mentioned display range determination process is an example of the "display condition determination method" involved in the technology of the present invention.

[0242] Next, the inspection process executed by the processing device 90 according to the first embodiment will be described. Fig. 22 An example of the flow of the inspection process according to the first embodiment is shown in FIG.

[0243] exist Fig. 22 In the inspection process shown in FIG. 1 , first, in step ST40, the image data acquisition unit 102 acquires the image data 70 (see FIG. 1 ) corresponding to the object 200 photographed by the image pickup device 10. Fig. 9). After the process of step ST40 is executed, the inspection process transfers to step ST42.

[0244] In step ST42, the wavelength band selection unit 104 selects two spectral image data 72 (see FIG. 1 ) from among the plurality of spectral image data 72 included in the imaging data 70 acquired in step ST40. Fig. 9 ). After the process of step ST42 is executed, the inspection process transfers to step ST44.

[0245] In step ST44, the image processing section 106 acquires the image data 70 including the two spectral image data 72 selected in step ST42, and performs image processing on the image 74 represented by the image data 70 (refer to FIG. 1 ). Fig. 9 ). After the processing of step ST44 is executed, the inspection process transfers to step ST46.

[0246] In step ST46, the image area selection unit 108 selects an image area 76 (see FIG. 1 ) from the captured image 74 on which the image processing has been performed in step ST44. Fig.10 ). After executing the process of step ST46, the inspection process transfers to step ST48.

[0247] In step ST48, the image data acquisition unit 110 acquires the image data 140 (see FIG. 140 ) representing the comparison chart 142 from the image data 70 in which the image area 76 is selected in step ST46. Fig.10 and Fig.19 ). After the process of step ST48 is executed, the inspection process transfers to step ST50.

[0248] In step ST50, the display control unit 112 acquires the image data 140 acquired in step ST48 and the display range determined in step ST30, and controls the display of the image data 140 on the display device 122 in the acquired display range (see FIG. 14 ). Fig.19 ). Thus, in the display range determined by step ST30, the comparison graph 142 including the subject 200 is displayed on the display device 122. After the processing of step ST50 is performed, the inspection process ends. In addition, the inspection method performed by the above-mentioned inspection process is an example of the "inspection method" involved in the technology of the present invention. And, in the display range determined by step ST30, the image display method of displaying the comparison graph 142 including the subject 200 on the display device 122 is an example of the "image display method" involved in the technology of the present invention.

[0249] Next, the effects of the first embodiment will be described.

[0250] As described above, in the processing device 90 according to the first embodiment, the processor 94 acquires the image data 70 including the first subject 200A and the second subject 200B captured by the image capturing device 10, and acquires the image data 140 including the first image data 140A representing the first comparison chart 142A corresponding to the first subject 200A and the second image data 140B representing the second comparison chart 142B corresponding to the second subject 200B from the image data 70. Then, the processor 94 determines the display range of the image data 140 based on the difference between the first contrast representative value Ca included in the first comparison chart 142A and the second contrast representative value Cb included in the second comparison chart 142B. Therefore, compared with, for example, a case where the display range is fixed to a predetermined display range or a case where the display range is determined regardless of the relationship between the first object 200A and the second object 200B, the difference between the first object 200A and the second object 200B can be determined. Thus, the quality of the object 200 can be determined in the inspection process.

[0251] Furthermore, the difference between the first contrast representative value Ca and the second contrast representative value Cb indicates the relationship between the first object 200A and the second object 200B in the comparison chart image 144 in a state including noise. Therefore, even if the comparison chart image 144 includes noise, by determining the display range to be the display range corresponding to the difference between the first contrast representative value Ca and the second contrast representative value Cb, the difference between the first object 200A and the second object 200B can be determined.

[0252] Then, the image data 140 is generated based on the brightness contrast C of the light in the two wavelength bands λ. Therefore, the difference between the first object 200A and the second object 200B can be determined based on the brightness contrast C of the light in the two wavelength bands λ.

[0253] Then, two wavelength bands λ are selected according to the attributes of the first object 200A and the second object 200B. Therefore, it is possible to obtain a comparison chart image 144 corresponding to the attributes of the first object 200A and the second object 200B.

[0254] Then, two wavelength bands λ are selected according to the imaging conditions of the first object 200A and the second object 200B. Therefore, it is possible to obtain a comparison chart image 144 corresponding to the imaging conditions of the first object 200A and the second object 200B.

[0255] Furthermore, the comparison chart image 144 is an image that has been subjected to image processing and / or calculation processing. Therefore, the visibility of the difference between the first subject 200A and the second subject 200B can be improved compared to a case where the comparison chart image 144 is not subjected to image processing and / or calculation processing.

[0256] Then, the display range is selected from the first display range and the second display range according to the difference between the first contrast representative value Ca and the second contrast representative value Cb. Therefore, the display range can be determined as the display range corresponding to the difference between the first contrast representative value Ca and the second contrast representative value Cb.

[0257] [Second embodiment]

[0258] Next, a second embodiment of the technology of the present invention will be described.

[0259] As an example, Fig.23 As shown, in the second embodiment, the processor 94 performs the histogram generation process when performing the above-mentioned inspection process and / or display range determination process. For example, the histogram generation process is performed by interrupting the above-mentioned inspection process and / or display range determination process. The histogram generation process is realized by the processor 94 operating as the image area selection unit 172, the slider generation unit 174, the histogram generation unit 176 and the display control unit 178.

[0260] In the following description, the captured image 74 refers to any one of the captured image 74 acquired in the inspection process, the first captured image 74A acquired in the display range determination process, and the second captured image 74B acquired in the display range determination process.

[0261] In the following description, the subject 200 refers to any one of the subject 200 in the inspection process, the first subject 200A in the display range determination process, and the second subject 200B in the display range determination process.

[0262] The slider generator 174 generates image data representing a slider 180 displayed on the display device 122. The slider 180 is displayed on the display device 122. The slider 180 is a GUI for indicating the size of the image area 76 selected by the image area selector 172. The slider 180 has a guide bar 182 and a slide bar 184.

[0263] If the receiving device 124 receives an instruction from the user to operate the slider 180 (i.e., an instruction to change the position of the slide bar 184), the user instruction corresponding to the instruction received by the receiving device 124 is output from the receiving device 124 to the image area selection unit 172, the slider generation unit 174 and the histogram generation unit 176.

[0264] Slider generator 174 generates image data representing slider 180 in accordance with a user instruction. In other words, image data representing slider 180 is generated in which the position of slide bar 184 is changed to a position corresponding to the user instruction.

[0265] The image area selection unit 172 selects the image area 76 according to the user's instruction. For example, if the position of the slide bar 184 is changed to the "large" side, the selection range of the image area 76 is expanded according to the position of the slide bar 184, and if the position of the slide bar 184 is changed to the "small" side, the selection range of the image area 76 is reduced according to the position of the slide bar 184. Then, the image area selection unit 172 generates image data representing the image area 76.

[0266] The histogram generation unit 176 generates image data representing a histogram 186 related to the image area 76 according to the user's instruction. The image data representing the histogram 186 is an example of the "histogram data" and the "first histogram data" involved in the technology of the present invention. As an example, the histogram 186 is a histogram related to the ratio of the contrast C of each image pixel included in the image area 76, and specifically, it is a histogram representing the relationship between the contrast C and the frequency.

[0267] Here, as an example of the histogram 186 , an example of generating a histogram indicating the relationship between the contrast C and the frequency is described. However, another histogram related to the contrast C may be generated.

[0268] The display control unit 178 generates display data 190 including image data representing the slider 180, image data representing the image area 76, and image data representing the histogram 186, and controls the display of the display data 190 on the display device 122. Thus, an image including the image area 76, the slider 180, and the histogram 186 is displayed on the display device 122.

[0269] Next, the operation of the inspection system 130 according to the second embodiment will be described. Fig.24 An example of the flow of the histogram generation process according to the second embodiment is shown in FIG.

[0270] exist Fig.24 In the histogram generation process shown in FIG. 1 , first, in step ST60, the slider generation unit 174 generates image data representing the slider 180 according to the user's instruction (see FIG. 1 ). Fig.23 ). After the process of step ST60 is executed, the histogram generation process is transferred to step ST62.

[0271] In step ST62, the image region selection unit 172 selects the image region 76 according to the user's instruction and generates image data representing the selected image region 76 (see FIG. Fig.23 ). After the process of step ST62 is executed, the histogram generation process is transferred to step ST64.

[0272] In step ST64, the histogram generating unit 176 generates image data representing a histogram 186 related to the image area 76 according to the user instruction (see FIG. Fig.23 ). After the process of step ST64 is executed, the histogram generation process is transferred to step ST66.

[0273] In step ST66, the display control unit 178 generates display data 190 including image data representing the slider 180, image data representing the image area 76, and image data representing the histogram 186, and controls the display data 190 to be displayed on the display device 122 (see FIG. 14 ). Fig.23 ). Thus, an image including the image area 76, the slider 180, and the histogram 186 is displayed on the display device 122. After the process of step ST66 is executed, the histogram generation process ends.

[0274] As described above, in the processing device 90 according to the second embodiment, the processor 94 generates image data representing the histogram 186 representing the relationship between the contrast C and the frequency of each image pixel for the image region 76 selected according to the user's instruction, and outputs the generated image data to the display device 122. Therefore, by displaying the histogram 186 on the display device 122, the user can grasp the ratio of the contrast C of each image pixel for the selected image region 76, and further grasp the ratio of the good and bad regions in the subject 200.

[0275] In addition, in the second embodiment, an image area 76 can be selected from the spectral image included in the captured image 74, and a histogram 186 related to the selected image area 76 can be generated. And, in this case, the histogram 186 can be a histogram representing the ratio of the brightness of the wavelength components of the light emitted from the subject 200 (that is, the ratio of the brightness of each image pixel included in the spectral image). Histogram data representing the ratio of brightness is an example of the "second histogram data" involved in the technology of the present invention. If configured in this way, by displaying the histogram 186 on the display device 122, the user can grasp the brightness ratio of the wavelength components of the light emitted from the subject 200 for the selected image area 76.

[0276] [Third Embodiment]

[0277] Next, a third embodiment of the technology of the present invention will be described.

[0278] Generally, immediately after the inspection system 130 is started, the characteristics of the light source 132 and / or the camera device 10 may be unstable. That is, the characteristics that depend on the intensity difference of each wavelength of light irradiated from the light source 132 and / or the position of the light source 132 (hereinafter referred to as "the characteristics of the light source 132") change over time. Furthermore, the sensitivity difference that depends on each wavelength of the camera device 10 and / or the position characteristics of the camera device 10 (hereinafter referred to as "the characteristics of the camera device 10") also change over time. Thus, the contrast C may change depending on the time after the inspection system 130 is started. Therefore, it is preferable to calibrate the camera device 10 after the inspection system 130 is started. In addition, in addition to deterioration over the years, the characteristics of the light source 132 and / or the camera device 10 also change over time with the temperature and humidity of the camera device 10 and / or the photographic environment, so calibration may also be performed based on the start-up time of the light source 132 and / or the camera device 10. Furthermore, in addition to the start-up time, temperature and humidity changes may also be used as triggers for calibration.

[0279] Calibration is performed based on the image data obtained by photographing the white reference plate by the image pickup device 10. Through calibration, the characteristics of the light source 132 and the characteristics of the image pickup device 10 are reset to the state when the white reference plate is photographed. In addition, in order to prevent the white reference plate from being dirty or calibration from being performed erroneously on a plate other than the white reference plate, a detector for detecting whether the white reference plate used for calibration is dirty and / or has incomplete color may be provided, and when an abnormality is detected, a warning is issued from the inspection system 130.

[0280] As an example, Fig.25 As shown, in the third embodiment, the processor 94 performs the calibration update process when performing the above-mentioned inspection process and / or display range determination process. For example, the calibration update process is performed by interrupting the above-mentioned inspection process and / or display range determination process. The calibration update process is implemented by the processor 94 operating as the first timer 212, the second timer 214, and the calibration update unit 216.

[0281] The first timer 212 counts the time during which the light source 132 is continuously lit (hereinafter referred to as "the light source continuous lighting time"). The second timer 214 counts the elapsed time after calibration (hereinafter referred to as "the elapsed time after calibration"). The first timer 212 and the second timer 214 are examples of "a plurality of timers" involved in the technology of the present invention. The light source continuous lighting time and the elapsed time after calibration are examples of "a plurality of timer values" involved in the technology of the present invention.

[0282] The memory 96 stores a table 218. The table 218 defines the relationship between the continuous lighting time of the light source and the calibrated photographable time. Fig.25Specific values ​​of the continuous lighting time of the light source and the calibrated shooting time are shown in FIG. 1 , but the values ​​are only for illustration and may be values ​​other than the exemplified values. The calibrated shooting time is set to the time when the characteristics of the light source 132 and / or the characteristics of the camera 10 reach the upper limit of the allowable range when performing the inspection process and / or the display range determination process over time. That is, within the calibrated shooting time, the inspection process and / or the display range determination process can be performed under appropriate conditions corresponding to each process.

[0283] The calibration update unit 216 sequentially obtains the light source continuous lighting time and the calibrated elapsed time. Next, the calibration update unit 216 obtains the calibrated imageable time corresponding to the light source continuous lighting time based on the table 218. Next, the calibration update unit 216 determines whether the calibrated elapsed time exceeds the calibrated imageable time.

[0284] When the elapsed time after calibration exceeds the calibrated imageable time after calibration, the calibration update unit 216 generates calibration update data 220 related to calibration update. The calibration update data 220 is, for example, data indicating a message urging the user to perform calibration. The calibration update data 220 is an example of "update data" involved in the technology of the present invention.

[0285] Then, when the calibration update data 220 is generated, the calibration update unit 216 outputs the calibration update data 220 to the display device 122. As a result, a message or the like prompting the user to execute calibration is displayed on the display device 122.

[0286] Next, the operation of the inspection system 130 according to the third embodiment will be described. Fig.26 An example of the flow of the calibration update process according to the third embodiment is shown in FIG.

[0287] exist Fig.26 In the calibration update process shown in FIG. 1 , first, in step ST70, the calibration update unit 216 obtains the light source continuous lighting time counted by the first timer 212 (reference Fig.25 ). After the process of step ST70 is executed, the calibration update process transfers to step ST72.

[0288] In step ST72, the calibration update unit 216 obtains the elapsed time after calibration counted by the second timer 214 (reference Fig.25 ). After the process of step ST70 is executed, the calibration update process transfers to step ST72.

[0289] In step ST74, the calibration update unit 216 obtains the calibrated image captureable time (reference time) corresponding to the light source continuous lighting time obtained in step ST70 based on the table 218. Fig.25 ). After the process of step ST74 is executed, the calibration update process transfers to step ST76.

[0290] In step ST76, the calibration update unit 216 determines whether the calibrated elapsed time acquired in step ST72 exceeds the calibrated imageable time acquired in step ST74 (refer to Fig.25 ). In step ST76, if the elapsed time after calibration exceeds the available shooting time after calibration, the determination is positive, and the calibration update process moves to step ST78. In step ST76, if the elapsed time after calibration does not exceed the available shooting time after calibration, the determination is negative, and the calibration update process moves to step ST70.

[0291] In step ST78, the calibration update unit 216 generates the calibration update data 220 (refer to Fig.25 ). After the process of step ST78 is executed, the calibration update process transfers to step ST80.

[0292] In step ST80, the calibration update unit 216 outputs the calibration update data 220 to the display device 122 (see Fig.25 ). Thus, a message or the like prompting the user to execute calibration is displayed on the display device 122. After the process of step ST80 is executed, the calibration update process moves to step ST82.

[0293] In step ST82, the processor 94 determines whether a condition for terminating the calibration update process (hereinafter referred to as "termination condition") is satisfied. As the termination condition, a condition that the inspection process and / or the display range determination process is terminated can be cited. If the termination condition is not satisfied, the calibration update process is transferred to step ST70. If the termination condition is satisfied, the calibration update process is terminated.

[0294] As described above, in the processing device 90 according to the third embodiment, the processor 94 obtains the light source continuous lighting time counted by the first timer 212 and the calibration elapsed time counted by the second timer 214, and outputs the calibration update data 220 related to the update of the calibration based on the light source continuous lighting time and the calibration elapsed time to the display device 122. Therefore, the user calibrates the imaging device 10 based on the message displayed on the display device 122, and the measurement accuracy of the brightness of the light in the two wavelength bands λ can be improved compared with the case where the calibration is not performed.

[0295] Furthermore, the techniques that can be combined among the plurality of techniques described in the first to third embodiments may be combined as appropriate.

[0296] Furthermore, in the above embodiment, the processor 60 is illustrated with respect to the camera device 10 , but at least one other CPU, at least one GPU and / or at least one TPU may be used instead of or together with the processor 60 .

[0297] Furthermore, in the above embodiment, the processor 94 is illustrated as an example for the processing device 90 , but at least one other CPU, at least one GPU and / or at least one TPU may be used instead of or together with the processor 94 .

[0298] Furthermore, in the above-mentioned embodiment, an example is given in which the inspection program 100 and the display range determination program 150 are stored in the memory 96 of the processing device 90, but the technology of the present invention is not limited thereto. For example, the inspection program 100 and / or the display range determination program 150 may be stored in the memory 62 of the imaging device 10, and the inspection program 100 and / or the display range determination program 150 may be executed by the processor 60 of the imaging device 10.

[0299] Furthermore, in the above-mentioned embodiment, an example of a method in which the spectral image generation program 80 is stored in the memory 62 is described with respect to the imaging device 10, but the technology of the present invention is not limited thereto. For example, the spectral image generation program 80 may be stored in a portable non-temporary computer-readable storage medium (hereinafter referred to as a "non-temporary storage medium") such as an SSD or a USB memory. The spectral image generation program 80 stored in the non-temporary storage medium may be installed in the computer 56 of the imaging device 10.

[0300] Furthermore, the spectral image generation program 80 may be pre-stored in a storage device such as another computer or server device connected to the imaging device 10 via a network, downloaded upon request from the imaging device 10 , and installed in the computer 56 of the imaging device 10 .

[0301] Furthermore, the entire spectral image generation program 80 does not need to be stored in a storage device such as another computer or server device connected to the imaging device 10 or the memory 62 , and a portion of the spectral image generation program 80 may be stored.

[0302] Furthermore, in the above embodiment, regarding the processing device 90, an example of a method in which the inspection program 100 and the display range determination program 150 are stored in the memory 96 is described, but the technology of the present invention is not limited to this. For example, the inspection program 100 and / or the display range determination program 150 may also be stored in a non-transitory storage medium. The inspection program 100 and / or the display range determination program 150 stored in the non-transitory storage medium may also be installed in the computer 92 of the processing device 90.

[0303] In addition, the inspection program 100 and / or the display range determination program 150 may be pre-stored in a storage device such as another computer or server device connected to the processing device 90 via a network, and the inspection program 100 and / or the display range determination program 150 may be downloaded according to the requirements of the processing device 90 and installed in the computer 92 of the processing device 90.

[0304] Furthermore, the entire inspection program 100 and / or display range determination program 150 does not need to be stored in a storage device such as another computer or server device connected to the processing device 90 or in the memory 96 , and a portion of the inspection program 100 and / or display range determination program 150 may be stored.

[0305] Furthermore, although the computer 56 is built in the imaging device 10 , the technology of the present invention is not limited thereto, and for example, the computer 56 may be provided outside the imaging device 10 .

[0306] Furthermore, although the computer 92 is built into the processing device 90 , the technology of the present invention is not limited thereto, and for example, the computer 92 may be provided outside the processing device 90 .

[0307] Furthermore, in the above-mentioned embodiment, the computer 56 including the processor 60, the memory 62 and the RAM 64 is exemplified with respect to the imaging device 10, but the technology of the present invention is not limited thereto, and a device including an ASIC, an FPGA and / or a PLD may be applied to replace the computer 56. Furthermore, a combination of a hardware structure and a software structure may be used to replace the computer 56.

[0308] Furthermore, in the above embodiment, the processing device 90 is exemplified by a computer 92 including a processor 94, a memory 96, and a RAM 98, but the technology of the present invention is not limited thereto, and a device including an ASIC, an FPGA, and / or a PLD may be applied to replace the computer 92. Furthermore, a combination of a hardware structure and a software structure may be used to replace the computer 92.

[0309] Furthermore, as hardware resources for executing various processes described in the above embodiments, various processors shown below can be used. As a processor, for example, a general-purpose processor, i.e., a CPU, which functions as a hardware resource for executing various processes by executing software, i.e., a program, can be cited. Furthermore, as a processor, for example, a dedicated circuit can be cited, which is a processor having a circuit structure specially designed for executing specific processes, such as an FPGA, a PLD, or an ASIC. Any processor has a memory built in or connected thereto, and any processor executes various processes by using the memory.

[0310] The hardware resources for executing various processing may be composed of one of these various processors, or may be composed of a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs or a combination of a CPU and an FPGA). Furthermore, the hardware resources for executing various processing may be one processor.

[0311] As an example of a system composed of one processor, first, there is a system in which one processor is composed of a combination of one or more CPUs and software, and the processor functions as a hardware resource for executing various processes. Second, there is a system in which a processor is used to realize the functions of the entire system including multiple hardware resources for executing various processes by one IC chip, as represented by SoC, etc. In this way, various processes are realized by using one or more processes among the various processors mentioned above as hardware resources.

[0312] Moreover, as the hardware structure of these various processors, more specifically, a circuit composed of a combination of circuit elements such as semiconductor elements can be used. Moreover, the above-mentioned processing is only an example. Therefore, it is of course possible to delete unnecessary steps, add new steps, or switch the processing order within the scope of the main purpose.

[0313] The records and illustrations shown above are detailed descriptions of the parts involved in the technology of the present invention, and are only examples of the technology of the present invention. For example, the description of the above-mentioned structure, function, action and effect is a description of an example of the structure, function, action and effect of the parts involved in the technology of the present invention. Therefore, it is of course possible to delete unnecessary parts, or add or replace new elements in the records and illustrations shown above without departing from the main purpose of the technology of the present invention. In addition, in order to avoid complexity and facilitate understanding of the parts involved in the technology of the present invention, in the records and illustrations shown above, descriptions related to technical common sense that does not need to be specifically explained are omitted on the basis of being able to implement the technology of the present invention.

[0314] In this specification, "A and / or B" is synonymous with "at least one of A and B". That is, "A and / or B" means that it can be only A, only B, or a combination of A and B. Moreover, in this specification, when three or more situations are expressed in conjunction with "and / or", the same concept as "A and / or B" also applies.

[0315] All documents, patent applications, and technical standards described in this specification are incorporated herein by reference to the same extent as if each individual document, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.

[0316] The following additional remarks are disclosed with respect to the above-mentioned embodiment.

[0317] (Note 1)

[0318] An image display method comprises: a step of displaying first image data under a display condition determined by a display condition determination method according to any one of the first to thirty-seventh modes.

[0319] (Note 2)

[0320] An image display method comprises the following steps:

[0321] acquiring second imaging data by imaging a third object with the spectroscopic imaging device;

[0322] acquiring second image data indicating a third index corresponding to a third object based on the second imaging data; and

[0323] The second image data is displayed under the display condition determined by the display condition determination method involved in any one of the first to thirty-seventh aspects.

Claims

1. A method for determining a display condition, comprising the following steps: Acquiring first imaging data including a first object and a second object captured by a spectroscopic imaging device; acquiring first image data indicating an index related to distinguishing the first object and the second object from the first imaging data; and A display condition for the first image data is determined based on the relationship between the first object and the second object.

2. The display condition determination method according to claim 1, wherein: The display condition includes a display range.

3. The display condition determination method according to claim 1, wherein: The index is an index based on the brightness of light in a plurality of wavelength bands.

4. The display condition determination method according to claim 3, wherein: The plurality of wavelength bands are selected from the group.

5. The display condition determination method according to claim 3, wherein: The plurality of wavelength bands are selected according to attributes of the first object and the second object.

6. The display condition determination method according to claim 3, wherein: The plurality of wavelength bands are selected according to imaging conditions of the first object and the second object.

7. The display condition determination method according to claim 6, wherein: The imaging conditions include lighting conditions.

8. The display condition determination method according to claim 1, wherein: The index includes a contrast ratio of brightness of light of a plurality of wavelength bands.

9. The display condition determination method according to claim 1, wherein: The indicators include the Normalized Difference Vegetation Index.

10. The display condition determination method according to claim 1, wherein: The relationship includes a relationship between the first subject and the second subject in the image represented by the first image data.

11. The display condition determination method according to claim 10, wherein: The relationship between the first object and the second object in the image includes a relationship in a state where the image contains noise.

12. The display condition determination method according to claim 1, wherein: The relationship includes attributes of the first object and the second object.

13. The display condition determination method according to claim 1, wherein: The relationship includes imaging conditions of the first object and the second object.

14. The display condition determination method according to claim 1, wherein: The relationship includes a relationship of the index between the first object and the second object.

15. The display condition determination method according to claim 14, wherein: The index includes a first index corresponding to the first object and a second index corresponding to the second object. The relationship between the indicators includes a relationship based on a difference between the first indicator and the second indicator.

16. The display condition determination method according to claim 10, wherein: The relationship includes a relationship in a state where image processing is performed on the image.

17. The display condition determination method according to claim 16, wherein: The image processing includes processing related to noise contained in the image.

18. The display condition determination method according to claim 17, wherein: The noise-related processing includes edge enhancement processing and / or noise reduction processing.

19. The display condition determination method according to claim 10, wherein: The relationship includes a relationship in a state where an operation process is performed on the image.

20. The display condition determination method according to claim 19, wherein: The arithmetic processing includes processing related to visibility of the image.

21. The display condition determination method according to claim 20, wherein: The visibility-related processing includes grayscale processing and / or gamma correction processing.

22. The display condition determination method according to claim 1, wherein: The relationship includes the relationship between the first object and the second object with respect to the object previously photographed by the spectroscopic imaging device.

23. The display condition determination method according to claim 1, wherein: Determining the display condition includes selecting the display condition from a plurality of display conditions based on the relationship.

24. The display condition determination method according to claim 23, wherein: The index includes a first index corresponding to the first object and a second index corresponding to the second object. The relationship includes a relationship based on the difference between the first indicator and the second indicator, The display condition is selected from the plurality of display conditions according to a relationship between the degree of difference and a threshold value.

25. The display condition determination method according to claim 24, wherein: When the difference is greater than the threshold, determining an upper limit value of the display condition based on the larger one of the first index and the second index, The lower limit value of the display condition is determined based on the smaller index between the first index and the second index.

26. The display condition determination method according to claim 25, wherein: determining an upper limit value of the display condition based on the larger index and the first correction value, The lower limit value of the display condition is determined based on the smaller index and the second correction value.

27. The display condition determination method according to claim 26, wherein: The first correction value and the second correction value are determined based on noise included in an image represented by the first image data.

28. The display condition determination method according to claim 24, wherein: When the difference is below the threshold, The difference between the upper limit value and the lower limit value of the display condition is determined as the threshold value.

29. The display condition determination method according to claim 28, wherein: The upper limit value and the lower limit value of the display condition are determined based on an average value of the first index and the second index.

30. The display condition determination method according to claim 29, wherein: determining an upper limit value of the display condition based on the average value and the third correction value, The lower limit value of the display condition is determined based on the average value and the fourth correction value.

31. The display condition determination method according to claim 30, wherein: The third correction value and the fourth correction value are determined based on noise included in an image represented by the first image data.

32. The display condition determination method according to claim 1, wherein: The spectroscopic imaging device is a multi-spectral camera.

33. The display condition determination method according to claim 32, wherein: The first imaging data includes spectral image data corresponding to light of a plurality of wavelength bands.

34. The display condition determination method according to claim 1, wherein: The second subject is a subject whose index is larger than that of the first subject.

35. The display condition determination method according to claim 1, wherein: The first image data is image data that displays the index as a heat map.

36. The display condition determination method according to claim 1, wherein: The first image data is acquired based on a selected area in the first object and / or the second object.

37. The display condition determination method according to claim 1, wherein: The determination includes determining whether the first object and the second object are superior or inferior.

38. A display condition determination device comprising a processor, The processor performs the following processing: Acquiring first imaging data including a first object and a second object captured by a spectroscopic imaging device; acquiring first image data indicating an index related to distinguishing the first object and the second object from the first imaging data; and A display condition for the first image data is determined based on the relationship between the first object and the second object.

39. The display condition determination device according to claim 38, wherein: The processor performs the following processing: acquiring values ​​of a plurality of timers related to calibration of the spectroscopic imaging device; and Based on the value, update data related to the update of the calibration is output.

40. The display condition determination device according to claim 38, wherein: The processor outputs histogram data related to the index based on the first imaging data.

41. The display condition determination device according to claim 40, wherein: The histogram data includes first histogram data, and the first histogram data indicates the ratio of the index.

42. The display condition determination device according to claim 40, wherein: The histogram data includes second histogram data indicating a brightness ratio of a wavelength component of light emitted from the first object and / or the second object.

43. The display condition determination device according to claim 40, wherein: The histogram data is displayed according to a selected area in the first object and / or the second object.

44. A storage medium storing a program for causing a computer to execute a process comprising the following steps: Acquiring first imaging data including a first object and a second object captured by a spectroscopic imaging device; acquiring first image data indicating an index related to distinguishing the first object and the second object from the first imaging data; and A display condition for the first image data is determined based on the relationship between the first object and the second object.

45. A computer program product comprising a program for causing a computer to perform a process comprising the steps of: Acquiring first imaging data including a first object and a second object captured by a spectroscopic imaging device; acquiring first image data indicating an index related to distinguishing the first object and the second object from the first imaging data; and A display condition for the first image data is determined based on the relationship between the first object and the second object.