Boundary warp tool?

Hello, is there a tool under Linux that has a boundary warp tool, similar to Photoshop’s panorama feature, where the result can be distorted more or less close to a rectangle?