You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[^1]: The Fourier transform is an ubiqitous concept in image processing, so we strongly advise becoming familiar with at least the basics. A very good resource for this topic is [ImageMagick’s guide][].
615
625
[^2]: Robidoux, N. (2012, October 21). Resampling — ImageMagick v6 Examples. Retrieved August 22, 2019, from https://www.imagemagick.org/Usage/filter/nicolas/#upsampling
616
626
[^3]: If you don’t understand what this means, read the resources linked above in the [resizing section](#resizing).
627
+
[^4]: This is derived as follows: The shift is the distance between the position of the first luma sample and the position of the first chroma sample (both mapped onto the input grid and given in terms of input chroma pixel widths). The former is located at `0.25 + (src_width/dst_width)/4`, the latter at `(src_width/dst_width)/2`. This yields `0.25 + (src_width/dst_width)/4 - (src_width/dst_width)/2 = 0.25 + (src_width/dst_width) * (1/4 - 1/2) = 0.25 + (src_width/dst_width) * -0.25` for the shift.
0 commit comments