WO2014078985A1 - Method and apparatus for image regularization - Google Patents
Method and apparatus for image regularization Download PDFInfo
- Publication number
- WO2014078985A1 WO2014078985A1 PCT/CN2012/084886 CN2012084886W WO2014078985A1 WO 2014078985 A1 WO2014078985 A1 WO 2014078985A1 CN 2012084886 W CN2012084886 W CN 2012084886W WO 2014078985 A1 WO2014078985 A1 WO 2014078985A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- gradient
- directions
- blocks
- regularization
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000007781 pre-processing Methods 0.000 claims description 6
- 238000005259 measurement Methods 0.000 claims description 4
- 230000006835 compression Effects 0.000 abstract description 9
- 238000007906 compression Methods 0.000 abstract description 9
- 238000004364 calculation method Methods 0.000 abstract description 8
- 230000004927 fusion Effects 0.000 abstract description 6
- 239000011159 matrix material Substances 0.000 description 12
- 230000008569 process Effects 0.000 description 7
- 238000005457 optimization Methods 0.000 description 4
- 230000000875 corresponding effect Effects 0.000 description 3
- 230000002441 reversible effect Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 241001296096 Probles Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007499 fusion processing Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/94—Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
-
- 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/20021—Dividing image into blocks, subimages or windows
Definitions
- the present invention generally relates to image regularization. More particularly, it relates to total variation (TV)image regularization.
- TV Total variation
- image de-noising compression and super resolution. It is a widely-used measure of intensity continuity.
- TV regularization is based on an inherent property of image data wherein the difference between adjacent pixels is often small. Thus, reducing the TV of an image subject to a close match to the original signal removes noise while preserving real details.
- V x f(*, y) f(* + l, y) - f(*, y)
- V y fO, y) fO, y + l) - fO, y)-
- the TV of the image is defined as the sum of the II or 12 norm of the gradient images for all the pixels, formulated as:
- TV l2 (f ) ⁇ tj x f(i,jY + V y f(/ ) 2 (2) where i and j are the coordinates of the pixels in the image.
- f arg min f 7T(f) , s. t.
- u and f are the input image and output image; andcp(f)is a measuring function that maps the output image to a certain domain to compare with the input image.
- (p(f) can take the form of a random matrix or a specially designed matrix ⁇ 3 ⁇ 4>, e.g. a full or a partial DCT matrix, multiplying the output image/ i.e. ⁇ /, and the constraint becomes ⁇ u— ⁇ /
- the real edges are smoothed as little as possible; second, the high-gradient edges are preferably preserved over the low-gradient detail or noise.
- traditional TV 11112 regularization as defined in Eqn. (1) or Eqn. (2) does not meet the requirement well.
- the textures and edges are inevitably blurred.
- the oblique edges are likely to be significantly smoothed since both vertical and horizontal gradient regularizations tend to reduce the gradient across oblique edges.
- strong edges are not particularly protected during TV 11112 regularization; and TV /2regularization even gives higher priority to keeping trivial details rather than the strong edges. This can be seen from following.
- This invention is directed to methods and apparatuses for image regularization.
- a method and an apparatus for regularizing an image comprises calculating a plurality of gradient images for said image; and regularizing said image by modifying pixel values of said image to minimize a function of said image defined as a weighted sum of absolute values of said calculated gradient images, each raised by a power that is less than 1 and greater than 0.
- a method and an apparatus for regularizing an image comprises dividing the image into a plurality of image blocks; for each of said plurality of image blocks, calculating a plurality of gradient blocks; and regularizing said image by modifying pixel values of said each image block to minimize a function of said image block defined as a weighted sum of absolute values of said calculated gradient blocks, each raised by a power that is less than 1 and greater than 0.
- Figure 1 illustrates an image regularizer according to an embodiment of the present invention.
- Figure 2 illustrates an exemplary process of a block or patch based image regularization according to another embodiment of the present invention.
- Figure 3 shows a set of example candidate directions and the corresponding directional gradients for gradient image/block calculation.
- Figure 4 shows an example image to illustrate the advantages of the TV W image regularization according to one embodiment of the present invention: (a) regularization results of TV II and TV 12; (b) regularization results of TV/1 ⁇ 2.
- Figure 5 depicts a block schematic diagram of a system in accordance with the present principles for accomplishing TV W image regularization.
- An image described in the present application can be a still image, a frame of a video sequence or a block/patch of an image.
- a plurality of gradient images for an image is calculated.
- the regularization of the image can be performed by modifying pixel values of the image to minimize a function of the image.
- the function can be any function that measures changes of the image.
- the function of the image can be defined as a weighted sum of the absolute values of calculated gradient image coefficients. Each of the absolute values of the coefficients is raised by a power that is less than 1 and greater than 0. Different weights can be assigned to different gradient images, or even different gradient coefficients.
- the image can be represented in forms such as a ID signal or a 2D matrix. The power for each of the coefficients can be the same or different.
- the function of the image is a Total Variation TV W .
- TV w (f) ⁇ i >k w k ⁇ / k f(i,j) ⁇ e (6)
- V fc f(i,y) is a value of V fc f at position w fc is a weight for the k-th calculated gradient image
- O ⁇ 0 ⁇ l The K gradient images represent different orientations that are considered in the calculation of TV W .
- ⁇ V fc f ⁇ ⁇ V x f
- V y f ⁇ is considered wherein only edges along horizontal and vertical directions are considered.
- ⁇ V fc f ⁇ can also include diagonal and anti-diagonal directions.
- ⁇ w k ⁇ assigns different weights to different directions.
- all ⁇ w k ⁇ are set to 1 to put equal weights on all directions.
- the image f can be regularized by modifying pixel values of said image to minimize the total variation of the image using the calculated gradient images as formulated in Eqn. (6).
- the minimization problem can be formulated by a constrained TV minimization problem
- y(u, f) argmin f 7V ifl (f) + 3 ⁇ 4 y(u, f) (8)
- u and f are the images before and after the modifying step, respectively;
- y(u, f) is a measurement of closeness between u and f ; and 1 is a parameter which controls the regularization intensity.
- y(u, f)
- u and fare compared pixel by pixel.
- a bold italic letter, such as / is the one dimensional representation (vector) of the same
- the total variation TV Woi Eqn. (6) can also be defined on the ID form of the image /.
- TV W (/) TV W (f).
- y(u, f) may compare ⁇ (u) and,g (f), where $( ⁇ ) is a function or a transform applied to its argument, or compare g(u— f) with a given value, or may take the form of
- Fig. 1 illustrates an image regularizer 100, which comprises a gradient image calculator 1 10 and a minimizer 120.
- the gradient image calculator calculates a plurality of gradient images along different directions.
- the calculated gradient images and the input image are input to the minimizer 120 to adjust/modify the image pixel value so that the minimization of a function of the image, such as the TV as formulated in Eqn. (7), is achieved.
- the output is the processed regulated image.
- the image can be regularized patch by patch, or block by block.
- Fig. 2 illustrates an exemplary process of such a block or patch based image regularization.
- the input image is divided into image blocks/patches.
- gradient images of the image block along several directions, called gradient blocks, are calculated in step 240.
- the image pixel values of each image block are then adjusted/modified in step 250 by minimizing a function of said image block defined as a weighted sum of absolute values of said calculated gradient block coefficients.
- Each of the absolute value of the coefficients is raised by a power that is less than 1 and greater than 0.
- the image regularization of one image block may be affected by the pixel values of its neighboring blocks.
- the calculation of the gradient at the border of an image block may require the pixel values of its neighbor blocks.
- the steps 230 to 250 may be repeated iteratively until a termination condition is met at step 260.
- the terminating condition can be, for example, the improvement of current iteration over the last iteration is smaller than a given threshold.
- an optional step of pre-processing the input image 210 can be introduced to place the image in a better condition for regularization, for example, by roughly removing noise.
- the preprocessing step can be performed by the pre-processor 130 shown in Fig. 1.
- the K gradient image/block can be determined by selecting K gradient directions for an image or an image block. For example, several initial directions can be pre-selected, among which gradient direction(s) that most likely match the orientation of the content of the image or the image block are selected as the set of directions for calculating gradient images/blocks.
- One embodiment of the present invention is to perform TV /1 ⁇ 2 regularization along the real edge directions.
- Fig. 3 shows a set of example candidate directions and the corresponding directional gradients.
- V b fO,y) f(x,y) — f(x— 2,y - 1)
- V d f(*,y) f(*,y) -f(x-l,y- 2)
- V f f(*,y) f(*,y) - f 0 + 1, y - 2)
- V g f(*,y) f(x,y) -f(x + l,y- 1)
- two most significant directions are picked for the regularization purpose. In different implementations, more directions can be taken into account.
- the sum of the /1 ⁇ 2 norm of the gradient for each direction can be calculated for an image or an image block/patc
- the value of the TV /1 ⁇ 2 for the patch/block f f can be calculated by,
- TV /1 ⁇ 2 is computed by
- the weights w t ,k are adaptively calculated by normalizing the harmonic mean of Ek,
- Eqns. (16) and (17) indicate that it is preferred to smooth the image along the small-norm- directions with higher intensity.
- the TV /1 ⁇ 2 calculation may not be patch-independent.
- the information of its adjacent patches may be utilized.
- the image is extended in advance, e.g. by repeating the boundary pixels or by symmetrically copying the boundary pixels, in order to calculate the boundary gradients.
- f t arg min ft ⁇ 7V i3 ⁇ 4 (f t ) + 1 ⁇ 2 ⁇ u t - ⁇ 3 ⁇ 4>/ t
- X t is the regularization intensity parameter for the regularization of the input patch f t .
- f t arg min ft ⁇ 7V i1 ⁇ 2 (f t ) + 1 ⁇ 2 ⁇ u t - / t
- the solution for the cases with arbitrary reversible measuring matrix ⁇ 3 ⁇ 4> is briefly discussed later.
- Eqn. (21) can be solved by the Half-Quadratic Splitting method.
- I k i is substituted by an auxiliary variables d 3 ⁇ 4 which leads to: min, wJldJ! + wp
- the minimization problem of (22) can be solved by an alternating iterative minimization approach, wherein the minimization problem is decomposed into two subproblems, namely, the f-subproblem and the d subproblem.
- f-subproblem the minimization problem is decomposed into two subproblems, namely, the f-subproblem and the d subproblem.
- the f-subproblem seeks for the optimal f given a fixed d 3 ⁇ 4 which is done by minimizing the following cost function:
- d k * argmin dfc w k ⁇ d k
- the half-quadratic splitting algorithm is implemented by alternatively solving the f- subproblem and the d subproblem until the following stopping criterion is met,
- f n andf n+1 are the regulated image lock at n-th iteration and (n+l)-th iteration, respectively.
- a spatially varying regularization intensity parameter that locally controls the regularization intensity over image regions according to the content can be added.
- tuning parameter ⁇ it can be updated by,
- TV /1 ⁇ 2 regularization not only tends to smooth along the low-gradient direction for one pixel, but also prefers to smooth the low-gradient pixels among all pixels in the image.
- Fig. 4 shows an example of the smoothing results by TV /1 ⁇ 2 regularization on a ID signal.
- the dash line represents the ID signal before the regularization, and the solid line represents the ID signal after the regularization.
- Fig. 4(a) shows the regularization results of TV II and TV 12; and Fig. 4(b) shows the regularization results of TV /1 ⁇ 2.
- Both TV II and 12 regularization have the same result for a ID signal, in which the strong spikes are suppressed more significantly than the trivial spikes.
- TV /1 ⁇ 2 regularization performs better in retaining the main structure and removing the details.
- TV /1 ⁇ 2 regularization can be applied to a wide range of image processing applications, such as image denoising, video compression and exposure fusion.
- TV /1 ⁇ 2 denoising in the spatial domain is discussed here as an example. Nonetheless, the combined TV /1 ⁇ 2 -wavelet idea, i.e. to use wavelet constraintin the regularization ⁇ u— can be implemented.
- a pre-processing step is introduced to roughly remove the noise of the image. For example, pre-denoising the images with conventional TV regularization, such as TV 11112 as defined in Eqn. (1) and Eqn. (2),can be performed in the pre-processing step.
- the terminating condition for the iteration can be, for example,
- thl is a pre-determined threshold.
- An example value for thl can be 0.001.
- TV can be used in compressive sensing (CS), which is capable of acquiring and recovering signals that can be sparsely represented by some bases below the Nyquist rate.
- CS compressive sensing
- TV /1 ⁇ 2 regularization based on such a principle can be applied to video compression.
- the reconstruction / decoding method can be formulated as
- f t argmin ft ⁇ 7V i1 ⁇ 2 (f t ) + 1 ⁇ 2
- z t is the vector of quantized transform coefficient of the block f t
- f is the prediction of f t either by motion estimation or intra prediction.
- ⁇ is a partial DCT matrix, which takes a number of low-frequency measurements of the block.
- the codec defines a CS mode in which the blocks are represented by T low frequency DCT coefficients, and decoded by (37) can be adaptively determined by the estimation of the sparsity.
- IDCT Inverse DCT
- the encoder can choose between a CS mode and the ordinary IDCT mode for each block by rate distortion optimization.
- the rate distortion (RD) cost is computed with the estimation of the bit cost ? m and the distortion D m ,
- mode opt min m D m + xR m (38) wherer is the Lagrangian multiplier derived by the quality parameter of the compression.
- the optimal mode mode opt is the mode whose RD cost is lower.
- the encoder Since a new CS mode is introduced, the encoder has to transmit a mode flag for each block to the decoder. This can be a large overhead to the compression efficiency, especially for low bit rate coding.
- the mode information can be transmitted covertly in terms of the parity of the number of nonzero coefficients like watermarks. For example, the number of nonzero coefficients after quantization is made to be odd when CS mode is chosen, and be even when IDCT mode is chosen.
- the rule above can be easily fulfilled during the quantization step.
- the encoder simply quantizes the last nonzero coefficient to zero if the parity of the number of nonzero DCT coefficients does not match the reconstruction mode. Considering that the coefficients at the six lowest frequencies have remarkable influence to the visual appearance, they cannot be modified for this mode watermarking. Consequently, a block must be reconstructed in the CS mode if all of its nonzero DCT coefficients are at the 6 lowest frequencies. As will be demonstrated, the compression efficiency benefits a lot from this covert mode communication mechanism.
- Exposure fusion is a process to compute the desired image by keeping only the "best" parts in the multi-exposure image sequence.
- An exposure fusion process can be guided by a set of quality measures (contrast, saturation and well-exposedness), which is consolidated into a scalar-valued weight map. Then the fused image is obtained by a weighted blending of input images.
- Eqn. (39) indicates that all the pixels in one channel of an input image share a saturation weights; Eqn. (40) indicates that each pixel of an input image have one well-exposedness weight for its 3 channels.
- TV 11 ⁇ 2 regularization can be utilized to extract the structure Struct k and the detail Detail k of the gray-scale version of an input image, G k . Then the intensity of each pixels in the detail image can be used as the contrast weight,
- the recomposed image F is obtained by the weighted average of the input images .
- Fig.5 depicts a system 10 in accordance with the present principles for accomplishing image regularization using TV W regularization in the manner discussed in greater detail hereinafter.
- the system 10 includes a processor 12, in the form of a computer, which executes software that performs image TV / ⁇ regularization.
- the processor 12 is connected to one or more conventional data input devices for receiving operator input. In practice, such data input devices include a keyboard 14 and a computer mouse 16. Output information generated by the processor undergoes display on a monitor 18. Additionally such output information can undergo transmission to one or more destinations via a network link (not shown).
- the processor 12 is connected to a database 22 which can reside on a hard drive or other non-volatile storage device internal to, or separate from, the processor.
- the database 22 can store raw image information as well as processed image information, in addition to storing software and/or data for processor use.
- the system 10 further includes an image acquisition device 24 for supplying the processor 12 with data associated with one or more incoming images.
- the image acquisition device 24 can take many different forms, depending on the incoming images. For instance, if the incoming images are "live", the image acquisition device 24 could comprise a television camera. In the event the images were previously recorded, the image acquisition device 24 could comprise a storage device for storing such images. Under circumstances where the images might originate from an another location, the image acquisition device 24 could comprise a network adapter for coupling the processor 12 to a network (not shown) for receiving such images.
- Fig. 5 depicts the image acquisition device 24 as separate from the processor, depending on how the images originate, the functionality of the image acquisition device 24 could reside in the processor 12.
- the present invention may be implemented in various forms of hardware, software, firmware, special purpose processors, or a combination thereof.
- the present invention is implemented as a combination of hardware and software.
- the software is preferably implemented as an application program tangibly embodied on a program storage device.
- the application program may be uploaded to, and executed by, a machine comprising any suitable architecture.
- the machine is implemented on a computer platform having hardware such as one or more central processing units (CPU), a random access memory (RAM), and input/output (I/O) interface(s).
- CPU central processing units
- RAM random access memory
- I/O input/output
- the computer platform also includes an operating system and microinstruction code.
- various processes and functions described herein may either be part of the microinstruction code or part of the application program (or a combination thereof), which is executed via the operating system.
- various other peripheral devices may be connected to the computer platform such as an additional data storage device and a printing device.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
Methods and apparatuses for image regularization are described. The image regularization is performed through total variation (TV) lθ regularization, wherein 0<θ<1. In one embodiment, an image is divided into image blocks. For each image block, directions are determined for gradient block calculation by identifying the directions that match the orientation of the content of the image block. TV lθ regularization is then performed for each image block using the calculated gradient blocks. The processed is performed iteratively to alleviate the problem of non-regularized neighboring blocks affecting the regularization of the current block. The TV lθ regularization is applicable to applications such as image denoising, video compression, and exposure fusion.
Description
METHOD AND APPARATUS FOR IMAGE REGULARIZATION
TECHNICAL FIELD
The present invention generally relates to image regularization. More particularly, it relates to total variation (TV)image regularization.
BACKGROUND OF THE INVENTION
Total variation (TV) has been applied in various areas such as image de-noising, compression and super resolution. It is a widely-used measure of intensity continuity. TV regularization is based on an inherent property of image data wherein the difference between adjacent pixels is often small. Thus, reducing the TV of an image subject to a close match to the original signal removes noise while preserving real details.
Denote an M*M distorted image by a 2-dimensional matrix f and its horizontal and vertical gradient images byVxf and Vyf, respectively, where
Vxf(*, y) = f(* + l, y) - f(*, y)
VyfO, y) = fO, y + l) - fO, y)-
The TV of the image is defined as the sum of the II or 12 norm of the gradient images for all the pixels, formulated as:
TV ) =∑w(|Vxf(U)| + |Vyf(U)|) (1)
TVl2 (f ) =∑tj xf(i,jY + Vyf(/ )2 (2) where i and j are the coordinates of the pixels in the image.
Studies on TV minimization based image regularization mainly focus on solving a constrained TV minimization problem:
f = arg minf 7T(f) , s. t. ||u - <p(f) ll < ε2 (3) where u and f are the input image and output image; andcp(f)is a measuring function that maps the output image to a certain domain to compare with the input image. For example, when representing the input and output images in 1 -D signals u and / respectively, (p(f)can take the form of a random matrix or a specially designed matrix<¾>, e.g. a full or a partial DCT matrix, multiplying the output image/ i.e. Φ/, and the constraint becomes \\u— Φ/|| < ε2. The term \\u— Φ/||ίη the constraint measures the difference of certain projections of the
signals rather than the signal itself, ε is a parameter which controls the regularization intensity.
In many applications, there are two desired features of image regularization. First, the real edges are smoothed as little as possible; second, the high-gradient edges are preferably preserved over the low-gradient detail or noise. Unfortunately, traditional TV 11112 regularization as defined in Eqn. (1) or Eqn. (2) does not meet the requirement well. First, it can be inferred from its definition that the textures and edges are inevitably blurred. In particular, the oblique edges are likely to be significantly smoothed since both vertical and horizontal gradient regularizations tend to reduce the gradient across oblique edges. Second, strong edges are not particularly protected during TV 11112 regularization; and TV /2regularization even gives higher priority to keeping trivial details rather than the strong edges. This can be seen from following.
Consider a pixel f(i, j) in the image f whose horizontal and vertical gradient is(Vxf Vyf Computing the partial derivative of TV II and TV 12 with respect to the gradient of f (i, ), namely, | Vfc f |, yields
From Eqn. (5) it can be seen that in TV 12 regularization, the direction with larger gradient has more contribution to the TV 12 reduction for each pixel. In other words, the high gradient details are preferred to be smoothed rather than the low gradient edges in TV 12 regularization. Regarding TV II , Eqn. (4) shows that the gradient of all pixels along all directions has equivalent effect on the TV II reduction.
Therefore, there is a need to design a TV regularization that overcomes these problems. Prior solutions have not adequately been established in the art.
SUMMARY OF THE INVENTION
This invention is directed to methods and apparatuses for image regularization.
According to an aspect of the present invention, there is provided a method and an apparatus for regularizing an image. The method comprises calculating a plurality of gradient
images for said image; and regularizing said image by modifying pixel values of said image to minimize a function of said image defined as a weighted sum of absolute values of said calculated gradient images, each raised by a power that is less than 1 and greater than 0.
According to another aspect of the present invention, there is provided a method and an apparatus for regularizing an image. The method comprises dividing the image into a plurality of image blocks; for each of said plurality of image blocks, calculating a plurality of gradient blocks; and regularizing said image by modifying pixel values of said each image block to minimize a function of said image block defined as a weighted sum of absolute values of said calculated gradient blocks, each raised by a power that is less than 1 and greater than 0.
BRIEF DESCRIPTION OF THE DRAWINGS
The above features of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
Figure 1 illustrates an image regularizer according to an embodiment of the present invention.
Figure 2 illustrates an exemplary process of a block or patch based image regularization according to another embodiment of the present invention.
Figure 3 shows a set of example candidate directions and the corresponding directional gradients for gradient image/block calculation.
Figure 4 shows an example image to illustrate the advantages of the TV W image regularization according to one embodiment of the present invention: (a) regularization results of TV II and TV 12; (b) regularization results of TV/½.
Figure 5 depicts a block schematic diagram of a system in accordance with the present principles for accomplishing TV W image regularization.
DETAILED DESCRD7TION
In the present invention, a solution to image regularization is provided. By designing new functions such as total variations, effective and efficient image regularization is achieved. An image described in the present application can be a still image, a frame of a video sequence or a block/patch of an image.
According to the principles of the present invention, a plurality of gradient images for an image is calculated. The regularization of the image can be performed by modifying pixel values of the image to minimize a function of the image. The function can be any function that measures changes of the image. For example, the function of the image can be defined as a weighted sum of the absolute values of calculated gradient image coefficients. Each of the absolute values of the coefficients is raised by a power that is less than 1 and greater than 0. Different weights can be assigned to different gradient images, or even different gradient coefficients. The image can be represented in forms such as a ID signal or a 2D matrix. The power for each of the coefficients can be the same or different.
In one embodiment, the function of the image is a Total Variation TV W . For an image f, K gradient images Vfcf, k = 1 , ... , K, are calculated and the total variation TV W can be defined as:
TVw (f) =∑i >k wk \ /kf(i,j) \e (6) where Vfcfis the k-th calculated gradient image, Vfcf(i,y) is a value of Vfcf at position wfcis a weight for the k-th calculated gradient image, and O<0<l .The K gradient images represent different orientations that are considered in the calculation of TV W . In one embodiment, { Vfcf }={ Vxf , Vyf } is considered wherein only edges along horizontal and vertical directions are considered. In a different embodiment, { Vfcf } can also include diagonal and anti-diagonal directions. {wk} assigns different weights to different directions. In one embodiment, all {wk} are set to 1 to put equal weights on all directions.
The image f can be regularized by modifying pixel values of said image to minimize the total variation of the image using the calculated gradient images as formulated in Eqn. (6). In one embodiment, the minimization problem can be formulated by a constrained TV minimization problem
f = arg minf TVW (f ) , s. t. γ (u, f ) < ε2 (7) which can be transformed into an unconstrained optimization problem:
f = argminf 7Vifl (f) + ¾ y(u, f) (8) where u and f are the images before and after the modifying step, respectively; y(u, f)is a measurement of closeness between u and f ; and 1 is a parameter which controls the regularization intensity.In one embodiment, y(u, f) = ||u— f || =∑i (u(i,_/)—
f(i,/))2when the images before and after the modifying step are represented in a 2D form u and f and y(u, f) = \\u— f\\ =∑q(u(q)— /(q))2when the images are represented in a ID formu and .In both cases, u and fare compared pixel by pixel. In the following, unless otherwise indicated or required by context, a bold italic letter, such as / , is the one dimensional representation (vector) of the same image represented by the same letter in bold font, such as f, in two dimensional matrix.
Similarly, the total variation TV Woi Eqn. (6) can also be defined on the ID form of the image /. In one embodiment, such a definition can be TVW (/) =∑^fc wk \Vkf(q \e , where Vfc/is the k-th calculated gradient image represented in ID form, Vfc/(qi) is a value of Vfc/ at position q , wfcis a weight for the k-th calculated gradient image, and O<0<1. For the same image represented as f and /, TVW (/) = TVW (f).
In a different embodiment, rather than directly comparing u and f , y(u, f) may compare^ (u) and,g (f), where $(·) is a function or a transform applied to its argument, or compare g(u— f) with a given value, or may take the form of ||u— φ(ί) || as shown in Eqn. (3).
Fig. 1 illustrates an image regularizer 100, which comprises a gradient image calculator 1 10 and a minimizer 120. The gradient image calculator calculates a plurality of gradient images along different directions. The calculated gradient images and the input image are input to the minimizer 120 to adjust/modify the image pixel value so that the minimization of a function of the image, such as the TV as formulated in Eqn. (7), is achieved. The output is the processed regulated image.
In a different embodiment, the image can be regularized patch by patch, or block by block. Fig. 2 illustrates an exemplary process of such a block or patch based image regularization. In step 220, the input image is divided into image blocks/patches. For each of the image blocks (step 230), gradient images of the image block along several directions, called gradient blocks, are calculated in step 240. The image pixel values of each image block are then adjusted/modified in step 250 by minimizing a function of said image block defined as a weighted sum of absolute values of said calculated gradient block coefficients. Each of the absolute value of the coefficients is raised by a power that is less than 1 and greater than 0. In one embodiment, the function is the TV of the image block which is defined based on the calculated gradient blocks in the corresponding image block as:
TVw (ft) =∑ k wt,k \ /kft(i,j) \e (9) where Vfcftis the k-th calculated gradient block for t-th image block,wt fcis a weight for the k- th calculated gradient block, Vfcft(i, ) is a value of Vfcft at position (i,y')and O<0<1.
In one implementation, the image regularization of one image block may be affected by the pixel values of its neighboring blocks. For example, the calculation of the gradient at the border of an image block may require the pixel values of its neighbor blocks. In such a scenario, the steps 230 to 250 may be repeated iteratively until a termination condition is met at step 260. The terminating condition can be, for example, the improvement of current iteration over the last iteration is smaller than a given threshold. In a different embodiment, an optional step of pre-processing the input image 210 can be introduced to place the image in a better condition for regularization, for example, by roughly removing noise. The preprocessing step can be performed by the pre-processor 130 shown in Fig. 1.
The K gradient image/block can be determined by selecting K gradient directions for an image or an image block. For example, several initial directions can be pre-selected, among which gradient direction(s) that most likely match the orientation of the content of the image or the image block are selected as the set of directions for calculating gradient images/blocks.
In the following, a detailed implementation of the present invention is disclosed. For simplicity of presentation, Θ = 0.5 and y(u, f) = \\u— Φ || ^Γβ used as an example. The same principles apply to other Θ values and other forms of y(u, f). Then TV regularization problem becomes:
f = argminf TVll/2 (f) + ~2 \\u - Φ[\\2 2 (10) where:
TVll/2 (f) =∑ k wk \Vkf(i,j) \^ (11) and / is the ID representation of the same image f.
Determine the directions for gradient image/block calculation
One embodiment of the present invention is to perform TV /½ regularization along the real edge directions. Fig. 3 shows a set of example candidate directions and the corresponding directional gradients. The directional gradients are computed by,
(VafO,y) = f(*,y) -f(*-l,y)
VbfO,y) = f(x,y) — f(x— 2,y - 1)
vcf(*,y) = f(*,y) -f(x- l,y- 1)
Vdf(*,y) = f(*,y) -f(x-l,y- 2)
(12)
' Vef(*,y) = f(*,y) -f(*,y-l)
Vff(*,y) = f(*,y) - f 0 + 1, y - 2)
Vgf(*,y) = f(x,y) -f(x + l,y- 1)
hf(x,y) = f(*,y) - i(x + 2,y - 1)
In one implementation, two most significant directions are picked for the regularization purpose. In different implementations, more directions can be taken into account. The sum of the /½ norm of the gradient for each direction can be calculated for an image or an image block/patc
where kE{a, b, c, d, e, f, g, h}. The directions that match the orientations of the content usually have a small value of Ek, so the determined orientations are, for K=2,
(α,β = argmin2fe£fe, (14) where arg min2 k Ek returns the indices of the two smallest Ek .
Given the orientations of the content in each patch/block, the value of the TV /½ for the patch/block ffcan be calculated by,
TV1¾ (f t) =∑tj(∑k wt,feVlvfcft(U)l). (15)
For example, if the directions a and c are detected as edges, TV /½ is computed by,
TVl¾(ft) + wt,cVl cfta;)l. (16)
Eqns. (16) and (17) indicate that it is preferred to smooth the image along the small-norm- directions with higher intensity.
It should be noted that the TV /½ calculation may not be patch-independent. To calculate the gradients of the pixels on the boundary of a patch, the information of its adjacent patches may be utilized. For pixels near the boundary of the image, the image is extended in advance, e.g. by repeating the boundary pixels or by symmetrically copying the boundary pixels, in order to calculate the boundary gradients. The global TV /½ of the can be calculated as the sum of the TV /½ of all patches as formulated in Eqn. (18),
TVm (f) =∑t TVm (ft). (18)
TV1½ regularization
In a bloclc/patch based TV /½ regularization, Eqn. (1 1) is decomposed into a patch-wise optimization,
ft = arg minft{7Vi¾(ft) + ½ \\ut - <¾>/t || ¾ (19) where Xt is the regularization intensity parameter for the regularization of the input patch ft.
In the following, a simplified version of Eqn. (19) as shown in Eqn. (20) is first discussed,
ft = arg minft{7Vi½(ft) + ½ \\ut - /t |||}, (20) where the measuring matrix <¾>is set as an identity matrix. The solution for the cases with arbitrary reversible measuring matrix <¾>is briefly discussed later.
Half-Quadratic Splitting Algorithm for Eqn.(20)
Given the two most significant directions a and β of each patch, obtained through Eqn. (14)for example, Eqn. (20) can be reformulated as, f = arg minf wa \\ V (21)
I 1
where || Vfcf ||i =∑ij |Vfcf(i,7) l2 - = > β , and the patch index t is omitted for simplicity
2
hereinafter.
Eqn. (21) can be solved by the Half-Quadratic Splitting method. As in Krishnan, D. and Fergus, R. Fast Image Deconvolution using Hyper-Laplacian Priors, Proc. Neural Information Processing Systems 2009, I ki is substituted by an auxiliary variables d¾ which leads to: min, wJldJ! + wp || dp ||! + - ||u - /||!,
2 2
s. t da = Vaf, dp = Vpf. (22) To weakly enforce the constraints in (22), a penalty term is added as shown in (23).
where μ is a tuning parameter to control the penalization. As μ→∞, the solution of (23) converges to that of (21).
The minimization problem of (22)can be solved by an alternating iterative minimization approach, wherein the minimization problem is decomposed into two subproblems, namely, the f-subproblem and the d subproblem. f-subproblem
The f-subproblem seeks for the optimal f given a fixed d¾ which is done by minimizing the following cost function:
Γ = argminf ||u - f || + f∑fc=a,p|| dfc - Vfcf \\F 2. (24) By setting the first derivative of Eqn. (24) to zero,
(II + μ∑k V/ fc)f = Au + μ∑k VT kdk (25) is obtained, where I is an identity matrix.
This linear system can be solved by method such as Conjugate Gradient Square Method described in P. Sonneveld. CGS: a fast Lanczos-type solver for nonsymmetric linear systems. SIAM Journal on Scientific and Statistical Computing, 10:36-52, 1989. d/rsubproblem
The d subproblem seeks for the optimal dfc given a fixed f which is done by minimizing the following cost function: d^ = argmlndfc wfc ||dfc ||| + f ||dfc - Vfcf|| 2 (26)
2
In cases when there are multiple k values, such as k = a, β as in Eqn. (21), the same process applies for each k value by assuming the dfcsfor the remaining k values are fixed. The optimization problem of (26) can be decomposed into 2Mndependent one-dimension /½ regularization problems (Ms the number of pixels in a patch),
dk * = argmindfc wk \dk |i + (dk - Vfe )2 (27) where dfcand Vfc are the gradient of one pixel before and after the regularization respectively.
According to Z. B. Xu. Data modeling: Visual psychology approach and /% regularization theory. Proceedings of the International Congress of Mathematicians, Hyderabad, India, 20 0,there is a closed-form thresholding formula for the/½ regularization proble
where
The half-quadratic splitting algorithm is implemented by alternatively solving the f- subproblem and the d subproblem until the following stopping criterion is met,
\\in+1 - in \\F 2 /\\in \\F 2 < e
where eis a predefined threshold.fnandfn+1are the regulated image lock at n-th iteration and (n+l)-th iteration, respectively.
Solving algorithm for the regularization with a reversible measuring matrixO
For the cases in which the image is measured by a reversible matrix Φ, the problem (19) can be converted into
Likewise, it can be decomposed into the f-subproblem as formulated in Eqn. (30) and the d subproblem as formulated in Eqn. (31),
(λΦτΦ + μ∑k V/ fc)/ = 1Φ½ + μ∑k VT kd (32) The algorithms to solve Eqn. (31) and (32) are similar to that of (26) and (25).
Parameter Updating Strategy
Considering that the content of an image may vary significantly from part to part, a spatially varying regularization intensity parameter that locally controls the regularization intensity over image regions according to the content can be added. Intuitively, the regularization intensity parameter should positively correlated with the TV value of the intermediate patch, i.e. the patch obtained in between iterations of the above algorithm, and negatively correlated with variance of the noise in the image. = ¾ ^¾ (33) where c^s a constant, σ2 is variance of the noise, which can be estimated, for example, using the method by Deepak S. Turaga, Yingwei Chen, Jorge E. Caviedes: No reference PSNR estimation for compressed pictures. Sig. Proc: Image Comm. 19(2): 173-184 (2004).
As to the tuning parameter μ, it can be updated by,
where c2 is a constant; N is the number of pixels in a patch; and σ is the standard deviation of the noise in the image. Since the value of TV /½ normally decreases from iteration to iteration, the penalty gets stronger and stronger as the regularization process proceeds.
Applying the same analysis of Eqn. (4) and (5) to a TV /1/2 defined using horizontal and vertical gradient images arrives at a7TI¾(f) = a∑ (V ^ ^ | yf(U) |) = 1
d |vfcf(ij) l d | vkf(ij) | 2V l vkf(ij) l ' ^ ' Eqn. (35) is a decreasing function of | Vfcf (ij) |, which means that the value of TV /½ can be more significantly decreased by reducing the gradient with smaller amplitude. In other words, the low gradient details are preferred to be smoothed rather than the high gradient edges in TV /½ regularization.
According to the analysis above, TV /½ regularization not only tends to smooth along the low-gradient direction for one pixel, but also prefers to smooth the low-gradient pixels among all pixels in the image. Fig. 4 shows an example of the smoothing results by TV /½ regularization on a ID signal. The dash line represents the ID signal before the regularization, and the solid line represents the ID signal after the regularization. Fig. 4(a) shows the regularization results of TV II and TV 12; and Fig. 4(b) shows the regularization results of
TV /½. Both TV II and 12 regularization have the same result for a ID signal, in which the strong spikes are suppressed more significantly than the trivial spikes. In comparison, with the same difference between the original and the resultant signal (|| u— f || = 140), TV /½ regularization performs better in retaining the main structure and removing the details.
TV /½ regularization can be applied to a wide range of image processing applications, such as image denoising, video compression and exposure fusion.
TVl½ Image Denoising
TV /½ denoising in the spatial domain, as formulated in (19), is discussed here as an example. Nonetheless, the combined TV /½ -wavelet idea, i.e. to use wavelet constraintin the regularization \\u—
can be implemented.
An exemplary image denoising algorithm is summarized in Table I. This framework addresses two problems of applying TV /½ to image denoising.
a. The direction determination for gradient block calculation in the regularization is usually vulnerable to the noise. Thus directly applying the TV regularization in Eqn. (19)may not lead to satisfactory results especially when the input images are seriously distorted. To alleviate the problem, a pre-processing step is introduced to roughly remove the noise of the image. For example, pre-denoising the images with conventional TV regularization, such as TV 11112 as defined in Eqn. (1) and Eqn. (2),can be performed in the pre-processing step.
b. The patch-independent regularization, meaning each patch/block is regularized independently, often generates unpleasant blocking effects. To address this issue, TV /½ takes the pixels in the adjacent patches into account. However, some of these pixels lie in the unprocessed patches, which means the regularization of the current patch possibly uses unreliable noisy pixels. To address this issue, the patch based regularization can be performed iteratively. In later iterations, the pixels from adjacent patches become much more reliable, which could improve the regularization of the current patch. The terminating condition for the iteration can be, for example, ||f(n) _ fOi-i) || ||f < thl , wherein f(i) is the processed image afterthe z'-th
iteration, and thl is a pre-determined threshold. An example value for thl can be 0.001.
TABLE ITV /½ image denoising
Input: a noisy image y
Pre-denoising:f (°) = pre_denoise(y);
Repeat: (the n-t iteration f
Update the image f ^ patch by patch.
For Each Patch (ft (n))
Update ft using TV 1112 regularization
End For
Until: ||f(n) - f (n_1) ||F/||f (n_1) ||F < thl
Output: the denoised version f ^
TV1½ Regularization for Video Compression
TV can be used in compressive sensing (CS), which is capable of acquiring and recovering signals that can be sparsely represented by some bases below the Nyquist rate. TV /½ regularization based on such a principle can be applied to video compression. In the context of video compression, the reconstruction / decoding method can be formulated as
ft = argminft{7Vi½(ft) + ½ ||zt - Φ(Λ - /D ID, (37) where zt is the vector of quantized transform coefficient of the block ft, and f is the prediction of ft either by motion estimation or intra prediction. Φ is a partial DCT matrix, which takes a number of low-frequency measurements of the block. With the prior knowledge that the original image should have a small value of TV /½, a number of image blocks can be reconstructed by a subset of the transform coefficients. For those image blocks, the codec defines a CS mode in which the blocks are represented by T low frequency DCT coefficients, and decoded by (37) can be adaptively determined by the estimation of the sparsity. To decode a block compressed in the CS mode, we first obtain a preliminary reconstruction by applying Inverse DCT (IDCT) to the dequantized coefficients, determine the orientation of its content, and then reconstruct the block via DCT-constrained TV /½ regularization (37).
Unfortunately, the sparsity of the image content varies from block to block. Not all blocks can be well reconstructed by (37). It is thus necessary to select the reconstruction mode adaptively. The encoder can choose between a CS mode and the ordinary IDCT mode
for each block by rate distortion optimization. For each mode m, the rate distortion (RD) cost is computed with the estimation of the bit cost ?m and the distortion Dm,
modeopt = minm Dm + xRm (38) wherer is the Lagrangian multiplier derived by the quality parameter of the compression. The optimal mode modeopt is the mode whose RD cost is lower.
Since a new CS mode is introduced, the encoder has to transmit a mode flag for each block to the decoder. This can be a large overhead to the compression efficiency, especially for low bit rate coding. Thus, in the codec, the mode information can be transmitted covertly in terms of the parity of the number of nonzero coefficients like watermarks. For example, the number of nonzero coefficients after quantization is made to be odd when CS mode is chosen, and be even when IDCT mode is chosen.
The rule above can be easily fulfilled during the quantization step. The encoder simply quantizes the last nonzero coefficient to zero if the parity of the number of nonzero DCT coefficients does not match the reconstruction mode. Considering that the coefficients at the six lowest frequencies have remarkable influence to the visual appearance, they cannot be modified for this mode watermarking. Consequently, a block must be reconstructed in the CS mode if all of its nonzero DCT coefficients are at the 6 lowest frequencies. As will be demonstrated, the compression efficiency benefits a lot from this covert mode communication mechanism.
Exposure fusion
TV /½ regularization can also be used in exposure fusion. Exposure fusion is a process to compute the desired image by keeping only the "best" parts in the multi-exposure image sequence. An exposure fusion process can be guided by a set of quality measures (contrast, saturation and well-exposedness), which is consolidated into a scalar-valued weight map. Then the fused image is obtained by a weighted blending of input images.
The calculation of the saturation S and the well-exposedness E is shown in MERTENS T., KAUTZJ., REETHF. V.: Exposure fusion. In Pacific Graphics (2007), and formulated by (39) and (40), where k denotes the indices of the input images, / denotes channel indices (R, G, B, or Y, U, V, etc.), ij denote the coordinates of the pixels, hi denotes the channel / of the
image k, and GkiJ- denotes the normalized color intensity at the coordinate (/, j) of image k (e.g., the gray-scale values calculated by the R,G,B values),
Skij = varl Iklij, (39) iTfc,y = exp (- ¾¾ (40) Eqn. (39) indicates that all the pixels in one channel of an input image share a saturation weights; Eqn. (40) indicates that each pixel of an input image have one well-exposedness weight for its 3 channels.
Regarding contrast, TV 1½ regularization can be utilized to extract the structure Structk and the detail Detailk of the gray-scale version of an input image, Gk. Then the intensity of each pixels in the detail image can be used as the contrast weight,
Structk = minG TVll/2 (G) + - G - Gk \\2 2 (41) Detailk = Gk— Structk (42) Ckiij = Detailkij. (43) The weight map W is computed by the multiplication of (¾, <¾ and Ekiy. Eqn. (44) uses a power function to control the influence of each measure,
Finally, the recomposed image F is obtained by the weighted average of the input images .
Fiij = Wkli]Iklij. (45) Note that the above process is based on an assumption that the images are perfectly aligned, for example using a registration algorithm.
Fig.5 depicts a system 10 in accordance with the present principles for accomplishing image regularization using TV W regularization in the manner discussed in greater detail hereinafter. The system 10 includes a processor 12, in the form of a computer, which executes software that performs image TV /^regularization. The processor 12 is connected to one or more conventional data input devices for receiving operator input. In practice, such data input devices include a keyboard 14 and a computer mouse 16. Output information generated by the processor undergoes display on a monitor 18. Additionally such output information can undergo transmission to one or more destinations via a network link (not shown).
The processor 12 is connected to a database 22 which can reside on a hard drive or
other non-volatile storage device internal to, or separate from, the processor. The database 22 can store raw image information as well as processed image information, in addition to storing software and/or data for processor use.
The system 10 further includes an image acquisition device 24 for supplying the processor 12 with data associated with one or more incoming images. The image acquisition device 24 can take many different forms, depending on the incoming images. For instance, if the incoming images are "live", the image acquisition device 24 could comprise a television camera. In the event the images were previously recorded, the image acquisition device 24 could comprise a storage device for storing such images. Under circumstances where the images might originate from an another location, the image acquisition device 24 could comprise a network adapter for coupling the processor 12 to a network (not shown) for receiving such images. Although Fig. 5 depicts the image acquisition device 24 as separate from the processor, depending on how the images originate, the functionality of the image acquisition device 24 could reside in the processor 12.
It is further to be understood that the present invention may be implemented in various forms of hardware, software, firmware, special purpose processors, or a combination thereof. Preferably, the present invention is implemented as a combination of hardware and software. Moreover, the software is preferably implemented as an application program tangibly embodied on a program storage device. The application program may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more central processing units (CPU), a random access memory (RAM), and input/output (I/O) interface(s). The computer platform also includes an operating system and microinstruction code. The various processes and functions described herein may either be part of the microinstruction code or part of the application program (or a combination thereof), which is executed via the operating system. In addition, various other peripheral devices may be connected to the computer platform such as an additional data storage device and a printing device.
Although preferred embodiments of the present invention have been described in detail herein, it is to be understood that this invention is not limited to these embodiments,
and that other modifications and variations may be effected by one skilled in the art without departing from the scope of the invention as defined by the appended claims.
Claims
1. A method for regularizing an image, comprising:
calculating a plurality of gradient images for said image; and
regularizing said image by modifying pixel values of said image to minimize a function of said image defined as a weighted sum of absolute values of said calculated gradient images, each raised by a power that is less than 1 and greater than
0.
2. The method of claim 1, wherein said image pixels are adjusted to minimize said function in accordance with the relationship
f = argminf 7Vi0 (f) + Ay(u, f),
where7Vi6i (f) is said function; u and f arethe images before and after said adjusting step, respectively; y(u, f)is a measurement of closeness between u and f ; and 1 is a parameter which controls the regularization intensity.
3. The method of claim 2, wherein y(u, f) = || u - f || .
4. The method of claim 1, wherein the weights are the same for all the gradient images.
5. The method of claim 1, wherein there are two gradient images and the two gradient images are a horizontal gradient image and a vertical gradient image.
6. The method of claim 1, wherein the power equals 0.5.
7. An apparatus for regularizing an image, comprising:
a gradient image calculator for calculating a plurality of gradient images for said image; and
a minimizer for modifying pixel values of said image to minimize a function of said image defined as a weighted sum of absolute values of said calculated gradient images, each raised by a power that is smaller than 1 and greater than 0.
8. The apparatus of claim 7, wherein said image pixels are adjusted to minimize said function in accordance with the relationship
f = argminf 7Vi0 (f) + Ay(u, f),
W ereTVw (f ) is said function;u and f arethe images before and after said adjusting step, respectively; y(u, f)is a measurement of closeness between u and f ; and 1 is a parameter which controls the regularization intensity.
9. The apparatus of claim 8, wherein y(u, f) = ||u— f || .
10. The apparatus of claim 7, where in the weights are the same for all the gradient images.
11. The apparatus of claim 7, wherein there are two gradient images, and the two gradient images are a horizontal gradient image and a vertical gradient image.
12. The apparatus of claim 7, wherein the power equals 0.5.
13. A method for regularizing an image, comprising:
dividing the image into a plurality of image blocks;
for each of said plurality of image blocks,
calculating a plurality of gradient blocks; and
regularizing said image by modifying pixel values of said each image block to minimize a function of said image block defined as a weighted sum of absolute values of said calculated gradient blocks, each raised by a power that is less than 1 and greater than 0.
14. The method of claim 13, wherein said calculating and regularizing steps are performed iteratively.
15. The method of claim 13, further comprising pre-processing said image.
16. The method of claim 13, wherein calculating a plurality of gradient blocks for each of said plurality of image blocks comprises
selecting gradient directions for said each image block; and
calculating a gradient block along each of selected gradient direction.
17. The method of claim 16, wherein said selecting gradient directions comprises
pre-selecting a plurality of initial directions; and
selecting gradient directions that match orientation of the content of said image block.
18. The method of claim 17, wherein said gradient directions that match orientation of the content of the image block are selected as the directions that have lowest values of Ek, wherein^ =∑i J \Vkf(i,j) \.
19. An apparatus for regularizing an image, comprising:
a gradient image calculator for calculating a plurality of gradient blocks for each of a plurality of image blocks of said image wherein said image is divided into said plurality of image blocks; and
a minimizer for modifying pixel values of said each image block to minimize a function of said image block defined as a weighted sum of absolute values of said calculated gradient blocks, each raised by a power that is less than 1 and greater than 0.
20. The apparatus of claim 19, wherein said gradient image calculator performs said calculating step and said minimizer performs said modifying step iteratively.
21. The apparatus of claim 19, further comprising a pre-processor for pre-processing said image.
22. The apparatus of claim 19, wherein said gradient image calculator calculates said plurality of gradient blocks for each of said plurality of image blocks by
selecting gradient directions for said each image block; and
calculating a gradient block along each of selected gradient direction.
23. The apparatus of claim 22, wherein said gradient image calculator selects said gradient directions by
pre-selecting a plurality of initial directions; and
selecting gradient directions that match orientation of the content of said image block.
24. The apparatus of claim 23, wherein said gradient directions that match orientation of the content of the image block are selected as the directions that have lowest values
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/084886 WO2014078985A1 (en) | 2012-11-20 | 2012-11-20 | Method and apparatus for image regularization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/084886 WO2014078985A1 (en) | 2012-11-20 | 2012-11-20 | Method and apparatus for image regularization |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014078985A1 true WO2014078985A1 (en) | 2014-05-30 |
Family
ID=50775373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/084886 WO2014078985A1 (en) | 2012-11-20 | 2012-11-20 | Method and apparatus for image regularization |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2014078985A1 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104616249A (en) * | 2014-11-24 | 2015-05-13 | 南京信息工程大学 | Curvature variation based wavelet image denoising algorithm |
CN104835123A (en) * | 2015-05-04 | 2015-08-12 | 中国科学院自动化研究所 | Light sheet microscopic imaging stripe noise removing method based on prior model |
CN104851081A (en) * | 2015-05-15 | 2015-08-19 | 南京信息工程大学 | GPU-based parallel Laplacian image sharpening method |
CN105872315A (en) * | 2016-04-01 | 2016-08-17 | 广西大学 | Video denoising method for mixed noise |
CN107492077A (en) * | 2017-08-03 | 2017-12-19 | 四川长虹电器股份有限公司 | Image deblurring method based on adaptive multi-direction total variation |
CN109003233A (en) * | 2018-06-21 | 2018-12-14 | 西安理工大学 | A kind of image de-noising method based on adaptive weighting Total Variation |
CN109712091A (en) * | 2018-12-19 | 2019-05-03 | 深圳市华星光电技术有限公司 | Image processing method, device and electronic equipment |
CN110084774A (en) * | 2019-04-11 | 2019-08-02 | 江南大学 | A kind of method of the gradient transmitting and minimum total variation blending image of enhancing |
CN110930331A (en) * | 2019-11-22 | 2020-03-27 | 南京信息职业技术学院 | Noise blurred image non-blind restoration method, system and storage medium |
CN111127347A (en) * | 2019-12-09 | 2020-05-08 | Oppo广东移动通信有限公司 | Noise reduction method, terminal and storage medium |
CN113112425A (en) * | 2021-04-08 | 2021-07-13 | 南京大学 | Four-direction relative total variation image denoising method |
CN118015522A (en) * | 2024-03-22 | 2024-05-10 | 广东工业大学 | Time transition regularization method and system for video scene graph generation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1806257A (en) * | 2004-05-19 | 2006-07-19 | 索尼株式会社 | Image processor, image processing method, program for image processing method and recording medium with its program recorded thereon |
US20070154097A1 (en) * | 2006-01-03 | 2007-07-05 | Chi-Feng Wang | Method and apparatus for image edge detection |
JP2008301336A (en) * | 2007-06-01 | 2008-12-11 | Hitachi Ltd | Image processing device, image encoding device and image decoding device |
CN101674397A (en) * | 2009-09-27 | 2010-03-17 | 上海大学 | Repairing method of scratch in video sequence |
WO2012142731A1 (en) * | 2011-04-22 | 2012-10-26 | Technicolor (China) Technology Co. Ltd. | Method and device for lossy compress-encoding data and corresponding method and device for reconstructing data |
-
2012
- 2012-11-20 WO PCT/CN2012/084886 patent/WO2014078985A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1806257A (en) * | 2004-05-19 | 2006-07-19 | 索尼株式会社 | Image processor, image processing method, program for image processing method and recording medium with its program recorded thereon |
US20070154097A1 (en) * | 2006-01-03 | 2007-07-05 | Chi-Feng Wang | Method and apparatus for image edge detection |
JP2008301336A (en) * | 2007-06-01 | 2008-12-11 | Hitachi Ltd | Image processing device, image encoding device and image decoding device |
CN101674397A (en) * | 2009-09-27 | 2010-03-17 | 上海大学 | Repairing method of scratch in video sequence |
WO2012142731A1 (en) * | 2011-04-22 | 2012-10-26 | Technicolor (China) Technology Co. Ltd. | Method and device for lossy compress-encoding data and corresponding method and device for reconstructing data |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104616249A (en) * | 2014-11-24 | 2015-05-13 | 南京信息工程大学 | Curvature variation based wavelet image denoising algorithm |
CN104835123A (en) * | 2015-05-04 | 2015-08-12 | 中国科学院自动化研究所 | Light sheet microscopic imaging stripe noise removing method based on prior model |
CN104835123B (en) * | 2015-05-04 | 2018-07-31 | 中国科学院自动化研究所 | Mating plate micro-imaging fringes noise minimizing technology based on prior model |
CN104851081A (en) * | 2015-05-15 | 2015-08-19 | 南京信息工程大学 | GPU-based parallel Laplacian image sharpening method |
CN105872315A (en) * | 2016-04-01 | 2016-08-17 | 广西大学 | Video denoising method for mixed noise |
CN107492077A (en) * | 2017-08-03 | 2017-12-19 | 四川长虹电器股份有限公司 | Image deblurring method based on adaptive multi-direction total variation |
CN109003233A (en) * | 2018-06-21 | 2018-12-14 | 西安理工大学 | A kind of image de-noising method based on adaptive weighting Total Variation |
CN109003233B (en) * | 2018-06-21 | 2021-08-06 | 西安理工大学 | Image denoising method based on self-adaptive weight total variation model |
CN109712091B (en) * | 2018-12-19 | 2021-03-23 | Tcl华星光电技术有限公司 | Picture processing method and device and electronic equipment |
CN109712091A (en) * | 2018-12-19 | 2019-05-03 | 深圳市华星光电技术有限公司 | Image processing method, device and electronic equipment |
CN110084774A (en) * | 2019-04-11 | 2019-08-02 | 江南大学 | A kind of method of the gradient transmitting and minimum total variation blending image of enhancing |
CN110930331A (en) * | 2019-11-22 | 2020-03-27 | 南京信息职业技术学院 | Noise blurred image non-blind restoration method, system and storage medium |
CN110930331B (en) * | 2019-11-22 | 2023-03-03 | 南京信息职业技术学院 | Noise blurred image non-blind restoration method, system and storage medium |
CN111127347A (en) * | 2019-12-09 | 2020-05-08 | Oppo广东移动通信有限公司 | Noise reduction method, terminal and storage medium |
CN113112425A (en) * | 2021-04-08 | 2021-07-13 | 南京大学 | Four-direction relative total variation image denoising method |
CN113112425B (en) * | 2021-04-08 | 2024-03-22 | 南京大学 | Four-direction relative total variation image denoising method |
CN118015522A (en) * | 2024-03-22 | 2024-05-10 | 广东工业大学 | Time transition regularization method and system for video scene graph generation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014078985A1 (en) | Method and apparatus for image regularization | |
Liu et al. | Efficient single image dehazing and denoising: An efficient multi-scale correlated wavelet approach | |
Liu et al. | Image denoising via adaptive soft-thresholding based on non-local samples | |
US9438912B2 (en) | Video encoding/decoding methods, video encoding/decoding apparatuses, and programs therefor | |
EP2670142B1 (en) | Method and apparatus for noise filtering in video coding | |
US20150187053A1 (en) | Method and Apparatus for Image Denoising with Three-Dimensional Block-Matching | |
US6574374B1 (en) | Enhancing image compression performance by morphological processing | |
Van Chien et al. | Block compressive sensing of image and video with nonlocal Lagrangian multiplier and patch-based sparse representation | |
Li et al. | Fastllve: Real-time low-light video enhancement with intensity-aware look-up table | |
Zhang et al. | Image postprocessing by non-local Kuan’s filter | |
Arias et al. | Towards a bayesian video denoising method | |
Taha et al. | Partial Differential Equations and Digital Image Processing: A Review | |
Mi et al. | A generalized enhancement framework for hazy images with complex illumination | |
Moorthy et al. | Perceptually optimized blind repair of natural images | |
Mosleh et al. | Bandlet-based sparsity regularization in video inpainting | |
Sumalatha et al. | Hierarchical lossless image compression for telemedicine applications | |
US9686449B1 (en) | Methods and systems for detection of blur artifact in digital video due to high quantization | |
Jiang et al. | Oriented total variation l1/2 regularization | |
Jia et al. | Real-time content adaptive contrast enhancement for see-through fog and rain | |
CN113096014B (en) | Video super processing method, electronic device and storage medium | |
CN115311161A (en) | Image enhancement method, device, equipment and storage medium based on artificial intelligence | |
Zhang et al. | Multi-domain residual encoder–decoder networks for generalized compression artifact reduction | |
Chen | Variational JPEG artifacts suppression based on high-order MRFs | |
Thomas et al. | Effectual single image dehazing with color correction transform and dark channel prior | |
Singh et al. | An efficient approach for image sequence denoising using Zernike moments-based nonlocal means approach |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12888888 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12888888 Country of ref document: EP Kind code of ref document: A1 |