Image processing method and system

By applying noise signals in the frequency domain, the noise distribution in the image is reproduced, which solves the problem of image distortion caused by noise removal in the existing technology, and improves the naturalness and perceptual pleasure of the image.

CN110896432BActive Publication Date: 2024-09-06BLACKMAGIC DESIGN PTY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910863446.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-09-13
Filing Date
2019-09-12
Publication Date
2024-09-06
Estimated Expiration
2039-09-12

AI Technical Summary

Technical Problem

When the existing technology processes compressed images, removing noise components causes image distortion, causing areas with low structural details to look unnatural, and certain spatial and temporal noise distributions are lost or distorted during the compression process.

Method used

By applying a noise signal to the image data in the frequency domain, in particular by modifying the coefficients of the discrete cosine transform, certain spatial and temporal noise distributions are reproduced to improve the perceptual pleasure and realism of the image.

Benefits of technology

A better representation of noise distribution in decoded images is achieved, improving the naturalness and realism of images, especially enhancing the perceptual pleasure when viewing moving images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110896432B_ABST
    Figure CN110896432B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for processing image data represented in the frequency domain. The method comprises the step of applying a noise signal to the image data to generate the image data with applied noise.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method and system for processing image data. More particularly, the present invention relates to a method and system for compressing image data including noise and decompression thereof. Background Art

[0002] Digital color cameras electronically capture color images of real-life scenes using an image sensor, typically a charge-coupled device (CCD) or a complementary metal oxide semiconductor sensor (CMOS). The data comprising the image is typically processed and encoded in the camera for internal storage on the camera or for transmission from the camera for storage on external media and / or downstream processing.

[0003] Digital image capture involves a photoelectric conversion process that introduces noise into the image data. Because noise is included in the image almost from the moment of its creation, the noise necessarily undergoes the same image processing and encoding routines as the non-noise components of the image. For encoding techniques involving discrete cosine transforms (DCTs), especially those operating at higher compression ratios, there is a tendency to remove higher frequency image components, which appear as block-type structures in the encoded image. The noise components removed by DCT encoding can impart a "plastic" appearance to surfaces depicted in the encoded image. As a result, image areas with low structural detail may appear "unnatural" due to these removed higher frequencies and the distorted spatial noise characteristics.

[0004] There are many techniques for dealing with the unavoidable noise present in typical images. These include signal processing methods, as well as various types of filtering - such as deblocking filters applied after the image has been decoded, which aim to attenuate certain compression artifacts. This filtering generally attempts to reduce the visibility of block-type artifacts.

[0005] The present invention aims to provide a method for dealing with such compression artifacts.

[0006] The reference to any prior art in the specification is not an acknowledgement or suggestion that the prior art forms part of the common general knowledge in any jurisdiction, or that the prior art could reasonably be expected to be understood, considered relevant and / or combined with other prior art known to the skilled person. Summary of the invention

[0007] According to a first aspect of the present invention, there is provided a method of processing image data represented in the frequency domain, the method comprising the step of applying a noise signal to the image data to produce noisy image data.

[0008] The present invention takes what may be considered a counter-intuitive approach to image processing by applying a noise signal to the image rather than attempting to attenuate or completely remove the noise.

[0009] The present invention arises from the observation that certain components and intensity experiences of image noise can actually be experienced by a viewer as perceptually pleasing or more realistic attributes of the image being viewed. This is particularly true when a moving image is being viewed. More specifically, image noise dominated by a particular photon shot noise distribution can be perceived by a viewer as pleasing. Since some of these perceptually pleasing image noises are typically lost or distorted during the compression process, the present invention is directed to reproducing certain spatial and temporal noise distributions in order to better represent them in the decoded image.

[0010] Typically, image data presented in the frequency domain includes one or more groups of coefficients resulting from application of a discrete cosine transform, each group of coefficients including a DC coefficient and one or more AC coefficients. According to this embodiment, a noise signal may be applied to the image data by modifying one or more coefficients in one or more groups.

[0011] In some cases, such modification may include replacing one or more AC coefficients with pseudo-random numbers having a distribution.According to this embodiment, the replaced AC coefficients may be AC ​​coefficients having a zero value.

