System and method for image white balance adjustment
The subject application is directed to a system and method for image enhancement. Image data, encoded as a plurality of pixels in YCbCr space, is first received, with Y representing a luma component, Cb representing a blue chroma component, and Cr representing a red chroma component. A maximum Y value is selected from the received image data. HSV image data is received corresponding to the YCbCr image data, with H representing a hue component, S representing a saturation component, and V representing a brightness component. A pixel is then selected from the HSV image data having a minimum S value. The S (saturation) value and the V (brightness) value of the selected pixel are then tested against a first and a second threshold level. Thereafter, a Max-RGB algorithm is selectively applied to the RGB image data in accordance with the output of the testing.
The subject application is directed to a system and method for image enhancement. More particularly, the subject application is directed to a system and method which uses automatic white balancing to allow for better rendering of images for printing or display after image capture.
Images inherit hue and brightness biases from a light source during image capturing process by an image capturing device, such as a digital camera. Typically, there is an image processing step, known as automatic white balancing, in such image capturing devices to remove or reduce such hue and brightness biases. Automatic white balancing for image capturing adjusts the hue and brightness according to illuminant estimation. Illuminant estimation is the process of determining if the light source is fluorescent, tungsten, incandescent, or day light and can be quite computationally intensive. The hue or brightness biases introduced by the source light are then removed or reduced, typically using the Max-RGB algorithm. In such process, it is assumed that the brightest point in the image should reflect the hue and brightness of the light source. The process involves selecting a white reference point in the image and determining its hue and brightness biases. The entire image is then adjusted to counter the biases such that the white reference point will be fully bright and neutral in color.
SUMMARY OF THE INVENTIONIn accordance with one embodiment of the subject application, there is provided a system and method for image enhancement which occurs for image data that has already been acquired.
Further, in accordance with one embodiment of the subject application, there is provided a system and method which uses automatic white balancing to allow for better rendering of images for printing or display after image capture.
Still further, in accordance with one embodiment of the subject application, there is provided a system and method for image enhancement which is automatic and which does not require illuminant estimation.
Still further, in accordance with one embodiment of the subject application, there is provided a system and method for image enhancement which determines whether it is appropriate to adjust the hue or brightness of the image using the Max-RGB algorithm.
Still further, in accordance with one embodiment of the subject application, there is provided an image enhancement system. The system comprises means adapted for receiving YCbCr image data encoded as a plurality of pixels in YCbCr space, wherein Y is a luma component, Cb is a blue chroma component, and Cr is a red chroma component, and means adapted for selecting a maximum Y value from the image data. The system also comprises means adapted for receiving HSV image data corresponding to the YCbCr image data, wherein H is a hue component, S is a saturation component, and V is a brightness component, and means adapted for selecting a pixel from HSV image data having a minimum S value. The system further comprises testing means adapted for testing an S value and a V value of a selected pixel against first and second threshold levels and adjustment means adapted for selectively applying a Max-RGB algorithm to the RGB image data in accordance with an output of the testing means.
In one embodiment of the subject application, the system further comprises means adapted for bypassing the adjustment means when at least one of the S values of the selected pixel is zero and the V value of the selected pixel is one.
In another embodiment of the subject application, the system also comprises means adapted for applying a tone reproduction operation on RGB image data.
In yet another embodiment of the subject application, the system further comprises means adapted for receiving RGB image data, means adapted for converting received RGB image data into the YCbCr image data, and means adapted for converting received RGB image data into the HSV image data.
In another embodiment of the subject application, the testing means includes means adapted for outputting a signal representative of at least one of a positive adjustment, a negated adjustment and a problematic condition relative to adjustment.
Still further, in accordance with one embodiment of the subject application, there is provided a method for image enhancement in accordance with the system as set forth above.
Still other advantages, aspects and features of the subject application will become readily apparent to those skilled in the art from the following description wherein there is shown and described a preferred embodiment of the subject application, simply by way of illustration of one of the best modes best suited to carry out the subject application. As it will be realized, the subject application is capable of other different embodiments and its several details are capable of modifications in various obvious aspects all without departing from the scope of the subject application. Accordingly, the drawings and descriptions will be regarded as illustrative in nature and not as restrictive.
The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.
The subject application is described with reference to certain figures, including:
The subject application is directed to a system and method for image enhancement which occurs for image data that has already been acquired. In particular, the subject application is directed to a system and method which uses automatic white balancing to allow for better rendering of images for printing or display after image capture. More particularly, the subject application is directed to a system and method for image enhancement which is automatic and which does not require illuminant estimation. In accordance with one embodiment of the subject application, the system and method for image enhancement determines whether it is appropriate to adjust the hue or brightness of the image using the Max-RGB algorithm. It will become apparent to those skilled in the art that the system and method described herein are suitably adapted to a plurality of varying electronic fields employing electronic imaging, including, for example and without limitation, communications, general computing, data processing, document processing, or the like. The preferred embodiment, as depicted in
Referring now to
The system 100 also includes a document processing device 104, depicted in
According to one embodiment of the subject application, the document processing device 104 is suitably equipped to receive a plurality of portable storage media, including, without limitation, Firewire drive, USB drive, SD, MMC, XD, Compact Flash, Memory Stick, and the like. In the preferred embodiment of the subject application, the document processing device 104 further includes an associated user interface 106, such as a touch-screen, LCD display, touch-panel, alpha-numeric keypad, or the like, via which an associated user is able to interact directly with the document processing device 104. In accordance with the preferred embodiment of the subject application, the user interface 106 is advantageously used to communicate information to the associated user and receive selections from the associated user. The skilled artisan will appreciate that the user interface 106 comprises various components, suitably adapted to present data to the associated user, as are known in the art. In accordance with one embodiment of the subject application, the user interface 106 comprises a display, suitably adapted to display one or more graphical elements, text data, images, or the like, to an associated user, receive input from the associated user, and communicate the same to a backend component, such as a controller 108, as explained in greater detail below. Preferably, the document processing device 104 is communicatively coupled to the computer network 102 via a suitable communications link 112. As will be understood by those skilled in the art, suitable communications links include, for example and without limitation, WiMax, 802.11a, 802.11b, 802.11g, 802.11(x), Bluetooth, the public switched telephone network, a proprietary communications network, infrared, optical, or any other suitable wired or wireless data transmission communications known in the art.
In accordance with the subject application, the document processing device 104 further incorporates a backend component, designated as the controller 108, suitably adapted to facilitate the operations of the document processing device 104, as will be understood by those skilled in the art. Preferably, the controller 108 is embodied as hardware, software, or any suitable combination thereof, configured to control the operations of the associated document processing device 104, facilitate the display of images via the user interface 106, direct the manipulation of electronic image data, and the like. For purposes of explanation, the controller 108 is used to refer to any myriad of components associated with the document processing device 104, including hardware, software, or combinations thereof, functioning to perform, cause to be performed, control, or otherwise direct the methodologies described hereinafter. It will be understood by those skilled in the art that the methodologies described with respect to the controller 108 are capable of being performed by any general purpose computing system, known in the art, and thus the controller 108 is representative of such a general computing device and is intended as such when used hereinafter. Furthermore, the use of the controller 108 hereinafter is for the example embodiment only, and other embodiments, which will be apparent to one skilled in the art, are capable of employing the system and method for image enhancement in accordance with one embodiment of the subject application. The functioning of the controller 108 will better be understood in conjunction with the block diagrams illustrated in
Communicatively coupled to the document processing device 104 is a data storage device 110. In accordance with the preferred embodiment of the subject application, the data storage device 110 is any mass storage device known in the art including, for example and without limitation, magnetic storage drives, a hard disk drive, optical storage devices, flash memory devices, or any suitable combination thereof. In the preferred embodiment, the data storage device 110 is suitably adapted to store document data, image data, electronic database data, or the like. It will be appreciated by those skilled in the art that while illustrated in
Illustrated in
The system 100 illustrated in
The skilled artisan will appreciate that the camera 114 is also capable of communicating image data to a suitable user device 120 via the communications link 118, whereupon the user device communicates the image data to the document processing device 104 for further processing. As will be understood by those skilled in the art, the communications link 118 is any suitable communications channel known in the art including, for example and without limitation, wired, e.g., USB or FireWire port, portable storage media, e.g., xD, SD, Compact Flash, memory stick, or other flash memory, or wireless, e.g., Bluetooth, infrared, optical, proprietary wireless communications, 802.11a, 802.11b, 802.11g, 802.11(x), or the like.
The system 100 further illustrates a network storage server 124 coupled to a data storage device 126. Preferably, the network storage server 124 is representative of any network storage device known in the art capable of storing document data, image data, video data, sound data, multimedia data, or other suitable electronic data, as will be known in the art. In accordance with one embodiment of the subject application, the data storage device 126 includes a plurality of electronic data, including image data, document data, or the like. The network storage server 124 is communicatively coupled to the computer network 102 via a suitable communications link 128. As will be understood by those skilled in the art, the communications link 128 includes, for example and without limitation a proprietary communications network, infrared, optical, Bluetooth, WiMax, 802.11a, 802.11b, 802.11g, 802.11(x), the public switched telephone network, or any suitable wireless data transmission system, or wired communications known in the art.
Turning now to
Also included in the controller 200 is random access memory 206, suitably formed of dynamic random access memory, static random access memory, or any other suitable, addressable and writable memory system. Random access memory provides a storage area for data instructions associated with applications and data handling accomplished by processor 202.
A storage interface 208 suitably provides a mechanism for non-volatile, bulk or long term storage of data associated with the controller 200. The storage interface 208 suitably uses bulk storage, such as any suitable addressable or serial storage, such as a disk, optical, tape drive and the like as shown as 216, as well as any suitable storage medium as will be appreciated by one of ordinary skill in the art.
A network interface subsystem 210 suitably routes input and output from an associated network allowing the controller 200 to communicate to other devices. The network interface subsystem 210 suitably interfaces with one or more connections with external devices to the device 200. By way of example, illustrated is at least one network interface card 214 for data communication with fixed or wired networks, such as Ethernet, token ring, and the like, and a wireless interface 218, suitably adapted for wireless communication via means such as WiFi, WiMax, wireless modem, cellular network, or any suitable wireless communication system. It is to be appreciated however, that the network interface subsystem suitably utilizes any physical or non-physical data transfer layer or protocol layer as will be appreciated by one of ordinary skill in the art. In the illustration, the network interface 214 is interconnected for data interchange via a physical network 220, suitably comprised of a local area network, wide area network, or a combination thereof.
Data communication between the processor 202, read only memory 204, random access memory 206, storage interface 208 and the network interface subsystem 210 is suitably accomplished via a bus data transfer mechanism, such as illustrated by bus 212.
Also in data communication with bus the 212 is a document processor interface 222. The document processor interface 222 suitably provides connection with hardware 232 to perform one or more document processing operations. Such operations include copying accomplished via copy hardware 224, scanning accomplished via scan hardware 226, printing accomplished via print hardware 228, and facsimile communication accomplished via facsimile hardware 230. It is to be appreciated that a controller suitably operates any or all of the aforementioned document processing operations. Systems accomplishing more than one document processing operation are commonly referred to as multifunction peripherals or multifunction devices.
Functionality of the subject system 100 is accomplished on a suitable document processing device, such as the document processing devices 104 and 110, which include the controller 200 of
In the preferred embodiment, the engine 302 allows for printing operations, copy operations, facsimile operations and scanning operations. This functionality is frequently associated with multi-function peripherals, which have become a document processing peripheral of choice in the industry. It will be appreciated, however, that the subject controller does not have to have all such capabilities. Controllers are also advantageously employed in dedicated or more limited purposes document processing devices that are subset of the document processing operations listed above.
The engine 302 is suitably interfaced to a user interface panel 310, which panel allows for a user or administrator to access functionality controlled by the engine 302. Access is suitably enabled via an interface local to the controller, or remotely via a remote thin or thick client.
The engine 302 is in data communication with the print function 304, facsimile function 306, and scan function 308. These functions facilitate the actual operation of printing, facsimile transmission and reception, and document scanning for use in securing document images for copying or generating electronic versions.
A job queue 312 is suitably in data communication with the print function 304, facsimile function 306, and scan function 308. It will be appreciated that various image forms, such as bit map, page description language or vector format, and the like, are suitably relayed from the scan function 308 for subsequent handling via the job queue 312.
The job queue 312 is also in data communication with network services 314. In a preferred embodiment, job control, status data, or electronic document data is exchanged between the job queue 312 and the network services 314. Thus, suitable interface is provided for network based access to the controller 300 via client side network services 320, which is any suitable thin or thick client. In the preferred embodiment, the web services access is suitably accomplished via a hypertext transfer protocol, file transfer protocol, uniform data diagram protocol, or any other suitable exchange mechanism. The network services 314 also advantageously supplies data interchange with client side services 320 for communication via FTP, electronic mail, TELNET, or the like. Thus, the controller function 300 facilitates output or receipt of electronic document and user information via various network access mechanisms.
The job queue 312 is also advantageously placed in data communication with an image processor 316. The image processor 316 is suitably a raster image process, page description language interpreter or any suitable mechanism for interchange of an electronic document to a format better suited for interchange with device functions such as print 304, facsimile 306 or scan 308.
Finally, the job queue 312 is in data communication with a parser 318, which parser suitably functions to receive print job language files from an external device, such as client device services 322. The client device services 322 suitably include printing, facsimile transmission, or other suitable input of an electronic document for which handling by the controller function 300 is advantageous. The Parser 318 functions to interpret a received electronic document file and relay it to the job queue 312 for handling in connection with the afore-described functionality and components.
In accordance with one example embodiment of the subject application, RGB image data is received by the document processing device 104 via any suitable means. As will be appreciated by those skilled in the art, suitable means include, for example and without limitation, electronic image data received via the computer network 102 from the user device 120, the network storage server 124, the camera 114, or other personal electronic device coupled to the computer network 102; directly via the communications link 116 with the digital camera 114; via a scanning operation performed on a physical image by the document processing device 104; via receipt of a portable storage medium by the document processing device 104; via retrieval from the data storage device 110; or the like. The controller 108 or other suitable component associated with the document processing device 104 then converts the received RGB image data into YCbCr image data. A maximum Y value is then selected by the controller 108 or other suitable component of the document processing device 104 from the YCbCr image data. Preferably, the maximum luminance value (Ymax) is calculated in the Y plane of the YCbCr color space corresponding to the received image data. It will be appreciated by those skilled in the art that other methods of selecting a maximum luminance value are capable of being employed in accordance with the subject application. For example and without limitation, the received RGB image data is capable of being converted into CIE L*a*b* image data, whereupon the maximum luminance value (Lmax) is selected by the controller 108 or other suitable component of the document processing device 104 from the CIE L*a*b* image data.
The received image data is then converted from RGB color space to HSV color space, wherein H represents hue, S represents saturation, and V represents brightness. A pixel is then selected from the HSV image data having a minimum chrominance value, i.e., the minimum S (saturation) value, in HSV color space. The skilled artisan will appreciate that the pixel is selected from among those pixels having Ymax as its Y value in YCbCr color space. Therefore, as will be understood by those skilled in the art, the pixel in HSV having the minimum S value and corresponding to one of the pixels in YCbCr color space having a Y value of Ymax will be selected. It will be understood by those skilled in the art that the use of HSV color space is for example purposes only, and the subject application is capable of employing other color space models to ascertain the minimum chrominance value of those pixels having the highest luminance value (Ymax). Thus, for example and without limitation, the received RGB image is capable of being converted to HSL color space, wherein H represents hue, S represents saturation, and L represents luminosity. Thereafter, in accordance with the subject application, a pixel having a minimum chrominance value (Smin) is selected by the controller 108 or other suitable component of the document processing device 104 from among those pixels having the highest luminance value (Ymax). The skilled artisan will appreciate that the selected pixel is representative of a white reference point, as is used in the art. Stated another way, the selected pixel is representative of a pixel having the highest luminance, while also having the most neutral color, i.e., the lowest chrominance value. Those skilled in the art will appreciate that the use of YCbCr, CIE L*a*b*, HSV, and HSL color space models are for example purposes only, and other methods for ascertaining the maximum luminance (Ymax) values and minimum chrominance (Smin) values for pixels are capable of implementation in accordance with the subject application.
A determination is then made following this selection whether a tone reproduction operation is required to be applied to the RGB image data. That is, a determination is made whether the selected white reference point has a maximum R value, maximum G value and maximum B value (MaxR, MaxG, MaxB values) as its RGB color space values. When such a determination is positive, a tone reproduction curve (illustrated in
Once the tone reproduction curve has been applied, or in the event that no tone reproduction operation is required, the controller 108 or other suitable component of the document processing device 104 then determines whether the S value is equivalent to 0 and the V value is equivalent to 1. It will be understood by those skilled in the art that when the values of this pixel are equivalent to S=0 and V=1, then no Max-RGB algorithm is required, i.e., no adjustment is necessary. Upon such a determination, an output adjustment signal is sent out corresponding to a negated adjustment, e.g., a notification is attached to the image indicating that no hue and brightness (or luminosity) adjustment is required. The enhanced image, or in this case unenhanced image, is then output by the document processing device 104 in accordance with a user selected operation.
When the value of S and V are not equivalent to 0 and 1, respectively, the controller 108 or other suitable component of the document processing device 104 then tests the S value and the V value against a first threshold value and a second threshold value, respectively. In accordance with one embodiment of the subject application, the threshold values are determined by a statistical analysis. For example, a suitable statistical analysis is capable of being generated using a spreadsheet to record image file names, coordinates of reference points, the reference point's HSV values, and a marker indicating whether the Max-RGB is required for hue or brightness improvement. It will be appreciated by those skilled in the art that such a statistical analysis indicates that a majority of input images do not require hue or brightness improvement, a small percentage do require hue or brightness improvement, and an even smaller percentage fall within a “problematic” range. Suitable examples of the application of the subject application are discussed in greater detail below with respect to
Returning to operations of the current example embodiment, the controller 108 or suitable component of the document processing device 104 first determines whether the S value is less than the first threshold value and whether the V value is greater than the second threshold value. When the preceding statements are not true, an output adjust condition signal is generated indicating that a “problematic” condition has occurred. It will be appreciated by those skilled in the art that a problematic condition arises when the application of the Max-RGB gives rise to an unacceptable result, e.g., a sunset scene (shown in
When it is determined that the S value is less than the first threshold value and the V value is greater than the second threshold value, the Max-RGB algorithm is applied to the RGB image data. In accordance with a further embodiment of the subject application, the values of S and V are used to satisfy a general constraint, e.g., F(S, V), where F is representative of a linear or quadratic equation, such that the result of the constraint indicates whether or not to apply the Max-RGB algorithm to the received image data. A suitable linear constraint includes, for example and without limitation, a*S+b*V<c, wherein a, b, and c are constant coefficients for the linear constraint. The skilled artisan will appreciate that other linear constraints, or quadratic constraints are capable of being employed in accordance with the subject application to facilitate in the determination of whether or not to apply the Max-RGB algorithm to received image data. The skilled artisan will appreciate that such an application results in an adjustment to the hue and brightness of the input image. Thereafter, the enhanced image is output by the document processing device 104 in accordance with a desired document processing operation.
The skilled artisan will appreciate that the subject system 100 and components described above with respect to
At step 412, the S value and the V value of the selected pixel are analyzed to determine whether the value of S is equivalent to 0 and the value of V is equivalent to 1. It will be understood by those skilled in the art that such values indicate that the Max-RGB algorithm is not to be applied to the input image, and flow progresses from step 412 to step 420, which will be discussed in further detail below.
A determination at step 412 that the values of S and V do not equal set limits, flow proceeds to step 414, whereupon the S value and the V value are tested against a first threshold value and a second threshold value, respectively. When the results of the testing indicate, at step 416, that the S value is less than the first threshold and the V value is greater than the second threshold, flow proceeds to step 418, whereupon the Max-RGB algorithm is applied to the RGB image data. When the S value is not less than the first threshold, or the V value is not greater than the second threshold value, flow proceeds from step 416 to step 420.
At step 420, an output adjustment condition signal is generated and output based upon the values of S and V. That is, when the S value is zero and the V value is one, a negated output condition arises, meaning that no Max-RGB algorithm is to be applied to the image data. When the S value is less than the first threshold and the V value is greater than the second threshold, the output adjustment condition signal is positive, indicating that the Max-RGB algorithm is to be applied to the image data. When the S value is not less than the first threshold, or when the V value is not greater than the second threshold, a “problematic” output adjustment condition signal is generated. It will be appreciated by those skilled in the art that a “problematic” output condition occurs when the application of the Max-RGB algorithm will produce unintended, or undesirable results. The classification of the image in accordance with the subject application thus prevents unnecessary processing by determining, based on the classification, whether or not to apply the algorithm. Following generation of the output adjustment signal at step 420, flow proceeds to step 422, whereupon the enhanced image is output in accordance with a desired document processing operation. It will be appreciated by those skilled in the art that in accordance with one embodiment of the subject application, the output adjustment condition signal is suitably added to the statistical data used in the generation of the thresholds applied above.
According to one implementation of the subject application, values of S and V are determined in accordance with the satisfaction of a general constraint, e.g., F(S, V), where F is representative of a linear or quadratic constraint (equation). Thus, the skilled artisan will appreciate that a result of the constraint is indicative of whether a Max-RGB algorithm should be applied to the received image data or not. A suitable linear constraint includes, for example and without limitation, a*S+b*V<c, wherein a, b, and c are constant coefficients for the linear constraint. The skilled artisan will appreciate that other linear or quadratic constraints are also capable of being employed in accordance with the subject application to facilitate in Max-RGB algorithm application to received image data.
As referenced above,
Turning now to
The subject application extends to computer programs in the form of source code, object code, code intermediate sources and partially compiled object code, or in any other form suitable for use in the implementation of the subject application. Computer programs are suitably standalone applications, software components, scripts or plug-ins to other applications. Computer programs embedding the subject application are advantageously embodied on a carrier, being any entity or device capable of carrying the computer program: for example, a storage medium such as ROM or RAM, optical recording media such as CD-ROM or magnetic recording media such as floppy discs; or any transmissible carrier such as an electrical or optical signal conveyed by electrical or optical cable, or by radio or other means. Computer programs are suitably downloaded across the Internet from a server. Computer programs are also capable of being embedded in an integrated circuit. Any and all such embodiments containing code that will cause a computer to perform substantially the subject application principles as described, will fall within the scope of the subject application.
The foregoing description of a preferred embodiment of the subject application has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the subject application to the precise form disclosed. Obvious modifications or variations are possible in light of the above teachings. The embodiment was chosen and described to provide the best illustration of the principles of the subject application and its practical application to thereby enable one of ordinary skill in the art to use the subject application in various embodiments and with various modifications as are suited to the particular use contemplated. All such modifications and variations are within the scope of the subject application as determined by the appended claims when interpreted in accordance with the breadth to which they are fairly, legally and equitably entitled.
Claims
1. An image enhancement system comprising:
- means adapted for receiving YCbCr image data encoded as a plurality of pixels in YCbCr space, wherein Y is a luma component, Cb is a blue chroma component, and Cr is a red chroma component;
- means adapted for selecting a maximum Y value from the image data;
- means adapted for receiving HSV image data corresponding to the YCbCr image data, wherein H is a hue component, S is a saturation component, and V is representative of a brightness component;
- means adapted for selecting a pixel from HSV image data having a minimum S value;
- testing means adapted for testing an S value and a V value of a selected pixel against first and second threshold levels; and
- adjustment means adapted for selectively applying a Max-RGB algorithm to RGB image data in accordance with an output of the testing means.
2. The image enhancement system of claim 1 further comprising means adapted for bypassing the adjustment means when at least one of the S value of the selected pixel is zero and the V value of the selected pixel is one.
3. The image enhancement system of claim 1 further comprising means adapted for applying a tone reproduction operation on RGB image data.
4. The image enhancement system of claim 1 wherein the threshold values are statistically based.
5. The image enhancement system of claim 1 further comprising:
- means adapted for receiving RGB image data;
- means adapted for converting received RGB image date into the YCbCr image data; and
- means adapted for converting received RGB image data into the HSV image data.
6. The image enhancement system of claim 1 wherein the testing means includes means adapted for outputting a signal representative of at least one of a positive adjustment, a negated adjustment and a problematic condition relative to adjustment.
7. An image enhancement method comprising the steps of:
- receiving YCbCr image data encoded as a plurality of pixels in YCbCr space, wherein Y is a luma component, Cb is a blue chroma component, and Cr is a red chroma component;
- selecting a maximum Y value from the image data;
- receiving HSV image data corresponding to the YCbCr image data, wherein H is a hue component, S is a saturation component, and V is representative of a brightness component;
- selecting a pixel from HSV image data having a minimum S value;
- testing an S value and an V value of a selected pixel against first and second threshold levels; and
- selectively applying a Max-RGB algorithm to RGB image data in accordance with an output of the testing.
8. The image enhancement method of claim 7 further comprising the step of bypassing the step of selectively applying a Max-RGB algorithm when at least one of the S value of the selected pixel is zero and the V value of the selected pixel is one.
9. The image enhancement method of claim 7 further comprising the step of applying a tone reproduction operation on RGB image data.
10. The image enhancement method of claim 7 wherein the threshold values are statistically based.
11. The image enhancement method of claim 7 further comprising the steps of:
- receiving RGB image data;
- converting received RGB image date into the YCbCr image data; and
- converting received RGB image data into the HSV image data.
12. The image enhancement method of claim 7 wherein the step of testing includes outputting a signal representative of at least one of a positive adjustment, a negated adjustment and a problematic condition relative to adjustment.
13. A computer-implemented method for image enhancement method comprising the steps of:
- receiving YCbCr image data encoded as a plurality of pixels in YCbCr space, wherein Y is a luma component, Cb is a blue chroma component, and Cr is a red chroma component;
- selecting a maximum Y value from the image data;
- receiving HSV image data corresponding to the YCbCr image data, wherein H is a hue component, S is a saturation component, and V is representative of a brightness component;
- selecting a pixel from HSV image data having a minimum S value;
- testing an S value and an V value of a selected pixel against first and second threshold levels; and
- selectively applying a Max-RGB algorithm to RGB image data in accordance with an output of the testing.
14. The computer-implemented method for image enhancement of claim 13 further comprising the step of bypassing the step of selectively applying a Max-RGB algorithm when at least one of the S value of the selected pixel is zero and the V value of the selected pixel is one.
15. The computer-implemented method for image enhancement of claim 13 further comprising the step of applying a tone reproduction operation on RGB image data.
16. The computer-implemented method for image enhancement of claim 13 wherein the threshold values are statistically based.
17. The computer-implemented method for image enhancement of claim 13 further comprising the steps of:
- receiving RGB image data;
- converting received RGB image date into the YCbCr image data; and
- converting received RGB image data into the HSV image data.
18. The computer-implemented method for image enhancement of claim 13 wherein the step of testing includes outputting a signal representative of at least one of a positive adjustment, a negated adjustment and a problematic condition relative to adjustment.
Type: Application
Filed: Apr 17, 2007
Publication Date: Oct 23, 2008
Patent Grant number: 7974487
Inventor: Jonathan Yen (San Jose, CA)
Application Number: 11/787,970
International Classification: H04N 1/409 (20060101);