Patent ID: 11972538
Assignee: APPLE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 18:
19. The electronic device of claim 18, wherein the gradient circuit is configured to generate the respective gradient along a direction of the plurality of directions by:
generating a second-order gradient by applying a second-order filter to the raw image data;
generating a cross-color gradient based upon an aggregation of a plurality of pixel pair difference values, each pixel pair difference value corresponding to a difference between a green pixel of the raw image data and a respective adjacent non-green pixel; and
determining the respective gradient based upon the second-order gradient modified by a gradient error value generated by applying a first-order filter to the raw image data, and a normalization of the cross-color gradient using a second cross-color gradient calculated along a different direction of the plurality of directions.