Hi, this is a Sobel filter. It compiles on x86_64 and ARM 32 and 64, and must be used with a 8bit grayscale .bmp . The problem is that the execution on ARM 32 and 64 produces a garbage image, and I have absolutely no idea why. I tried GCC 5 and 7 on ARM64. Any thoughts ?