Image processing technologies on smart phone platforms are becoming more and more intresting and varied.If the optic axis of the camera on the smart phone is not perpendicular to the ground plane,then the keystoning will happen to the images which are taken by the phone.As we all know that some features in the images will be weakened by the keystoning.In this thesis two kinds of algorithms that can correct the distortion in the images tooken by the smart phone camera will be provided.An correction algorithm which can meet the basic functional requirements will be provided firstly,and another algorithm which has much better real-time performance will be proposed subsequently.The latter uses a correction matrix which has been calculated beforehand to correct images,so that the time spent on the process of correction can be reduced.The algorithm shows better real-time performance.In the end,experiments were carried out to test the algorithm proposed in this thesis.The results show that the algorithms proposed in this thesis can correct the keystoning successfully and can meet the requirements of real-time performance. |