Patent attributes
An image processing system defines an M×N grid for each of source and destination images. The system selects a pixel location in a grid location in the destination image. The system forms a bounding box using two diagonally opposite vertices of the grid location. The system forms a quadrilateral connecting vertices of the grid location. The system determines whether the selected pixel location falls inside or outside the quadrilateral in the bounding box. If the selected pixel location falls inside the quadrilateral in the bounding box, the system determines coordinates of the selected pixel location as percentages of two sides of the quadrilateral connected to one of the diagonally opposite vertices. The system locates a pixel in a corresponding grid location in the source image using the coordinates. The system maps the pixel found in the source image to the selected pixel location in the destination image.