1. An image processing system comprising: a hardware component configured to receive a first image and generate a first feature value and a first segmented image from the first image, wherein the first segmented image is generated based on a pattern of the first image; a central processing unit (CPU) configured to generate a first transformation matrix based on the first segmented image and the first feature value, wherein the hardware component is further configured to generate a first transformed image by applying the first transformation matrix to the first image, wherein the hardware component comprises: an image segmentation hardware component configured to segment the first image and generate the first segmented image; an image feature detection hardware component configured to detect the first feature value from the first image or the first segmented image; and an image transformation hardware component configured to transform the first image into the first transformed image using the first transformation matrix, and wherein the image transformation hardware component is further configured to receive the first image and scale the received first image, outputting the scaled first image to the segmentation hardware component or the image feature detection hardware.