Examining Inverse Distance Weighting Interpolation Method in Contouring Algorithm

Abdulrazaq Abdulrahim, Mohammed Yahaya Tanko, Muhammad Aminu Umar, Sheidu Salami Tenuche and Aliyu Kufena Muhammad

Keywords: graphic representation, contour, contour algorithm, linear interpolation, cubic interpolation

Abstract

Representation of results/data graphically depicts a better understanding of the behavior of the results/data. Contour plotting is an easy way of representing results/data. Contouring algorithms use linear interpolation in determining the point of the intersection between contour lines and grid segments when drawing contour lines. Using linear interpolation is not very precise and results in discontinuities at end points. This paper presents and examines the contouring algorithm that uses inverse distance weighting interpolation in determining the point of the intersection between contour lines and grid segments of randomly generated data. Comparison made between the maps produced by these algorithms that use linear, cubic and inverse distance weighting interpolation, showed that the map produced by inverse distance weighting interpolation is wrong because different contour lines cross each other, the map produced by cubic interpolation depicts less information because some contour lines are missing when compared with the map produced by linear interpolation.