[0012] According to a preferred embodiment, the method further comprises the step of equalizing noise present in the image data, the equalizing step being performed before the step of applying the noise signal. In this embodiment, the equalizing step is performed on an uncompressed spatial representation of the image data. Typically, the equalizing step comprises equalizing the noise such that its amplitude or standard deviation is substantially constant across the image data.

[0013] Noise can be equalized by reference to a noise model, which can be a model of the photoelectric conversion performed by the particular image sensor used to capture the image data. For example, the noise model can characterize the noise by reference to its spatiotemporal distribution within the image data. The noise model can also account for photon shot noise and / or read noise associated with the photoelectric conversion.

[0014] According to some embodiments, the noise model substantially follows a normal distribution.

[0015] According to some embodiments, a noise signal applied to the image data is scaled by a reference noise model.

[0016] Optionally, the method comprises the step of applying inverse quantization to the image file before applying the noise signal, and the step of entropy decoding the compressed image.

[0017] The method may further comprise the step of applying an inverse discrete cosine transform.

[0018] According to another aspect, the present invention provides a method of processing an image signal obtained from an image sensor, the image signal having a noise component having an amplitude and an image component having an amplitude, the method comprising:

[0019] determining a transfer function based on characteristics of the image sensor; and

[0020] A transfer function is applied to the image signal to produce a signal having a noise component with a substantially constant amplitude that is independent of the amplitude of the image component.

[0021] The "magnitude" of a noise component does not refer to the value of the noise component, but rather to the magnitude of a statistical measure of the noise component.

[0022] The method may further comprise the step of converting the image data to a frequency domain representation. According to some embodiments, the converting comprises applying a discrete cosine transform to the image data.

[0023] The method may further include the steps of quantizing the converted image data, and entropy encoding the quantized image file. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Embodiments of the present invention will now be described with reference to the accompanying drawings, in which:

[0025] Figure 1 is a schematic diagram of a digital camera;

[0026] Figure 2 is a flow chart of the encoding phase of the method according to an embodiment of the present invention;

[0027] Figure 2A is a flow chart of an alternative encoding stage of a method according to an embodiment of the present invention;

[0028] Figure 3 is a flowchart of a decoding phase of a method according to an embodiment of the present invention;

[0029] Figure 4 is an example graph depicting representative relationships between certain image capture parameters;

[0030] Figure 5 is an example plot of total noise versus generated electrons converted to DN on both axes.

[0031] Figure 6 is an example transformation that converts a linear signal into a noise equalized response (NER), such that Figure 5 The curve is a flat line;

[0032] Figure 7 is an example surface plot of a certain white noise standard deviation at each frequency domain coefficient of an 8×8 DCT.

[0033] Figure 8 and 9 is an example surface plot of the standard deviation of some shaped noise at each frequency domain coefficient of an 8×8 DCT. DETAILED DESCRIPTION

[0034] Embodiments of the present invention will now be described with reference to specific examples, but the scope of the present invention should not be construed as being limited to these examples.

[0035] Figure 1 1 is a schematic representation of a camera 10 capable of implementing the method according to the present disclosure. The camera 10 includes an image capture system 12, which is configured to convert received light into image data. In this example, the image capture system 12 includes an image sensor 12A (e.g., a CCD or CMOS image sensor chip or the like) and an associated optical filter 12B (e.g., an IR cutoff filter or an optical low-pass filter). An optical system 14, such as a lens, is also provided to form an image on the image sensor. The image sensor includes a color filter array (CFA) in the form of a spatial array of color filters, placed in front of the image sensor chip so that a color image can be captured. The filters of the CFA are spatially associated with the photosites of a single image sensor, so that each photosite has a corresponding spectrally selective filter. In this example, the CFA used is a Bayer CFA with alternating red, green and blue color filters, but the technology of the present invention is not limited to use with any particular CFA.

[0036] The video data generated by the image capture system 12 is passed to the image processing subsystem 18. The image processing subsystem 18 may include one or more data processors, such as an ASIC or FPGA or a microprocessor with associated software, and is configured to perform a series of image processing tasks. A working memory 20 is provided to enable temporary storage of data or software, etc. during image processing and other tasks.

