1. A digital image processing method comprising: receiving a preview image; detecting at least one region by a region detector of the preview image and obtaining coordinate information corresponding to the at least one region; determining a main region by a region determiner from among the at least one region detected from the preview image; capturing an image; and generating by a perspective transform image generator a perspective-transformed image by performing perspective transform on the captured image by using coordinate information corresponding to the main region.