US9741098B2 - System and method for optimizing image quality in a digital camera - Google Patents
System and method for optimizing image quality in a digital camera Download PDFInfo
- Publication number
- US9741098B2 US9741098B2 US13/651,342 US201213651342A US9741098B2 US 9741098 B2 US9741098 B2 US 9741098B2 US 201213651342 A US201213651342 A US 201213651342A US 9741098 B2 US9741098 B2 US 9741098B2
- Authority
- US
- United States
- Prior art keywords
- image
- machine learning
- learning engine
- raw image
- rendering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active, expires
Links
- 238000000034 method Methods 0.000 title claims description 85
- 238000009877 rendering Methods 0.000 claims abstract description 105
- 238000010801 machine learning Methods 0.000 claims abstract description 63
- 238000012545 processing Methods 0.000 claims description 95
- 230000015654 memory Effects 0.000 claims description 60
- 230000008569 process Effects 0.000 claims description 20
- 230000003287 optical effect Effects 0.000 claims description 15
- 238000013528 artificial neural network Methods 0.000 claims description 13
- 238000005457 optimization Methods 0.000 abstract description 17
- 238000012549 training Methods 0.000 description 35
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 11
- 238000005192 partition Methods 0.000 description 6
- 238000003860 storage Methods 0.000 description 6
- 239000000872 buffer Substances 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011065 in-situ storage Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000012706 support-vector machine Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000003066 decision tree Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/60—Image enhancement or restoration using machine learning, e.g. neural networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30181—Earth observation
Definitions
- the present invention generally relates to digital photography, and, more specifically, to a system and method for optimizing image quality in a digital camera.
- image rendering typically the acquisition into the camera of images from a sensor is called “image capture” and the process of applying image processing algorithms to the raw images to produce optimized images is called “image rendering”.
- Algorithms that provide such processing are called “rendering algorithms” and include but are not limited to noise reduction, automatic white balance adjustment, tone correction, sharpening, color enhancement, etc.
- the precise operation of each rendering algorithm is controlled by specific arguments. For example, a color saturation algorithm may be controlled by an argument which is the percentage of saturation above or below some standard value.
- These algorithms may be implemented entirely in hardware, in firmware on Digital Signal Processors, in special code on programmable engines like a Graphics Processing Unit (GPU), or in software or some combination of the above.
- Each such algorithm is typically designed and implemented by an algorithm designer manually based on the designer's experience with computational photography. As such, many designers have become experts in narrow fields related to image quality. For example, a given designer may be considered an expert in designing algorithms for “noise reduction” or for controlling “white balance.” Given the vast number of algorithms required to produce high quality images, and the varied issues in processing raw images from digital sensors, many digital camera vendors employ an army of algorithm designers, where each designer has extensive experience designing and tuning algorithms to correct for or enhance one highly specific issue. In many cases, these algorithms require input from a user of the digital camera in order to function properly. For example, a given algorithm may require information describing the type of scene a user wishes to photograph, such as “beach” or “forest.” The algorithm then adjusts certain parameters according to this user-provided information.
- MLE Machine Learning Engine
- ANN Artificial Neural Network
- SVM Support Vector Machine
- An MLE can also be trained to implement a transformation from new as yet unseen input into output that closely matches the desired ideal output as represented by the training data.
- One embodiment of the present invention sets forth a method for rendering an image, including capturing a raw image via an optical sensor included in a digital camera, generating a set of image statistics for the raw image based on a set of pixel values associated with the raw image, causing a first machine learning engine to select a rendering algorithm and a set of rendering algorithm arguments that correspond to the selected rendering algorithm; and rendering the optimized image by processing the raw image with the rendering algorithm and the set of rendering algorithm arguments.
- An advantage of the techniques described herein is that the machine learning engine within the image optimization engine may be trained to generate images without requiring a team of designers to produce and tune a large collection of algorithms. Further, the user of the digital camera can achieve superior optimized images with less manual camera control, thereby improving user experience.
- FIG. 1 is a block diagram illustrating a computer system configured to implement one or more aspects of the present invention
- FIG. 2 is a block diagram of a parallel processing subsystem for the computer system of FIG. 1 , according to one embodiment of the present invention
- FIG. 3 is a block diagram that illustrates a digital camera, according to one embodiment of the present invention.
- FIG. 4A is a conceptual diagram that illustrates an image optimization engine configured to process digital images, according to one embodiment of the present invention
- FIG. 4B is a conceptual diagram that illustrates training the image optimization engine shown in FIG. 4A , according to one embodiment of the present invention
- FIG. 5A is a conceptual diagram that illustrates another embodiment of image optimization engine shown in FIG. 3 , according to one embodiment of the present invention.
- FIG. 5B is a conceptual diagram that illustrates training the image optimization engine shown in FIG. 5A , according to one embodiment of the present invention
- FIG. 6 is a flowchart of method steps for processing a digital image using the image optimization engine of FIGS. 4A and 4B , according to one embodiment of the present invention
- FIG. 7 is a flowchart of method steps for processing a digital image using the image optimization engine of FIGS. 5A and 5B , according to one embodiment of the present invention.
- FIG. 8 is a flowchart of method steps for training the image optimization engine of FIGS. 4A and 4B , according to one embodiment of the present invention.
- FIG. 9 is a flowchart of method steps for training the image optimization engine of FIGS. 5A and 5B , according to one embodiment of the present invention.
- FIG. 1 is a block diagram illustrating a computer system 100 configured to implement one or more aspects of the present invention.
- Computer system 100 includes a central processing unit (CPU) 102 and a system memory 104 that includes a device driver 103 .
- CPU 102 and system memory 104 communicate via an interconnection path that may include a memory bridge 105 .
- Memory bridge 105 which may be, e.g., a Northbridge chip, is connected via a bus or other communication path 106 (e.g., a HyperTransport link) to an input/output (I/O) bridge 107 .
- bus or other communication path 106 e.g., a HyperTransport link
- I/O bridge 107 which may be, e.g., a Southbridge chip, receives user input from one or more user input devices 108 (e.g., keyboard, mouse) and forwards the input to CPU 102 via path 106 and memory bridge 105 .
- a parallel processing subsystem 112 is coupled to memory bridge 105 via a bus or other communication path 113 (e.g., a peripheral component interconnect (PCI) express, Accelerated Graphics Port (AGP), or HyperTransport link); in one embodiment parallel processing subsystem 112 is a graphics subsystem that delivers pixels to a display device 110 (e.g., a conventional cathode ray tube (CRT) or liquid crystal display (LCD) based monitor).
- a display device 110 e.g., a conventional cathode ray tube (CRT) or liquid crystal display (LCD) based monitor.
- CTR cathode ray tube
- LCD liquid crystal display
- a system disk 114 is also connected to I/O bridge 107 .
- a switch 116 provides connections between I/O bridge 107 and other components such as a network adapter 118 and various add-in cards 120 and 121 .
- Other components including universal serial bus (USB) or other port connections, compact disc (CD) drives, digital video disc (DVD) drives, film recording devices, and the like, may also be connected to I/O bridge 107 .
- Communication paths interconnecting the various components in FIG. 1 may be implemented using any suitable protocols, such as PCI, PCI Express (PCIe), AGP, HyperTransport, or any other bus or point-to-point communication protocol(s), and connections between different devices may use different protocols as is known in the art.
- the parallel processing subsystem 112 incorporates circuitry optimized for graphics and video processing, including, for example, video output circuitry, and constitutes a graphics processing unit (GPU).
- the parallel processing subsystem 112 incorporates circuitry optimized for general purpose processing, while preserving the underlying computational architecture, described in greater detail herein.
- the parallel processing subsystem 112 may be integrated with one or more other system elements, such as the memory bridge 105 , CPU 102 , and I/O bridge 107 to form a system on chip (SoC).
- SoC system on chip
- connection topology including the number and arrangement of bridges, the number of CPUs 102 , and the number of parallel processing subsystems 112 , may be modified as desired.
- system memory 104 is connected to CPU 102 directly rather than through a bridge, and other devices communicate with system memory 104 via memory bridge 105 and CPU 102 .
- parallel processing subsystem 112 is connected to I/O bridge 107 or directly to CPU 102 , rather than to memory bridge 105 .
- I/O bridge 107 and memory bridge 105 might be integrated into a single chip.
- Large embodiments may include two or more CPUs 102 and two or more parallel processing systems 112 .
- the particular components shown herein are optional; for instance, any number of add-in cards or peripheral devices might be supported.
- switch 116 is eliminated, and network adapter 118 and add-in cards 120 , 121 connect directly to I/O bridge 107 .
- FIG. 2 illustrates a parallel processing subsystem 112 , according to one embodiment of the present invention.
- parallel processing subsystem 112 includes one or more parallel processing units (PPUs) 202 , each of which is coupled to a local parallel processing (PP) memory 204 .
- PPUs parallel processing units
- PP parallel processing
- a parallel processing subsystem includes a number U of PPUs, where U ⁇ 1.
- PPUs 202 and parallel processing memories 204 may be implemented using one or more integrated circuit devices, such as programmable processors, application specific integrated circuits (ASICs), or memory devices, or in any other technically feasible fashion.
- ASICs application specific integrated circuits
- some or all of PPUs 202 in parallel processing subsystem 112 are graphics processors with rendering pipelines that can be configured to perform various tasks related to generating pixel data from graphics data supplied by CPU 102 and/or system memory 104 via memory bridge 105 and bus 113 , interacting with local parallel processing memory 204 (which can be used as graphics memory including, e.g., a conventional frame buffer) to store and update pixel data, delivering pixel data to display device 110 , and the like.
- parallel processing subsystem 112 may include one or more PPUs 202 that operate as graphics processors and one or more other PPUs 202 that are used for general-purpose computations.
- the PPUs may be identical or different, and each PPU may have its own dedicated parallel processing memory device(s) or no dedicated parallel processing memory device(s).
- One or more PPUs 202 may output data to display device 110 or each PPU 202 may output data to one or more display devices 110 .
- CPU 102 is the master processor of computer system 100 , controlling and coordinating operations of other system components.
- CPU 102 issues commands that control the operation of PPUs 202 .
- CPU 102 writes a stream of commands for each PPU 202 to a pushbuffer (not explicitly shown in either FIG. 1 or FIG. 2 ) that may be located in system memory 104 , parallel processing memory 204 , or another storage location accessible to both CPU 102 and PPU 202 .
- PPU 202 reads the command stream from the pushbuffer and then executes commands asynchronously relative to the operation of CPU 102 .
- each PPU 202 includes an I/O unit 205 that communicates with the rest of computer system 100 via communication path 113 , which connects to memory bridge 105 (or, in one alternative embodiment, directly to CPU 102 ).
- the connection of PPU 202 to the rest of computer system 100 may also be varied.
- parallel processing subsystem 112 is implemented as an add-in card that can be inserted into an expansion slot of computer system 100 .
- a PPU 202 can be integrated on a single chip with a bus bridge, such as memory bridge 105 or I/O bridge 107 .
- some or all elements of PPU 202 may be integrated on a single chip with CPU 102 .
- communication path 113 is a PCIe link, in which dedicated lanes are allocated to each PPU 202 , as is known in the art. Other communication paths may also be used.
- An I/O unit 205 generates packets (or other signals) for transmission on communication path 113 and also receives all incoming packets (or other signals) from communication path 113 , directing the incoming packets to appropriate components of PPU 202 . For example, commands related to processing tasks may be directed to a host interface 206 , while commands related to memory operations (e.g., reading from or writing to parallel processing memory 204 ) may be directed to a memory crossbar unit 210 .
- Host interface 206 reads each pushbuffer and outputs the work specified by the pushbuffer to a front end 212 .
- Each PPU 202 advantageously implements a highly parallel processing architecture.
- PPU 202 ( 0 ) includes a processing cluster array 230 that includes a number C of general processing clusters (GPCs) 208 , where C ⁇ 1.
- GPC 208 is capable of executing a large number (e.g., hundreds or thousands) of threads concurrently, where each thread is an instance of a program.
- different GPCs 208 may be allocated for processing different types of programs or for performing different types of computations.
- a first set of GPCs 208 may be allocated to perform tessellation operations and to produce primitive topologies for patches, and a second set of GPCs 208 may be allocated to perform tessellation shading to evaluate patch parameters for the primitive topologies and to determine vertex positions and other per-vertex attributes.
- the allocation of GPCs 208 may vary dependent on the workload arising for each type of program or computation.
- GPCs 208 receive processing tasks to be executed via a work distribution unit 200 , which receives commands defining processing tasks from front end unit 212 .
- Processing tasks include indices of data to be processed, e.g., surface (patch) data, primitive data, vertex data, and/or pixel data, as well as state parameters and commands defining how the data is to be processed (e.g., what program is to be executed).
- Work distribution unit 200 may be configured to fetch the indices corresponding to the tasks, or work distribution unit 200 may receive the indices from front end 212 .
- Front end 212 ensures that GPCs 208 are configured to a valid state before the processing specified by the pushbuffers is initiated.
- a work distribution unit 200 may be configured to produce tasks at a frequency capable of providing tasks to multiple GPCs 208 for processing.
- processing is typically performed by a single processing engine, while the other processing engines remain idle, waiting for the single processing engine to complete its tasks before beginning their processing tasks.
- portions of GPCs 208 are configured to perform different types of processing.
- a first portion may be configured to perform vertex shading and topology generation
- a second portion may be configured to perform tessellation and geometry shading
- a third portion may be configured to perform pixel shading in screen space to produce a rendered image.
- Intermediate data produced by GPCs 208 may be stored in buffers to allow the intermediate data to be transmitted between GPCs 208 for further processing.
- Memory interface 214 includes a number D of partition units 215 that are each directly coupled to a portion of parallel processing memory 204 , where D ⁇ 1. As shown, the number of partition units 215 generally equals the number of DRAM 220 . In other embodiments, the number of partition units 215 may not equal the number of memory devices. Persons skilled in the art will appreciate that dynamic random access memories (DRAMs) 220 may be replaced with other suitable storage devices and can be of generally conventional design. A detailed description is therefore omitted. Render targets, such as frame buffers or texture maps may be stored across DRAMs 220 , allowing partition units 215 to write portions of each render target in parallel to efficiently use the available bandwidth of parallel processing memory 204 .
- DRAMs dynamic random access memories
- Any one of GPCs 208 may process data to be written to any of the DRAMs 220 within parallel processing memory 204 .
- Crossbar unit 210 is configured to route the output of each GPC 208 to the input of any partition unit 215 or to another GPC 208 for further processing.
- GPCs 208 communicate with memory interface 214 through crossbar unit 210 to read from or write to various external memory devices.
- crossbar unit 210 has a connection to memory interface 214 to communicate with I/O unit 205 , as well as a connection to local parallel processing memory 204 , thereby enabling the processing cores within the different GPCs 208 to communicate with system memory 104 or other memory that is not local to PPU 202 .
- crossbar unit 210 is directly connected with I/O unit 205 .
- Crossbar unit 210 may use virtual channels to separate traffic streams between the GPCs 208 and partition units 215 .
- GPCs 208 can be programmed to execute processing tasks relating to a wide variety of applications, including but not limited to, linear and nonlinear data transforms, filtering of video and/or audio data, modeling operations (e.g., applying laws of physics to determine position, velocity and other attributes of objects), image rendering operations (e.g., tessellation shader, vertex shader, geometry shader, and/or pixel shader programs), and so on.
- modeling operations e.g., applying laws of physics to determine position, velocity and other attributes of objects
- image rendering operations e.g., tessellation shader, vertex shader, geometry shader, and/or pixel shader programs
- PPUs 202 may transfer data from system memory 104 and/or local parallel processing memories 204 into internal (on-chip) memory, process the data, and write result data back to system memory 104 and/or local parallel processing memories 204 , where such data can be accessed by other system components, including CPU 102 or another parallel processing subsystem 112 .
- a PPU 202 may be provided with any amount of local parallel processing memory 204 , including no local memory, and may use local memory and system memory in any combination.
- a PPU 202 can be a graphics processor in a unified memory architecture (UMA) embodiment. In such embodiments, little or no dedicated graphics (parallel processing) memory would be provided, and PPU 202 would use system memory exclusively or almost exclusively.
- UMA unified memory architecture
- a PPU 202 may be integrated into a bridge chip or processor chip or provided as a discrete chip with a high-speed link (e.g., PCIe) connecting the PPU 202 to system memory via a bridge chip or other communication means.
- PCIe high-speed link
- any number of PPUs 202 can be included in a parallel processing subsystem 112 .
- multiple PPUs 202 can be provided on a single add-in card, or multiple add-in cards can be connected to communication path 113 , or one or more of PPUs 202 can be integrated into a bridge chip.
- PPUs 202 in a multi-PPU system may be identical to or different from one another.
- different PPUs 202 might have different numbers of processing cores, different amounts of local parallel processing memory, and so on.
- those PPUs may be operated in parallel to process data at a higher throughput than is possible with a single PPU 202 .
- Systems incorporating one or more PPUs 202 may be implemented in a variety of configurations and form factors, including desktop, laptop, or handheld personal computers, servers, workstations, game consoles, embedded systems, and the like.
- FIG. 3 is a block diagram 300 that illustrates a digital camera 302 , according to one embodiment of the present invention.
- Digital camera 302 may be included within mobile devices, such as cell phones or tablet computers, or may represent a device dedicated to digital photography. By operating digital camera 302 , a user may capture digital images.
- digital camera 302 includes a CPU 304 , a PPU 306 , an optical sensor 308 , a memory 312 , and input/output (I/O) devices 310 .
- CPU 304 may be substantially similar to CPU 102 shown in FIG. 1
- PPU 306 may be substantially similar to PPU 202 shown in FIG. 2 .
- Optical sensor 308 is configured to receive light waves and to output an electrical signal that represents the color and intensity of those light waves, among other things.
- Optical sensor 308 could be, for example, a color filter array (CFA) or a charge-coupled device (CCD), among others.
- I/O devices 310 may include input devices, such as a keypad, touchpad, a microphone, a shutter-release button, and so forth, as well as output devices, such as a screen, a speaker, one or more light-emitting diodes (LEDs), and so forth.
- I/O devices 310 may include devices capable of performing both input and output operations, such as a touch screen, an Ethernet port, a universal serial bus (USB) port, a serial port, etc.
- CPU 304 , PPU 306 , optical sensor 308 , and I/O devices 310 are coupled together and coupled to memory 312 .
- Memory 312 could be any type of unit capable of storing data, including random-access memory (RAM), read-only memory (ROM), one or more hardware/software registers, a buffer, and so forth. As shown, memory 312 includes raw images 320 , an image optimization engine 322 , and optimized images 324 . When a user of digital camera 302 wishes to capture a digital image, the user manipulates I/O devices 310 in order to cause optical sensor 308 to receive light waves (i.e. the user may press a shutter-release button to “take a picture”). Optical sensor 308 then causes a representation of the captured light waves to be written to memory 312 as one or more of raw images 320 .
- CPU 304 and/or PPU 306 may participate in processing the signals generated by optical sensor 308 to produce raw images 320 .
- Image optimization engine (IOE) 322 may then process raw images 320 to render optimized images 324 .
- IOE 322 may be a software program residing in memory 312 , as is shown, and may be executed by CPU 304 and/or PPU 306 in order to process raw images 320 .
- IOE 322 may be a hardware unit embedded within digital camera 302 and coupled to CPU 304 /PPU 306 , optical sensor 308 , memory 312 , and I/O devices 310 . As described in greater detail below in conjunction with FIGS. 4-9 , IOE 322 may implement various different techniques processing raw images 320 to produce optimized images 324 .
- FIG. 4A is a conceptual diagram 400 that illustrates one embodiment of IOE 322 shown in FIG. 3 .
- conceptual diagram 400 includes raw images 320 , IOE 322 , and optimized images 324 , also shown in FIG. 3 .
- IOE 322 is configured to generated optimized images 324 by processing raw images 320 .
- Raw image statistics 402 may include different values, where each value corresponds to a different statistic that may be computed for a given image.
- Raw image statistics 402 may include a wide variety of different statistics, including quantities that represent color distribution, luminance distribution, contrast, saturation, exposure, and/or other statistics associated with images.
- IOE 322 is configured to process a raw image 302 and raw image statistics 402 using machine learning engine (MLE) 404 .
- MLE 404 implements one or more machine learning algorithms that may generally be used to compute one or more output values based on one or more input values.
- MLE 404 may incorporate a decision tree, an artificial neural network (ANN), a Bayesian network, a combination of different machine learning algorithms, and so forth, and may be trained using one or more supervised learning techniques, as discussed in greater detail below.
- IOE 322 implements MLE 404 in order to generate a set of rendering control parameters 406 based the raw image statistics 402 and optionally on the raw image 302 .
- One subset of the rendering control parameters 406 comprises rendering algorithm selectors 406 A each of which corresponds to a different rendering algorithm 408 , and the remainder of the rendering control parameters 406 comprise rendering algorithm arguments 406 B to be provided to the rendering algorithms 408 .
- IOE 322 selects the algorithms 408 corresponding to the rendering algorithm selectors 406 A, and then applies the selected algorithms with specified parameters 406 B to the raw image in order to render an optimized image. IOE 322 may repeat this process for each one of the raw images 320 in order to render optimized images 324 .
- IOE 322 processes a given raw image 320 using the raw image statistics 402 associated with that image as well as using raw image statistics associated with previous and/or subsequent images.
- MLE 404 is configured to implement one or more machine learning algorithms and may be trained by implementing one or more supervised learning techniques, as described in greater detail below in conjunction with FIG. 4B .
- FIG. 4B is a conceptual diagram 450 that illustrates a technique for training MLE 404 , according to one embodiment of the present invention.
- an “ideal” labeled optimized image 424 is provided that is used to train the MLE 404 .
- raw image statistics 402 are generated and these optionally in combination with the raw images are provided to the MLE 404 .
- MLE 404 is initialized with a collection of values that may be random or more carefully selected in a way consistent with the state of the art of Machine Learning.
- the MLE 404 generates the rendering algorithm selectors 406 A that are then used to select the rendering algorithms 408 and also generates the rendering algorithm arguments 406 B that are provided to these algorithms.
- the algorithms 408 render an optimized image 324 that is then compared with the “ideal” optimized image 424 that is desired to be rendered from the raw image 320 .
- a training engine 405 then computes the deviation of the optimized image 324 from labeled optimized image 424 , and based on that deviation, computes improved parameters for the MLE 404 .
- MLE 404 may then generate improved rendering control parameters 406 .
- the process outlined above is iterated until the deviation computed by training engine 405 is less than some desired tolerance, at which time the optimized images 324 that result from the rendering control parameters 406 are close to the “ideal” labeled optimized images 424 .
- this process may be applied to train MLE 404 to select the tone mapping curve that will result in rendering the optimized images 324 closest to the “ideal” labeled optimized images in the training set 424 , so that when a given raw image 320 that is not in the training set is provided to MLE 404 , MLE 404 will produce rendering control parameters 406 that will generate an optimized image that is similar to an “ideal” optimized image.
- the labeled optimized images 424 are generated manually, i.e. by collecting human-generated ratings of images produced by alternative rendering control parameters 406 .
- MLE 404 may be trained on an ongoing basis by receiving input from a user of digital camera 302 that represents the perceived quality of an optimized image 324 generated using a given set of rendering control parameters 406 . By repeating this process for different rendering control parameters for different raw images, training engine 405 may adjust the weight values associated with MLE 404 in order to more effectively choose the rendering algorithm selectors 406 A and rendering algorithm arguments 406 B. In this fashion, MLE 404 may be trained to predict the preferences of a user.
- the MLE 404 is trained in situ in the Digital Camera 302 .
- the MLE 404 is trained offline on a Computer System 100 or Parallel Processing Subsystem 112 , and this trained MLE 404 implemented in the Digital Camera 302 .
- MLE 404 is trained on an ongoing basis on a computing system located remotely, i.e. a cloud-based computing system.
- FIG. 5A is a conceptual diagram 500 that illustrates another embodiment of IOE 322 shown in FIG. 3 , according to one embodiment of the present invention.
- IOE 322 is configured to render optimized images 324 based on raw images 322 .
- IOE 322 is configured to generate raw image statistics 502 for a given raw image 320 in like fashion as described in conjunction with FIGS. 4A-4B . Accordingly, raw image statistics may be substantially similar to raw image statistics 402 shown in FIGS. 4A-4B .
- IOE 322 is configured to process raw image statistics 502 and optionally raw images 320 using MLE 504 in order to generate derived image statistics 512 .
- Derived image statistics 512 represent statistics that may be inferred based on raw image statistics 502 , and may represent qualities of a raw image, such as type of scene (e.g. “beach,” “forest,” etc.), depth of focus, and so forth. In general, derived image statistics 512 represent properties of the external environment.
- MLE 504 may be substantially similar to MLE 404 shown in FIGS. 4A-4B , and as such, may be implemented using a number of different machine learning algorithms and may be trained to generate derived image statistics 512 by applying a variety of different supervised learning techniques.
- FIG. 5B is a conceptual diagram 550 that illustrates the method of training MLE 504 according to one embodiment of the present invention.
- an “ideal” labeled optimized image 524 is provided that is used to train the MLE 504 .
- raw image statistics 502 are generated and these optionally in combination with the raw images are provided to the MLE 504 that is initialized essentially similar to the way in which MLE 404 is initialized in FIG. 4A .
- the MLE 504 calculates the derived statistics 512 that are then provided to MLE 514 , which based upon the raw image statistics 502 and optionally raw image 320 and derived statistics 512 , calculates the rendering control parameters 506 , which in turn choose the algorithm 508 and provide its input arguments.
- the algorithm as before calculates an optimized image 324 that is compared with the labeled “ideal” optimized image 524 , and its output is provided to the MLE 504 and the process iterated until the optimized images 324 are as close as desired to the “ideal” optimized images 524 .
- each of rendering algorithm selectors 506 A is a value that corresponds to a rendering algorithm 508
- each of rendering algorithm arguments 506 B is provided as input to the selected rendering algorithms 508 .
- IOE 322 selects the algorithms 508 and provides their arguments, and then applies the algorithms to the raw image in order to render an optimized image. IOE 322 may repeat this process for each one of raw images 320 in order to generate optimized images 324 .
- MLE 514 may be substantially similar to MLE 404 shown in FIGS. 4A-4B and MLE 504 , and as such, may be implemented using a number of different machine learning algorithms and may be trained to generate rendering control parameters 506 by applying a variety of different supervised learning techniques.
- MLE 514 could be trained using a set of “example” raw images 320 with corresponding “ideal” labeled optimized images 524 .
- For each raw image 320 both raw statistics 502 as well as derived statistics 512 are generated and provided as input to MLE 514 , which generates rendering control parameters 506 that select algorithms 508 and provide their input, subsequently generating optimized image 324 .
- Optimized image 324 is as before “compared” with the ideal label optimized image 524 by a training engine 505 .
- Training engine 505 computes the deviation of the optimized image 324 from labeled optimized image 524 , and based on that deviation, computes improved parameters for the MLEs 504 and 514 .
- MLE 514 may then generate improved rendering control parameters 506 . As before, this process iterates until the deviation computed by training engine 505 is less than some desired tolerance, at which time the optimized images 324 that result from the rendering control parameters 506 are close to the “ideal” labeled optimized images 524 .
- MLE 514 could be trained in a system with an already trained MLE 504 .
- MLE 504 could be trained in a system with an already trained MLE 514 .
- MLE 504 and MLE 514 could be trained together at the same time.
- MLEs 504 and 514 may be trained in situ in the Digital Camera 302 , trained offline on a Computer System 100 or Parallel Processing Subsystem 112 and then implemented in the Digital Camera 302 , or trained on an ongoing basis on a computing system located remotely, i.e. a cloud-based computing system.
- the labeled optimized images 524 are generated manually, i.e. by collecting human-generated ratings of images produced by alternative rendering control parameters 506 .
- MLE 504 and/or MLE 514 may be trained on an ongoing basis by receiving input from a user of digital camera 302 that represents the perceived quality of an optimized image 324 generated using given set of rendering control parameters 506 .
- training engine 505 may adjust the weight values associated with MLEs 504 and/or 514 to better choose the rendering algorithm selectors 506 a and rendering algorithm arguments 506 b . In this fashion, MLE 514 may be trained to predict the preferences of a user.
- the quality of optimized images rendered by digital camera 302 may be significantly improved.
- FIG. 6 if a flowchart of method steps for processing a digital image using IOE 322 shown in FIGS. 4A-4B , according to one embodiment of the present invention.
- the method steps are described in conjunction with the systems of FIGS. 1-4B , persons skilled in the art will understand that any system configured to perform the method steps, in any order, is within the scope of the present invention.
- a method 600 starts at step 602 , where IOE 322 receives a raw image.
- the raw image may be captured by, e.g., optical sensor 308 within digital camera 302 shown in FIG. 3 .
- IOE 322 generates raw image statistics for the raw image.
- the raw image statistics generated by IOE 322 may include different values, where each value corresponds to a different statistic that may be computed for a raw image.
- the raw image statistics may include a wide variety of different statistics, including quantities that represent color distribution, luminance distribution, contrast, saturation, exposure, and/or other statistics associated with images.
- IOE 322 generates rendering control parameters based upon the raw image statistics and based optionally as well on the raw image using MLE 404 .
- the rendering control parameters select the algorithms to be applied to the raw image as well as the arguments to be given to those algorithms.
- MLE 404 may be trained by applying any technically feasible supervised learning algorithm, as described in conjunction with FIG. 4B .
- IOE 322 renders an optimized image by processing the raw image with the selected algorithms and their arguments.
- the method 600 then ends.
- IOE 322 may generate optimized images having improved quality compared to raw images.
- FIG. 7 outlines another approach for generating optimized images.
- FIG. 7 is a flowchart of method steps for processing a digital image using IOE 322 shown in FIGS. 5A-5B , according to one embodiment of the present invention.
- the method steps are described in conjunction with the systems of FIGS. 1-3 and 5A , persons skilled in the art will understand that any system configured to perform the method steps, in any order, is within the scope of the present invention.
- a method 700 begins at step 702 , where IOE 322 receives a raw image.
- IOE 322 generates raw image statistics for the raw image.
- Steps 702 and 704 may be substantially similar to steps 602 and 604 , respectively, of the method 700 shown in FIG. 6 .
- IOE 322 generates derived image statistics for the raw image based on the raw image statistics and optionally also based on the raw image.
- the derived image statistics represent statistics that may be inferred based on the raw image statistics, and may represent qualities of a raw image, such as type of scene (e.g. “beach,” “forest,” etc.), color of illuminant, depth of focus, and so forth.
- the derived image statistics represent properties of the external environment.
- IOE 322 implements MLE 504 in order to generate the derived image statistics.
- MLE 504 may be trained by applying any technically feasible supervised learning algorithm to MLE 504 in order to adjust weight values within MLE 504 . In doing so, a system comprising MLE 504 may be trained using “example” raw images in combination with their corresponding “ideal” labeled optimized images.
- IOE 322 generates rendering control parameters based upon the derived statistics and optionally based also on the raw image statistics and optionally the full or partial raw image using MLE 514 .
- the rendering control parameters select the algorithms to be applied to the raw image as well as the arguments to be given to those algorithms.
- MLE 514 may be trained by applying any technically feasible supervised learning algorithm, as described in conjunction with FIG. 5B .
- IOE 322 applies the selected algorithms with specified arguments to the raw image in order to render an optimized image.
- the method 700 then ends.
- IOE 322 may generate optimized images having improved quality compared to raw images.
- FIGS. 8 and 9 outline two embodiments of methods for training MLE 404 , 504 , and 514 .
- FIG. 8 is a flowchart of method steps for training IOE 322 shown in FIGS. 4A-4B , according to one embodiment of the present invention. Although the method steps are described in conjunction with the systems of FIGS. 1-4B , persons skilled in the art will understand that any system configured to perform the method steps, in any order, is within the scope of the present invention.
- the method 800 begins at step 802 , where training engine 405 within IOE 322 initializes MLE 404 .
- Training engine 405 may initialize MLE 404 with a collection of values that may be random or more carefully selected in a way consistent with the state of the art of Machine Learning.
- IOE 322 receives a raw image.
- the raw image may be captured by, e.g., optical sensor 308 within digital camera 302 shown in FIG. 3 .
- IOE 322 generates raw image statistics for the raw image.
- the raw image statistics may include different values, where each value corresponds to a different statistic that may be computed for a raw image.
- the raw image statistics may include a wide variety of different statistics, including quantities that represent color distribution, luminance distribution, contrast, saturation, exposure, and/or other statistics associated with images.
- MLE 404 within IOE 322 generates rendering control parameters based upon the raw image statistics and based optionally as well on the raw image.
- the rendering control parameters select the algorithms to be applied to the raw image as well as the arguments to be given to those algorithms.
- IOE 322 renders an optimized image by processing the raw image with the rendering algorithm selections and rendering algorithm arguments within rendering control parameters.
- training engine 405 computes the deviation between the optimized image and a labeled optimized image.
- the labeled optimized image may be generated manually, i.e. by collecting human-generated ratings of images produced by rendering control parameters.
- training engine 405 determines whether the deviation computed at step 812 exceeds a threshold. If so, then training engine 405 adjusts the weight values within MLE 404 based on the difference between the optimized image and the labeled optimized image and the method 800 then returns to step 804 and proceeds as described above. The adjusted values may then be used by MLE 404 to compute improved rendering control parameters. If at step 814 training engine 405 determines that the deviation falls beneath the threshold, the method 800 ends.
- FIG. 9 is a flowchart of method steps for training IOE 322 shown in FIGS. 5A-5B , according to one embodiment of the present invention. Although the method steps are described in conjunction with the systems of FIGS. 1-3 and 5A-5B , persons skilled in the art will understand that any system configured to perform the method steps, in any order, is within the scope of the present invention.
- the method 900 begins at step 902 , where training engine 505 within IOE 322 initializes MLEs 504 and 514 .
- Training engine 505 may initialize MLEs 504 and 514 with a collection of values that may be random or more carefully selected in a way consistent with the state of the art of Machine Learning.
- IOE 322 receives a raw image.
- the raw image may be captured by, e.g., optical sensor 308 within digital camera 302 shown in FIG. 3 .
- IOE 322 generates raw image statistics for the raw image.
- the raw image statistics may include different values, where each value corresponds to a different statistic that may be computed for a raw image.
- the raw image statistics may include a wide variety of different statistics, including quantities that represent color distribution, luminance distribution, contrast, saturation, exposure, and/or other statistics associated with images.
- MLE 514 within IOE 322 generates derived image statistics based on the raw image statistics.
- the derived image statistics represent statistics that may be inferred based on the raw image statistics, and may represent qualities of a raw image, such as type of scene (e.g. “beach,” “forest,” etc.), depth of focus, and so forth.
- derived image statistics represent properties of the external environment.
- MLE 514 within IOE 322 generates rendering control parameters based upon the raw image statistics and derived image statistics and based optionally as well on the raw image.
- the rendering control parameters select the algorithms to be applied to the raw image as well as the arguments to be given to those algorithms.
- IOE 322 renders an optimized image by processing the raw image with the rendering algorithm selections and rendering algorithm arguments within rendering control parameters.
- training engine 505 computes the deviation between the optimized image and a labeled optimized image.
- the labeled optimized image may be generated manually, i.e. by collecting human-generated ratings of images produced by rendering control parameters.
- training engine 505 determines whether the deviation computed at step 914 exceeds a threshold. If so, then training engine 505 adjusts the weight values within MLEs 504 and 514 based on the difference between the optimized image and the labeled optimized image. This adjustment could occur simultaneously, training engine 504 could adjust weight values within MLEs 504 and 514 during different training cycles involving different raw images. The adjusted values may then be used by MLEs 504 and 514 to compute improved rendering control parameters.
- the method 900 then returns to step 904 and proceeds as described above. If at step 916 training engine 505 determines that the deviation falls beneath the threshold, the method 900 ends.
- MLEs 404 , 504 , and 514 may all be incorporated into IOE 322 and implemented as part of an image processing pipeline configured to generate optimized images from raw images. Further, the MLEs described herein may be trained initially before the digital camera 302 is released to the market, and may also be subject to ongoing training based on user input.
- a digital camera includes an image optimization engine configured to generate an optimized image based on a raw image captured by the digital camera.
- the image optimization engine implements one or more machine learning engines in order to select rendering algorithms and provide them arguments in order to render an optimized image from the raw image.
- the image optimization engine is configured to generate the optimized image by processing the raw image with the selected algorithms and corresponding arguments.
- the machine learning engine within the image optimization engine may be trained to generate images without requiring a team of image processing algorithm designers to produce a collection of algorithms tuning such algorithms. Further, the user of the digital camera is no longer required to provide substantial manual input to the digital camera regarding qualities of the external environment, thereby improving user experience.
- One embodiment of the invention may be implemented as a program product for use with a computer system.
- the program(s) of the program product define functions of the embodiments (including the methods described herein) and can be contained on a variety of computer-readable storage media.
- Illustrative computer-readable storage media include, but are not limited to: (i) non-writable storage media (e.g., read-only memory devices within a computer such as CD-ROM disks readable by a CD-ROM drive, flash memory, ROM chips or any type of solid-state non-volatile semiconductor memory) on which information is permanently stored; and (ii) writable storage media (e.g., floppy disks within a diskette drive or hard-disk drive or any type of solid-state random-access semiconductor memory) on which alterable information is stored.
- non-writable storage media e.g., read-only memory devices within a computer such as CD-ROM disks readable by a CD-ROM drive, flash memory, ROM
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Studio Devices (AREA)
Abstract
A digital camera includes an image optimization engine configured to generate an optimized image based on a raw image captured by the digital camera. The image optimization engine implements one or more machine learning engines in order to select rendering algorithms and rendering algorithm arguments that may then be used to render the raw image.
Description
Field of the Invention
The present invention generally relates to digital photography, and, more specifically, to a system and method for optimizing image quality in a digital camera.
Description of the Related Art
The popularity of digital photography has skyrocketed over the past decade, primarily due to the inclusion of digital cameras in mobile devices such as cell phones. As digital camera technology improves, resulting in an increase of digital image resolution, an increasing number of people have come to rely entirely on cell phone-based digital cameras for all photography needs. Users want the ability to snap quick photos that have professional quality, and, consequently, most modern digital cameras now include image signal processors (ISPs) that implement numerous image processing algorithms and can be used to improve the quality of digital images.
Typically the acquisition into the camera of images from a sensor is called “image capture” and the process of applying image processing algorithms to the raw images to produce optimized images is called “image rendering”. Algorithms that provide such processing are called “rendering algorithms” and include but are not limited to noise reduction, automatic white balance adjustment, tone correction, sharpening, color enhancement, etc. Typically the precise operation of each rendering algorithm is controlled by specific arguments. For example, a color saturation algorithm may be controlled by an argument which is the percentage of saturation above or below some standard value. These algorithms may be implemented entirely in hardware, in firmware on Digital Signal Processors, in special code on programmable engines like a Graphics Processing Unit (GPU), or in software or some combination of the above.
Each such algorithm is typically designed and implemented by an algorithm designer manually based on the designer's experience with computational photography. As such, many designers have become experts in narrow fields related to image quality. For example, a given designer may be considered an expert in designing algorithms for “noise reduction” or for controlling “white balance.” Given the vast number of algorithms required to produce high quality images, and the varied issues in processing raw images from digital sensors, many digital camera vendors employ an army of algorithm designers, where each designer has extensive experience designing and tuning algorithms to correct for or enhance one highly specific issue. In many cases, these algorithms require input from a user of the digital camera in order to function properly. For example, a given algorithm may require information describing the type of scene a user wishes to photograph, such as “beach” or “forest.” The algorithm then adjusts certain parameters according to this user-provided information.
One problem with the current state of digital photography is that digital camera vendors typically invest a large amount of time and money designing algorithms to be included in ISPs, and nonetheless, many digital cameras still require significant user interaction to produce images of reasonable quality. This arrangement is less than ideal because, despite this large investment of time and money in ISP development, most digital camera vendors still fall short of producing high-quality images with the “point and shoot” functionality that users desire.
Accordingly, what is needed in the art is a more effective technique for implementing image processing algorithms in a digital camera.
In another line of technology development, a rich set of Machine Learning techniques has been developed that enables a Machine Learning Engine (MLE) to be trained to implement arbitrarily complicated functions and algorithms. Using techniques such as Supervised Learning, an MLE such as an Artificial Neural Network (ANN), or Support Vector Machine (SVM), or one of numerous other MLE's, can be trained to categorize new as yet unseen data. An MLE can also be trained to implement a transformation from new as yet unseen input into output that closely matches the desired ideal output as represented by the training data.
One embodiment of the present invention sets forth a method for rendering an image, including capturing a raw image via an optical sensor included in a digital camera, generating a set of image statistics for the raw image based on a set of pixel values associated with the raw image, causing a first machine learning engine to select a rendering algorithm and a set of rendering algorithm arguments that correspond to the selected rendering algorithm; and rendering the optimized image by processing the raw image with the rendering algorithm and the set of rendering algorithm arguments.
An advantage of the techniques described herein is that the machine learning engine within the image optimization engine may be trained to generate images without requiring a team of designers to produce and tune a large collection of algorithms. Further, the user of the digital camera can achieve superior optimized images with less manual camera control, thereby improving user experience.
So that the manner in which the above recited features of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this invention and are therefore not to be considered limiting of its scope, for the invention may admit to other equally effective embodiments.
In the following description, numerous specific details are set forth to provide a more thorough understanding of the present invention. However, it will be apparent to one of skill in the art that the present invention may be practiced without one or more of these specific details. In other instances, well-known features have not been described in order to avoid obscuring the present invention.
In one embodiment, the parallel processing subsystem 112 incorporates circuitry optimized for graphics and video processing, including, for example, video output circuitry, and constitutes a graphics processing unit (GPU). In another embodiment, the parallel processing subsystem 112 incorporates circuitry optimized for general purpose processing, while preserving the underlying computational architecture, described in greater detail herein. In yet another embodiment, the parallel processing subsystem 112 may be integrated with one or more other system elements, such as the memory bridge 105, CPU 102, and I/O bridge 107 to form a system on chip (SoC).
It will be appreciated that the system shown herein is illustrative and that variations and modifications are possible. The connection topology, including the number and arrangement of bridges, the number of CPUs 102, and the number of parallel processing subsystems 112, may be modified as desired. For instance, in some embodiments, system memory 104 is connected to CPU 102 directly rather than through a bridge, and other devices communicate with system memory 104 via memory bridge 105 and CPU 102. In other alternative topologies, parallel processing subsystem 112 is connected to I/O bridge 107 or directly to CPU 102, rather than to memory bridge 105. In still other embodiments, I/O bridge 107 and memory bridge 105 might be integrated into a single chip. Large embodiments may include two or more CPUs 102 and two or more parallel processing systems 112. The particular components shown herein are optional; for instance, any number of add-in cards or peripheral devices might be supported. In some embodiments, switch 116 is eliminated, and network adapter 118 and add-in cards 120, 121 connect directly to I/O bridge 107.
Referring again to FIG. 1 , in some embodiments, some or all of PPUs 202 in parallel processing subsystem 112 are graphics processors with rendering pipelines that can be configured to perform various tasks related to generating pixel data from graphics data supplied by CPU 102 and/or system memory 104 via memory bridge 105 and bus 113, interacting with local parallel processing memory 204 (which can be used as graphics memory including, e.g., a conventional frame buffer) to store and update pixel data, delivering pixel data to display device 110, and the like. In some embodiments, parallel processing subsystem 112 may include one or more PPUs 202 that operate as graphics processors and one or more other PPUs 202 that are used for general-purpose computations. The PPUs may be identical or different, and each PPU may have its own dedicated parallel processing memory device(s) or no dedicated parallel processing memory device(s). One or more PPUs 202 may output data to display device 110 or each PPU 202 may output data to one or more display devices 110.
In operation, CPU 102 is the master processor of computer system 100, controlling and coordinating operations of other system components. In particular, CPU 102 issues commands that control the operation of PPUs 202. In some embodiments, CPU 102 writes a stream of commands for each PPU 202 to a pushbuffer (not explicitly shown in either FIG. 1 or FIG. 2 ) that may be located in system memory 104, parallel processing memory 204, or another storage location accessible to both CPU 102 and PPU 202. PPU 202 reads the command stream from the pushbuffer and then executes commands asynchronously relative to the operation of CPU 102.
Referring back now to FIG. 2 , each PPU 202 includes an I/O unit 205 that communicates with the rest of computer system 100 via communication path 113, which connects to memory bridge 105 (or, in one alternative embodiment, directly to CPU 102). The connection of PPU 202 to the rest of computer system 100 may also be varied. In some embodiments, parallel processing subsystem 112 is implemented as an add-in card that can be inserted into an expansion slot of computer system 100. In other embodiments, a PPU 202 can be integrated on a single chip with a bus bridge, such as memory bridge 105 or I/O bridge 107. In still other embodiments, some or all elements of PPU 202 may be integrated on a single chip with CPU 102.
In one embodiment, communication path 113 is a PCIe link, in which dedicated lanes are allocated to each PPU 202, as is known in the art. Other communication paths may also be used. An I/O unit 205 generates packets (or other signals) for transmission on communication path 113 and also receives all incoming packets (or other signals) from communication path 113, directing the incoming packets to appropriate components of PPU 202. For example, commands related to processing tasks may be directed to a host interface 206, while commands related to memory operations (e.g., reading from or writing to parallel processing memory 204) may be directed to a memory crossbar unit 210. Host interface 206 reads each pushbuffer and outputs the work specified by the pushbuffer to a front end 212.
Each PPU 202 advantageously implements a highly parallel processing architecture. As shown in detail, PPU 202(0) includes a processing cluster array 230 that includes a number C of general processing clusters (GPCs) 208, where C≧1. Each GPC 208 is capable of executing a large number (e.g., hundreds or thousands) of threads concurrently, where each thread is an instance of a program. In various applications, different GPCs 208 may be allocated for processing different types of programs or for performing different types of computations. For example, in a graphics application, a first set of GPCs 208 may be allocated to perform tessellation operations and to produce primitive topologies for patches, and a second set of GPCs 208 may be allocated to perform tessellation shading to evaluate patch parameters for the primitive topologies and to determine vertex positions and other per-vertex attributes. The allocation of GPCs 208 may vary dependent on the workload arising for each type of program or computation.
When PPU 202 is used for graphics processing, for example, the processing workload for each patch is divided into approximately equal sized tasks to enable distribution of the tessellation processing to multiple GPCs 208. A work distribution unit 200 may be configured to produce tasks at a frequency capable of providing tasks to multiple GPCs 208 for processing. By contrast, in conventional systems, processing is typically performed by a single processing engine, while the other processing engines remain idle, waiting for the single processing engine to complete its tasks before beginning their processing tasks. In some embodiments of the present invention, portions of GPCs 208 are configured to perform different types of processing. For example a first portion may be configured to perform vertex shading and topology generation, a second portion may be configured to perform tessellation and geometry shading, and a third portion may be configured to perform pixel shading in screen space to produce a rendered image. Intermediate data produced by GPCs 208 may be stored in buffers to allow the intermediate data to be transmitted between GPCs 208 for further processing.
Any one of GPCs 208 may process data to be written to any of the DRAMs 220 within parallel processing memory 204. Crossbar unit 210 is configured to route the output of each GPC 208 to the input of any partition unit 215 or to another GPC 208 for further processing. GPCs 208 communicate with memory interface 214 through crossbar unit 210 to read from or write to various external memory devices. In one embodiment, crossbar unit 210 has a connection to memory interface 214 to communicate with I/O unit 205, as well as a connection to local parallel processing memory 204, thereby enabling the processing cores within the different GPCs 208 to communicate with system memory 104 or other memory that is not local to PPU 202. In the embodiment shown in FIG. 2 , crossbar unit 210 is directly connected with I/O unit 205. Crossbar unit 210 may use virtual channels to separate traffic streams between the GPCs 208 and partition units 215.
Again, GPCs 208 can be programmed to execute processing tasks relating to a wide variety of applications, including but not limited to, linear and nonlinear data transforms, filtering of video and/or audio data, modeling operations (e.g., applying laws of physics to determine position, velocity and other attributes of objects), image rendering operations (e.g., tessellation shader, vertex shader, geometry shader, and/or pixel shader programs), and so on. PPUs 202 may transfer data from system memory 104 and/or local parallel processing memories 204 into internal (on-chip) memory, process the data, and write result data back to system memory 104 and/or local parallel processing memories 204, where such data can be accessed by other system components, including CPU 102 or another parallel processing subsystem 112.
A PPU 202 may be provided with any amount of local parallel processing memory 204, including no local memory, and may use local memory and system memory in any combination. For instance, a PPU 202 can be a graphics processor in a unified memory architecture (UMA) embodiment. In such embodiments, little or no dedicated graphics (parallel processing) memory would be provided, and PPU 202 would use system memory exclusively or almost exclusively. In UMA embodiments, a PPU 202 may be integrated into a bridge chip or processor chip or provided as a discrete chip with a high-speed link (e.g., PCIe) connecting the PPU 202 to system memory via a bridge chip or other communication means.
As noted above, any number of PPUs 202 can be included in a parallel processing subsystem 112. For instance, multiple PPUs 202 can be provided on a single add-in card, or multiple add-in cards can be connected to communication path 113, or one or more of PPUs 202 can be integrated into a bridge chip. PPUs 202 in a multi-PPU system may be identical to or different from one another. For instance, different PPUs 202 might have different numbers of processing cores, different amounts of local parallel processing memory, and so on. Where multiple PPUs 202 are present, those PPUs may be operated in parallel to process data at a higher throughput than is possible with a single PPU 202. Systems incorporating one or more PPUs 202 may be implemented in a variety of configurations and form factors, including desktop, laptop, or handheld personal computers, servers, workstations, game consoles, embedded systems, and the like.
Image optimization engine (IOE) 322 may then process raw images 320 to render optimized images 324. IOE 322 may be a software program residing in memory 312, as is shown, and may be executed by CPU 304 and/or PPU 306 in order to process raw images 320. Alternatively, IOE 322 may be a hardware unit embedded within digital camera 302 and coupled to CPU 304/PPU 306, optical sensor 308, memory 312, and I/O devices 310. As described in greater detail below in conjunction with FIGS. 4-9 , IOE 322 may implement various different techniques processing raw images 320 to produce optimized images 324.
For a given raw image 320, IOE 322 first generates raw image statistics 402. Raw image statistics 402 may include different values, where each value corresponds to a different statistic that may be computed for a given image. Raw image statistics 402 may include a wide variety of different statistics, including quantities that represent color distribution, luminance distribution, contrast, saturation, exposure, and/or other statistics associated with images.
One subset of the rendering control parameters 406 comprises rendering algorithm selectors 406A each of which corresponds to a different rendering algorithm 408, and the remainder of the rendering control parameters 406 comprise rendering algorithm arguments 406B to be provided to the rendering algorithms 408. IOE 322 selects the algorithms 408 corresponding to the rendering algorithm selectors 406A, and then applies the selected algorithms with specified parameters 406B to the raw image in order to render an optimized image. IOE 322 may repeat this process for each one of the raw images 320 in order to render optimized images 324. In one embodiment, IOE 322 processes a given raw image 320 using the raw image statistics 402 associated with that image as well as using raw image statistics associated with previous and/or subsequent images.
As mentioned above, MLE 404 is configured to implement one or more machine learning algorithms and may be trained by implementing one or more supervised learning techniques, as described in greater detail below in conjunction with FIG. 4B .
The process outlined above is iterated until the deviation computed by training engine 405 is less than some desired tolerance, at which time the optimized images 324 that result from the rendering control parameters 406 are close to the “ideal” labeled optimized images 424. For example, this process may be applied to train MLE 404 to select the tone mapping curve that will result in rendering the optimized images 324 closest to the “ideal” labeled optimized images in the training set 424, so that when a given raw image 320 that is not in the training set is provided to MLE 404, MLE 404 will produce rendering control parameters 406 that will generate an optimized image that is similar to an “ideal” optimized image.
In one embodiment, the labeled optimized images 424 are generated manually, i.e. by collecting human-generated ratings of images produced by alternative rendering control parameters 406. In another embodiment, MLE 404 may be trained on an ongoing basis by receiving input from a user of digital camera 302 that represents the perceived quality of an optimized image 324 generated using a given set of rendering control parameters 406. By repeating this process for different rendering control parameters for different raw images, training engine 405 may adjust the weight values associated with MLE 404 in order to more effectively choose the rendering algorithm selectors 406A and rendering algorithm arguments 406B. In this fashion, MLE 404 may be trained to predict the preferences of a user.
In one embodiment, the MLE 404 is trained in situ in the Digital Camera 302. In another embodiment, the MLE 404 is trained offline on a Computer System 100 or Parallel Processing Subsystem 112, and this trained MLE 404 implemented in the Digital Camera 302. In yet another embodiment, MLE 404 is trained on an ongoing basis on a computing system located remotely, i.e. a cloud-based computing system. By implementing the techniques described above, the quality of output images rendered by digital camera 302 may be significantly improved. FIG. 5A outlines another technique for improving image quality.
Once derived image statistics 512 have been generated by MLE 504, those statistics, as well as raw images 320 and raw image statistics 502, are processed by MLE 514 in order to generate the rendering control parameters 506. Similar to the rendering control parameters 406 shown in FIG. 4 , each of rendering algorithm selectors 506A is a value that corresponds to a rendering algorithm 508, and each of rendering algorithm arguments 506B is provided as input to the selected rendering algorithms 508. In like fashion as described in conjunction with FIG. 4A , IOE 322 selects the algorithms 508 and provides their arguments, and then applies the algorithms to the raw image in order to render an optimized image. IOE 322 may repeat this process for each one of raw images 320 in order to generate optimized images 324.
In one embodiment of this process, MLE 514 could be trained in a system with an already trained MLE 504. In another, MLE 504 could be trained in a system with an already trained MLE 514. In yet another, MLE 504 and MLE 514 could be trained together at the same time. As with MLE 404, MLEs 504 and 514 may be trained in situ in the Digital Camera 302, trained offline on a Computer System 100 or Parallel Processing Subsystem 112 and then implemented in the Digital Camera 302, or trained on an ongoing basis on a computing system located remotely, i.e. a cloud-based computing system. By implementing the techniques described above, the quality of output images rendered by digital camera 302 may be significantly improved.
In one embodiment, the labeled optimized images 524 are generated manually, i.e. by collecting human-generated ratings of images produced by alternative rendering control parameters 506. In another embodiment, MLE 504 and/or MLE 514 may be trained on an ongoing basis by receiving input from a user of digital camera 302 that represents the perceived quality of an optimized image 324 generated using given set of rendering control parameters 506. By repeating this process for different rendering control parameters for different raw images, training engine 505 may adjust the weight values associated with MLEs 504 and/or 514 to better choose the rendering algorithm selectors 506 a and rendering algorithm arguments 506 b. In this fashion, MLE 514 may be trained to predict the preferences of a user.
By implementing the techniques described above, the quality of optimized images rendered by digital camera 302 may be significantly improved.
Persons skilled in the art will recognize that a wide variety of machine learning algorithms and associated training techniques may be applied in order to implement each of MLEs 404, 504, and 514. Further, the different embodiments of IOE 322 described above in conjunction with FIGS. 3-5 may be combined in any technically feasible fashion. Each of those different embodiments is described in greater detail below in conjunction with FIGS. 7-10 .
As shown, a method 600 starts at step 602, where IOE 322 receives a raw image. The raw image may be captured by, e.g., optical sensor 308 within digital camera 302 shown in FIG. 3 . At step 604, IOE 322 generates raw image statistics for the raw image. The raw image statistics generated by IOE 322 may include different values, where each value corresponds to a different statistic that may be computed for a raw image. The raw image statistics may include a wide variety of different statistics, including quantities that represent color distribution, luminance distribution, contrast, saturation, exposure, and/or other statistics associated with images.
At step 606, IOE 322 generates rendering control parameters based upon the raw image statistics and based optionally as well on the raw image using MLE 404. The rendering control parameters select the algorithms to be applied to the raw image as well as the arguments to be given to those algorithms. As described above in conjunction with FIG. 4A , MLE 404 may be trained by applying any technically feasible supervised learning algorithm, as described in conjunction with FIG. 4B .
At step 608, IOE 322 renders an optimized image by processing the raw image with the selected algorithms and their arguments. The method 600 then ends. By implementing the method 600, IOE 322 may generate optimized images having improved quality compared to raw images. FIG. 7 outlines another approach for generating optimized images.
As shown, a method 700 begins at step 702, where IOE 322 receives a raw image. At step 704, IOE 322 generates raw image statistics for the raw image. Steps 702 and 704 may be substantially similar to steps 602 and 604, respectively, of the method 700 shown in FIG. 6 .
At step 706, IOE 322 generates derived image statistics for the raw image based on the raw image statistics and optionally also based on the raw image. The derived image statistics represent statistics that may be inferred based on the raw image statistics, and may represent qualities of a raw image, such as type of scene (e.g. “beach,” “forest,” etc.), color of illuminant, depth of focus, and so forth. In general, the derived image statistics represent properties of the external environment. As described above in conjunction with FIG. 5A , IOE 322 implements MLE 504 in order to generate the derived image statistics. As also described above, MLE 504 may be trained by applying any technically feasible supervised learning algorithm to MLE 504 in order to adjust weight values within MLE 504. In doing so, a system comprising MLE 504 may be trained using “example” raw images in combination with their corresponding “ideal” labeled optimized images.
At step 708, IOE 322 generates rendering control parameters based upon the derived statistics and optionally based also on the raw image statistics and optionally the full or partial raw image using MLE 514. The rendering control parameters select the algorithms to be applied to the raw image as well as the arguments to be given to those algorithms. As with MLE 504, MLE 514 may be trained by applying any technically feasible supervised learning algorithm, as described in conjunction with FIG. 5B .
At step 710, IOE 322 applies the selected algorithms with specified arguments to the raw image in order to render an optimized image. The method 700 then ends. By implementing the method 700, IOE 322 may generate optimized images having improved quality compared to raw images. FIGS. 8 and 9 outline two embodiments of methods for training MLE 404, 504, and 514.
As shown, the method 800 begins at step 802, where training engine 405 within IOE 322 initializes MLE 404. Training engine 405 may initialize MLE 404 with a collection of values that may be random or more carefully selected in a way consistent with the state of the art of Machine Learning.
At step 804, IOE 322 receives a raw image. The raw image may be captured by, e.g., optical sensor 308 within digital camera 302 shown in FIG. 3 . At step 806, IOE 322 generates raw image statistics for the raw image. The raw image statistics may include different values, where each value corresponds to a different statistic that may be computed for a raw image. The raw image statistics may include a wide variety of different statistics, including quantities that represent color distribution, luminance distribution, contrast, saturation, exposure, and/or other statistics associated with images.
At step 808, MLE 404 within IOE 322 generates rendering control parameters based upon the raw image statistics and based optionally as well on the raw image. The rendering control parameters select the algorithms to be applied to the raw image as well as the arguments to be given to those algorithms. At step 810, IOE 322 renders an optimized image by processing the raw image with the rendering algorithm selections and rendering algorithm arguments within rendering control parameters.
At step 812, training engine 405 computes the deviation between the optimized image and a labeled optimized image. The labeled optimized image may be generated manually, i.e. by collecting human-generated ratings of images produced by rendering control parameters. At step 814, training engine 405 determines whether the deviation computed at step 812 exceeds a threshold. If so, then training engine 405 adjusts the weight values within MLE 404 based on the difference between the optimized image and the labeled optimized image and the method 800 then returns to step 804 and proceeds as described above. The adjusted values may then be used by MLE 404 to compute improved rendering control parameters. If at step 814 training engine 405 determines that the deviation falls beneath the threshold, the method 800 ends.
As shown, the method 900 begins at step 902, where training engine 505 within IOE 322 initializes MLEs 504 and 514. Training engine 505 may initialize MLEs 504 and 514 with a collection of values that may be random or more carefully selected in a way consistent with the state of the art of Machine Learning.
At step 904, IOE 322 receives a raw image. The raw image may be captured by, e.g., optical sensor 308 within digital camera 302 shown in FIG. 3 . At step 906, IOE 322 generates raw image statistics for the raw image. The raw image statistics may include different values, where each value corresponds to a different statistic that may be computed for a raw image. The raw image statistics may include a wide variety of different statistics, including quantities that represent color distribution, luminance distribution, contrast, saturation, exposure, and/or other statistics associated with images. At step 908, MLE 514 within IOE 322 generates derived image statistics based on the raw image statistics. The derived image statistics represent statistics that may be inferred based on the raw image statistics, and may represent qualities of a raw image, such as type of scene (e.g. “beach,” “forest,” etc.), depth of focus, and so forth. In general, derived image statistics represent properties of the external environment.
At step 910, MLE 514 within IOE 322 generates rendering control parameters based upon the raw image statistics and derived image statistics and based optionally as well on the raw image. The rendering control parameters select the algorithms to be applied to the raw image as well as the arguments to be given to those algorithms. At step 912, IOE 322 renders an optimized image by processing the raw image with the rendering algorithm selections and rendering algorithm arguments within rendering control parameters.
At step 914, training engine 505 computes the deviation between the optimized image and a labeled optimized image. The labeled optimized image may be generated manually, i.e. by collecting human-generated ratings of images produced by rendering control parameters. At step 916, training engine 505 determines whether the deviation computed at step 914 exceeds a threshold. If so, then training engine 505 adjusts the weight values within MLEs 504 and 514 based on the difference between the optimized image and the labeled optimized image. This adjustment could occur simultaneously, training engine 504 could adjust weight values within MLEs 504 and 514 during different training cycles involving different raw images. The adjusted values may then be used by MLEs 504 and 514 to compute improved rendering control parameters. The method 900 then returns to step 904 and proceeds as described above. If at step 916 training engine 505 determines that the deviation falls beneath the threshold, the method 900 ends.
Persons skilled in the art will recognize that the techniques described above in conjunction with FIGS. 3-9 may be combined in any technically feasible fashion. For example, MLEs 404, 504, and 514, may all be incorporated into IOE 322 and implemented as part of an image processing pipeline configured to generate optimized images from raw images. Further, the MLEs described herein may be trained initially before the digital camera 302 is released to the market, and may also be subject to ongoing training based on user input.
In sum, a digital camera includes an image optimization engine configured to generate an optimized image based on a raw image captured by the digital camera. The image optimization engine implements one or more machine learning engines in order to select rendering algorithms and provide them arguments in order to render an optimized image from the raw image. The image optimization engine is configured to generate the optimized image by processing the raw image with the selected algorithms and corresponding arguments.
Advantageously, the machine learning engine within the image optimization engine may be trained to generate images without requiring a team of image processing algorithm designers to produce a collection of algorithms tuning such algorithms. Further, the user of the digital camera is no longer required to provide substantial manual input to the digital camera regarding qualities of the external environment, thereby improving user experience.
One embodiment of the invention may be implemented as a program product for use with a computer system. The program(s) of the program product define functions of the embodiments (including the methods described herein) and can be contained on a variety of computer-readable storage media. Illustrative computer-readable storage media include, but are not limited to: (i) non-writable storage media (e.g., read-only memory devices within a computer such as CD-ROM disks readable by a CD-ROM drive, flash memory, ROM chips or any type of solid-state non-volatile semiconductor memory) on which information is permanently stored; and (ii) writable storage media (e.g., floppy disks within a diskette drive or hard-disk drive or any type of solid-state random-access semiconductor memory) on which alterable information is stored.
The invention has been described above with reference to specific embodiments. Persons skilled in the art, however, will understand that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention as set forth in the appended claims. The foregoing description and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
Claims (25)
1. A computer-implemented method for rendering an optimized image, comprising:
capturing a raw image via an optical sensor included in a digital camera;
processing the raw image to generate raw image statistics related to the raw image, wherein the raw image statistics comprise a plurality of values, each value corresponding to a different statistic that can be computed for an image;
causing a first machine learning engine to generate derived image statistics for the raw image based on the raw image statistics, wherein the derived image statistics comprise qualities of the raw image;
causing a second machine learning engine to generate a set of rendering control parameters based on the raw image statistics and the derived image statistics, wherein the rendering control parameters select a rendering algorithm and a set of rendering algorithm arguments that correspond to the selected rendering algorithm; and
rendering the optimized image by processing the raw image with the rendering algorithm and the set of rendering algorithm arguments.
2. The computer-implemented method of claim 1 , wherein the second machine learning engine is trained by:
receiving a target image;
computing a deviation value by comparing the image to the target image;
determining that the deviation value exceeds a threshold value; and
adjusting a set of weight values within the second machine learning engine based on differences between pixel values associated with the image and the target image.
3. The computer-implemented method of claim 2 , wherein the second machine learning engine comprises an artificial neural network and wherein adjusting the set of weight values associated with the second machine learning engine comprises applying a back-propagation learning algorithm to the set of weight values.
4. The computer-implemented method of claim 1 , wherein the raw image statistics represent a degree of white balance, contrast, saturation, or exposure associated with the raw image.
5. The computer-implemented method of claim 1 , wherein the first and second machine learning engines are trained by:
receiving a target image;
computing a deviation value by comparing the image to the target image;
determining that the deviation value exceeds a threshold value;
adjusting a set of weight values within the second machine learning engine based on differences between pixel values associated with the image and the target image; and
adjusting a set of weight values within the first machine learning engine based on differences between pixel values associated with the image and the target image.
6. The computer-implemented method of claim 5 , wherein the second machine learning engine comprises an artificial neural network and adjusting the set of weight values associated with the second machine learning engine comprises applying a back-propagation learning algorithm to the set of weight values, and wherein the first machine learning engine comprises an artificial neural network and adjusting the set of weight values associated with the first machine learning engine comprises applying a back-propagation learning algorithm to the set of weight values.
7. The computer-implemented method of claim 1 , wherein the second machine learning engine selects the rendering algorithm from within a plurality of different rendering engines.
8. The computer-implemented method of claim 1 , wherein the second machine learning engine is trained on an ongoing basis within a cloud computing system based on input received from a user of the digital camera.
9. The computer-implemented method of claim 1 , wherein the rendering algorithm arguments are included within rendering control parameters that also include rendering algorithm selectors, wherein the rendering algorithm is selected based on a rendering algorithm selector corresponding to the rendering algorithm.
10. The computer-implemented method of claim 9 , wherein the rendering algorithm selector comprises a value generated by the second machine learning.
11. The computer-implemented method of claim 1 , wherein the derived image statistics generated by the first machine learning engine are further based on an optimized image that corresponds to the raw image and is provided to the first machine learning engine.
12. The computer-implemented method of claim 11 , wherein generating the set of image statistics, causing the second machine learning engine to select the rendering algorithm, and rendering the image are performed iteratively to generate a plurality of optimized images, and the optimized image comprises one of the plurality of optimized images.
13. The computer-implemented method of claim 1 , wherein the raw image statistics include at least one of a color distribution, a luminance distribution, a contrast, a saturation, and an exposure.
14. The computer-implemented method of claim 1 , wherein the derived image statistics include at least one of a type of scene and a depth of focus.
15. A non-transitory computer-readable medium storing program instructions that, when executed by a processing unit, cause the processing unit to render an optimized image by performing the steps of:
capturing a raw image via an optical sensor included in a digital camera;
processing the raw image to generate raw image statistics related to the raw image, wherein the raw image statistics comprise a plurality of values, each value corresponding to a different statistic that can be computed for an image;
causing a first machine learning engine to generate derived image statistics for the raw image based on the raw image statistics, wherein the derived image statistics comprise qualities of the raw image;
causing a second machine learning engine to generate a set of render control parameters based on the raw image statistics and the derived image statistics, wherein the rendering control parameters select a rendering algorithm and a set of rendering algorithm arguments that correspond to the selected rendering algorithm; and
rendering the optimized image by processing the raw image with the rendering algorithm and the set of rendering algorithm arguments.
16. The non-transitory computer-readable medium of claim 15 , wherein the second machine learning engine is trained by:
receiving a target image;
computing a deviation value by comparing the image to the target image;
determining that the deviation value exceeds a threshold value; and
adjusting a set of weight values within the second machine learning engine based on differences between pixel values associated with the image and the target image.
17. The non-transitory computer-readable medium of claim 16 , wherein the second machine learning engine comprises an artificial neural network and wherein adjusting the set of weight values associated with the second machine learning engine comprises applying a back-propagation learning algorithm to the set of weight values.
18. The non-transitory computer-readable medium of claim 15 , wherein the raw image statistics represent a degree of white balance, contrast, saturation, or exposure associated with the raw image.
19. The non-transitory computer-readable medium of claim 15 , wherein the first and second machine learning engines are trained by:
receiving a target image;
computing a deviation value by comparing the image to the target image;
determining that the deviation value exceeds a threshold value;
adjusting a set of weight values within the second machine learning engine based on differences between pixel values associated with the image and the target image; and
adjusting a set of weight values within the first machine learning engine based on differences between pixel values associated with the image and the target image.
20. The non-transitory computer-readable medium of claim 19 , wherein the second machine learning engine comprises an artificial neural network and adjusting the set of weight values associated with the second machine learning engine comprises applying a back-propagation learning algorithm to the set of weight values, and wherein the first machine learning engine comprises an artificial neural network and adjusting the set of weight values associated with the first machine learning engine comprises applying a back-propagation learning algorithm to the set of weight values.
21. A computing device configured to render an optimized image, including:
a processing unit configured to:
capture a raw image via an optical sensor included in a digital camera,
process the raw image to generate raw image statistics related to the raw image, wherein the raw image statistics comprise a plurality of values, each value corresponding to a different statistic that can be computed for an image,
cause a first machine learning engine to generate derived image statistics for the raw image based on the raw image statistics, wherein the derived image statistics comprise qualities of the raw image,
cause a second machine learning engine to generate a set of rendering control parameters based on the raw image statistics and the derived image statistics, wherein the rendering control parameters select a rendering algorithm and a set of rendering algorithm arguments that correspond to the selected rendering algorithm, and
render the optimized image by processing the raw image with the rendering algorithm and the set of rendering algorithm arguments.
22. The computing device of claim 21 , further including:
a memory coupled to the processing unit and storing program instructions that, when executed by the processing unit, cause the processing unit to:
capture the raw image,
generate the set of image statistics,
cause the second machine learning engine to select the rendering algorithm and the set of rendering algorithm arguments, and
render the image.
23. The computing device of claim 21 , wherein the second machine learning engine is trained by:
receiving a target image;
computing a deviation value by comparing the image to the target image;
determining that the deviation value exceeds a threshold value; and
adjusting a set of weight values within the second machine learning engine based on differences between pixel values associated with the image and the target image, wherein the second machine learning engine comprises an artificial neural network and wherein adjusting the set of weight values associated with the second machine learning engine comprises applying a back-propagation learning algorithm to the set of weight values.
24. The computing device of claim 21 , wherein the raw image statistics represent a degree of white balance, contrast, saturation, or exposure associated with the raw image.
25. The computing device of claim 21 , wherein the first and second machine learning engines are trained by:
receiving a target image;
computing a deviation value by comparing the image to the target image;
determining that the deviation value exceeds a threshold value;
adjusting a set of weight values within the second machine learning engine based on differences between pixel values associated with the image and the target image; and
adjusting a set of weight values within the first machine learning engine based on differences between pixel values associated with the image and the target image, wherein the second machine learning engine comprises an artificial neural network and adjusting the set of weight values associated with the second machine learning engine comprises applying a back-propagation learning algorithm to the set of weight values, and wherein the first machine learning engine comprises an artificial neural network and adjusting the set of weight values associated with the first machine learning engine comprises applying a back-propagation learning algorithm to the set of weight value.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/651,342 US9741098B2 (en) | 2012-10-12 | 2012-10-12 | System and method for optimizing image quality in a digital camera |
TW102136782A TWI512680B (en) | 2012-10-12 | 2013-10-11 | System and method for optimizing image quality in a digital camera |
DE102013016872.4A DE102013016872A1 (en) | 2012-10-12 | 2013-10-11 | System and method for optimizing image quality in a digital camera |
CN201310479312.0A CN103731660A (en) | 2012-10-12 | 2013-10-14 | System and method for optimizing image quality in a digital camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/651,342 US9741098B2 (en) | 2012-10-12 | 2012-10-12 | System and method for optimizing image quality in a digital camera |
Publications (2)
Publication Number | Publication Date |
---|---|
US20140104450A1 US20140104450A1 (en) | 2014-04-17 |
US9741098B2 true US9741098B2 (en) | 2017-08-22 |
Family
ID=50383317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/651,342 Active 2034-02-01 US9741098B2 (en) | 2012-10-12 | 2012-10-12 | System and method for optimizing image quality in a digital camera |
Country Status (4)
Country | Link |
---|---|
US (1) | US9741098B2 (en) |
CN (1) | CN103731660A (en) |
DE (1) | DE102013016872A1 (en) |
TW (1) | TWI512680B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20210104313A1 (en) * | 2018-06-15 | 2021-04-08 | Canon Kabushiki Kaisha | Medical image processing apparatus, medical image processing method and computer-readable medium |
US20220300285A1 (en) * | 2017-12-27 | 2022-09-22 | Shanghai United Imaging Healthcare Co., Ltd. | Systems and methods for processing an image |
US11778167B1 (en) | 2022-07-26 | 2023-10-03 | Insight Direct Usa, Inc. | Method and system for preprocessing optimization of streaming video data |
US11849242B2 (en) | 2021-12-29 | 2023-12-19 | Insight Direct Usa, Inc. | Dynamically configured processing of a region of interest dependent upon published video data selected by a runtime configuration file |
US11961273B2 (en) | 2021-12-29 | 2024-04-16 | Insight Direct Usa, Inc. | Dynamically configured extraction, preprocessing, and publishing of a region of interest that is a subset of streaming video data |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9741098B2 (en) * | 2012-10-12 | 2017-08-22 | Nvidia Corporation | System and method for optimizing image quality in a digital camera |
CN106462401B (en) * | 2014-06-19 | 2019-09-10 | 富士通株式会社 | Program creating device and program creating method |
US10362288B2 (en) * | 2015-01-09 | 2019-07-23 | Sony Corporation | Method and system for improving detail information in digital images |
US9916525B2 (en) * | 2015-10-13 | 2018-03-13 | Siemens Healthcare Gmbh | Learning-based framework for personalized image quality evaluation and optimization |
EP3350767B1 (en) * | 2016-06-17 | 2020-06-03 | Huawei Technologies Co., Ltd. | Exposure-related intensity transformation |
US10210594B2 (en) * | 2017-03-03 | 2019-02-19 | International Business Machines Corporation | Deep learning via dynamic root solvers |
US10902559B2 (en) | 2017-08-04 | 2021-01-26 | Outward, Inc. | Machine learning based image processing techniques |
CN107622473B (en) * | 2017-09-22 | 2020-01-21 | Oppo广东移动通信有限公司 | Image rendering method, device, terminal and computer readable storage medium |
US10497105B2 (en) * | 2017-11-01 | 2019-12-03 | Google Llc | Digital image auto exposure adjustment |
CN108769543B (en) * | 2018-06-01 | 2020-12-18 | 北京壹卡行科技有限公司 | Method and device for determining exposure time |
EP3654251A1 (en) * | 2018-11-13 | 2020-05-20 | Siemens Healthcare GmbH | Determining a processing sequence for processing an image |
CN110267024A (en) * | 2019-07-26 | 2019-09-20 | 惠州视维新技术有限公司 | Adjust the method, apparatus and computer readable storage medium of TV white balance value |
CN114697555B (en) * | 2022-04-06 | 2023-10-27 | 深圳市兆珑科技有限公司 | Image processing method, device, equipment and storage medium |
Citations (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5465308A (en) * | 1990-06-04 | 1995-11-07 | Datron/Transoc, Inc. | Pattern recognition system |
US5694224A (en) * | 1994-12-08 | 1997-12-02 | Eastman Kodak Company | Method and apparatus for tone adjustment correction on rendering gray level image data |
US6356646B1 (en) * | 1999-02-19 | 2002-03-12 | Clyde H. Spencer | Method for creating thematic maps using segmentation of ternary diagrams |
US6400841B1 (en) * | 1999-02-11 | 2002-06-04 | General Electric Company | Method for evaluating three-dimensional rendering systems |
US20020194161A1 (en) * | 2001-04-12 | 2002-12-19 | Mcnamee J. Paul | Directed web crawler with machine learning |
US20030035653A1 (en) * | 2001-08-20 | 2003-02-20 | Lyon Richard F. | Storage and processing service network for unrendered image data |
US20040120561A1 (en) * | 2000-06-30 | 2004-06-24 | Yoshihiro Goto | Image diagnosis supporting device |
US20050069207A1 (en) * | 2002-05-20 | 2005-03-31 | Zakrzewski Radoslaw Romuald | Method for detection and recognition of fog presence within an aircraft compartment using video images |
US20070189603A1 (en) * | 2006-02-06 | 2007-08-16 | Microsoft Corporation | Raw image processing |
US7266229B2 (en) * | 2003-07-24 | 2007-09-04 | Carestream Health, Inc. | Method for rendering digital radiographic images for display based on independent control of fundamental image quality parameters |
US7321674B2 (en) * | 2002-02-22 | 2008-01-22 | Agfa Healthcare, N.V. | Method of normalising a digital signal representation of an image |
US20080089581A1 (en) * | 2006-10-17 | 2008-04-17 | Greenparrottpictures, Limited | Method for matching color in images |
US20080095306A1 (en) * | 2006-10-18 | 2008-04-24 | Vernon Thomas Jensen | System and method for parameter selection for image data displays |
US20090309894A1 (en) * | 2008-06-17 | 2009-12-17 | Canon Kabushiki Kaisha | Electronic layout generation based on visual context |
US20100086182A1 (en) * | 2008-10-07 | 2010-04-08 | Hui Luo | Diagnostic image processing with automatic self image quality validation |
US20100268223A1 (en) * | 2009-04-15 | 2010-10-21 | Tyco Health Group Lp | Methods for Image Analysis and Visualization of Medical Image Data Suitable for Use in Assessing Tissue Ablation and Systems and Methods for Controlling Tissue Ablation Using Same |
US20110044537A1 (en) * | 2009-08-18 | 2011-02-24 | Wesley Kenneth Cobb | Background model for complex and dynamic scenes |
US20110142335A1 (en) * | 2009-12-11 | 2011-06-16 | Bernard Ghanem | Image Comparison System and Method |
US20110222786A1 (en) * | 2009-10-05 | 2011-09-15 | I.C.V.T Ltd. | Classifying an image's compression level |
US20110274361A1 (en) * | 2010-05-10 | 2011-11-10 | Board Of Regents, The University Of Texas System | Determining quality of an image or video using a distortion classifier |
US20120081385A1 (en) * | 2010-09-30 | 2012-04-05 | Apple Inc. | System and method for processing image data using an image signal processor having back-end processing logic |
US20120147176A1 (en) * | 2010-12-08 | 2012-06-14 | GM Global Technology Operations LLC | Adaptation for clear path detection with additional classifiers |
US8287281B2 (en) * | 2006-12-06 | 2012-10-16 | Microsoft Corporation | Memory training via visual journal |
US8477246B2 (en) * | 2008-07-11 | 2013-07-02 | The Board Of Trustees Of The Leland Stanford Junior University | Systems, methods and devices for augmenting video content |
US8565554B2 (en) * | 2010-01-09 | 2013-10-22 | Microsoft Corporation | Resizing of digital images |
US20140104450A1 (en) * | 2012-10-12 | 2014-04-17 | Nvidia Corporation | System and method for optimizing image quality in a digital camera |
US20140152848A1 (en) * | 2012-12-04 | 2014-06-05 | Nvidia Corporation | Technique for configuring a digital camera |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1977395B1 (en) * | 2006-01-27 | 2018-10-24 | Imax Corporation | Methods and systems for digitally re-mastering of 2d and 3d motion pictures for exhibition with enhanced visual quality |
-
2012
- 2012-10-12 US US13/651,342 patent/US9741098B2/en active Active
-
2013
- 2013-10-11 TW TW102136782A patent/TWI512680B/en active
- 2013-10-11 DE DE102013016872.4A patent/DE102013016872A1/en active Pending
- 2013-10-14 CN CN201310479312.0A patent/CN103731660A/en active Pending
Patent Citations (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5465308A (en) * | 1990-06-04 | 1995-11-07 | Datron/Transoc, Inc. | Pattern recognition system |
US5694224A (en) * | 1994-12-08 | 1997-12-02 | Eastman Kodak Company | Method and apparatus for tone adjustment correction on rendering gray level image data |
US6400841B1 (en) * | 1999-02-11 | 2002-06-04 | General Electric Company | Method for evaluating three-dimensional rendering systems |
US6356646B1 (en) * | 1999-02-19 | 2002-03-12 | Clyde H. Spencer | Method for creating thematic maps using segmentation of ternary diagrams |
US20040120561A1 (en) * | 2000-06-30 | 2004-06-24 | Yoshihiro Goto | Image diagnosis supporting device |
US20020194161A1 (en) * | 2001-04-12 | 2002-12-19 | Mcnamee J. Paul | Directed web crawler with machine learning |
US20030035653A1 (en) * | 2001-08-20 | 2003-02-20 | Lyon Richard F. | Storage and processing service network for unrendered image data |
US7372595B1 (en) * | 2001-08-20 | 2008-05-13 | Foveon, Inc. | Flexible image rendering system utilizing intermediate device-independent unrendered image data |
US7321674B2 (en) * | 2002-02-22 | 2008-01-22 | Agfa Healthcare, N.V. | Method of normalising a digital signal representation of an image |
US20050069207A1 (en) * | 2002-05-20 | 2005-03-31 | Zakrzewski Radoslaw Romuald | Method for detection and recognition of fog presence within an aircraft compartment using video images |
US7266229B2 (en) * | 2003-07-24 | 2007-09-04 | Carestream Health, Inc. | Method for rendering digital radiographic images for display based on independent control of fundamental image quality parameters |
US20070189603A1 (en) * | 2006-02-06 | 2007-08-16 | Microsoft Corporation | Raw image processing |
US20080089581A1 (en) * | 2006-10-17 | 2008-04-17 | Greenparrottpictures, Limited | Method for matching color in images |
US20080095306A1 (en) * | 2006-10-18 | 2008-04-24 | Vernon Thomas Jensen | System and method for parameter selection for image data displays |
US8287281B2 (en) * | 2006-12-06 | 2012-10-16 | Microsoft Corporation | Memory training via visual journal |
US20090309894A1 (en) * | 2008-06-17 | 2009-12-17 | Canon Kabushiki Kaisha | Electronic layout generation based on visual context |
US8477246B2 (en) * | 2008-07-11 | 2013-07-02 | The Board Of Trustees Of The Leland Stanford Junior University | Systems, methods and devices for augmenting video content |
US20100086182A1 (en) * | 2008-10-07 | 2010-04-08 | Hui Luo | Diagnostic image processing with automatic self image quality validation |
US20100268223A1 (en) * | 2009-04-15 | 2010-10-21 | Tyco Health Group Lp | Methods for Image Analysis and Visualization of Medical Image Data Suitable for Use in Assessing Tissue Ablation and Systems and Methods for Controlling Tissue Ablation Using Same |
US20110044537A1 (en) * | 2009-08-18 | 2011-02-24 | Wesley Kenneth Cobb | Background model for complex and dynamic scenes |
US8452110B2 (en) * | 2009-10-05 | 2013-05-28 | I.C.V.T. Ltd. | Classifying an image's compression level |
US20110222786A1 (en) * | 2009-10-05 | 2011-09-15 | I.C.V.T Ltd. | Classifying an image's compression level |
US8908984B2 (en) * | 2009-10-05 | 2014-12-09 | I.C.V.T. Ltd. | Apparatus and methods for recompression of digital images |
US20110142335A1 (en) * | 2009-12-11 | 2011-06-16 | Bernard Ghanem | Image Comparison System and Method |
US8565554B2 (en) * | 2010-01-09 | 2013-10-22 | Microsoft Corporation | Resizing of digital images |
US20110274361A1 (en) * | 2010-05-10 | 2011-11-10 | Board Of Regents, The University Of Texas System | Determining quality of an image or video using a distortion classifier |
US20120081385A1 (en) * | 2010-09-30 | 2012-04-05 | Apple Inc. | System and method for processing image data using an image signal processor having back-end processing logic |
TW201233158A (en) | 2010-09-30 | 2012-08-01 | Apple Inc | System and method for processing image data using an image signal processor having back-end processing logic |
US20120147176A1 (en) * | 2010-12-08 | 2012-06-14 | GM Global Technology Operations LLC | Adaptation for clear path detection with additional classifiers |
US20140104450A1 (en) * | 2012-10-12 | 2014-04-17 | Nvidia Corporation | System and method for optimizing image quality in a digital camera |
US20140152848A1 (en) * | 2012-12-04 | 2014-06-05 | Nvidia Corporation | Technique for configuring a digital camera |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220300285A1 (en) * | 2017-12-27 | 2022-09-22 | Shanghai United Imaging Healthcare Co., Ltd. | Systems and methods for processing an image |
US11803378B2 (en) * | 2017-12-27 | 2023-10-31 | Shanghai United Imaging Healthcare Co., Ltd. | Systems and methods for processing an image |
US20210104313A1 (en) * | 2018-06-15 | 2021-04-08 | Canon Kabushiki Kaisha | Medical image processing apparatus, medical image processing method and computer-readable medium |
US12040079B2 (en) * | 2018-06-15 | 2024-07-16 | Canon Kabushiki Kaisha | Medical image processing apparatus, medical image processing method and computer-readable medium |
US11849242B2 (en) | 2021-12-29 | 2023-12-19 | Insight Direct Usa, Inc. | Dynamically configured processing of a region of interest dependent upon published video data selected by a runtime configuration file |
US11849241B2 (en) | 2021-12-29 | 2023-12-19 | Insight Direct Usa, Inc. | Dynamically configured processing of a region of interest dependent upon published video data selected by a runtime configuration file |
US11849240B2 (en) | 2021-12-29 | 2023-12-19 | Insight Direct Usa, Inc. | Dynamically configured processing of a region of interest dependent upon published video data selected by a runtime configuration file |
US11961273B2 (en) | 2021-12-29 | 2024-04-16 | Insight Direct Usa, Inc. | Dynamically configured extraction, preprocessing, and publishing of a region of interest that is a subset of streaming video data |
US12106536B2 (en) | 2021-12-29 | 2024-10-01 | Insight Direct Usa, Inc. | Dynamically configured extraction, preprocessing, and publishing of a region of interest that is a subset of streaming video data |
US12106535B2 (en) | 2021-12-29 | 2024-10-01 | Insight Direct Usa, Inc. | Dynamically configured extraction, preprocessing, and publishing of a region of interest that is a subset of streaming video data |
US11778167B1 (en) | 2022-07-26 | 2023-10-03 | Insight Direct Usa, Inc. | Method and system for preprocessing optimization of streaming video data |
US12108024B2 (en) | 2022-07-26 | 2024-10-01 | Insight Direct Usa, Inc. | Method and system for preprocessing optimization of streaming video data |
Also Published As
Publication number | Publication date |
---|---|
DE102013016872A1 (en) | 2014-04-17 |
TWI512680B (en) | 2015-12-11 |
CN103731660A (en) | 2014-04-16 |
US20140104450A1 (en) | 2014-04-17 |
TW201423666A (en) | 2014-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9741098B2 (en) | System and method for optimizing image quality in a digital camera | |
US10534998B2 (en) | Video deblurring using neural networks | |
US11558558B1 (en) | Frame-selective camera | |
US11107205B2 (en) | Techniques for convolutional neural network-based multi-exposure fusion of multiple image frames and for deblurring multiple image frames | |
CN106548455B (en) | Apparatus and method for adjusting brightness of image | |
US20140176745A1 (en) | Approach for camera control | |
US11711563B2 (en) | Methods and systems for graphics rendering assistance by a multi-access server | |
US8929683B2 (en) | Techniques for registering and warping image stacks | |
US20170178395A1 (en) | Light field rendering of an image using variable computational complexity | |
Peng et al. | Bokehme: When neural rendering meets classical rendering | |
CN110728633A (en) | Multi-exposure high-dynamic-range inverse tone mapping model construction method and device | |
US11508038B2 (en) | Image processing method, storage medium, image processing apparatus, learned model manufacturing method, and image processing system | |
US20140152848A1 (en) | Technique for configuring a digital camera | |
CN111327824A (en) | Shooting parameter selection method and device, storage medium and electronic equipment | |
WO2016165076A1 (en) | Method and system for image enhancement | |
US20200244875A1 (en) | Electronic device and method for processing line data included in image frame data into multiple intervals | |
US20220036632A1 (en) | Post-processing in a memory-system efficient manner | |
US11699218B2 (en) | Method controlling image sensor parameters | |
CN107113373A (en) | Pass through the exposure calculating photographed based on depth calculation | |
WO2019179242A1 (en) | Image processing method and electronic device | |
US11127141B2 (en) | Image processing apparatus, image processing method, and a non-transitory computer readable storage medium | |
WO2020107646A1 (en) | Image processing method | |
US10212406B2 (en) | Image generation of a three-dimensional scene using multiple focal lengths | |
CN114514552A (en) | Electronic device and image processing method of electronic device | |
CN109919851A (en) | A kind of flating obscures removing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: NVIDIA CORPORATION, CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:COX, MICHAEL BRIAN;REEL/FRAME:029124/0296 Effective date: 20121010 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
CC | Certificate of correction | ||
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |