Back to results
US 10,592,761 B2Granted
Image processing method and device
AssigneeBoe Technology Group Co., Ltd.
InventorJinglin Yang
Life of this patent
Estimating the term…
Abstract
The present disclosure discloses an image processing method and device. The image processing method includes: dividing a detection image into a plurality of first subregions, dividing a template image into a plurality of second subregions, calculating a principal rotation direction of each first subregion with respect to the corresponding second subregion; and calculating a principal rotation direction of the detection image according to the principal rotation directions of the plurality of first subregions.
Claims20
An image processing method, comprising:
- dividing a detection image into a plurality of first subregions, and dividing a template image into a plurality of second subregions, wherein a center of each of the plurality of first subregions coincides with a center of the detection image, a center of each of the plurality of second subregions coincides with a center of the template image, and the plurality of first subregions is in one-to-one correspondence to the plurality of second subregions;
- calculating a principal rotation direction of each of the plurality of first subregions with respect to corresponding second subregion, wherein the principal rotation direction of the first subregion with respect to the corresponding second subregion is an average value of sums of difference values of Δp of all pixel points p on an outer contour line of the first subregion and Δp′ of corresponding pixel points p′ on an outer contour line of the corresponding second subregion, Δp is an angle between a radial direction and a gradient direction of each pixel point p, and Δp′ is an angle between a radial direction and a gradient direction of each pixel point p′;
- and
- calculating a principal rotation direction α of the detection image according to the principal rotation directions of the plurality of first subregions of the detection image.
1 more element
An image processing device, comprising:
- a processor and a memory, wherein the processor is configured to execute a program stored in the memory, so as to:
- divide a detection image into a plurality of first subregions, and divide a template image into a plurality of second subregions, wherein a center of each of the plurality of first subregions coincides with a center of the detection image, a center of each of the plurality of second subregions coincides with a center of the template image, and the plurality of first subregions is in one-to-one correspondence to the plurality of second subregions;
- calculate a principal rotation direction of each of the plurality of first subregions with respect to corresponding second subregion, wherein the principal rotation direction of the first subregion with respect to the corresponding second subregion is an average value of sums of difference values of Δp of all pixel points p on an outer contour line of the first subregion and Δp′ of corresponding pixel points p′ on an outer contour line of the corresponding second subregion, Δp is an angle between a radial direction and a gradient direction of each pixel point p, and Δp′ is an angle between a radial direction and a gradient direction of each pixel point p′;
- and
- calculate a principal rotation direction α of the detection image according to the principal rotation directions of the plurality of first subregions of the detection image.
2 more elements
Dependencies are inferred from the claim text.