The invention provides an airplane three-dimensional attitude computation method. Firstly, preprocessing is carried out on an image to be processed by the adoption of Gaussian smooth filtering to eliminate influences of noise on follow-up algorithms; secondly, the smoothened image is segmented by the adoption of a fuzzy C-means clustering algorithm (FCM) to obtain a binary image, then Hough conversion is carried out on the binary image obtained through segmentation, a part, with obvious linear features, on a target is detected, feature points of the part, with non-obvious linear features, on the target are extracted by the adoption of a framework, and then linear fitting is carried out on the feature points on the framework to obtain a target axis; finally, the obtained axis, the actual size of the target, camera parameters and other information are combined, and a three-dimensional attitude parameter of the target under a camera coordinate system is calculated by means of projective geometry knowledge. On the basis of geometrical features capable of reflecting the structure of an object and by means of Hough conversion and framework extraction of the whole target image, the obtained axis is more accurate, and the obtained three-dimensional attitude parameter is more precise.