world2sub
Description
Examples
Input Arguments
Output Arguments
Tips
World coordinates are theoretically continuous domain values represented by floating point numbers. Subscripts are discrete integer values that can be used to index into the underlying array. Floating point computation and rounding may cause small changes in world coordinates around the edge of pixels to map to different neighboring subscript locations.
world2sub
rounds up world coordinate values on the edge of two pixels, except for pixels on the border, where it rounds down to the last pixel.