Gradient direction calculation device

US11074712B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11074712-B2
Application numberUS-201916456276-A
CountryUS
Kind codeB2
Filing dateJun 28, 2019
Priority dateJun 29, 2018
Publication dateJul 27, 2021
Grant dateJul 27, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In a gradient direction calculation device, an element gradient vector calculation unit calculates two mutually perpendicular element gradient vectors with respect to a pixel of interest by using a difference in pixel values in the vicinity of the pixel of interest. A quadrant determination unit determines, based on a combination of positive/negative signs of each of the two element gradient vectors, a quadrant among the four quadrants defined by the two element gradient vectors that contains a gradient direction of the pixel of interest. A ratio comparison unit determines comparison results by comparing each of the ratios of magnitudes of the two element gradient vectors with a predetermined threshold. A gradient direction determination unit determines a gradient direction corresponding to a combination of the positive/negative signs and the comparison results.

First claim

Opening claim text (preview).

What is claimed is: 1. A gradient direction calculation device that calculates a gradient direction of a pixel, comprising: a non-transitory memory storing one or more computer programs; and a processor executing the one or more computer programs to: calculate two element gradient vectors with respect to a pixel of interest by using a difference in pixel values a vicinity of the pixel of interest, the two element gradient vectors being mutually perpendicular; determine, based on a combination of signs of the two element gradient vectors, which one of four quadrants defined by the two element gradient vectors contains a gradient direction of the pixel of interest; determine comparison results by comparing each of ratios of magnitudes of the two element gradient vectors with a predetermined threshold; and determine a gradient direction corresponding to a combination of the signs and the comparison results. 2. The gradient direction calculation device according to claim 1 , wherein the processor determines the gradient direction by determining on of eight directions. 3. The gradient direction calculation device according to claim 1 , wherein the processor calculates the two element gradient vectors by using a difference in pixel values of pixels in each of two diagonal directions in a set of four pixels including the pixel of interest. 4. The gradient direction calculation device according to claim 1 , wherein the processor calculates one of the two element gradient vectors by using a difference in pixel values of two pixels adjacent to the pixel of interest in a vertical direction, and calculates the other of the two element gradient vectors by using a difference in pixel values of two pixels adjacent to the pixel of interest in a horizontal direction. 5. The gradient direction calculation device according to claim 1 , wherein the processor determines the gradient direction by using a lookup table that takes as input a combination of the signs and the comparison results. 6. The gradient direction calculation device according to claim 1 , wherein the processor determines the gradient direction by using a lookup table that takes as input a value obtained by respectively multiplying the signs and the comparison results by predetermined coefficients, and then summing the products. 7. The gradient direction calculation device according to claim 1 , wherein the predetermined threshold is tan(22.5°) or an approximated value thereof. 8. The gradient direction calculation device according to claim 1 , wherein the predetermined threshold is expressed as a fraction in which both a denominator and a numerator are expressed as an integer. 9. The gradient direction calculation device according to claim 8 , wherein the processor sets whichever of the denominator and the numerator that requires a smaller number of bits to be expressed to a negative number, multiplies the denominator by a magnitude of one of the two element gradient vectors, multiplies the numerator by a magnitude of the other of the two element gradient vectors, and determines the comparison results according to the sign of a value obtained after summing the products. 10. A computer-implemented method for calculating a gradient direction of a pixel, the computer-implemented method comprising: calculating two element gradient vectors with respect to a pixel of interest by using a difference in pixel values in a vicinity of the pixel of interest, the two element gradient vectors being mutually perpendicular; determining, based on a combination of signs of the two element gradient vectors, which one of four quadrants defined by the two element gradient vectors contains a gradient direction of the pixel of interest; determining comparison results by comparing each of ratios of magnitudes of the two element gradient vectors with a predetermined threshold; and determining a gradient direction corresponding to a combination of the signs and the comparison results. 11. The computer-implemented method according to claim 10 , further comprising: determining the gradient direction by determining one of eight directions. 12. The computer-implemented method according to claim 10 , further comprising: calculating the two element gradient vectors by using a difference in pixel values of pixels in each of two diagonal directions in a set of four pixels including the pixel of interest. 13. The computer-implemented method according to claim 10 , further comprising: calculating one of the two element gradient vectors by using a difference in pixel values of two pixels adjacent to the pixel of interest in a vertical direction; and calculating the other of the two element gradient vectors by using a difference in pixel values of two pixels adjacent to the pixel of interest in a horizontal direction. 14. The computer-implemented method according to claim 10 , further comprising: determining the gradient direction by using a lookup table that takes as input a combination of the signs and the comparison results. 15. The computer-implemented method according to claim 10 , further comprising: determining the gradient direction by using a lookup table that takes as input a value obtained by respectively multiplying the signs and the comparison results by predetermined coefficients, and then summing the products. 16. The computer-implemented method according to claim 10 , wherein the predetermined threshold is tan(22.5°) or an approximated value thereof. 17. The computer-implemented method according to claim 10 , wherein the predetermined threshold is expressed as a fraction in which both a denominator and a numerator are expressed as an integer. 18. The computer-implemented method according to claim 17 , further comprising: setting whichever of the denominator and the numerator that requires a smaller number of bits to be expressed to a negative number, multiply the denominator by a magnitude of one of the two element gradient vectors, multiply the numerator by a magnitude of the other of the two element gradient vectors, and determine the comparison results according to the sign of a value obtained after summing the products. 19. A non-transitory computer-readable storage medium having stored therein instructions executable by a processor to cause the processor to perform functions comprising: calculating two element gradient vectors with respect to a pixel of interest by using a difference in pixel values in a vicinity of the pixel of interest, the two element gradient vectors being mutually perpendicular; determining, based on a combination of signs of the two element gradient vectors, which one of four quadrants defined by the two element gradient vectors contains a gradient direction of the pixel of interest; determining comparison results by comparing each of ratios of magnitudes of the two element gradient vectors with a predetermined threshold; and determining a gradient direction corresponding to a combination of the signs and the comparison results. 20. A gradient direction calculation device for calculating a gradient direction of a pixel, comprising: a processing unit configured to: calculate two element gradient vectors with respect to a pixel of interest by using a difference in pixel values in a vicinity of the pixel of interest, the two element gradient vectors being mutually perpendicular; determine, based on a combination of signs of the two element gradient vectors, which one of four quadrants defined by the two element

Assignees

Inventors

Classifications

  • G06T7/13Primary

    Edge detection · CPC title

  • Involving statistics of pixels or of feature values, e.g. histogram matching · CPC title

  • G06T7/73Primary

    using feature-based methods · CPC title

  • relating to the decision surface · CPC title

  • by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11074712B2 cover?
In a gradient direction calculation device, an element gradient vector calculation unit calculates two mutually perpendicular element gradient vectors with respect to a pixel of interest by using a difference in pixel values in the vicinity of the pixel of interest. A quadrant determination unit determines, based on a combination of positive/negative signs of each of the two element gradient ve…
Who is the assignee on this patent?
Denso Corp
What technology area does this patent fall under?
Primary CPC classification G06T7/13. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 27 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).