Add option for dumping sobel image