Add the option to warp around the input image in the pattern extraction phase.
Add the option to warp around the input image in the pattern extraction phase.