Closed aCaB closed 7 years ago
That's indeed a bug, thanks for reporting it! I've updated the master branch with a fix. You can use devtools::install_github to update.
I confirm eff74774ab531941fe45da2afd1a3bd347f3ded2 fixes the problem.
Thank you
Hi, I'm having trouble applying as.data.frame to image lists such as the one returned by imgradient("xy"):
On a single image, as.data.frame maintains the original coordinates of the boats image. However, on an image list, as.data.frame produces the above warning and updates the x,y tuples
I'm not sure if the rescale is intended but this has practical consequences: for example the Plotting a gradient field code relies on x and y being integers:
Sorry if I'm missing something and thanks for the amazing package!