Method and device for adjusting camera parameters of hyperspectral camera
The method and device for hyperspectral cameras adjust pixel and wavelength parameters iteratively to meet luminance conditions, addressing inefficiencies in existing methods and improving imaging accuracy.
Patent Information
- Application Number
- PCT/JP2025/018214
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2026-11-26
AI Technical Summary
Existing methods for adjusting camera parameters of hyperspectral cameras are inefficient and burdensome, often leading to inaccurate luminance adjustments due to specular reflection components and high-intensity noise, and fail to account for wavelength-specific information, necessitating trial-and-error adjustments.
A method and device that adjust camera parameters by determining a first parameter, such as pixel and wavelength settings, and iteratively updating these parameters based on luminance index conditions to ensure accurate imaging results.
Reduces the burden of adjusting camera parameters by ensuring that the luminance index conditions are met, resulting in improved imaging quality and reduced noise interference.
Smart Images

Figure JP2025018214_26112026_PF_FP_ABST
Abstract
Description
Method for adjusting camera parameters of hyperspectral camera and apparatus for adjusting camera parameters of hyperspectral camera
[0001] The present invention relates to a method for adjusting camera parameters of a hyperspectral camera and an apparatus for adjusting camera parameters of a hyperspectral camera.
[0002] There is a technique related to adjustment of a white balance value of a camera (Patent Document 1).
[0003] Japanese Patent Application Laid-Open No. 2020-146405
[0004] According to Patent Document 1, after performing gain processing based on pixel values, by performing pixel value reduction processing on pixels lower than a predetermined threshold, prevention of afterimages, suppression of resolution reduction, and noise reduction are achieved.
[0005] However, considering application to shooting with a hyperspectral camera, there are cases where adjustment is performed such that the difference between the adjusted luminance value of the target that is originally desired to be detected and the luminance value of an area where no abnormality has occurred becomes small, due to being influenced by specular reflection components or high-intensity noise.
[0006] In addition, if pixel values are handled identically across all wavelengths as in ordinary images, information from ineffective wavelength components may have a strong influence. Furthermore, if processing is performed focusing only on pixel values, the meaning of the features of the shooting target may change.
[0007] Therefore, the technique of Patent Document 1 cannot be applied to a hyperspectral camera. As a result, for hyperspectral cameras, users have no choice but to adjust camera parameters through trial and error, which sometimes places a heavy burden on users.
[0008] In view of the above circumstances, an object of the present invention is to provide a technique that reduces the burden required for adjusting camera parameters of a hyperspectral camera.
[0009] One aspect of the present invention is a method for adjusting the camera parameters of a hyperspectral camera, wherein a value is determined for a first parameter among the camera parameters, and if the value based on the information of an image captured under the first value does not satisfy a predetermined condition, the value of a second parameter, which is different from the first parameter among the camera parameters, is changed, wherein the first parameter is a pixel parameter which indicates a specified area pixel which is a pixel for which a brightness value is acquired, and a wavelength parameter which indicates a specified wavelength which is the wavelength for which a brightness value is acquired, and at least a part of the object to be captured by the hyperspectral camera is captured in the captured area which is an image shown by the set of pixels indicated by the pixel parameter.
[0010] One aspect of the present invention is a camera parameter adjustment device for a hyperspectral camera, comprising a control unit for adjusting the camera parameters of a hyperspectral camera, wherein, in the adjustment, if a value based on information of an image captured under a first parameter determination value, which is a determined value for a first parameter among the camera parameters, does not satisfy a predetermined condition, the control unit changes the value of a second parameter among the camera parameters that is different from the first parameter, wherein the first parameter is a pixel parameter, which is a parameter indicating a designated area pixel, which is a pixel from which a brightness value is acquired, and a wavelength parameter, which is a parameter indicating a designated wavelength, which is the wavelength from which a brightness value is acquired, and the target area, which is an image shown by the set of pixels indicated by the pixel parameter, shows at least a part of the object to be captured by the hyperspectral camera.
[0011] This invention makes it possible to reduce the burden required to adjust the camera parameters of a hyperspectral camera.
[0012] An explanatory diagram illustrating the adjustment system of the embodiment. A flowchart showing an example of the processing flow performed by the adjustment system of the embodiment. A diagram showing an example of the hardware configuration of the parameter adjustment device of the embodiment.
[0013] (Embodiment) Figure 1 is an explanatory diagram illustrating an adjustment system 100 of an embodiment. The adjustment system 100 comprises a hyperspectral camera 1 and a parameter adjustment device 2. The hyperspectral camera 1 is a hyperspectral camera. An example of an object to be photographed by the hyperspectral camera is the object 9 in Figure 1. For the sake of simplicity, the following explanation will use the case where the object to be photographed is the object 9 as an example.
[0014] The parameter adjustment device 2 (an example of a device for adjusting the camera parameters of a hyperspectral camera) adjusts the camera parameters of the hyperspectral camera 1. It includes a control unit 21 which comprises a processor 91 such as a CPU (Central Processing Unit), GPU (Graphics Processing Unit), or NPU (Neural Network Processing Unit) connected by a bus, and memory 92.
[0015] The control unit 21 performs an adjustment process. The adjustment process adjusts the camera parameters of the hyperspectral camera 1 based on the imaging results of the hyperspectral camera 1. The adjustment process includes a determination process and an update process.
[0016] <Determination Process> The determination process is a process that determines whether the luminance index value (hereinafter referred to as "luminance index value") in a specified region pixel satisfies predetermined conditions (hereinafter referred to as "luminance value determination conditions") based on the imaging results of the object 9 captured by the hyperspectral camera 1.
[0017] <<Specified Region Pixels>> Specified region pixels are predetermined pixels among the pixels of the hyperspectral camera 1, and the luminance index is used in the determination process for these pixels. Since a set of pixels represents an image, the set of specified region pixels also represents an image. The image represented by the set of specified region pixels (hereinafter referred to as the "target area") shows at least a part of the target 9 to be photographed by the hyperspectral camera 1.
[0018] In other words, the designated region pixels are predetermined pixels among the pixels of the hyperspectral camera 1, which are pixels whose brightness index is used in the determination process, and which also satisfy the pixel conditions. The pixel conditions are that the image shown by the set of pixels (i.e., the designated region pixels) includes at least a part of the object 9 being photographed by the hyperspectral camera 1.
[0019] The pixels designated as specified region pixels may be all of the pixels of the hyperspectral camera 1, or they may be only a portion of the pixels of the hyperspectral camera 1.
[0020] The designated region pixels may be determined in any way, for example, by the user based on past experience. The designated region pixels may also be pixels determined based on the results of imaging the target 9 with the hyperspectral camera 1 when the camera parameters of the hyperspectral camera 1 are at their initial values (hereinafter referred to as "pre-imaging results"). Therefore, the designated region pixels may be pixels determined by the user or by a predetermined image processing technique based on the converted image after the pre-imaging results have been pseudo-converted into an RGB image.
[0021] The designated region pixels may be pixels determined by the user or a predetermined image processing technique based on an image obtained by specular reflection region analysis of pre-shooting results. The designated region pixels may be pixels determined by the user or a predetermined image processing technique based on an image obtained by segmentation of pre-shooting results. The designated region pixels may be pixels determined by specifying a range based on the user's intention.
[0022] In a determination by the user or a predetermined image processing technique, for example, pixels whose brightness index is within a predetermined range in the pre-shooting results may be determined as designated area pixels. In a determination by the user or a predetermined image processing technique, for example, pixels that satisfy the conditions of belonging to a specific class may be determined as designated area pixels based on the pre-shooting results.
[0023] <<Brightness Index>> The brightness index is a predetermined index that represents the brightness value of a pixel. For example, if hyperspectral camera 1 is a hyperspectral camera that can obtain brightness values for N wavelengths (where N is an integer of 1 or more), the brightness index may be a predetermined scalar index defined for an N-dimensional brightness value vector. The N-dimensional brightness value vector is an N-dimensional vector in which the brightness values of different wavelengths are represented by different elements.
[0024] The index of a predetermined scalar value defined for an N-dimensional luminance value vector may be, for example, the L1 norm, or an Lp norm such as the L2 norm. The index of a predetermined scalar value defined for an N-dimensional luminance value vector may be, for example, the sum of all elements of the N-dimensional luminance value vector, or the value obtained by dividing that sum by N (i.e., the mean value). Alternatively, the index of a predetermined scalar value defined for an N-dimensional luminance value vector may be, for example, the maximum value among the N luminance values represented by the N-dimensional luminance value vector.
[0025] The luminance index may be a scalar index with a predetermined definition defined for a partial luminance value vector, for example, if the hyperspectral camera 1 is a hyperspectral camera that can obtain luminance values for N wavelengths. The partial luminance value vector is an M-dimensional vector (where M is less than N), where different wavelengths have different elements in which their luminance values are shown. Each of the M wavelengths for which the partial luminance value vector shows a luminance value is one of the M wavelengths out of the N wavelengths for which the hyperspectral camera 1 can obtain luminance values.
[0026] These M wavelengths are predetermined wavelengths. Here, we introduce the term "specified wavelengths." Specified wavelengths are predetermined wavelengths used in calculating the luminance index. For an M-dimensional partial luminance value vector, the specified wavelengths are each of the M wavelengths mentioned above, whose luminance values are represented by the elements of the partial luminance value vector. In the case of an N-dimensional luminance value vector, all N wavelengths that the hyperspectral camera 1 can acquire are specified wavelengths.
[0027] If a portion of the N wavelengths that the hyperspectral camera 1 can acquire is designated as a specified wavelength, the specified wavelength may be determined in any way. For example, it may be determined by the user based on past experience. The specified wavelength may be, for example, a wavelength determined based on pre-acquisition results. Therefore, the specified wavelength may be, for example, a wavelength determined by the user or a predetermined image processing technique based on the converted image after the pre-acquisition results have been converted into a pseudo-RGB image.
[0028] The specified wavelength may be determined by the user or by a predetermined image processing technique based on an image obtained by specular reflection region analysis of pre-imaging results. In this case, for example, a wavelength other than the specular reflection component may be determined as the specified wavelength.
[0029] The specified wavelength may be, for example, a wavelength determined by the user or a predetermined image processing technique based on an image obtained by segmentation of pre-imaging results. The specified wavelength may also be a wavelength determined by the wavelength characteristics of the object being photographed.
[0030] As will be discussed later, the luminance index does not necessarily have to be a scalar value; it may be a vector or a tensor. Therefore, when determining a specified wavelength by a user or a predetermined image processing technique, for example, if the luminance index is an N-dimensional luminance value vector itself, the wavelength at which the average value of the luminance index across all pixels in the pre-shooting results is within a predetermined range may be determined as the specified wavelength based on the pre-shooting results. When determining a specified wavelength by a user or a predetermined image processing technique, for example, if the luminance index is an N-dimensional luminance value vector itself, the wavelength at which the luminance value indicated by the luminance index is within a predetermined range for all pixels in the pre-shooting results may be determined as the specified region pixel based on the pre-shooting results.
[0031] The index of a predetermined scalar value defined for a partial luminance value vector may be, for example, the L1 norm, or an Lp norm such as the L2 norm. The index of a predetermined scalar value defined for a partial luminance value vector may be, for example, the sum of all elements of the partial luminance value vector, or the value obtained by dividing that sum by M (i.e., the average value). Alternatively, the index of a predetermined scalar value defined for a partial luminance value vector may be, for example, the maximum value among the M luminance values represented by the partial luminance value vector.
[0032] <<P-Dimensional Luminance Vector>> Here, for the sake of simplicity, we define the term "P-dimensional luminance vector." A P-dimensional luminance vector is a P-dimensional vector in which the luminance values of different wavelengths are shown in different elements. P is an integer between 1 and N, inclusive. Therefore, an N-dimensional luminance vector is a P-dimensional luminance vector that satisfies the condition P = N, and a partial luminance vector is a P-dimensional luminance vector that satisfies the condition P = M (M < N).
[0033] The index of a predetermined scalar value defined for a P-dimensional luminance value vector may be, for example, the L1 norm or an Lp norm such as the L2 norm. The index of a predetermined scalar value defined for a P-dimensional luminance value vector may be, for example, the sum of all elements of the P-dimensional luminance value vector, or the value obtained by dividing that sum by P (i.e., the mean value). Alternatively, the index of a predetermined scalar value defined for a P-dimensional luminance value vector may be, for example, the maximum value among the P luminance values represented by the P-dimensional luminance value vector.
[0034] The luminance index does not necessarily have to be a scalar index; it may also be a vector index. Furthermore, the luminance index may be a tensor index other than a scalar or vector. For example, the luminance index for a vector may be the P-dimensional luminance value vector itself.
[0035] Having explained N-dimensional luminance value vectors and partial luminance value vectors, the relationship between P-dimensional luminance value vectors and specified wavelengths should also be clear, but for the sake of clarity, let's explain the relationship between P-dimensional luminance value vectors and specified wavelengths. As mentioned above, a P-dimensional luminance value vector is a P-dimensional vector in which the luminance value is shown at different wavelengths and at different elements. And, as mentioned above, these are predetermined wavelengths used in calculating the luminance index. Therefore, the specified wavelengths when a P-dimensional luminance value vector is defined are these P wavelengths.
[0036] <<Brightness Value Determination Conditions>> The brightness value determination conditions can be any conditions relating to the brightness index value, for example, the condition that the brightness index value is within a predetermined range. Therefore, the brightness value determination conditions may also be, for example, the condition that the brightness index value is greater than or equal to a predetermined threshold when a predetermined threshold is defined. In other words, the brightness value determination conditions may also be, for example, the condition that the brightness index value is greater than or equal to a predetermined value.
[0037] The luminance value determination condition may be, for example, that when the maximum luminance index value among the P luminance values represented by the P-dimensional luminance value vector is the luminance index value, then that maximum value exceeds 90% of a predetermined value. Note that 90% here is merely an example, and it may be any other predetermined percentage different from 90%. Alternatively, when the P-dimensional luminance value vector itself is the luminance index value, then the condition may be that 90% or more of the P elements exceed a predetermined value. Note that 90% here is merely an example, and it may be any other predetermined percentage different from 90%.
[0038] <Update Process> The update process is a process of updating certain parameters among the camera parameters of the hyperspectral camera 1 (hereinafter referred to as "update target parameters") in accordance with predetermined rules regarding the update of update target parameters (hereinafter referred to as "update rules"). Note that parameters whose values indicate a specified region pixel (hereinafter referred to as "pixel parameters") and parameters whose values indicate a specified wavelength (hereinafter referred to as "wavelength parameters") are not update target parameters. In other words, update target parameters are different from pixel parameters and wavelength parameters.
[0039] The update rule can be any rule relating to the update of the parameter to be updated. For example, the update rule may be a rule that changes the value of the parameter to be updated by a predetermined value.
[0040] The parameters to be updated may be, for example, parameters related to the brightness value of each pixel. The parameters related to the brightness value of each pixel may be, for example, the gain value or the scan rate value. For example, in the update process, only the gain value may be updated, or only the scan rate value may be updated. Of course, both of these may be set as parameters to be updated. In this case, both the gain value and the scan rate value will be updated in the update process.
[0041] The parameters to be updated may also be parameters related to the brightness value of each pixel, other than the gain value and scan rate value. Of course, in addition to the parameters related to the brightness value of each pixel, other camera parameters other than those related to the brightness value of each pixel may also be set as parameters to be updated.
[0042] FIG. 2 is a flowchart illustrating an example of a process flow executed by the adjustment system 100 of the embodiment. First, an imaging target 9 is imaged by a hyperspectral camera 1 with camera parameters set to initial values (step S101). The imaging by the hyperspectral camera 1 may be performed by a person using the hyperspectral camera 1 to capture the imaging target 9, or may be performed by the control unit 21 controlling the operation of the hyperspectral camera 1 to cause the hyperspectral camera 1 to capture the imaging target 9.
[0043] Next, based on the imaging result obtained in step S101, a specified region pixel and a specified wavelength are determined (step S102). The determination in step S102 is an example of pre-determining the specified region pixel and the specified wavelength. The determination in step S102 may be performed by a user or by a computer. When performed by a computer, for example, the control unit 21 may perform the determination.
[0044] Following step S102, the control unit 21 performs a determination process on the imaging result obtained in step S101 (step S103). That is, based on the imaging result obtained in step S101, the control unit 21 determines whether a luminance index value at the specified region pixel satisfies a luminance value determination condition.
[0045] When the luminance value determination condition is satisfied (step S103: YES), the control unit 21 acquires the camera parameters of the hyperspectral camera 1 and outputs them to a predetermined output destination such as the storage unit 23 (step S104).
[0046] On the other hand, when the luminance value determination condition is not satisfied (step S103: NO), the control unit 21 executes an update process (step S105). Next, the imaging target 9 is imaged by the hyperspectral camera 1 with the camera parameters updated in step S105 (step S106). The imaging by the hyperspectral camera 1 in step S106 may be performed by a person using the hyperspectral camera 1 to capture the imaging target 9, or may be performed by the control unit 21 controlling the operation of the hyperspectral camera 1 to cause the hyperspectral camera 1 to capture the imaging target 9.
[0047] Following step S106, the control unit 21 performs determination processing on the imaging result obtained in step S106 (step S107). Specifically, the control unit 21 determines whether the luminance index value of the pixels in the specified region satisfies the luminance value determination condition based on the imaging result obtained in step S106.
[0048] If the luminance value determination condition is satisfied (step S107: YES), the process of step S104 is executed, and the updated camera parameters obtained by the immediately preceding update process are output to a predetermined output destination.
[0049] On the other hand, if the luminance value determination condition is not satisfied (step S107: NO), the process returns to step S105.
[0050] In this way, the camera parameters are updated until the luminance value determination condition is satisfied. Since updating the camera parameters means adjusting the camera parameters, the camera parameters at the time when the luminance value determination condition is satisfied are the adjusted camera parameters adjusted for imaging the imaging target 9. The hyperspectral camera 1 at the time when the luminance value determination condition is satisfied is the adjusted hyperspectral camera adjusted for imaging the imaging target 9. Therefore, by executing the adjustment process, the parameter adjustment device 2 can obtain an adjusted hyperspectral camera adjusted for imaging the imaging target 9.
[0051] For the sake of clarity, step S103, step S105, and step S107 in FIG. 2 are examples of processes executed in the adjustment process. Therefore, the example in FIG. 2 can be said to be an example of the adjustment process.
[0052] <Effects> The parameter adjustment device 2 adjusts the camera parameters based on the imaging result of the hyperspectral camera 1. Therefore, the burden required for adjusting the camera parameters of the hyperspectral camera is reduced.
[0053] <Example of Hardware Configuration of Parameter Adjustment Device 2> Figure 3 shows an example of the hardware configuration of the parameter adjustment device 2 according to the embodiment. The parameter adjustment device 2 includes a control unit 21 that executes a program. The parameter adjustment device 2 functions as a device comprising the control unit 21, an interface unit 22, and a storage unit 23 through the execution of the program.
[0054] More specifically, the processor 91 reads the program stored in the storage unit 23 and stores the read program in the memory 92. By executing the program stored in the memory 92, the processor 91 functions as a device comprising a control unit 21, an interface unit 22, and a storage unit 23.
[0055] The control unit 21 controls the operation of each functional unit of the parameter adjustment device 2. The control unit 21 performs adjustment processing, for example, as described above. The control unit 21 also acquires information stored in the storage unit 23, for example. Specifically, the process of acquiring information stored in the storage unit 23 is reading.
[0056] The interface unit 22 includes a communication interface for connecting the parameter adjustment device 2 to an external device. The interface unit 22 communicates with the external device via wired or wireless connection.
[0057] The external device is, for example, a hyperspectral camera 1. The control unit 21 controls the operation of the hyperspectral camera 1 by communicating with it via the interface unit 22. By controlling the operation, the control unit 21 causes the hyperspectral camera 1 to take an image.
[0058] The external device may, for example, be a device to which the adjusted camera parameters are output. Such an output device may be a device that indicates the adjusted camera parameters by text, image, or sound, or it may be a storage device that stores the adjusted camera parameters. The adjusted camera parameters output to the storage device that stores the adjusted camera parameters are recorded in this storage device.
[0059] The control unit 21 obtains, for example, camera parameters of the hyperspectral camera 1 through communication with the hyperspectral camera 1 via the interface unit 22. The control unit 21 updates, for example, camera parameters of the hyperspectral camera 1 through communication with the hyperspectral camera 1 via the interface unit 22. The control unit 21 obtains, for example, the results of imaging by the hyperspectral camera 1 through communication with the hyperspectral camera 1 via the interface unit 22. The results of imaging by the hyperspectral camera 1 are image data obtained by the hyperspectral camera 1 imaging the object 9, and are image data of an image showing the object 9.
[0060] The interface unit 22 may include input devices such as a mouse, keyboard, or touch panel. The interface unit 22 may also be configured as an interface connecting these input devices to the parameter adjustment device 2. In this way, the input devices of the interface unit 22 receive various information or signals to the parameter adjustment device 2 via wired or wireless connections. Note that the information or signals do not necessarily have to be input to the communication interface of the interface unit 22, but may also be input to the input devices of the interface unit 22.
[0061] The interface unit 22 outputs various types of information, for example. The interface unit 22 is comprised of a display device such as a CRT (Cathode Ray Tube) display, a liquid crystal display, or an organic EL (Electro-Luminescence) display, as well as a speaker. The interface unit 22 may be configured as an interface for connecting these display devices or speakers to the parameter adjustment device 2. Therefore, the interface unit 22 may output information input to its input device as an image or sound, for example.
[0062] The storage unit 23 is configured using a computer-readable storage medium (non-transitory computer-readable recording medium), such as a magnetic hard disk drive or a semiconductor storage device. The storage unit 23 may reside, for example, on the cloud.
[0063] The memory unit 23 stores various information related to the parameter adjustment device 2. The memory unit 23 also stores various information generated by the operation of the control unit 21, for example. The memory unit 23 may also store various information related to the hyperspectral camera 1.
[0064] For example, the storage unit 23 may store the adjusted camera parameters of the hyperspectral camera 1. For example, the storage unit 23 may store the initial values of the hyperspectral camera 1. For example, the storage unit 23 may store the history of changes in the camera parameters of the hyperspectral camera 1.
[0065] The parameter adjustment device 2 configured in this way performs the adjustment process. Therefore, as described in <Effects>, it is possible to reduce the burden required to adjust the camera parameters of the hyperspectral camera.
[0066] Furthermore, the adjustment system 100 configured in this way includes a parameter adjustment device 2. Therefore, the burden required for adjusting the camera parameters of the hyperspectral camera can be reduced.
[0067] (Modification) In the flowchart in the example in Figure 2, the adjusted camera parameters are output to a predetermined output destination in step S104. However, the process in step S104 does not necessarily have to be this way. Furthermore, further processing may be performed after the process in step S104.
[0068] Specifically, after the processing in step S104, or instead of the processing in step S104, the hyperspectral camera 1 may capture the object 9. This capture is performed using the adjusted hyperspectral camera 1. Therefore, an image more suitable for subsequent tasks that use the capture results of the hyperspectral camera 1 is obtained than an image obtained using the unadjusted hyperspectral camera 1.
[0069] In step S102 of Figure 2, the determination of the specified region pixels and the specified wavelength may involve determining the value of, for example, the first parameter among the camera parameters. The first parameter consists of a pixel parameter and a wavelength parameter. As described above, the pixel parameter is a parameter that indicates the specified region pixels. Therefore, the pixel parameter is a parameter that indicates the pixels from which the brightness value is acquired. Also, as described above, the wavelength parameter is a parameter that indicates the specified wavelength. Therefore, the wavelength parameter is the wavelength from which the brightness value is acquired.
[0070] As described above, the designated region pixels are predetermined pixels among the pixels of the hyperspectral camera 1, and are pixels whose luminance index is used in the determination process. Since the luminance index is used in the determination process, these pixels are pixels from which a luminance value is acquired. And for pixels that are not used in the determination process, there is no need to acquire a luminance value. Therefore, it can be said that the designated region pixels are pixels from which a luminance value is acquired. Accordingly, the pixel parameter is a parameter that indicates the designated region pixel, which is a pixel from which a luminance value is acquired.
[0071] As mentioned above, the specified wavelength is a predetermined wavelength used in calculating the luminance index. Wavelengths not used in calculating the luminance index are not specified wavelengths because there is no need to obtain luminance values for them. Therefore, the specified wavelength can be said to be the wavelength for which luminance values are obtained. Thus, the wavelength parameter is a parameter that indicates the specified wavelength, which is the wavelength for which luminance values are obtained.
[0072] The pixel parameter can be any parameter that indicates the pixel from which the brightness value is acquired. Therefore, the pixel parameter may indicate, for example, which pixels of the hyperspectral camera 1 should be turned on during shooting. Alternatively, the pixel parameter may indicate which pixel information the hyperspectral camera 1 should output as the result of the shooting when all pixels are turned on during shooting.
[0073] By the way, the series of processes of judgment processing and update processing shown in steps S103 and S105 of Figure 2 can be rephrased using the term "first parameter" as follows: That is, the series of processes of judgment processing and update processing is the process of changing the value of a second parameter, which is different from the first parameter among the camera parameters, when the value to be judged does not meet predetermined conditions.
[0074] The value to be judged is a value based on the information of the image captured under the first parameter determination value. The first parameter determination value is each value of the first parameter determined by determining the specified region pixels and the specified wavelength. Therefore, the value to be judged is specifically the luminance index value. The second parameter is specifically the parameter to be updated.
[0075] Therefore, the second parameter may be, for example, a parameter related to the brightness value of a pixel.
[0076] Furthermore, the image (hereinafter referred to as the "target area") formed by the set of pixels indicated by the pixel parameters will show at least a portion of the target 9 being photographed by the hyperspectral camera 1.
[0077] <Application Example> An application example of the parameter adjustment device 2 will be explained. The object to be photographed 9 may be, for example, the rubber of a tire. In particular, the hyperspectral camera 1 may photograph a part of the rubber region of this tire. The rubber region is a part that is made of rubber and is different from the metal parts other than rubber. The part of the rubber may be, for example, a part of the tire (an example of a second tire part) in which the angle it makes with a virtual plane in contact with the first tire part is less than or equal to a predetermined value. The first tire part is any part of this tire. The first tire part may be, for example, near the center of the rubber region of this tire.
[0078] It is natural that the part from which information is to be obtained is located directly in front of the hyperspectral camera 1. When the tire is the object being photographed 9, the part located directly in front of the hyperspectral camera 1 is an example of the first tire part. For example, consider a scenario where the axle of the tire is positioned perpendicular to the optical axis of the hyperspectral camera 1. Because the tire is rounded, in this case, the angle between the part of the tire that is further away from the center and the imaginary plane that is in contact with the center becomes larger. Therefore, the second tire part is located near the center of the tire.
[0079] Since the center of the tire is positioned directly in front of the hyperspectral camera in order to obtain information about the area around the center of the tire, information from other parts of the tire is not necessarily required. Therefore, if the pixel parameters are determined so that the area around the center of the tire is captured, then information with less unnecessary noise will be obtained compared to when these parameters are not determined.
[0080] This will be explained again in relation to the adjustment process. In the adjustment process, the area to be photographed may include at least a part of the tire (hereinafter referred to as the "first tire portion"). Furthermore, this area to be photographed may include a portion of the tire (hereinafter referred to as the "second tire portion") whose angle with a virtual plane in contact with the first tire portion is less than or equal to a predetermined value.
[0081] In this case, the wavelength indicated by the wavelength parameter may be, for example, 450 nm to 1050 nm. This is because hyperspectral cameras capable of acquiring data in this wavelength range are relatively easy to obtain and versatile, allowing for sufficient observation of changes in spectral intensity corresponding to differences in the rubber surface condition. Furthermore, many such hyperspectral cameras hold 10 bits of data per pixel, and the maximum luminance value that can be represented by that number of bits, 1024, may be used as the threshold for the luminance index. This is because this value is within the generally obtainable range of intensity, and if luminance close to this intensity can be obtained, it is sufficiently possible to distinguish the spectra of each rubber surface condition, and thus it is possible to estimate the rubber surface condition based on spectral intensity.
[0082] <Further explanation of the effects of parameter adjustment device 2> Regarding the user use of parameter adjustment device 2 as described above, let's consider the following more specific scenario. That is, consider a scenario in which the parameter adjustment device 2 acquires settings that allow for the setting of an effective (i.e., user-desired) region and wavelength band for data captured by a hyperspectral camera, and then obtains gain values and scan rate values based on pixel values.
[0083] In this case, this allows the user to acquire an image with optimally adjusted intensity only in the range they need, without having to consider how the intensity changes in unnecessary areas or wavelength bands. For example, when the purpose is to detect tire wear, it is possible that other objects may be attached to the surface of a used tire in addition to the wear caused by use (the object to be detected).
[0084] If the object has a reflectivity lower than that of the tire surface, there is no major problem. However, if there are highly reflective objects, such as glass shards or nails, setting the upper limit of the brightness value acquired for the entire image to a certain threshold will cause it to be pulled down by such highly reflective objects, resulting in the brightness values of the tire surface and worn areas, which are the intended subjects of the image, being kept unnecessarily low.
[0085] As a result, it may become impossible to adequately analyze the difference between the two. However, by excluding such regions when setting values, it is possible to prevent situations where the pixel values in the required range do not have sufficient intensity. Furthermore, once the settings are reflected, even if the absolute value of the image intensity changes, the relative value remains unchanged, and the features are acquired as they are.
[0086] <Other> The parameter adjustment device 2 may be implemented using multiple information processing devices connected to each other via a network. In this case, each process performed by the control unit 21 may be performed by multiple information processing devices in a distributed manner.
[0087] Furthermore, all or part of the functions of the parameter adjustment device 2 may be implemented using hardware such as ASIC (Application Specific Integrated Circuit), PLD (Programmable Logic Device), or FPGA (Field Programmable Gate Array). The program may be recorded on a computer-readable recording medium. Computer-readable recording media include, for example, portable media such as flexible disks, magneto-optical disks, ROMs, and CD-ROMs, and storage devices such as hard disks built into computer systems. The program may also be transmitted via a telecommunications line.
[0088] Although embodiments of this invention have been described in detail above with reference to the drawings, the specific configuration is not limited to these embodiments and includes designs and the like that do not depart from the spirit of this invention.
[0089] 100...Adjustment system, 1...Hyperspectral camera, 2...Parameter adjustment device, 21...Control unit, 22...Interface unit, 23...Storage unit, 91...Processor, 92...Memory
Claims
1. A method for adjusting the camera parameters of a hyperspectral camera, comprising: determining a value for a first parameter among the camera parameters; changing the value of a second parameter, which is different from the first parameter among the camera parameters, if the value based on the information of an image captured under the first value does not satisfy a predetermined condition; the first parameter being a pixel parameter, which is a parameter indicating a specified region pixel, which is a pixel from which a brightness value is acquired; and a wavelength parameter, which is a parameter indicating a specified wavelength, which is the wavelength from which a brightness value is acquired; and the target area, which is an image shown by the set of pixels indicated by the pixel parameter, includes at least a part of the object to be captured by the hyperspectral camera.
2. The method for adjusting the camera parameters of a hyperspectral camera according to claim 1, wherein at least a part of the tire is captured in the target area, and the target area captures a portion of the tire such that the angle it makes with a virtual plane in contact with the part of the tire is less than or equal to a predetermined value.
3. The method for adjusting the camera parameters of a hyperspectral camera according to claim 2, wherein the wavelength indicated by the wavelength parameter is 450 nm to 1050 nm.
4. The method for adjusting camera parameters of a hyperspectral camera according to claim 1, wherein the second parameter is a parameter relating to the brightness value of a pixel.
5. The method for adjusting camera parameters of a hyperspectral camera according to claim 4, wherein the parameter relating to the brightness value of a pixel is a gain value or a scan rate value.
6. A hyperspectral camera camera parameter adjustment device comprising: a control unit for adjusting the camera parameters of a hyperspectral camera, wherein, in the adjustment, the control unit changes the value of a second parameter, which is different from the first parameter, among the camera parameters, when a value based on information of an image taken under a first parameter determination value, which is a determined value for a first parameter among the camera parameters, does not satisfy a predetermined condition, the first parameter being a pixel parameter, which is a parameter indicating a designated area pixel, which is a pixel from which a brightness value is acquired, and a wavelength parameter, which is a parameter indicating a designated wavelength, which is the wavelength from which a brightness value is acquired, and the target area, which is an image shown by the set of pixels indicated by the pixel parameter, includes at least a part of the object to be photographed by the hyperspectral camera.
