changed sign for LOG filter
finding the threshold for LoG