Home | History | Annotate | Download | only in GDAL_IO

Lines Matching refs:coordinate

107  * Given a pixel coordinate and the size of the input image, compute the pixel location
110 cv::Point2d world2dem( cv::Point2d const& coordinate, const cv::Size& dem_size ){
115 double demRatioX = ((dem_tr.x - coordinate.x)/(dem_tr.x - dem_bl.x));
116 double demRatioY = 1-((dem_tr.y - coordinate.y)/(dem_tr.y - dem_bl.y));
126 * Convert a pixel coordinate to world coordinates
134 // compute LERP of each coordinate
138 // compute the actual Lat/Lon coordinate of the interpolated coordinate
198 // convert the pixel coordinate to lat/lon coordinates
199 cv::Point2d coordinate = pixel2world( x, y, image.size() );
201 // compute the dem image pixel coordinate from lat/lon
202 cv::Point2d dem_coordinate = world2dem( coordinate, dem.size() );