1. A method of scaling an image comprising: receiving raw image data comprising a plurality of input pixel values, respective ones of the input pixel values corresponding to a respective pixel of an image sensor; and filtering the raw image data according to a Bayer-consistent ruleset by a first scaling factor in a first direction, and a second scaling factor in a second direction perpendicular to the first direction, wherein the first scaling factor is different from the second scaling factor, and the Bayer-consistent ruleset results in a Bayer-consistency coefficient C of greater than or equal to 0.65, where C is defined according to the following expression (1): 
 C= 0.5γ+0.5β  (1), where γ and β are defined according to the following expressions (2) and (3), respectively: γ = 1 4 ⁢ ∑ c ⁢ ⁢ Σ c ⁢ ⁢ sub ⁢ - ⁢ tile ⁡ ( filter ⁢ ⁢ coefficients ⁢ ⁢ for ⁢ ⁢ c ⁢ ⁢ colored ⁢ ⁢ pixels ) 2 Σ all ⁢ ⁢ sub ⁢ - ⁢ tiles ⁡ ( filter ⁢ ⁢ coefficients ⁢ ⁢ for ⁢ ⁢ c ⁢ ⁢ colored ⁢ ⁢ pixels ) 2 , ( 2 ) ⁢ β = max ⁡ ( 1 - 1 4 ⁢ ∑ c ⁢ ⁢ ( d c h N ⁢ ⁢ Δ h ) 2 + ( d c v M ⁢ ⁢ Δ v ) 2 , 0 ) , ( 3 ) where d c h and d c v are the horizontal and vertical distances, respectively, between a center of gravity of the filter coefficients for the color c and a geometric pixel center of a corresponding c color output pixel, N is a horizontal scaling factor, M is a vertical scaling factor, Δ h is a horizontal length of the input pixel, and Δ v is a vertical length of an input pixel.