Calculate 2nd derivative of image for edge extraction
laplacian(img)
img
an object of pixmap class whose the size is as same as target
data(logo) plot(normalize(laplacian(logo)))