[0037] The image processing subsystem 18 also includes a video encoding system 22. The video encoding system 22 will typically be implemented by providing software configured to enable a processor to implement one or more video codecs. The system can be used to encode and compress video data into a desired format, as well as perform video processing methods according to the present disclosure. The disclosed methods can also be performed on a processing platform separate from the camera, such as a dedicated external video recorder and a general-purpose computer system.

[0038] The image processing subsystem 18 may also include a format conversion system 24 that processes the video output data into a format (e.g., Y'CbCr) that is better able to be transmitted through a video transmission system 26 or more convenient for downstream processing. The format conversion system 24 is provided to format the video data into one of the video transmission formats for transmission prior to delivery to the video transmission system 26. This may include transcoding the video data from its native format into an appropriate video transmission format (or formats) for the video transmission system 26.

[0039] The video transmission system is operable to transmit (and optionally receive) video output data (such as to an external video recorder or recorder / monitor) via a video interface having at least a video output port. The video interface may be bidirectional and therefore also include a video input port. As an example, the video interface may be an SDI interface or other similar interface.

[0040] The camera also includes a data storage system in the form of a memory control subsystem 28 which is configured to control the persistent storage of video data (and any other data) on local non-volatile memory 30. The local memory 30 may use removable memory, such as a memory card or a removable hard disk. However, in general, the memory control subsystem 28 is arranged to send and / or receive control signals to / from the local memory 30 to control the storage and retrieval of video data on the memory 30, and also perform any encoding or formatting of the data for storage. The memory 30 may be a solid state drive operating according to the Serial ATA protocol, in which case the memory control subsystem will operate to control the operation of the SATA drive and manage the reading and writing of data thereto.

[0041] pass Figure 2 The flowchart of illustrates the encoding stage 35 of the method according to an embodiment of the present disclosure. The method begins at step 40 of capturing an image. As described above, digital image capture involves first converting light received at the image sensor 12A into an electric charge, then a voltage, and then finally into a digital number (DN). The meaning of the DN depends on the specific image representation format used, and the technology of the present invention is not limited to any particular format. For example, each pixel in an image in RGB format includes a vector of three DNs; one DN for each of the three color channels (red, green, and blue), and the entire image includes a two-dimensional array of pixels. The two-dimensional pixel array can also be analyzed from the perspective of being a digital image signal.

[0042] The present invention can also be performed on raw image data that has not been past-mosaiced and image data including 4 or more spectral bands.

[0043] After image capture, the conversion function is applied (step 50) to each pixel comprising the image signal. In this regard, it is a fact that the photoelectric conversion process inevitably introduces noise into the image signal during its construction. This introduced noise is generated from both the optoelectronic component part and the electronic component part of the image capture system 12, and because the noise is introduced into the image signal from the moment it is generated, the noise component is subject to the same image processing routine as the image component of the signal.

[0044] However, the inventors have recognized that certain components and intensities of image noise may actually be experienced by a viewer as perceptually pleasing or more realistic attributes of the image being viewed.

[0045] In particular, the inventors have recognized that an observer can experience image noise governed by a particular distribution of photon shot noise as a perceptually pleasing property. Photon shot noise arises from fundamental physical processes that govern the behavior of discrete quantum particles and their interaction with the image sensor. As described above, the array of photosites on the image sensor 12A produces a signal that is proportional to the amount of incident light that strikes each photosite over a defined period of time (or "integration time"). However, even under constant illumination and integration time, the signal captured by the image sensor always varies subtly from one capture to the next, producing the phenomenon of photon shot noise.

[0046] The random statistical fluctuations that characterize photon shot noise can be modeled as a Poisson process, with a standard deviation (s_e) described by the formula:

[0047] s_e=sqrt(N_e),

[0048] Where N_e is the number of electrons generated in the pixel photodiode.

[0049] This Poisson process can also be described as a normal distribution.

[0050] Another important temporal noise component is the noise floor, also referred to as the "read noise" or "s_r" of the image sensor 12A. The noise floor typically contains a combination of various noise sources, including optical and electronic components such as amplifiers and ADCs. The noise floor can also be modeled as a normal distribution that is constant for a particular component part setting, such as a fixed amplifier gain. The noise floor is also independent of the integration time and the amount of light received by the image sensor.

[0051] Modeling these temporal noise sources results in a total noise of:

[0052] s_total=sqrt(s_r^2+s_e^2).

[0053] This quantity can be transferred to the digital domain by means of a systematic conversion factor.

[0054] Knowing the noise model of a particular image sensor and its settings allows a transfer function to be calculated and applied to the typically linear signal output of the image sensor such that the standard deviation of the temporal noise is substantially constant over the spectrum of signal levels.

[0055] This transition signal is described herein as a "noise equalized response".

[0056] As described below, this concept of using a noise equalization response also allows noise with a substantially constant distribution to be added to an image region - or even the entire image - independent of the local brightness.

[0057] After conversion, typical image processing may be performed on the noise equalized response signal (step 60), such as demosaicing, application of filter kernels and / or conversion to other color spaces (eg YCbCr). Such processing may necessarily have the effect of changing the noise distribution.

[0058] After image processing, the noise equalized response signal is encoded using a discrete cosine transform (DCT) (step 70). This encoding involves using the DCT to divide the image data array into blocks of appropriate size (e.g., 8×8) and converting each block into a frequency domain representation. Before calculating the DCT of each block, its values ​​(containing the noise equalization response) can be shifted to ensure a range centered on zero. The block is then subjected to a two-dimensional DCT. This produces a block with an upper left corner entry (or DC coefficient), which typically has a relatively large magnitude, which defines the basic intensity level of the block. The remaining coefficients are called AC coefficients.

[0059] DCT encoding in this manner allows the noise distribution to be analyzed in the DCT (i.e., frequency) domain. Additionally (and as described below), since the amplitude of the noise signal is known and (at least in some cases) substantially constant, each DCT block can be analyzed individually during a decoding operation after inverse quantization is performed. This allows the noise distribution to be reproduced in the frequency domain that closely matches (in the sense of being perceptually similar) the distribution present in the signal before quantization and other rounding performed during encoding.

[0060] Furthermore, knowing the standard deviation of the noise embedded in the noise equalization response allows the storage of data for certain image regions with more constant brightness to be limited to DC offsets and therefore minimized. The spatial and temporal noise of these regions can be easily regenerated and added to the signal at a later time. In this regard, the details of the noise distribution can be stored as metadata in selected frame headers or in other parts of the image data, including at the tile, segment, or block level. This allows the decoder (discussed below) to apply an appropriate noise signal for each specific frame.

[0061] Next, the DCT block is quantized by reference to a suitable quantization matrix (step 80). Quantization produces a DCT block whose coefficient values ​​are smaller in magnitude than the input. Input frequency coefficients that are sufficiently small (low amplitude) relative to a given degree of quantization will be compressed to zero. When this occurs, any noise components present in the signal at these coefficients are completely removed.

[0062] After quantization, the DCT blocks are further compressed, this time losslessly, by an entropy encoding process (step 90). This involves applying a run length encoding algorithm to the frequency data, and Huffman-type encoding the resulting data. This produces an encoded compressed image, which can be written into an encoded image file 100.

[0063] By reference Figure 2A The flowchart in illustrates the alternative encoding stages. The encoding method shown is as follows Figure 2 , but the conversion function ( Figure 2A Step 65 in ) is applied to the processed image data ( Figure 2A The image processing performed in step 55 is equivalent to the image processing performed in step 60, ie demosaicing, applying a filter kernel and / or transforming to other color spaces (such as YCbCr).

[0064] pass Figure 3 The flowchart of is a diagram showing a decoding stage 110 of a method according to the present disclosure. The decoding stage 110 is used to play back previously recorded image data, which may occur on the camera hardware or on a separate processor as part of a video player or editing system.

[0065] Method 110 is performed on the encoded image file 100 generated by performing method 35. Performing method 110 first involves entropy decoding (step 120) of the encoded image file 100. Entropy decoding involves completely reversing the entropy encoding (step 90) of the encoding stage 35 to generate a set of DCT blocks, each DCT block comprising a matrix of quantized DCT coefficients.

[0066] Inverse quantization is then performed on each quantized DCT coefficient block (step 130). Inverse quantization involves reversing as much as possible the quantization step of the encoding stage 35 (step 80). Inverse quantization is performed with reference to the same quantization matrix selected for quantization (step 80). The dequantized DCT block thus produced closely (but not completely) resembles the original DCT coefficient matrix - i.e., the DCT coefficient matrix produced during the DCT step (step 70). In turn, the DCT coefficient matrix is ​​a representation of the original image file in the frequency domain.

[0067] The imperfect reproduction achieved by dequantizing a quantized DCT block is the primary cause of the appearance of compression-related artifacts seen in a fully decoded image or image sequence. These artifacts are due to the original frequency coefficients being rounded to a smaller number of quantization levels, including to zero. After inverse quantization, any coefficients having a value of zero were probably originally small noise or signal components that were removed. While the exact original value of the noise component can never be recovered, knowledge of the random distribution of the noise allows the generation of new random or pseudo-random data values ​​that follow that distribution (or an approximation thereof).

[0068] In this regard, noise reconstruction is performed on each DCT coefficient matrix output from the inverse quantization step (step 140). Noise reconstruction involves modifying the AC coefficients of each DCT block. The preferred modification involves replacing any AC coefficients of the DCT coefficient matrix having a zero value with a normally distributed random or pseudo-random number. The pseudo-random number generator can reference a seed value present in the header of each frame. This is to ensure consistency of the reproduced noise signal on each frame, regardless of how and when the frame is decoded.

[0069] Noise reconstruction has the result of encoding a normal noise distribution into the DCT coefficient matrix, thereby subtly modifying one or more of its components.

[0070] In some cases, this is achieved in such a way that the noise characteristics of the fully decoded image after inverse DCT (and after other optional operations) appear to be the same as the noise present in the original image before encoding.

[0071] Since the original noise component of the signal has a random distribution both in time and in space, a new random distribution can be created which may not have exactly the same values ​​in each specific block as existed before quantization. However, since the noise signal shares the same statistical distribution, the coefficient values ​​do not need to be reproduced exactly.

[0072] After noise reconstruction, the DCT coefficient matrix (now including modified coefficients that modulate the desired noise signal) undergoes an inverse DCT, step 150. This process is performed by initially taking the two-dimensional inverse DCT of the matrix, rounding the result to integer values ​​and shifting the integer values ​​to restore the original data range.

[0073] After the inverse DCT, an optional deblocking process (step 160) may be performed on the resulting matrix in order to account for non-white noise distributions where higher frequencies are attenuated compared to lower frequency noise components. Other optional processes include inverse transforms from any applied noise equalization response, color processing or other image processing.

[0074] A decoded image 170 results from executing the method 110 .

[0075] The following discussion is an example of performing the above method on a typical image with typical noise characteristics, where:

[0076] N_e - is the number of electrons generated in the pixel photodiode

[0077] s_e - is the standard deviation of the photon shot noise component of the temporal noise (unit used: electron)

[0078] s_r - is the standard deviation of the noise floor (or "read noise") component of the temporal noise (in units: electrons); and

[0079] s_total - is the total noise standard deviation (unit: electrons)

[0080] As mentioned above, most of the signal range is ideally dominated by the photon shot noise, which is modeled as a Poisson process and the standard deviation s_e can be described by:

[0081] s_e = sqrt(N_e);

[0082] Modeling only these 2 temporal noise sources results in a total noise (orthogonal summation) of

[0083] s_total = sqrt(s_r^2 + s_e^2)

[0084] =sqrt(s_r^2+N_e)

[0085] The maximum value used by this model is when N_e is at its maximum value. This represents the number of electrons generated in a photodiode that is saturated with light - the "full well capacity" of the photodiode. In the following discussion:

[0086] fwc - is the full well capacity (electrons); and

[0087] s_max - is the maximum standard deviation of the total noise

[0088] s_max=sqrt(s_r^2+fwc)

[0089] Typical example values ​​for these quantities for an image sensor are:

[0090] s_r=3

[0091] fwc=30000

[0092] s_max=sqrt(3^2+30000)=173.23

[0093] Figure 4 The graph shown in depicts a representative relationship between N_e and s_total.

[0094] This can be transferred to the digital domain through a system conversion factor, which is a linear scaling from electronic units to digitized digital units (DN).

[0095] The system conversion factor is in DN per electron and has the following units:

[0096] dn_max - the DN value to which the full well capacity is mapped;

[0097] dn_off - is the DN "offset" value that a zero electron (black) input signal is mapped to (note: this is not a mapping of the read_noise level); and

[0098] A_cf- is used as conversion factor (DN / e-).

[0099] dn_off is typically set to a pedestal level greater than zero to avoid clamping the read noise that is present even with zero electron input.

[0100] Example values ​​for camera image acquisition are:

[0101] dn_max=65535;

[0102] dn_min,dn_off=160;

[0103] A_cf=(dn_max–dn_off) / fwc

[0104] =(65375) / 30000=2.179(3d.p.)

[0105] like Figure 5 As shown, the representation of total noise versus generated electrons can be converted to DN on both axes.

[0106] For the input DN value, the conversion back to raw electron counts is

[0107] input_e=(input_DN–dn_off) / A_cf

[0108] For inputs that have values ​​below dn_min by being subject to noise, the noise is modeled as read noise only.

[0109] This is equivalent to clamping the input electrons to non-negative values.

[0110] input_e=max{0,(input_DN–dn_off)} / A_cf

[0111] Therefore, the total noise associated is modeled as noise_e = sqrt(s_r^2 + input_e)

[0112] = sqrt(s_r^2 + max{0, (input_DN – dn_off)} / A_cf)

[0113] The noise can be re-expressed in the digital domain as noise_DN = A_cf * noise_e

[0114] = A_cf * sqrt(s_r^2 + max{0, (input_DN – dn_off)} / A_cf)

[0115] The transformation that converts the linear signal to the noise equalization response (NER) can be conveniently derived such that Figure 5 the curve of becomes a flat line with a substantially constant noise standard deviation over the entire signal range. Figure 6 An example of such a transformation is shown in.

[0116] The noise of the composite signal of this non-linear mapping, y = f(x), where x is the linear input DN signal, is calculated as the product of the noise of the linear signal and the gradient function dy / dx = f'(x).

[0117] Therefore, the mapping must satisfy:

[0118] dy / dx * noise_DN(x) = c1 (constant)

[0119] dy / dx = c1 / (A_cf * sqrt(s_r^2 + max{0, (x – dn_off)} / A_cf))

[0120] For x >= dn_off, the solution is:

[0121]

[0122] For x < dn_off, the solution is:

[0123]

[0124] Therefore, as long as the 'c' constant is chosen to ensure smooth continuity between the two sub-ranges, a constant signal noise response is produced over the signal input range.

[0125] A non-zero pedestal is also used in the transformed signal to ensure that a reasonable amount of STD deviation of the dark noise is not clamped, i.e.:

[0126] bps - DN bits per sample of the output NER signal

[0127] offset - Non-zero offset (pedestal) for the NER signal

[0128] b - Fractional offset

[0129] Let b = offset / 2 bpp-1

[0130] The transformation from linear signal to NER signal is defined as:

[0131]

[0132] where y is further clamped to ensure that y is non-negative everywhere.

[0133] The constant noise STD deviation value (DN) is everywhere (except at the clamp)

[0134] noise_DN_NER=dy / dx*noise_DN(x)

[0135] =(2^bps-1)(1-b) / 2 / (s_max–s_r), (constant)

[0136] Frequency Domain Noise Characterization

[0137] If no pre-compression image processing is performed, the NER image is modeled as a spatial noise distribution with white noise. Figure 7 In the description.

[0138] If compression were to completely remove (quantize / round) all noise in such a DCT "block", the reproduction noise applied during the decompression step (before the inverse DCT operation) (step 140) would have a similar profile (although applied only to AC coefficients with zero values).

[0139] If pre-compression image processing is performed and includes spatial filtering operations that are not bandpass (in practice they are usually lowpass), the spatial covariance created as a result leads to a non-white noise distribution that manifests itself in the frequency domain as non-uniform noise levels for different DCT frequency coefficients:

[0140] This is done by considering the 8×8 DCT in Figure 8 and Fig. 9 , but frequency decomposition at any other size should behave similarly.

[0141] If compression were to completely remove (quantize / round) all noise in such a DCT "block", and it were desired to recreate a shaped noise distribution (i.e., not white noise), then the reconstruction noise applied during the decompression process (before the IDCT operation) (step 140) would have a similar profile (although only applied to AC coefficients with zero values). The injected noise does not have the same STD deviation for all frequency coefficients.

[0142] It should be understood that the invention disclosed and defined in this specification extends to all alternative combinations of two or more of the individual features mentioned or evident from the text or drawings. All these different combinations constitute various alternative aspects of the invention.

Claims

1. A method of processing image data comprising a sequence of image frames, each image frame comprising image data representing an array of pixel values ​​generated by an image sensor, processing the image data to equalize noise in the image data by applying a transfer function, the transfer function being based on a temporal noise profile of the image sensor and a setting of the image sensor used to generate the image data; the processed image data being represented in the frequency domain and comprising one or more sets of frequency domain coefficients, wherein each set of frequency domain coefficients comprises a DC coefficient and one or more AC coefficients, the method comprising: For each image frame of video data, one or more AC coefficients having zero values ​​in the one or more groups of frequency domain coefficients are modified by applying a noise signal to the zero-valued AC coefficients of the image data to generate noisy image data for playback of the video data, wherein the noise signal follows the temporal noise distribution.

2. The method according to claim 1, wherein: The modification comprises replacing one or more of the AC coefficients with random or pseudo-random numbers according to the temporal noise distribution. The method of claim 2 , wherein the random or pseudo-random numbers are generated using a seed value.

4. The method according to claim 1, further comprising the step of equalizing noise present in the image data, the equalizing step being performed before the step of applying the noise signal.

5. A method according to claim 4, wherein the equalization step includes applying a conversion function based on the image sensor and the settings of the image sensor used to generate the image data to each pixel value in the array to produce noise-equalized image data, so that the standard deviation of the temporal noise distribution of the noise-equalized image data is constant over the spectrum of signal levels.

6. The method of claim 4 , wherein the transfer function equalizes noise present in the image data by referencing a noise model of the image sensor that includes a combination of read noise and photon shot noise, wherein each of the read noise and the photon shot noise has a temporal noise distribution modeled as a Poisson process.

7. The method of claim 1, further comprising the step of applying inverse quantization to the image data prior to the step of applying the noise signal to the image data.

8. The method of claim 7, further comprising the step of applying an inverse discrete cosine transform after the step of applying the noise signal to the image data.

9. The method of claim 7, further comprising the step of entropy decoding the image data prior to applying the inverse quantization step.

10. A method for processing an image signal obtained from an image sensor, the image signal having a noise component having an amplitude and an image component having an amplitude and comprising an array of pixel values, the method comprising: determining a transfer function based on characteristics of an image sensor and a setting of said image sensor for generating image data; as well as equalizing noise present in the image data by applying the transfer function to the image data to produce noise-equalized image data, the noise-equalized image data comprising an array of noise-equalized pixel values ​​having a standard deviation of a temporal noise distribution that is constant over a spectrum of signal levels; Details of the transfer function are recorded as metadata with the image data to enable a decoder to process the noise equalized image data by applying a noise signal that follows the temporal noise distribution.

11. The method of claim 10, further comprising the step of converting the image data into a frequency domain representation.

12. The method of claim 11, further comprising the step of quantizing the converted image data.

13. The method according to claim 12, further comprising the step of entropy encoding the quantized image data.

14. The method of claim 10, wherein the transfer function equalizes noise present in the image data by referencing a noise model of the image sensor, wherein the noise components include read noise and photon shot noise, and wherein each of the read noise and the photon shot noise has a temporal noise distribution modeled as a Poisson process.