Bugs: evalpos
Bugs
Locations picked just outside the image boundary may return incorrect values with method=closest
The wrong value is returned when using method=closest for locations outside the image boundary but within 0.5 of a pixel of the bottom and left side of the image.
All locations outside the image should return a NaN; however, for these locations the closest edge pixel location is returned.