powered by
The Laplacian is the sum of second derivatives, approximated here using finite differences.
imlap(im)
an image
imlap(boats) %>% plot
Run the code above in your browser using DataLab