Only write sobel step if computing threshold