Hello. In src/main/java/com/ocr/thinning/ZhangSuen.java, lines 37 and 99, you have: `P[1] = data[0];` I believe these are typos and that instead, you meant to write: `P[1] = data1[0];` Cheers. -- sam