Image color correction system and method
By applying polynomial CCM and scaling values in the image processing circuit, the problem of average brightness difference in the image imaging system is solved, the accuracy and quality of color correction are improved, and it is suitable for a variety of imaging systems.
Patent Information
- Application Number
- CN202210381943.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-22
- Filing Date
- 2022-04-12
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-04-12
AI Technical Summary
Existing image imaging systems suffer from average brightness differences in color correction, resulting in limited color accuracy and quality, especially under different scene illumination and camera exposure conditions.
By applying a polynomial color correction matrix (CCM) in the image processing circuit, combined with the use of scaling values, the image is first scaled to mitigate the average brightness difference, then the CCM is applied for color correction, and sRGB gamma is applied if necessary to improve the color quality.
It effectively solves the color correction problem of image imaging systems under different scenes and exposure conditions, reduces exposure dependence, improves color accuracy and quality, and is suitable for a variety of imaging systems such as visible light, infrared, etc.
Smart Images

Figure CN115209118B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to and the benefit of U.S. Provisional Patent Application No. 63 / 174,470, filed on April 13, 2021, entitled “IMAGE COLORCORRECTION SYSTEMS AND METHODS,” the entire contents of which are incorporated herein by reference. Technical Field
[0003] One or more embodiments relate generally to imaging, and more particularly, for example, to image color correction systems and methods. Background Art
[0004] An imaging system can include an array of detectors, each detector acting as a pixel to produce a portion of a two-dimensional image. There are a variety of image detectors, such as visible light image detectors, infrared image detectors, or other types of image detectors that can be arranged in an image detector array for capturing an image. As an example, multiple sensors can be arranged in an image detector array to detect electromagnetic (EM) radiation of a desired wavelength. In some cases, such as for visible light imaging, readout of image data captured by the detector can be performed by a readout circuit in a time-division multiplexed manner. The readout image data can be transmitted to other circuits, such as for processing, storage, and / or display. Summary of the invention
[0005] In one or more embodiments, a method includes receiving an image. The method also includes determining a first scaling value and a second scaling value based at least on the image. The method also includes applying the first scaling value to the image to obtain a scaled image. The method also includes applying a color correction matrix (CCM) to the scaled image to obtain a CCM image. The method also includes applying the second scaling value to the CCM image to obtain a color corrected image.
[0006] In one or more embodiments, a method includes receiving an image. The method also includes obtaining a correlated color temperature associated with the image. The method also includes obtaining a CCM based on the correlated color temperature. The method also includes generating a color corrected image based on the CCM.
[0007] In one or more embodiments, a system includes a processing circuit configured to receive an image. The processing circuit is further configured to determine a first scaling value and a second scaling value based on at least the image. The processing circuit is further configured to apply the first scaling value to the image to obtain a scaled image. The processing circuit is further configured to apply a CCM to the scaled image to obtain a CCM image. The processing circuit is further configured to apply the second scaling value to the CCM image to obtain a color corrected image.
[0008] The scope of the present disclosure is defined by the claims, which are incorporated into this section by reference. By considering the following detailed description of one or more embodiments, those skilled in the art will gain a more complete understanding of the embodiments of the present disclosure, as well as realize additional advantages thereof. Reference will be made to the accompanying drawings, which will first be briefly described. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A block diagram of an example imaging system is shown in accordance with one or more embodiments of the present disclosure.
[0010] Figure 2 A block diagram of an example image sensor assembly is shown in accordance with one or more embodiments of the present disclosure.
[0011] Figure 3 A flow chart of an example process for facilitating color correction in accordance with one or more embodiments of the present disclosure is shown.
[0012] Figure 4 A flow chart illustrating an example process for obtaining a color correction matrix for an image via user input in accordance with one or more embodiments of the present disclosure is shown.
[0013] Figure 5 and 6 Each shows a flow chart of an example process for obtaining a color correction matrix for an image based on a calculated correlated color temperature of the image according to one or more embodiments of the present disclosure.
[0014] Fig. 7A An example image is shown with no color correction applied.
[0015] Figure 7B An image of target quality is shown.
[0016] Figure 7C shows a linear color correction matrix applied Fig. 7A of the image.
[0017] Fig.7D shows the polynomial color correction matrix and sRGB gamma applied Fig. 7A of the image.
[0018] Embodiments of the present disclosure and their advantages are best understood by referring to the detailed description below. It should be noted that the sizes of the various components and the distances between these components are not drawn to scale in the drawings. It should be understood that similar reference numerals are used to identify similar elements shown in one or more drawings. DETAILED DESCRIPTION
[0019] The detailed description set forth below is intended as a description of various configurations of the subject technology and is not intended to represent the only configuration in which the subject technology can be practiced. The drawings are incorporated herein and constitute a part of the detailed description. The detailed description includes specific details for providing a thorough understanding of the subject technology. However, it will be clear and obvious to those skilled in the art that the subject technology is not limited to the specific details set forth herein and can be practiced using one or more embodiments. In one or more instances, the structures and components are shown in block diagram form to avoid confusing the concept of the subject technology. One or more embodiments disclosed in the subject matter are illustrated by one or more drawings and / or described in conjunction with one or more drawings, and are set forth in the claims.
[0020] Various techniques are provided to facilitate color correction of images. Color correction of images can allow for color reproduction and high color accuracy, which can facilitate various applications, such as machine vision applications. As non-limiting examples, machine vision applications can be used in life sciences, medical applications, microscopy, and / or other fields / applications. For example, an image captured under a microscope may include blood cells, whose color may need to be corrected (e.g., to improve color accuracy) to facilitate analysis (e.g., by a user and / or a machine).
[0021] Color correction can be performed by an imaging system. The imaging system may include an image sensor device and a processing circuit. The image sensor device includes a detector (e.g., also referred to as a detector pixel, a detector element, or simply a pixel). Each detector pixel detects incident EM radiation and generates an image (e.g., a visible light image) indicating the detected EM radiation of the scene. The images generated by the image sensor device may be based at least in part on a spectral response curve associated with the image sensor device. The processing circuit may perform color correction on the images to improve the color fidelity / accuracy of these images. The processing circuit may receive an image of the scene from the image sensor device and / or retrieve a stored image of the scene captured by the image sensor device from a memory. In this regard, when the image is captured by the image sensor device, the image may be provided to the processing circuit from the image sensor device (e.g., in near real time). In other cases, the image may be stored (e.g., by the image sensor device and / or the processing circuit) in a memory of the imaging system and retrieved by the processing circuit, at least for color correction. The memory may be part of the imaging system, or generally any memory accessible to the processing circuit. The stored image may be retrieved as needed for the application.
[0022] In various embodiments, color correction can be based on applying a polynomial color correction matrix (CCM) to the image. In this regard, for the polynomial CCM, polynomial regression can be used to expand (R, G, B) T vector to add additional polynomial terms. As a non-limiting example, in one aspect, (R, G, B)T The vector can be expanded to have second-order terms (e.g., square terms (e.g., R 2 ) and the cross-channel term (e.g., RG)) 2 ,G 2 ,B 2 ,RG,GB,RB) T . In this example, the polynomial CCM may be provided as a 3×9 matrix. The entries / elements of the polynomial CCM may be determined based on a calibration image. The calibration image may be a standard test image used in image processing, such as a color test chart (e.g., a Macbeth color chart), or generally any image with known / standardized properties (e.g., reflectance values for each of the R, G, and B channels measured with a spectrophotometer or standard / published values, a known illuminant, etc.).
[0023] For 3×9 CCM, if the image to which 3×9 CCM is applied (e.g., also referred to as the current image) has a different mean brightness than the calibration image (e.g., by a factor k) due to different scene illumination and / or different camera exposure, then k is scaled (e.g., for a first-order term) or k 2 The individual components of the dilation vector (eg, for the second order terms) and the individual entries / elements of the 3×9 polynomial CCM also need to be changed due to the average brightness difference.
[0024] In some embodiments, to mitigate / address this average brightness difference between the current image and the calibration image, the processing circuitry may scale the current image using a scaling value (e.g., also referred to as a scaling factor) before and after applying the polynomial CCM. The current image may be scaled by a first scaling value (denoted as scale1) to obtain a scaled image. The scaling value scale1 may be determined based on the current image and the calibration image to address the average brightness difference between the current image and the calibration image. As an example, the scaling value scale1 may be given by scale1=I calib / I im Provide, among which, I calib and I im are the average relative brightness of the calibration image and the current image, respectively, to account for the average brightness difference between these images. The processing circuit may apply CCM to the scaled image to obtain a CCM image, and then scale the CCM image using a second scaling value (denoted as scale2) to obtain a color corrected image. In one aspect, the scaling value scale2 may be the inverse of the scaling value scale1, such that scale2=1 / scale1=I im / I calibIn embodiments, scaling the overall image brightness before and after applying the polynomial CCM may reduce exposure dependency and improve color quality. In some cases, a standardized RGB (sRGB) gamma may be applied to the color corrected image prior to display (e.g., if the current image is to be viewed by humans on a monitor (e.g., a calibrated monitor)). Note that while a polynomial regression resulting in a 3×9 color correction matrix is provided above, other polynomial regressions to varying degrees and / or CCMs of other sizes (e.g., 3×9, 3×10) may be used for color correction.
[0025] For any given current image to be color corrected, processing circuitry may determine (e.g., estimate, select) a CCM to be applied to the image based on a correlated color temperature (CCT) associated with a scene captured by the image. In some cases, the scene correlated color temperature may be specified by a user. For example, a user interface may be provided to the user (e.g., on a display screen) with user-selectable correlated color temperature options. In other cases, the correlated color temperature may be determined (e.g., estimated) by processing circuitry, such as based on content / characteristics (e.g., RGB characteristics) of the current image.
[0026] In one aspect, the CCM may be one of a set of predetermined CCMs stored in a memory, each CCM being associated with a correlated color temperature. For example, the processing circuitry may select a CCM associated with a correlated color temperature that is closest to a correlated color temperature associated with a scene to apply to a current image. In this regard, each CCM may be considered to represent color correction parameters calibrated for a correlated color temperature, and the CCM selected for application to the current image may be considered to be an appropriate CCM (e.g., based on the correlated color temperature) to apply to the image to achieve high color accuracy. In another aspect, the CCM may be determined (e.g., on the fly) based on the correlated color temperature.
[0027] Although various embodiments for color correction are described primarily for visible light imaging, color-corrected images generated using the methods and systems disclosed herein may be used in conjunction with devices and systems such as infrared imaging systems, imaging systems with visible light and infrared imaging capabilities, short-wave infrared (SWIR) imaging systems, light detection and ranging (LIDAR) imaging systems, radar detection and ranging (RADAR) imaging systems, millimeter wave (MMW) imaging systems, ultrasound imaging systems, X-ray imaging systems, microscopy systems, mobile digital cameras, video surveillance systems, video processing systems, or other systems or devices that may need to obtain image data in one or more portions of the EM spectrum. For example, the color-corrected image may be a visible light image of a scene that may be fused / blended with an infrared image of the scene.
[0028] Now referring to the accompanying drawings, Figure 1A block diagram of an example imaging system 100 (e.g., a visible light camera, a tablet computer, a laptop computer, a personal digital assistant (PDA), a mobile device, a desktop computer, or other electronic device) according to one or more embodiments of the present disclosure is shown. However, not all of the components depicted are required, and one or more embodiments may include additional components not shown in the figure. The arrangement and type of components may be changed without departing from the spirit or scope of the claims as described herein. Additional components, different components, and / or fewer components may be provided.
[0029] According to embodiments of the present disclosure, imaging system 100 may be used to capture and process images. Imaging system 100 may represent any type of imaging system that detects one or more ranges (e.g., bands) of EM radiation and provides representative data (e.g., one or more still image frames or video image frames). Imaging system 100 may include a housing that at least partially surrounds components of imaging system 100, for example, to facilitate compactness and protection of imaging system 100. For example, Figure 1 The solid line box labeled 175 in the figure may represent the housing of the imaging system 100. The housing may include Figure 1 , and / or different components of the imaging system 100 are depicted within the solid line box in . In embodiments, the imaging system 100 may include a portable device and may be incorporated into, for example, a vehicle or non-mobile device where storage and / or display of images is desired. The vehicle may be a land-based vehicle (e.g., a car, a truck), a sea-based vehicle, an aircraft (e.g., an unmanned aerial vehicle (UAV)), a space vehicle, or generally any type of vehicle that may incorporate (e.g., be mounted within, mounted on, etc.) the imaging system 100. In another example, the imaging system 100 may be coupled to various types of fixed locations (e.g., a home security installation, a campsite or outdoor installation, or other locations) via one or more types of mounts.
[0030] According to one embodiment, the imaging system 100 includes a processing component 105, a memory component 110, an image capture component 115, an image interface 120, a control component 125, a display component 130, a sensing component 135, and / or a network interface 140. According to various embodiments, the processing component 105 includes one or more of a processor, a microprocessor, a central processing unit (CPU), a graphics processing unit (GPU), a single-core processor, a multi-core processor, a microcontroller, a programmable logic device (PLD) (e.g., a field programmable gate array (FPGA)), an application-specific integrated circuit (ASIC), a digital signal processing (DSP) device, or other logic devices that can be configured to perform various operations discussed herein for embodiments of the present disclosure by hard wiring, executing software instructions, or a combination of both. The processing component 105 can be configured to interface and communicate with various other components of the imaging system 100 (e.g., 110, 115, 120, 125, 130, 135, 140, etc.) to perform such operations. For example, processing component 105 can be configured to process captured image data received from imaging capture component 115, store image data in memory component 110, and / or retrieve stored image data from memory component 110. In one aspect, processing component 105 can be configured to perform various system control operations (e.g., control the communications and operations of various components of imaging system 100) and other image processing operations (e.g., data conversion, color correction, video analysis, etc.).
[0031] In one embodiment, the memory component 110 includes one or more memory devices configured to store data and information, including visible light image data and information. The memory component 110 may include one or more different types of memory devices, including volatile and non-volatile memory devices, such as random access memory (RAM), dynamic RAM (DRAM), static RAM (SRAM), non-volatile random access memory (NVRAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, hard disk drive, and / or other types of memory. As described above, the processing component 105 can be configured to execute software instructions stored in the memory component 110 to perform method and process steps and / or operations. In one or more embodiments, such instructions, when executed by the processing component 105, can cause the imaging system 100 to perform operations associated with color correction of images. The processing component 105 and / or the image interface 120 can be configured to store images or digital image data captured by the image capture component 115, color correction matrices, and / or other data in the memory component 110.
[0032] In some embodiments, a separate machine-readable medium 145 (e.g., a memory such as a hard drive, compact disk, digital video disk, or flash memory) can store software instructions and / or configuration data that can be executed or accessed by a computer (e.g., a logic device or processor-based system) to perform various methods and operations, such as those associated with processing image data. In one aspect, the machine-readable medium 145 can be portable and / or located separately from the imaging system 100, with the stored software instructions and / or data provided to the imaging system 100 by coupling the machine-readable medium 145 to the imaging system 100 and / or by the imaging system 100 downloading from the machine-readable medium 145 (e.g., via a wired link and / or a wireless link). It should be understood that the various modules can be integrated in software and / or hardware as part of the processing component 105, wherein the code (e.g., software or configuration data) for the module is stored, for example, in the memory component 110.
[0033] The imaging system 100 may represent an imaging device, such as a video and / or still camera, to capture and process images and / or video of a scene 160. In this regard, the image capture component 115 of the imaging system 100 may be configured to capture images (e.g., still and / or video images) of the scene 160 in a particular spectrum or modality. The image capture component 115 includes an image detector circuit 165 and a readout circuit 170. For example, the image capture component 115 may include a visible light imaging sensor. In some cases, instead of or in addition to capturing radiation from the visible light spectrum, the image detector circuit 165 may include circuitry to capture radiation from one or more other bands of the EM spectrum (e.g., infrared light, ultraviolet light, etc.). For example, the image capture component 115 may include an IR imaging sensor (e.g., an IR imaging sensor array) configured to detect IR radiation in the near, mid, and / or far IR spectrum and provide an IR image (e.g., IR image data or signal) representing IR radiation from the scene 160. For example, image detector circuit 165 can capture (e.g., detect, sense) IR radiation having a wavelength in a range from about 700 nm to about 2 mm, or a portion thereof. For example, in some aspects, image detector circuit 165 can be sensitive to (e.g., better detect) SWIR radiation, mid-wave IR (MWIR) radiation (e.g., EM radiation having a wavelength of 2 μm to 5 μm), and / or long-wave IR (LWIR) radiation (e.g., EM radiation having a wavelength of 7 μm to 14 μm), or any desired IR wavelength (e.g., typically in the range of 0.7 μm to 14 μm).
[0034] Image detector circuit 165 can capture image data (e.g., visible light image data) associated with scene 160. To capture a detector output image, image detector circuit 165 can detect image data of scene 160 (e.g., in the form of EM radiation) and generate pixel values of the image based on scene 160. An image can be referred to as a frame or image frame. In some cases, image detector circuit 165 can include a detector array (e.g., also referred to as a pixel array) that can detect radiation of a specific band, convert the detected radiation into an electrical signal (e.g., voltage, current, etc.), and generate pixel values based on the electrical signal. Each detector in the array can capture a corresponding portion of the image data and generate a pixel value based on the corresponding portion captured by the detector. The pixel value generated by the detector can be referred to as an output of the detector. In one example, each detector can be a photodetector. The detector array can be arranged in rows and columns.
[0035] The detector output image may be or may be considered to be a data structure including pixels and being a representation of image data associated with the scene 160, wherein each pixel has a pixel value representing EM radiation emitted or reflected from a portion of the scene 160 and received by a detector that generates the pixel value. Depending on the context, a pixel may refer to a detector of the image detector circuit 165 that generates the associated pixel value, or a pixel (e.g., pixel position, pixel coordinates) of the detector output image formed by the generated pixel value. In one example, the detector output image may be a visible light image.
[0036] In one aspect, the pixel values generated by the image detector circuit 165 can be represented based on a digital count value generated based on an electrical signal obtained from converting the detected radiation. For example, where the image detector circuit 165 includes or is otherwise coupled to an analog-to-digital (ADC) circuit, the ADC circuit can generate a digital count value (e.g., for each color channel) based on the electrical signal. For an ADC circuit that can use 14 bits to represent the electrical signal, the digital count value can range from 0 to 16383. In such a case, the pixel value of the detector can be a digital count value output from the ADC circuit. In other cases (e.g., in the absence of an ADC circuit), the pixel value can be analog in nature, with the value being or indicating the value of the electrical signal.
[0037] The readout circuit 170 may serve as an interface between the image detector circuit 165 that detects image data and the processing component 105 that processes the detected image data read out by the readout circuit 170, wherein the transfer of data from the readout circuit 170 to the processing component 105 is facilitated by the image interface 120. The image capture frame rate may refer to the rate at which the image detector circuit 165 sequentially detects / outputs images and the images are provided to the processing component 105 by the readout circuit 170 (e.g., images output by the detector per second). The readout circuit 170 may read out the pixel values generated by the image detector circuit 165 according to an integration time (e.g., also referred to as an integration period).
[0038] In some cases, image capture component 115 may include one or more filters adapted to pass radiation of some wavelengths but substantially block radiation of other wavelengths. For example, image capture component 115 may be a visible light imaging device that includes one or more filters adapted to pass visible light while substantially blocking radiation of other wavelengths. In this example, such filters may be used to adjust image capture component 115 to increase sensitivity to a desired band of visible light wavelengths.
[0039] In some embodiments, the image capture component 115 may include a visible light sensor device implemented using a complementary metal oxide semiconductor (CMOS) sensor or a charge coupled device (CCD) sensor. In some cases, other imaging sensors may be included in the image capture component 115 and operated independently or in conjunction with the visible light sensor device, and may include a photonic mixer device (PMD) imaging sensor or other time-of-flight (ToF) imaging sensor, a LIDAR imaging device, a RADAR imaging device, a millimeter imaging device, a positron emission tomography (PET) scanner, a single photon emission computed tomography (SPECT) scanner, an infrared imaging device, an ultrasound imaging device, or other imaging devices operating in a specific modality and / or spectrum.
[0040] The image or digital image data corresponding to the image provided by the image capture component 115 can be associated with a corresponding image size (also referred to as pixel size). Image size or pixel size generally refers to the number of pixels in the image, for example, for a two-dimensional image, it can be expressed as width multiplied by height, or in other appropriate ways for the relevant size or shape of the image. Therefore, an image with an original resolution can be resized to a smaller size (e.g., with less pixel size) to, for example, reduce the cost of processing and analyzing the image. A filter (e.g., non-uniformity estimation) can be generated based on an analysis of the resized image. The filter can then be resized to the original resolution and size of the image before being applied to the image.
[0041] In some embodiments, the image interface 120 may include appropriate input ports, connectors, switches, and / or circuits configured to interface with an external device (e.g., remote device 150 and / or other device) to receive an image (e.g., digital image data) generated by the external device or otherwise stored at the external device. In one aspect, the image interface 120 may include a serial interface and telemetry lines for providing metadata associated with the image data. The received image or image data may be provided to the processing component 105. In this regard, the received image or image data may be converted into a signal or data suitable for processing by the processing component 105. For example, in one embodiment, the image interface 120 may be configured to receive analog video data and convert it into suitable digital data to provide to the processing component 105.
[0042] The image interface 120 may include various standard video ports that may be connected to a video player, a camera, or other device capable of generating a standard video signal, and may convert the received video signal into digital video / image data suitable for processing by the processing component 105. In some embodiments, the image interface 120 may also be configured to interface with the image capture component 115 and receive an image (e.g., image data) from the image capture component 115. In other embodiments, the image capture component 115 may interface directly with the processing component 105.
[0043] In one embodiment, the control component 125 includes a user input and / or interface device, such as a rotatable knob (e.g., a potentiometer), a button, a slide bar, a keyboard, and / or other device, which is suitable for generating a user input control signal. The processing component 105 can be configured to sense a control input signal from a user via the control component 125 and respond to any sensed control input signal received therefrom. As is generally understood by those skilled in the art, the processing component 105 can be configured to interpret such a control input signal as a value. In one embodiment, the control component 125 can include a control unit (e.g., a wired or wireless handheld control unit) having buttons suitable for interacting with a user and receiving user input control values. In one embodiment, the buttons of the control unit can be used to control various functions of the imaging system 100, such as autofocus, menu activation and selection, field of view, brightness, contrast, noise filtering, image enhancement, and / or various other features of the imaging system or camera.
[0044] In one embodiment, the display component 130 includes an image display device (e.g., a liquid crystal display (LCD)) or various other types of commonly known video displays or monitors. The processing component 105 can be configured to display image data and information on the display component 130. The processing component 105 can be configured to acquire image data and information from the memory component 110 and display any acquired image data and information on the display component 130. The display component 130 can include display circuitry, which the processing component 105 can utilize to display image data and information. The display component 130 can be adapted to receive image data and information directly from the image capture component 115, the processing component 105, and / or the image interface 120, or the image data and information can be transmitted from the memory component 110 via the processing component 105. In some aspects, the control component 125 can be implemented as part of the display component 130. For example, a touch screen of the imaging system 100 can provide the control component 125 of the imaging system 100 (e.g., for receiving user input through tapping, swiping, and / or other gestures) and the display component 130.
[0045] In one embodiment, as will be appreciated by those skilled in the art, the sensing component 135 includes one or more sensors of various types, depending on the application or implementation requirements. The sensors of the sensing component 135 provide data and / or information to at least the processing component 105. In one aspect, the processing component 105 can be configured to communicate with the sensing component 135. In various embodiments, the sensing component 135 can provide information about environmental conditions (e.g., outdoor temperature), lighting conditions (e.g., day, night, dusk and / or dawn), humidity levels, specific weather conditions (e.g., sun, rain and / or snow), distances (e.g., laser rangefinders or time-of-flight cameras), and / or whether to enter or exit a tunnel or other type of enclosure. The sensing component 135 can represent conventional sensors commonly known to those skilled in the art for monitoring various conditions (e.g., environmental conditions) that may have an impact on the image data provided by the image capture component 115 (e.g., on the appearance of the image).
[0046] In some embodiments, sensing component 135 (e.g., one or more sensors) may include devices that relay information to processing component 105 via wired and / or wireless communications. For example, sensing component 135 may be adapted to receive information from satellites via local broadcast (e.g., radio frequency (RF)) transmissions, via mobile or cellular networks, and / or via information beacons in infrastructure (e.g., traffic or highway information beacon infrastructure), or various other wired and / or wireless technologies. In some embodiments, processing component 105 may use information obtained from sensing component 135 (e.g., sensory data) to modify the configuration of image capture component 115 (e.g., adjust light sensitivity levels, adjust the orientation or angle of image capture component 115, adjust aperture, etc.).
[0047] In some embodiments, the various components of the imaging system 100 may be distributed and communicate with each other via the network 155. In this regard, the imaging system 100 may include a network interface 140 configured to facilitate wired and / or wireless communications between the various components of the imaging system 100 via the network 155. In such embodiments, components may also be replicated if required by a particular application of the imaging system 100. That is, components configured for the same or similar operations may be distributed over the network. In addition, if desired, all or part of any of the various components may be implemented using appropriate components of a remote device 150 (e.g., a conventional digital video recorder (DVR), a computer configured for image processing, and / or other device) that communicates with the various components of the imaging system 100 via the network interface 140 over the network 155. Thus, for example, all or part of the processing component 105, all or part of the memory component 110, and / or all or part of the display component 130 may be implemented or replicated at the remote device 150. In some embodiments, the imaging system 100 may not include an imaging sensor (e.g., image capture component 115), but instead receive images or image data from an imaging sensor that is located separate and remote from the processing component 105 and / or other components of the imaging system 100. It should be understood that many other combinations of distributed implementations of the imaging system 100 are possible without departing from the scope and spirit of the present disclosure.
[0048] Furthermore, in various embodiments, various components of the imaging system 100 may be combined and / or implemented or not implemented as desired or depending on the application or requirements. In one example, the processing component 105 may be combined with the memory component 110, the image capture component 115, the image interface 120, the display component 130, the sensing component 135, and / or the network interface 140. In another example, the processing component 105 may be combined with the image capture component 115 such that certain functions of the processing component 105 are performed by circuits (e.g., a processor, a microprocessor, a logic device, a microcontroller, etc.) within the image capture component 115.
[0049] In one embodiment, the remote device 150 may be referred to as a host device. The host device may communicate with the portion 175 of the imaging system 100 via the network interface 140 and the network 155. For example, the portion 175 of the imaging system 100 may be a camera that may communicate with the remote device 150. The network interface 140 and the network 155 may collectively provide appropriate interfaces, ports, connectors, switches, antennas, circuits, and / or any other components of the portion 175 of the imaging system 100 and the remote device 150 in general to facilitate communication between the portion 175 of the imaging system 100 and the remote device. The communication interface may include an Ethernet interface (e.g., an Ethernet GigE interface, an Ethernet GigE imaging interface), a universal serial bus (USB) interface, other wired interfaces, a cellular interface, a Wi-Fi interface, other wireless interfaces, or generally any interface to allow data communication between the portion 175 of the imaging system 100 and the remote device 150.
[0050] Figure 2 A block diagram of an example image sensor assembly 200 is shown in accordance with one or more embodiments of the present disclosure. However, not all of the depicted components are required, and one or more embodiments may include additional components not shown in the figure. Changes may be made to the arrangement and type of components without departing from the spirit or scope of the claims as described herein. Additional components, different components, and / or fewer components may be provided. In an embodiment, Figure 1 Image capture component 115 may be, may include, or may be part of image sensor assembly 200 .
[0051] The image sensor assembly 200 includes a unit cell array 205, column multiplexers 210 and 215, column amplifiers 220 and 225, a row multiplexer 230, a control bias and timing circuit 235, a digital-to-analog converter (DAC) 240, and / or a data output buffer 245. In some aspects, operations of the unit cell array 205 and other components and / or operations related thereto may be performed according to a system clock and / or synchronization signal (e.g., a line synchronization (LSYNC) signal). The unit cell array 205 includes an array of unit cells. In one aspect, each unit cell may include a detector (e.g., a pixel) and an interface circuit. The interface circuit of each unit cell may provide an output signal, such as an output voltage or an output current, in response to a detection signal (e.g., a detection current, a detection voltage) provided by the detector of the unit cell. The output signal may indicate the magnitude of the EM radiation received by the detector and may be referred to as image pixel data or simply image data. The column multiplexer 215, the column amplifier 220, the row multiplexer 230, and the data output buffer 245 may be used to provide output signals from the unit cell array 205 as data output signals on data output lines 250. The output signals on the data output lines 250 may be provided to components downstream of the image sensor assembly 200, such as processing circuits (e.g., Figure 1 105), memory (e.g., Figure 1 110), a display device (e.g., Figure 1 The display component 130 of the image sensor assembly 200) and / or other components that facilitate processing, storage and / or display of the output signal. The data output signal can be an image formed by the pixel values of the image sensor assembly 200. In this regard, the column multiplexer 215, the column amplifier 220, the row multiplexer 230 and the data output buffer 245 can collectively provide a readout circuit (or a portion thereof) of the image sensor assembly 200. In one aspect, the interface circuit can be considered to be part of the readout circuit, or can be considered to be an interface between the detector and the readout circuit. In some embodiments, the components of the image sensor assembly 200 can be implemented so that the unit cell array 205 and the readout circuit can be part of a single tube core.
[0052] The column amplifier 225 may generally represent any column processing circuit suitable for a given application (analog and / or digital), and is not limited to amplifier circuits for analog signals. In this regard, the column amplifier 225 may be more generally referred to as a column processor in such an aspect. The signals received by the column amplifier 225, such as analog signals on an analog bus and / or digital signals on a digital bus, may be processed according to the analog or digital nature of the signal. As an example, the column amplifier 225 may include a circuit for processing digital signals. As another example, the column amplifier 225 may be a path through which a digital signal from the unit cell array 205 passes to reach the column multiplexer 215 (e.g., without processing). As another example, the column amplifier 225 may include an ADC for converting an analog signal into a digital signal (e.g., to obtain a digital count value). These digital signals may be provided to the column multiplexer 215.
[0053] Each unit cell can receive a bias signal (e.g., a bias voltage, a bias current) to bias the detector of the unit cell to compensate for different response characteristics of the unit cell that may be attributable to, for example, temperature changes, manufacturing variations, and / or other factors. For example, the control bias and timing circuit 235 can generate bias signals and provide them to the unit cells. By providing appropriate bias signals to each unit cell, the unit cell array 205 can be effectively calibrated to provide accurate image data in response to light (e.g., visible light) incident on the detector of the unit cell. In one aspect, the control bias and timing circuit 235 can be, can include, or can be part of a logic circuit.
[0054] The control bias and timing circuit 235 may generate control signals for addressing the unit cell array 205 to allow access to and readout of image data from addressed portions of the unit cell array 205. The unit cell array 205 may be addressed to access and readout image data from the unit cell array 205 row by row, but in other implementations, the unit cell array 205 may be addressed column by column or by other means.
[0055] The control bias and timing circuit 235 can generate a bias value and a timing control voltage. In some cases, the DAC 240 can convert a bias value received as a data input signal on the data input signal line 255 or as part thereof into a bias signal (e.g., an analog signal on the analog signal line 260), which can be provided to the individual unit cells through the operation of the column multiplexer 210, the column amplifier 220, and the row multiplexer 230. For example, the DAC 240 can drive a digital control signal (e.g., provided as a bit) to an appropriate analog signal level for the unit cell. In some techniques, a digital control signal of 0 or 1 can be driven to an appropriate logic low voltage level or an appropriate logic high voltage level, respectively. On the other hand, the control bias and timing circuit 235 can generate a bias signal (e.g., an analog signal) and provide the bias signal to the unit cell without using the DAC 240. In this regard, some embodiments do not include the DAC 240, the data input signal line 255 and / or the analog signal line 260. In an embodiment, the control bias and timing circuit 235 can be, can include, can be Figure 1 The processing component 105 and / or the image capture component 115 may be a portion of or otherwise coupled to Figure 1 processing component 105 and / or image capture component 115.
[0056] In one embodiment, the image sensor assembly 200 can be implemented as part of an imaging system (e.g., 100). In addition to the various components of the image sensor assembly 200, the imaging system can also include one or more processors, memories, logic components, displays, interfaces, optical devices (e.g., lenses, mirrors, beam splitters), and / or other components that may be appropriate in various embodiments. In one aspect, the data output signal on the data output line 250 can be provided to a processor (not shown) for further processing. For example, the data output signal can be an image formed by pixel values from unit cells of the image sensor assembly 200. The processor can perform operations such as non-uniformity correction (e.g., FFC or other calibration techniques), spatial and / or temporal filtering, and / or other operations. The image (e.g., processed image) can be stored in a memory (e.g., external or local to the imaging system) and / or displayed on a display device (e.g., external to the imaging system and / or integrated with the imaging system). Figure 2 The various components of the present invention may be implemented on a single chip or multiple chips. In addition, although the various components are shown as a set of separate blocks, the various blocks may be combined together, or Figure 2 The various blocks shown in can be separated into separate blocks.
[0057] Note that Figure 2, the unit cell array 205 is depicted as 8×8 (e.g., 8 rows and 8 columns of unit cells). However, the unit cell array 205 may have other array sizes. As non-limiting examples, the unit cell array 205 may include 512×512 (e.g., 512 rows and 512 columns of unit cells), 1024×1024, 2048×2048, 4096×4096, 8192×8192, and / or other array sizes. In some cases, the array size may have a row size (e.g., the number of detectors in a row) that is different from the column size (e.g., the number of detectors in a column). Examples of image capture frame rates and / or frame transfer rates may include 30 Hz, 60 Hz, and 120 Hz, but such frame rates may vary in various embodiments. In one aspect, each unit cell of the unit cell array 205 may represent a pixel.
[0058] Figures 3 to 6 Flowcharts showing example processes for facilitating color correction according to one or more embodiments of the present disclosure are shown. Figure 1 The imaging system 100 of FIG. 1 is described for illustrative purposes, but these processes may alternatively or additionally be performed at other imaging systems in which color correction is implemented (e.g., processing distributed across the camera and host device). Note that one or more operations in these figures may be combined, omitted, and / or performed in a different order as desired.
[0059] Figure 3 A flow chart of an example process 300 for facilitating color correction according to one or more embodiments of the present disclosure is shown. At block 305, processing circuitry (e.g., processing component 105) of an imaging system (e.g., imaging system 100) receives an image (e.g., a visible light image). The processing circuitry may be implemented in the imaging system (e.g., imaging system 100) that captured the image, in one or more devices remote from the imaging system (e.g., remote device 150), or in both the imaging system and the remote device (e.g., processing distributed on the imaging system and the remote device).
[0060] The image may be represented in an imager color space associated with the imager used to capture the image (e.g., the RGB color space of the imager). As an example, the image may be received from an image sensor device (e.g., image capture component 115) of an imaging system. The image sensor device may capture an image in response to radiation (e.g., visible light radiation) of a scene (e.g., scene 160) received by the image sensor device. In some cases, the image sensor device and / or a circuit coupled to the image sensor device may convert the radiation into an electrical signal (e.g., voltage, current, etc.) and generate pixel values based on the electrical signal. In one aspect, the pixel value generated by the image sensor device and / or the associated circuit may be represented according to a digital count value generated based on the electrical signal obtained from converting the detected visible light radiation. For example, where the image sensor device includes or is otherwise coupled to an ADC circuit, the ADC circuit may generate a digital count value based on the electrical signal of each color channel. As another example, the processing circuit may receive or acquire an image from an image sensor device external to the imaging system and / or a memory (e.g., memory component 110) of the imaging system or other system storing the captured image.
[0061] At block 310, the processing circuitry obtains a correlated color temperature associated with the image. In one aspect, the processing circuitry may obtain the correlated color temperature by receiving a user input indicating a correlated color temperature to be associated with the image (e.g., input manually provided by a user of the imaging system). As an example, a user may select from a set of predetermined correlated color temperature options and / or a set of predetermined illuminant spectral power distribution options (e.g., which in turn may be associated with correlated color temperatures). The predetermined set of correlated color temperatures and / or the predetermined set of illuminant spectral power distributions may be presented to the user on a user interface (e.g., on display component 130) for selection by the user. As a non-limiting example, a list of correlated color temperatures including 2700K, 3000K, 4000K, 5500K, and / or 7000K may be provided to the user. Various correlated color temperatures may be identified numerically by their temperature values and / or by names / identifiers, such as tungsten (e.g., 2700K), warm fluorescent (e.g., 3000K), cool fluorescent (e.g., 4000K), average daylight (e.g., 5500K), and / or cloudy (e.g., 7000K).
[0062] On the other hand, the processing circuit can determine the correlated color temperature associated with the image. In some cases, based on the analysis of the image, the processing circuit can determine the correlated color temperature based on the chromaticity coordinates (e.g., xy chromaticity coordinates) that characterize the scene captured by the image. The chromaticity coordinates can be determined based on the histogram data of the image. In one case, the chromaticity coordinates can be based on statistics of the histogram data, such as a histogram average. The histogram data can be collected before applying channel digital gain or other processing. The histogram data can be based on a single histogram that characterizes the image or a set of histograms accumulated on various parts of the image. In some cases, the histogram data can be based on a portion of the image. For example, outliers in each color channel (e.g., pixels that fall into a statistical stack (bin) associated with an oversaturated value) can be discarded from the histogram, and the average value can be determined from the histogram with the outliers removed.
[0063] In one non-limiting approach, the processing circuitry may white balance the histogram statistics, convert from the imager color space to a standard color space (e.g., a standard RGB color space), normalize to values between 0 and 1, convert to CIEXYZ tristimulus values (e.g., using D50 as a reference illuminant), and convert these XYZ values to obtain chromaticity coordinates. A mapping (e.g., McCamy's relationship) may be used to map the chromaticity coordinates to a correlated color temperature. Although the foregoing provides one example method and example mapping for determining chromaticity coordinates, other mappings, other illuminants, other histogram statistics, and / or other characteristics associated with an image may be used to determine chromaticity coordinates and / or correlated color temperature.
[0064] At block 315, the processing circuit obtains a CCM based on a correlated color temperature associated with the image. In one aspect, the processing circuit may select the CCM from a predetermined set of CCMs based on the correlated color temperature. The predetermined CCMs may be referred to as pre-trained CCMs. The predetermined set of CCMs may be stored in a memory (e.g., memory component 110) of the imaging system or other system. For example, each stored CCM is associated with a correlated color temperature, and the processing circuit may select the CCM associated with the correlated color temperature that is closest to the correlated color temperature obtained by the processing circuit at block 310. In some cases, the CCM obtained by the processing circuit at block 310 may be a polynomial CCM. As an example, the polynomial CCM may be a CCM associated with the correlated color temperature from (R, G, B). T Vectors are expanded using polynomial regression (R, G, B, R 2 ,G 2 ,B 2 ,RG,GB,RB) T An associative 3×9 matrix.
[0065] For a given correlated color temperature, the CCM may be trained based on the known spectral response and spectral power distribution (SPD) of the imager used to capture the image and / or empirically using a colorimetric chart. As a non-limiting example, an empirical approach may involve using a set of color patches with known colors (e.g., a color checker such as a Macbeth color checker). In this regard, the color patches have ground truth values (e.g., ground truth RGB values). The empirical approach may include capturing an image of the color checker under known illumination (e.g., known uniform illumination), determining a color value (e.g., RGB value) in the imager's color space for each color patch, and determining a CCM that appropriately (e.g., optimally) maps the color value in the imager's color space to the ground truth color value. The determined CCM may be stored (e.g., as part of a predetermined set of CCMs). In some cases, the CCM may be pre-trained and stored for subsequent application to images associated with an appropriate correlated color temperature. In other cases, alternatively or additionally, the CCM may be trained on the fly for use with the image.
[0066] At block 320, the processing circuit determines a scaling value scale1 and a scaling value scale2 based on the image. In one aspect, the scaling value scale1 and the scaling value scale2 may be determined based on the relative brightness of the image. In some cases, the scaling value scale1 and the scaling value scale2 may be further based on the relative brightness of the calibration image associated with the CCM obtained at block 315. In one example, the scaling value scale1 may be determined by scale1=I calib / I im Provide, among which, I calib and I im are the relative brightness of the calibration image and the image received at block 305, respectively. In one aspect, the scaling value scale2 may be the inverse of the scaling value scale1.
[0067] At block 325, the processing circuitry scales the value scale lis applied to the image to obtain a scaled image. At box 330, the processing circuit applies the CCM obtained at box 315 to the scaled image to obtain a CCM image. At box 335, the processing circuit applies the scaling value scale2 to the CCM image to obtain a color corrected image. In this regard, the processing circuit generates a color corrected image based on the scaling value scale1, the scaling value scale2, and the CCM. In an embodiment, scaling the overall brightness of the image received at box 305 before and after applying the CCM (e.g., a polynomial CCM) can reduce exposure dependence and improve color quality. At box 340, the processing circuit provides the color corrected image for storage, display, and / or further processing. As an example, sRGB gamma can be applied to the color corrected image, and the gamma-applied image is displayed on a display device (e.g., a monitor calibrated for display in a standard color space, such as an sRGB monitor) for human viewing. As another example, the image obtained at box 305 can be a visible light image, which can then be combined / fused (e.g., by processing circuitry and / or other processors) with an image associated with another band, such as an infrared image (e.g., a thermal infrared image).
[0068] Figure 4 A flow chart of an example process 400 for obtaining a CCM for an image via user input in accordance with one or more embodiments of the present disclosure is shown. At block 405, processing circuitry (e.g., processing component 105) of an imaging system (e.g., imaging system 100) receives user input indicating a correlated color temperature to be associated with an image (e.g., received from an image sensor device or from a memory storing previously captured images). At block 410, the processing circuitry selects / retrieves a CCM associated with the correlated color temperature indicated by the received user input from a memory (e.g., memory component 110) (e.g., from a set of predetermined CCMs stored in the memory). For example, a user may select a correlated color temperature from a set of correlated color temperatures displayed to the user via a user interface, wherein each of the correlated color temperatures may be associated with a pre-trained CCM. In some cases, the CCM selected at block 410 may be selected in process 300 (e.g., in Figure 3 In other cases, the CCM selected at block 410 may be used for other processes related to color correction of the image, such as applying the CCM to color correction of the image (e.g., not applying the scaling value before applying the CCM and / or not applying the scaling value after applying the CCM). In an embodiment, block 405 may implement Figure 3 Block 310 and / or block 410 may implement Figure 3 Frame 315.
[0069] Figure 5A flow chart of an example process 500 for obtaining a CCM of an image based on a calculated (e.g., estimated) correlated color temperature of the image in accordance with one or more embodiments of the present disclosure is shown. At block 505, processing circuitry (e.g., processing component 105) of an imaging system (e.g., imaging system 100) determines (e.g., estimates) a correlated color temperature to be associated with an image (e.g., received from an image sensor device or from a memory storing previously captured images). In one example, the processing circuitry may determine histogram data based on the image, determine chromaticity coordinates based on the histogram data, and determine the correlated color temperature based on the chromaticity coordinates. At block 510, the processing circuitry selects / retrieves a CCM associated with the correlated color temperature determined at block 505 from a memory (e.g., memory component 110) (e.g., from a set of predetermined CCMs stored in the memory). For example, the processing circuitry may select a CCM associated with a correlated color temperature that is closest to the correlated color temperature determined at block 505. In some cases, the CCM selected at block 510 may be selected in process 300 (e.g., in Figure 3 In other cases, the CCM selected at block 510 may be used for other processes related to color correction of the image, such as applying the CCM to color correction of the image (e.g., not applying a scaling value before applying the CCM and / or not applying a scaling value after applying the CCM). In an embodiment, block 505 may implement Figure 3 Block 310 and / or block 510 may implement Figure 3 Frame 315.
[0070] Figure 6 A flow chart of an example process 600 for obtaining a CCM of an image in accordance with one or more embodiments of the present disclosure is shown. At block 605, processing circuitry (e.g., processing component 105) of an imaging system (e.g., imaging system 100) determines (e.g., estimates) a correlated color temperature to be associated with an image (e.g., received from an image sensor device or from a memory storing previously captured images).
[0071] At block 610, the processing circuitry determines whether the CCM associated with the correlated color temperature determined at block 605 may be used for acquisition. If the CCM is pre-trained (e.g., by a manufacturer of the imaging system (e.g., built into the imaging system and / or as an update to the imaging system after shipment to a user), by a user of the imaging system, by users of other imaging systems (e.g., and pre-trained CCMs provided by such users for use by other users), and / or by others), then the CCM associated with the correlated color temperature may be used for acquisition.
[0072] In one aspect, for a given correlated color temperature determined at block 605, if the correlated color temperature is within a certain threshold range / percentage around the correlated color temperature of the CCM, then the CCM may be considered usable for the correlated color temperature. For example, for a CCM associated with a correlated color temperature of 3000K (e.g., stored in memory), if the correlated color temperature determined at block 605 is between 3000K±300K (e.g., or equivalently 3000K±10%), then the processing circuitry may determine that the CCM may be usable for the correlated color temperature determined at block 605. In some cases, different CCMs may be associated with different threshold ranges / percentages around the nominal correlated color temperature. In some cases, the threshold ranges / percentages may be set by a user, a manufacturer (e.g., as a default threshold range / percentage), and / or others associated with using and / or configuring imaging system 100. As an example, the threshold range / percentage may be set to 0K or 0% (eg, the correlated color temperature associated with a CCM must match the correlated color temperature determined at block 605 to be considered a CCM usable for the correlated color temperature determined at block 605).
[0073] If the processing circuit determines at block 610 that a CCM is applicable to the correlated color temperature determined at block 605, process 600 proceeds to block 615. At block 615, the processing circuit selects / retrieves from a memory (e.g., memory component 110) a CCM associated with the correlated color temperature determined at block 605. The CCM selected at block 615 may be used (e.g., Figure 3 Color correction of the image at box 330).
[0074] If the processing circuit determines at block 610 that no CCM is available for the correlated color temperature determined at block 605, then process 600 proceeds to block 620. At block 620, the processing circuit determines a CCM based on the correlated color temperature determined at block 605. CCM entries / elements may be determined / trained (e.g., on the fly). In one aspect, for a given set of illuminants (e.g., daylight illumination), spectral power distributions may be determined for different correlated color temperatures (e.g., correlated color temperatures falling within a range from about 2500K to about 30000K). Thus, based on the correlated color temperatures determined at block 605, an associated spectral power distribution may be determined on the fly. Entries / elements of the CCM may be determined / trained on the fly based on the spectral power distributions and the known spectral response of an imager used to capture an image to which the CCM is to be applied.
[0075] As an example, the spectral power distribution and the known spectral response of the imager can allow RGB values to be simulated, and these simulated RGB values can be compared to reference real RGB values. In one aspect, the reference real RGB values can provide / define the calibration image, and the average relative brightness of the reference real RGB values can provide the I used to determine the scaling value. calib(For example, in Figure 3 320 of FIG. 10 ). Such a comparison between the simulated values and the reference real values can be used to determine the entries / elements of the CCM. In one example, during the CCM calibration step, both the reference real RGB and the camera space RGB can be simulated according to RGB'=response'[illuminant SPD⊙normalized reflectance], where RGB provides RGB values, response is the camera spectral response when simulating camera RGB or the CIE standard observer (also known as color matching function) when simulating reference real RGB, and ⊙ represents an element-wise multiplication operator. Although I is not used in the calibration process, calib , but I calib May be stored as a parameter along with its associated CCM.
[0076] At block 625, the processing circuit caches / stores the CCM determined at block 620 in a memory (e.g., memory component 110). The CCM determined at block 620 may be used (e.g., in Figure 3 The CCM determined at block 620 may be used for color correction of the image (e.g., without applying a scaling value before applying the CCM and / or without applying a scaling value after applying the CCM). In some aspects, determining CCMs on the fly and storing them as they are determined, rather than pre-training and storing a large number of CCMs (e.g., intended to accommodate a wide range of possible outdoor light), may save memory / storage resources but utilize more computing resources. In one embodiment, block 605 may implement Figure 3 Block 310 and / or block 615 and / or block 620 may implement Figure 3 Frame 315.
[0077] As an example, color correction can be used in life sciences. Fig. 7A An example image of blood cells with no color correction applied is shown. Figure 7B An image of target quality is shown. Figure 7C shows the application of linear CCM Fig. 7A of the image. Fig.7D shows the application of polynomial CCM and sRGB gamma Fig. 7A By Fig.7D Images and Figures 7A-7C The images shown are compared to the ones shown in Fig.7D Image ratio Fig. 7A and 7CThe image is closer Figure 7B The desired image is shown.
[0078] Where applicable, the various embodiments provided by the present disclosure can be implemented using hardware, software, or a combination of hardware and software. Also where applicable, the various hardware components and / or software components set forth herein can be combined into composite components comprising software, hardware, and / or both, without departing from the spirit of the present disclosure. Where applicable, the various hardware components and / or software components set forth herein can be divided into subcomponents comprising software, hardware, or both, without departing from the spirit of the present disclosure. In addition, where applicable, it is conceivable that software components can be implemented as hardware components, and vice versa.
[0079] Software according to the present disclosure, such as non-transitory instructions, program code and / or data, can be stored on one or more non-transitory machine-readable media. It is also contemplated that the software identified herein can be implemented using one or more general or special-purpose computers and / or computer systems, networked and / or non-networked. Where applicable, the order of the various steps described herein can be changed, combined into composite steps and / or divided into sub-steps to provide the features described herein.
[0080] The foregoing description is not intended to limit the present disclosure to the precise form disclosed or to the specific field of use. The above embodiments illustrate but do not limit the present invention. It is contemplated that various alternative embodiments and / or modifications of the present invention, whether explicitly described or implied herein, are possible in light of the present disclosure. Therefore, the scope of the present invention is limited only by the appended claims.
Claims
1. A method, comprising: receiving an image; determining a first scaling value and a second scaling value based at least on the image, wherein the first scaling value and the second scaling value are quantities, and wherein the first scaling value is based on a relative brightness associated with the image and a relative brightness associated with a calibration image; applying the first scaling value to the image to obtain a scaled image; applying a color correction matrix (CCM) to the scaled image to obtain a CCM image; and The second scaling value is applied to the CCM image to obtain a color corrected image.
2. The method according to claim 1, wherein: The CCM comprises a polynomial CCM, and wherein the polynomial CCM is a non-square rectangular matrix.
3. The method according to claim 1, wherein: The second scaling value is the inverse of the first scaling value.
4. The method according to claim 1, further comprising: obtaining a correlated color temperature associated with the image; and The CCM is obtained based on the correlated color temperature.
5. The method of claim 1 , further comprising capturing the image by an image sensor device, wherein: The image comprises a visible light image; and the color corrected image is provided for display and / or storage.
6. The method according to claim 4, wherein: Obtaining the correlated color temperature comprises: determining histogram data based on the image; and The correlated color temperature is determined based at least on the histogram data.
7. The method according to claim 6, further comprising: receiving a second image; obtaining a second correlated color temperature associated with the second image, Wherein obtaining the second correlated color temperature comprises receiving a user input indicating the second correlated color temperature; obtaining a second color correction matrix (CCM) based on the second correlated color temperature; and A second color-corrected image is generated based on the second color-correction matrix.
8. The method according to claim 6, wherein: Obtaining the correlated color temperature further includes: determining chromaticity coordinates associated with the image based on the histogram data, Therein, the correlated color temperature is determined at least based on the chromaticity coordinates.
9. The method according to claim 6, wherein: Obtaining the CCM includes retrieving the CCM from a memory and based on the correlated color temperature from a plurality of predetermined CCMs stored in the memory, and wherein each of the plurality of predetermined CCMs is associated with a corresponding correlated color temperature.
10. The method of claim 6, further comprising determining a spectral power distribution based at least on the correlated color temperature, wherein: The CCM is based on the spectral power distribution.
11. The method according to claim 6, further comprising: determining whether a correction matrix associated with the correlated color temperature is stored in a memory; When it is determined that a correction matrix associated with the correlated color temperature is to be stored, retrieving the CCM from the memory; and When it is determined not to store the correction matrix associated with the correlated color temperature: determining a spectral power distribution based at least on the correlated color temperature, wherein the CCM is determined based on the spectral power distribution; and The CCM is stored in the memory.
12. A system, comprising: A processing circuit, the processing circuit being configured to: receiving an image; determining a first scaling value and a second scaling value based at least on the image, wherein the first scaling value and the second scaling value are quantities, and wherein the first scaling value is based on a relative brightness associated with the image and a relative brightness associated with a calibration image; applying the first scaling value to the image to obtain a scaled image; applying a color correction matrix (CCM) to the scaled image to obtain a CCM image; and The second scaling value is applied to the CCM image to obtain a color corrected image.
13. The system according to claim 12, wherein: The CCM comprises a polynomial CCM, wherein the second scaling value is a reciprocal of the first scaling value, and wherein the processing circuit is further configured to: obtaining a correlated color temperature associated with the image; and The CCM is obtained based on the correlated color temperature.
14. The system according to claim 13, wherein: The processing circuit is configured to obtain the correlated color temperature by receiving a user input indicating the correlated color temperature, and / or wherein the processing circuit is configured to obtain the CCM by retrieving the CCM from a memory and based on the correlated color temperature from a plurality of predetermined CCMs stored in the memory, and wherein each of the plurality of predetermined CCMs is associated with a corresponding correlated color temperature.
15. The system of claim 13, wherein: The processing circuit is further configured to determine a spectral power distribution based at least on the correlated color temperature; and The processing circuit is configured to determine the CCM based on the spectral power distribution.
16. The system of claim 13, wherein: The processing circuit is further configured to determine whether a correction matrix associated with the correlated color temperature is stored in a memory; and The processing circuit is configured as follows: When it is determined that a correction matrix associated with the correlated color temperature is to be stored, retrieving the CCM from the memory; and When it is determined not to store the correction matrix associated with the correlated color temperature: determining a spectral power distribution based at least on the correlated color temperature; determining the CCM based on the spectral power distribution; and The CCM is stored in the memory.
17. The system of claim 12, further comprising an image sensor device configured to store the image, wherein The image comprises a visible light image, wherein the processing circuit is further configured to provide the color corrected image for display and / or storage.
18. The system of claim 12, wherein: The processing circuit is configured to obtain the correlated color temperature by: determining chromaticity coordinates associated with the image; and The correlated color temperature is determined based at least on the chromaticity coordinates.
