US20170140510A1 - Jagged edge reduction using kernel regression - Google Patents
Jagged edge reduction using kernel regression Download PDFInfo
- Publication number
- US20170140510A1 US20170140510A1 US15/419,944 US201715419944A US2017140510A1 US 20170140510 A1 US20170140510 A1 US 20170140510A1 US 201715419944 A US201715419944 A US 201715419944A US 2017140510 A1 US2017140510 A1 US 2017140510A1
- Authority
- US
- United States
- Prior art keywords
- image
- processor
- jagged
- kernel regression
- edge
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/73—Deblurring; Sharpening
-
- G06T5/003—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/403—Edge-driven scaling; Edge-based scaling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- 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/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- 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/10—Image acquisition modality
- G06T2207/10024—Color image
-
- 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/20016—Hierarchical, coarse-to-fine, multiscale or multiresolution image processing; Pyramid transform
-
- 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/20024—Filtering details
-
- 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/20172—Image enhancement details
- G06T2207/20192—Edge enhancement; Edge preservation
Definitions
- the coherence value generation device 630 can indicate to the kernel regression device 640 to not adjust the size of the kernel. For example, when the value ⁇ 2 is greater than the kernel variance value 632 , the coherence value generation device 630 can signal the kernel regression device 640 to not adjust the size of the kernel, as the adjustment may provide little to no ability to help the kernel regression smooth the image along isophotes.
- the processor memory may be integrated together with the processing device, for example RAM or FLASH memory disposed within an integrated circuit microprocessor or the like.
- the memory may comprise an independent device, such as an external disk drive, a storage array, a portable FLASH key fob, or the like.
- the memory and processing device may be operatively coupled together, or in communication with each other, for example by an I/O port, a network connection, or the like, and the processing device may read a file stored on the memory.
- Associated memory may be “read only” by design (ROM) by virtue of permission settings, or not.
- Other examples of memory may include, but may not be limited to, WORM, EPROM, EEPROM, FLASH, or the like, which may be implemented in solid state semiconductor devices.
- Other memories may comprise moving parts, such as a known rotating disk drive. All such memories may be “machine-readable” and may be readable by a processing device.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Processing (AREA)
Abstract
An apparatus may include a processor and memory to store instructions to direct the processor to: detect edges in an image, including portions of the image that correspond to a jagged edge configuration; selectively apply kernel regression to portions of the image that correspond to the jagged edge configuration; and output a corrected image.
Description
- This disclosure relates generally to image processing, and, more particularly, to jagged edge reduction using kernel regression.
- Many imaging systems can upscale a resolution of an image, i.e., generate a higher resolution image from a lower resolution image. Since upscaling can introduce artifacts, such as jagged edges, into the upscaled image, some of these imaging systems can process the image after upscaling, for example, with level set motion, anisotropic diffusion, total variation minimization, morphological antialiasing, or kernel regression, in an attempt to remove or reduce the jagged edges. While these techniques can remove or reduce the jagged edges introduced by the upscaling, they also cause the imaging system to smooth other portions of the upscaled image, leaving the overall image soft or washed out.
-
FIG. 1 is a block diagram example of an image processing system with a jagged-edge correction device. -
FIG. 2 is a block diagram example of a jagged-edge correction device shown inFIG. 1 . -
FIG. 3 is a block diagram another example of a jagged-edge correction device inFIG. 1 . -
FIG. 4A is a graph example of the kernel regression shown inFIGS. 2 and 3 . -
FIG. 4B-4F are graphs showing various covariates utilized by the kernel regression shown inFIGS. 2 and 3 . -
FIG. 5 is an example operational flowchart for jagged-edge correction utilizing selective steering kernel regression. -
FIG. 6 is a block diagram another example of the jagged-edge correction device shown inFIG. 1 . -
FIGS. 7A and 7B are graphs showing covariates utilized by the rank-reduced second-order kernel regression shown inFIG. 6 . -
FIG. 8 is an example operational flowchart for jagged-edge correction utilizing the rank-reduced second-order kernel regression shown inFIG. 6 . -
FIG. 1 is a block diagram example of animage processing system 100 with a jagged-edge correction device 120. Referring toFIG. 1 , theimage processing system 100 can include animage scaling device 110 to perform scaling operations onimage data 102. In some embodiments, theimage scaling device 110 can alter the resolution of theimage data 102, for example, increasing the resolution in an upscaling operation, to generate scaledimage data 112. During the upscaling operation, the increase of the image resolution can cause edges in the upscaled image to become jagged, such as having a stair-stepped appearance when the original image had a smooth-lined edge. - The
image processing system 100 can include a jagged-edge correction device 120 to process in the scaledimage data 112 to remove or reduce jagged edges from the scaledimage data 112, and output a jagged-edge corrected image 104. In some embodiments, the jagged-edge correction device 120 can utilizekernel regression 122 over selected portions of the scaledimage data 112 in an attempt to smooth the jagged edges in the image without altering at least some of the other portions of the image. For example, the jagged-edge correction device 120 can detect a location of edges or a presence of a jagged edge in the upscaled image, and utilizekernel regression 122 to smooth the detected edges, while leaving other portions of the upscaled image unprocessed by thekernel regression 122. - The
kernel regression 122 can determine windows or kernels, each centered around a target pixel, within an image, and regressively average the pixels falling within each window or kernel to determine a new luminance and/or chrominance value for the corresponding target pixel. During the regressive averaging of the pixel falling within each window or kernel, thekernel regression 122 can apply a regressive weighting to the various pixels in the window or kernel, for example, based on one or more covariates, also known as predictor variables, explanatory variables, or independent variables. In some embodiments, the jagged-edge correction device 120 can modify thekernel regression 122 processing to adapt both the averaging of the pixel values within the kernel as well as the size and the shape of the kernel based on the content of the scaledimage data 112 to remove or reduce jagged edges from the scaledimage data 112. Embodiments of kernel regression and jagged-edge correction will be described below in greater detail. -
FIG. 2 is a block diagram example of a jagged-edge correction device 200. Referring toFIG. 2 , the jagged-edge correction device 200 can include anedge detection device 210, such as a Canny edge detector, to detect locations of edges inimage data 202. In some embodiments, theedge detection device 210 can dilate the edges, for example, by one or more pixels in at least one direction around the detected edges, to incorporate pixels adjacent to the detected edges. - The jagged-
edge correction device 200 can include a selectivekernel regression device 220 to receive the detectededges 212 from theedge detection device 210 and to perform kernel regression within regions corresponding to those detectededges 212, while leaving the other portions of the image unprocessed by the kernel regression. In some embodiments, the selectivekernel regression device 220 can receive undilated detectededges 212 from theedge detection device 210 and dilate them prior to performing kernel regression. The selectivekernel regression device 220 can output a jagged-edge correctedimage 204 having undergone the selective kernel regression within regions corresponding to the detectededges 212. -
FIG. 3 is a block diagram another example of a jagged-edge correction device 300. Referring toFIG. 3 , the jagged-edge correction device 300 can include a matchedfilter bank 310 to compareimage data 302 against known jagged edge configurations. For example, the matchedfilter bank 310 can include multiple matched filters, each configured to compare theimage data 302 against a different jagged edge configuration. In some embodiments, each matched filter can output a score corresponding to whether match to a known jagged edge was made or how close each matched filter came to finding a match to the corresponding jagged edge configuration. The matchedfilter bank 310 can determine a composite score for jaggedness in theimage data 302, for example, by selecting a maximum score out of the scores from the various matched filters or by aggregating the scores from the various matched filters. - The kernel
size control device 320 can generate akernel size value 323 based on the composite score from the matchedfilter bank 310. In some embodiments, thekernel size value 323 can be a scalar value corresponding to a size of a kernel or window to be utilized by a steeringkernel regression device 330. - The steering
kernel regression device 330 can perform steering kernel regression on theimage data 302 to smooth edges in the corresponding image. The steeringkernel regression device 330 can include a polynomial regression element 332 to generateimage gradients 333 from theimage data 302. Theimage gradients 333 can correspond to a directional change of an intensity or color in the image represented by theimage data 302. The polynomial regression element 332 can perform a polynomial regression on theimage data 302 to determine theimage gradients 333 based on Equation 1: -
- The function corresponds to a two-dimensional, x-direction and y-direction, polynomial regression. The “x-direction” and “y-direction” can correspond to dimensions of the image, while x and y can be variables corresponding to locations within the image in the x-direction and y-direction, respectively. α00 can be an
image gradient 333 corresponding to ƒ(x0, y0), α10 can be animage gradient 333 corresponding to ƒx, α01 can be animage gradient 333 corresponding to ƒy, α20 can be animage gradient 333 corresponding to ƒxx, α02 can be animage gradient 333 corresponding to ƒyy, and α11 can be animage gradient 333 corresponding to ƒxy. The function ƒx can be a derivative with respect to x of function ƒ(x, y), ƒy can be a derivative with respect to y of function ƒ(x, y), ƒxy can be a derivative with respect to x and y of function ƒ(x, y), ƒxx can be a second derivative with respect to x of function ƒ(x, y), and ƒyy can be a second derivative with respect to y of function ƒ(x, y). The function can include covariates x, y, xy, x2, and y2, which will be described below in greater detail. The e can be an error value. - The steering
kernel regression device 330 can include acovariance matrix calculator 334 to generate acovariance matrix 335, for example, a 2×2 covariance or structure matrix from theimage gradients 333. The 2×2 covariance or structure matrix can identify the covariates and gradients for the steeringkernel regression device 330 to utilize in performingkernel regression 336 on theimage data 302. Embodiments of thekernel regression 336 with thecovariance matrix 335 and thekernel size values 323 will be described below in greater detail. -
FIG. 4A is a graph example of the kernel regression shown inFIGS. 2 and 3 . Referring toFIGS. 3 and 4A , the graph shows apixel array 401 having image content differences represented by a black or white color of the pixels in thepixel array 401. For example, a transition between the black and white pixels in thepixel array 401 can form anedge 403 in an image represented by thepixel array 401. Thekernels 402 can surround each pixel in thepixel array 401. Since, in some embodiments, thekernels 402 can be varied in size and shape based on the content of the pixels, the regression performed on theimage data 302 in thepixel array 401 is known as steering kernel regression. In some embodiments, the steeringkernel regression device 330 can control a size of thekernels 402 based on thekernel size value 323 from the kernelsize control device 320. Thekernel size value 323 can be a scalar value that can expand thekernels 402, for example, to cover multiple pixels, or contract the size of thekernels 402, for example, down to a single pixel. Thekernel regression 336 can regressively average the pixel data within each of thekernels 402 based on the covariances represented in thecovariance matrix 335, which can indicate a weighting to provide each pixel within thekernels 402. Embodiments of the covariances utilized in the kernel regression will be described below. -
FIG. 4B-4F are graphs showing various covariates utilized by the kernel regression shown inFIGS. 2 and 3 . Referring toFIGS. 3 and 4B-4F , linear covariates x and y are shown inFIGS. 4B and 4C , squared covariates x2 and y2 are shown inFIGS. 4D and 4E , and a bilinear covariance xy is shown inFIG. 4F . Duringkernel regression 336, the steeringkernel regression device 330 average pixels within each kernel based on these covariates. For example, the steeringkernel regression device 330 can center these covariates on a target pixel, for example, locating the pixel at the center of the kernel at point (0,0) on the covariance graphs, and then weight all of the pixels within the kernel based on the height or value of the covariance. Each of these covariates can further be weighted by theimage gradients 333 as shown above in Equation 1. The steeringkernel regression device 330 can weight and average the pixel values within thekernels 402 according to the various covariates andimage gradients 333 to generate output pixels for a jagged-edge correctedimage 304. -
FIG. 5 is an example operational flowchart for jagged-edge correction utilizing selective steering kernel regression. Referring toFIG. 5 , in ablock 510, theimage processing system 100 can detect edges in an image. In some embodiments, theimage processing system 100 can detect edges with an edge detection device, such as a Canny edge detector, and then optionally dilates the detected edges, for example, by one or more pixels adjacent to the detected edges, to identify a dilated image region. Since not all edges in an image are jagged, in some embodiments, theimage processing system 100 can include a matched bank filter to compare known jagged edge configurations to the image to determine whether the image or portions thereof include jagged edges. - In a
block 520, theimage processing system 100 can selectively apply steering kernel regression to the image based on the edge detection. The application of the steering kernel regression by theimage processing system 100 can smooth the jagged edges identified by theimage processing system 100. - In some embodiments, the
image processing system 100 can apply steering kernel regression to those portions of the image that correspond to the detected edges, for example, the dilated image region, while leaving the other portions of the image unprocessed by the steering kernel regression. In other embodiments, theimage processing system 100 can alter the kernel sizing based on the comparison of the image to the jagged edge configurations. For example, theimage processing system 100 can generate a composite score from the scores from the matched filter bank that correspond to a likeliness that a particular portion of the image includes a jagged edge, and then utilize the composite score to alter a kernel sizing for the particular portion of the image. For example, when the composite score indicates that a jagged edge is present in a first portion of the image, theimage processing system 100 can enlarge the kernel to smooth the jagged edge based on the image data from surrounding pixels. When the composite score indicates that a jagged edge is not present in a second portion of the image, theimage processing system 100 can shrink the kernel to reduce or eliminate averaging of the pixel with adjacent pixels in the image. In some embodiments, theimage processing system 100 can generate the composite score by aggregating multiple scores from the matched filter bank or by selecting at least one of the score, such as a maximum score, from the multiple scores generated by the matched filter bank. -
FIG. 6 is a block diagram another example of a jagged-edge correction device 600. Referring toFIG. 6 , the jagged-edge correction device 600 can perform a rank-reduced second-order kernel regression onimage data 602 to generate a jagged-edge correctedimage 604. - The jagged-
edge correction device 600 can include apolynomial regression element 610 to generatedirectional gradients 612 from theimage data 602. Thedirectional gradients 612 can correspond to a directional change of an intensity or color in the image represented by theimage data 602. Thepolynomial regression element 610 can perform a polynomial regression on theimage data 602 to determine thedirectional gradients 612, for example, based on Equation 1, which can include gradients α00, α10, and α01. In some embodiments, thepolynomial regression element 610 can elect to not calculate gradients α20, α02, and α11 in Equation 1 or incorporate gradients α20, α02, and α11 intodirectional gradients 612. - The jagged-
edge correction device 600 can include acovariance matrix calculator 620 to generate a structure matrix including alinear predictor 622 and aquadratic predictor 624 from thedirectional gradients 612. In some embodiments, thecovariance matrix calculator 620 can generate thelinear predictor 622 and thequadratic predictor 624 from a reduced-rank of thedirectional gradients 612, for example, gradients α00, α10, and α01, while not utilizing and/or calculating gradients, α20, α02, α11. For example, thelinear predictor 622 have the form (xα10+yα01) and thequadratic predictor 624 can have the form (xα2 10+yα01)2. -
FIGS. 7A and 7B are graphs showing covariates utilized by the rank-reduced second-order kernel regression shown inFIG. 6 . Referring toFIGS. 6 and 7A-7B ,linear predictor 622 is shown inFIG. 7A and thequadratic predictor 624 is shown inFIG. 7B . During kernel regression, the jaggededge correction device 600 average pixels within each kernel based on the covariates corresponding to thesepredictors edge correction device 600 can center these covariates on a target pixel, for example, locating the pixel at the center of the kernel at point (0,0) on the covariance graphs, and then weight all of the pixels within the kernel based on the height of the covariates. Each of these covariates can further be weighted by thedirectional gradients 612 or other scalar values, as will be described below. The jaggededge correction device 600 can weight and average the pixel values within the kernels according to the various covariates to generate output pixels for a jagged-edge correctedimage 604. - Referring back to
FIG. 6 , thecovariance matrix calculator 620 can include thelinear predictor 622 and thequadratic predictor 624 intoEquation 2, which can define a rank-reduced second-order covariates for use in kernel regression. -
ƒ(x 0 +x,y 0 +y)=α00+(xα 10 +yα 01)β1+(xα 10 +yα 01)2β2 +e=α 00 +xα 10β1 +yα 01β1 +x 2α10 2β2 +y 2α01 2β2+2xyα 01α10β2 +eEquation 2 - The function corresponds to a two-dimensional, x-direction and y-direction, rank-reduced second-order regression, where x and y correspond to a point on the image. α00 can be a
directional gradient 612 corresponding to ƒ(x0, y0), α10 can be adirectional gradient 612 corresponding to ƒx, and α01 can be adirectional gradient 612 corresponding to ƒy. The function can include covariates x, y, xy, x2, and y2, the values β1 and β2 can be scalar values, and the value e can be an error value. By reducing the rank of thedirectional gradients 612 to include α00, α10, and α01, while not including gradients, α20, α02, and α11 as in the second order polynomial regression described in Equation 1, the covariates derived fromEquation 2 can reduce isophote curvature between pixels in the image, while maintaining second-order variation across isophote curves to allow the rank-reduced second-order kernel regression to smooth jagged edges. - Isophote curvature can indicate a magnitude of a deviation from a straight line between points on an image, which can be modeled by Equation 3.
-
- In Equation 3, the value of K can indicate a size of a region or neighborhood in an image for the isophote curvature. By modifying the predictors in a rank-reduced second-order regression, as discussed above in
Equation 2, the rank-reduced second-order regression can force the value of K to (or towards) zero. For example, terms inEquations 1 and 2 can be matched based on the covariates x, y, x2, y2, and xy, such that the function ƒx can correspond to α10β1, ƒy can correspond to α01β1, ƒxy can correspond to 2α01α10β2, ƒxx can correspond to 2α10 2β2, and ƒyy can correspond to 2α01 2β2. By substituting the matched values into Equation 3, the numerator becomes zero, which can force K to become zero reducing isophote curvature, while maintaining second-order variation in the rank-reduced second-order regression. - The
covariance matrix calculator 620 can generate the structure matrix according toEquation 4. -
- The structure matrix S can include the
linear predictor 622, thequadratic predictor 624, andpixel variances 626. Thecovariance matrix calculator 620 can provide the structure matrix to thekernel regression device 640, for example, allowing thekernel regression device 640 to perform a rank-reduced second-order kernel regression operation onimage data 602 within kernels according toEquation 2. - The
covariance matrix calculator 620 also can provide thepixel variances 626 to a coherencevalue generation device 630. In some embodiments, the coherencevalue generation device 630 can decompose thepixel variances 626 from the structure matrix, for example, by performing an eigenvalue decomposition of a structure matrix S represented byEquation 4. -
S=λ 1 uu T+λ2 vv T Equation 5 - The value u can correspond to a direction of maximum pixel variance and the value λ1 can be a scalar value corresponding to a magnitude of the variance in the direction specified by u. The value v can correspond to a direction orthogonal to the direction specified by u and the value λ2 can be a scalar value corresponding to a magnitude of the variance in the direction specified by v. The coherence
value generation device 630 can utilize the values λ1 and λ2, for example, thepixel variances 626, as shown in Equations 6 and 7 to generate a kernel variance value 632. -
- The function c(λ1, λ2) can correspond to a coherence of localities in the image and, for example, can measure a uniformity of local variations in the image.
-
σ2=λ1 c(λ1,λ2) Equation 7 - The value σ2 can be the kernel variance value 632, which correspond to the measure of the uniformity of local variations in the image multiplied by the magnitude of the maximum variance λ1. In some embodiments, the coherence
value generation device 630 can set an upper threshold level for λ1, for example, to 10σ2, and set a lower threshold level for λ2 for example, to σ2, which can help to stabilize the kernel variance value 632 and subsequent kernel sizing in thekernel regression device 640. Thekernel regression device 640 can utilize the kernel variance value 632 to alter a size and/or shape of the kernels for the kernel regression. For example, Equation 8 shows a representation of the kernel generated by thekernel regression device 640. -
- The
kernel regression device 640 can substitute the kernel variance value 632 for the value σx0 y0 2 which can allow the kernel to stretch or expand when the image shows high contrast and a straight line, or contract when the image indicates the presence of a junction, corner, or texture in the image. Thus,kernel regression device 640 can adjust the kernel size and/or shape based on whether the content of the image shows the presence of a jagged edge as opposed to a junction, corner, or texture. - In some embodiments, the coherence
value generation device 630 can indicate to thekernel regression device 640 to not adjust the size of the kernel. For example, when the value λ2 is greater than the kernel variance value 632, the coherencevalue generation device 630 can signal thekernel regression device 640 to not adjust the size of the kernel, as the adjustment may provide little to no ability to help the kernel regression smooth the image along isophotes. - The jagged-
edge correction device 600 can perform each of these stages—identification of thedirectional gradients 612, generation of a structure matrix that includes thelinear predictor 622,quadratic predictor 624, and thepixel variances 626, and performance of the rank-reduced second-order regression—on a per pixel basis. In some embodiments, the jagged-edge correction device 600 compute the across an image frame or portion thereof first and then perform the rank-reduced second-order kernel regression. For example, the jagged-edge correction device 600 can compute gradient planes ƒx and ƒy for the image frame or portion thereof. The jagged-edge correction device 600 can generate planes ƒx 2, ƒy 2, and ƒxy from the gradient planes ƒx and ƒy and convolve the planes ƒx 2, ƒy 2, and ƒxy with a Gaussian kernel to generate a structure matrix including thelinear predictor 622 andquadratic predictor 624 for each pixel in the image frame or portion thereof. The jagged-edge correction device 600 can compute planes λ1, λ2, u1, u2, and σ2 from the structure matrix for each pixel in the image frame or portion thereof. The jagged-edge correction device 600 can perform the rank-reduced second-order kernel regression for the image frame based on the structure matrix and the planes λ1, λ2, u1, u2, and σ2. By performing these operations on a per frame basis, the speed at which the rank-reduced second-order kernel regression can be increased. -
FIG. 8 is an example operational flowchart for jagged-edge correction utilizing the rank-reduced second-order kernel regression shown inFIG. 6 . Referring toFIG. 8 , in ablock 810, an image processing system can determinedirectional gradients 612 corresponding to pixels in an image. In some embodiments, thedirectional gradients 612 can correspond to a reduced rank of gradients, such as α00, α10, and α01, as compared to the image gradients determined from a two-dimensional polynomial regression. These directional gradients can be determined on a pixel-by-pixel basis, or as gradient planes across multiple pixels, such as an image frame. - In a
block 820, the image processing system can generate alinear predictor 622 and aquadratic predictor 624 from thedirectional gradients 612. In some examples, thelinear predictor 622 can have the form (xα10+yα01) and thequadratic predictor 624 can have the form (xα10+yα01)2. In some embodiments, the image processing system can generate a structure matrix for each pixel in the image and the structure matrix can include thelinear predictor 622 and thequadratic predictor 624. This generation of a structure matrix for each pixel can be performed individually or by convolving the gradient planes with a Gaussian kernel. - In a
block 830, the image processing system can generate coherence values based on pixel variances in the image. In some embodiments, the image processing system can decompose the structure matrix, for example, through eigenvalue decomposition, to determine various values, such as λ1 and λ2, and then compute a coherence value from λ1 and In some embodiments, the image processing system can compute a kernel variance value λ2 from the coherence value. - In a
block 840, the image processing system can modify the pixels in the image with kernel regression utilizing the linear predictor, the quadratic predictor, and the coherence values. The image processing system can utilize the linear predictor and the quadratic predictor to determine the regressive weightings to provide pixels within the kernels and then average the pixels in the kernels based on the regressive weightings. The image processing system can utilize the coherence values to adjust sizes of the kernels for the pixels based on the content of the image, for example, to stretch along high-contrast straight edges and to shrink at corners, junctions, and textured areas. - The system and apparatus described above may use dedicated processor systems, micro controllers, programmable logic devices, microprocessors, or any combination thereof, to perform some or all of the operations described herein. Some of the operations described above may be implemented in software and other operations may be implemented in hardware. Any of the operations, processes, and/or methods described herein may be performed by an apparatus, a device, and/or a system substantially similar to those as described herein and with reference to the illustrated figures.
- The processing device may execute instructions or “code” stored in memory. The memory may store data as well. The processing device may include, but may not be limited to, an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, or the like. The processing device may be part of an integrated control system or system manager, or may be provided as a portable electronic device configured to interface with a networked system either locally or remotely via wireless transmission.
- The processor memory may be integrated together with the processing device, for example RAM or FLASH memory disposed within an integrated circuit microprocessor or the like. In other examples, the memory may comprise an independent device, such as an external disk drive, a storage array, a portable FLASH key fob, or the like. The memory and processing device may be operatively coupled together, or in communication with each other, for example by an I/O port, a network connection, or the like, and the processing device may read a file stored on the memory. Associated memory may be “read only” by design (ROM) by virtue of permission settings, or not. Other examples of memory may include, but may not be limited to, WORM, EPROM, EEPROM, FLASH, or the like, which may be implemented in solid state semiconductor devices. Other memories may comprise moving parts, such as a known rotating disk drive. All such memories may be “machine-readable” and may be readable by a processing device.
- Operating instructions or commands may be implemented or embodied in tangible forms of stored computer software (also known as “computer program” or “code”). Programs, or code, may be stored in a digital memory and may be read by the processing device. “Computer-readable storage medium” (or alternatively, “machine-readable storage medium”) may include all of the foregoing types of memory, as well as new technologies of the future, as long as the memory may be capable of storing digital information in the nature of a computer program or other data, at least temporarily, and as long at the stored information may be “read” by an appropriate processing device. The term “computer-readable” may not be limited to the historical usage of “computer” to imply a complete mainframe, mini-computer, desktop or even laptop computer. Rather, “computer-readable” may comprise storage medium that may be readable by a processor, a processing device, or any computing system. Such media may be any available media that may be locally and/or remotely accessible by a computer or a processor, and may include volatile and non-volatile media, and removable and non-removable media, or any combination thereof
- A program stored in a computer-readable storage medium may comprise a computer program product. For example, a storage medium may be used as a convenient means to store or transport a computer program. For the sake of convenience, the operations may be described as various interconnected or coupled functional blocks or diagrams. However, there may be cases where these functional blocks or diagrams may be equivalently aggregated into a single logic device, program or operation with unclear boundaries.
- One of skill in the art will recognize that the concepts taught herein can be tailored to a particular application in many other ways. In particular, those skilled in the art will recognize that the illustrated examples are but one of many alternative implementations that will become apparent upon reading this disclosure.
- Although the specification may refer to “an”, “one”, “another”, or “some” example(s) in several locations, this does not necessarily mean that each such reference is to the same example(s), or that the feature only applies to a single example.
Claims (15)
1-20. (canceled)
21. An apparatus, comprising:
a processor; and
memory to store instructions to direct the processor to:
detect edges in an image, including portions of the image that correspond to a jagged edge configuration;
selectively apply kernel regression to portions of the image that correspond to the jagged edge configuration; and
output a corrected image.
22. The apparatus of claim 21 , wherein the memory further includes instructions to direct the processor to:
dilate the detected edges of the image to include portions of the image adjacent to the detected edges in a dilated image region; and
selectively apply kernel regression to the portions of the image within the dilated image region.
23. The apparatus of claim 21 , wherein the memory further includes instructions to direct the processor to compare the image to jagged edge configurations.
24. The apparatus of claim 23 , wherein the memory further includes instructions to direct the processor to adjust a size of kernels utilized in the kernel regression based on the comparison of the image to jagged edge configurations.
25. An apparatus, comprising:
a processor; and
memory to store instructions to direct the processor to:
detect an edge in an image;
dilate the detected edge of the image to include portions of the image adjacent to the detected edge in a dilated image region;
selectively apply kernel regression to detecting edges in an image, including portions of the image that correspond to a jagged edge configuration;
selectively apply kernel regression to portions of the image that correspond to the jagged edge configuration; and
output a corrected image.
26. The apparatus of claim 25 , wherein the memory further includes instructions to direct the processor to dilate the edges by more than one pixel in at least one direction around the detected edges.
27. The apparatus of claim 25 , wherein the memory further includes instructions to direct the processor to detect the edge in the image with Canny edge detection.
28. The apparatus of claim 25 , wherein the memory further includes instructions to direct the processor to apply kernel regression to the detected edge and not apply kernel regression to other portions of the image.
29. An apparatus, comprising:
a processor; and
memory to store instructions to direct the processor to:
detect an edge in an image and compare the image to plural jagged edge configurations;
selectively apply kernel regression to portions of the image based, at least in part, on the detection of the edge in the image corresponding to the jagged edge configurations; and
output a corrected image.
30. The apparatus of claim 29 , wherein the memory further includes instructions to direct the processor to apply kernel regression to the portions of the image that correspond the jagged edge configurations.
31. The apparatus of claim 29 , wherein the memory further includes instructions to direct the processor to determine a score of a degree of match to each of the plural jagged edge configurations.
32. The apparatus of claim 31 , wherein the memory further includes instructions to direct the processor to determine a composite score for jaggedness in the image, including to select a maximum score out of the scores of the degree of match to the plural jagged edge configurations.
33. The apparatus of claim 31 , wherein the memory further includes instructions to direct the processor to determine a composite score for jaggedness in the image by aggregating the scores of the degree of match to the plural jagged edge configurations.
34. The apparatus of claim 29 , wherein the memory further includes instructions to direct the processor to adjust a size of kernels utilized in the kernel regression based on the comparison of the image to jagged edge configurations.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/419,944 US20170140510A1 (en) | 2012-11-30 | 2017-01-30 | Jagged edge reduction using kernel regression |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/690,783 US9076229B2 (en) | 2012-11-30 | 2012-11-30 | Jagged edge reduction using kernel regression |
US14/738,613 US9558532B2 (en) | 2012-11-30 | 2015-06-12 | Jagged edge reduction using kernel regression |
US15/419,944 US20170140510A1 (en) | 2012-11-30 | 2017-01-30 | Jagged edge reduction using kernel regression |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/738,613 Division US9558532B2 (en) | 2012-11-30 | 2015-06-12 | Jagged edge reduction using kernel regression |
Publications (1)
Publication Number | Publication Date |
---|---|
US20170140510A1 true US20170140510A1 (en) | 2017-05-18 |
Family
ID=50825520
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/690,783 Expired - Fee Related US9076229B2 (en) | 2012-11-30 | 2012-11-30 | Jagged edge reduction using kernel regression |
US14/738,613 Expired - Fee Related US9558532B2 (en) | 2012-11-30 | 2015-06-12 | Jagged edge reduction using kernel regression |
US15/419,944 Abandoned US20170140510A1 (en) | 2012-11-30 | 2017-01-30 | Jagged edge reduction using kernel regression |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/690,783 Expired - Fee Related US9076229B2 (en) | 2012-11-30 | 2012-11-30 | Jagged edge reduction using kernel regression |
US14/738,613 Expired - Fee Related US9558532B2 (en) | 2012-11-30 | 2015-06-12 | Jagged edge reduction using kernel regression |
Country Status (1)
Country | Link |
---|---|
US (3) | US9076229B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110717874A (en) * | 2019-10-10 | 2020-01-21 | 徐庆 | Image contour line smoothing method |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109087278B (en) * | 2018-10-23 | 2022-04-29 | 沈阳工业大学 | Condom front and back recognition method based on improved Canny operator |
US11704584B2 (en) * | 2020-05-22 | 2023-07-18 | Playtika Ltd. | Fast and accurate machine learning by applying efficient preconditioner to kernel ridge regression |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6259822B1 (en) * | 1998-10-30 | 2001-07-10 | Eastman Kodak Company | Edge enhancement which reduces the visibility of false contours |
US6647137B1 (en) * | 2000-07-10 | 2003-11-11 | International Business Machines Corporation | Characterizing kernel function in photolithography based on photoresist pattern |
US6956582B2 (en) * | 2001-08-23 | 2005-10-18 | Evans & Sutherland Computer Corporation | System and method for auto-adjusting image filtering |
US20080013822A1 (en) * | 2006-07-11 | 2008-01-17 | Ajay Pai | Wafer edge inspection and metrology |
US20110242371A1 (en) * | 2007-05-25 | 2011-10-06 | Zoran Corporation | Advanced noise reduction in digital cameras |
US20130100286A1 (en) * | 2011-10-21 | 2013-04-25 | Mesa Engineering, Inc. | System and method for predicting vehicle location |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005004040A1 (en) * | 2003-07-02 | 2005-01-13 | Celartem Technology Inc. | Image sharpening with region edge sharpness correction |
WO2007027893A2 (en) * | 2005-08-30 | 2007-03-08 | The Regents Of The University Of California, Santa Cruz | Kernel regression for image processing and reconstruction |
AU2007249113B2 (en) * | 2007-12-19 | 2011-11-03 | Canon Kabushiki Kaisha | Orientation adapted aliasing cancellation |
JP5645052B2 (en) * | 2010-02-12 | 2014-12-24 | 国立大学法人東京工業大学 | Image processing device |
US8340396B2 (en) * | 2010-04-05 | 2012-12-25 | Xerox Corporation | Color trapping on a halftoned bi-level bitmap |
JP5453350B2 (en) * | 2011-06-23 | 2014-03-26 | 株式会社 システムスクエア | Packaging inspection equipment |
US9418115B2 (en) * | 2011-07-26 | 2016-08-16 | Abl Ip Holding Llc | Location-based mobile services and applications |
US8675999B1 (en) * | 2012-09-28 | 2014-03-18 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Apparatus, system, and method for multi-patch based super-resolution from an image |
-
2012
- 2012-11-30 US US13/690,783 patent/US9076229B2/en not_active Expired - Fee Related
-
2015
- 2015-06-12 US US14/738,613 patent/US9558532B2/en not_active Expired - Fee Related
-
2017
- 2017-01-30 US US15/419,944 patent/US20170140510A1/en not_active Abandoned
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6259822B1 (en) * | 1998-10-30 | 2001-07-10 | Eastman Kodak Company | Edge enhancement which reduces the visibility of false contours |
US6647137B1 (en) * | 2000-07-10 | 2003-11-11 | International Business Machines Corporation | Characterizing kernel function in photolithography based on photoresist pattern |
US6956582B2 (en) * | 2001-08-23 | 2005-10-18 | Evans & Sutherland Computer Corporation | System and method for auto-adjusting image filtering |
US20080013822A1 (en) * | 2006-07-11 | 2008-01-17 | Ajay Pai | Wafer edge inspection and metrology |
US20110242371A1 (en) * | 2007-05-25 | 2011-10-06 | Zoran Corporation | Advanced noise reduction in digital cameras |
US20130100286A1 (en) * | 2011-10-21 | 2013-04-25 | Mesa Engineering, Inc. | System and method for predicting vehicle location |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110717874A (en) * | 2019-10-10 | 2020-01-21 | 徐庆 | Image contour line smoothing method |
Also Published As
Publication number | Publication date |
---|---|
US9558532B2 (en) | 2017-01-31 |
US20140153843A1 (en) | 2014-06-05 |
US20150356707A1 (en) | 2015-12-10 |
US9076229B2 (en) | 2015-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9652825B2 (en) | Image enlargement method and apparatus | |
US8675999B1 (en) | Apparatus, system, and method for multi-patch based super-resolution from an image | |
US9946954B2 (en) | Determining distance between an object and a capture device based on captured image data | |
US9064476B2 (en) | Image super-resolution using gradient profile prior | |
US9111355B1 (en) | Selective color processing for vision systems that enables optimal detection and recognition | |
US9489722B2 (en) | Method and apparatus for implementing image denoising | |
US20170140510A1 (en) | Jagged edge reduction using kernel regression | |
US20090016608A1 (en) | Character recognition method | |
US9262810B1 (en) | Image denoising using a library of functions | |
US20160335748A1 (en) | Method for inpainting a target area in a target video | |
CN111598088B (en) | Target detection method, device, computer equipment and readable storage medium | |
EP3640886B1 (en) | Homography rectification | |
EP3067858A1 (en) | Image noise reduction | |
US20160267640A1 (en) | Image noise reduction using lucas kanade inverse algorithm | |
US20150112853A1 (en) | Online loan application using image capture at a client device | |
Palomares et al. | General logarithmic image processing convolution | |
US20140016824A1 (en) | Device and method for detecting angle of rotation from normal position of image | |
US20190019272A1 (en) | Noise reduction for digital images | |
US11301962B2 (en) | Image processing method, image processing apparatus, and medium | |
US7720303B2 (en) | Polynomial approximation based image filter methods, systems, and machine-readable media | |
US20070081193A1 (en) | Method and apparatus for expanding bit resolution using local information of image | |
US20130064455A1 (en) | Information processing apparatus, control method for information processing apparatus and storage medium | |
US10395621B2 (en) | Method, system and apparatus for modifying a font character | |
KR101679857B1 (en) | Interpolation method based jagging detection and display device using the same | |
CN113420762A (en) | Image processing method, system, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: SHARP LABORATORIES OF AMERICA, INC., WASHINGTON Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:AGHAGOLZADEH, MOHAMMAD;SEGALL, CHRISTOPHER A.;SIGNING DATES FROM 20121130 TO 20121210;REEL/FRAME:041181/0456 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |