主权项 |
1. A method comprising:
determining, by a computing device, a structure descriptor for an m×n pixel block of an image, wherein the m×n pixel block contains a primary pixel having a primary pixel value and a plurality of secondary pixels having respective secondary pixel values, wherein the structure descriptor includes a plurality of structure indicators each associated with a respective secondary pixel, and wherein the respective structure indicators are based on the primary pixel value and the respective secondary pixel value of the associated secondary pixel; based on the structure descriptor, determining a structure value for the m×n pixel block; and based on the structure value, applying image processing to the m×n pixel block. |