Hello, When I have been applying my code to the thinning binary image, for chain of object, I found the value of pixel was changed. Though this input pixel is 0, it is not contour, it was altered during running code. Surely there is no action take this. I attempt to bug program, but it is puzzle. If anyone can tell me, please help. Thank you.