Just realized this is probably a duplicate of ROITransform.