| Algorithm A1 Algorithm for resizing an image | ||||
| 1: for
to image width in pixels do 2: for to image height in pixels do 3: Arrange augmented y matrix using the weights from the referenced equations: 4: Apply the Gauss Jordan elimination method to solve for p values by Equation (A7): 6: Arrange augmented x matrix using the weights from the referenced equations: 7: Apply the Gauss Jordan elimination method to solve for p values by Equation (A9): 9: end for 10: end for 11: Perform rounding on each pixel value |