Implemented the thinning algorithm in Java..... and it worked perfectly ( with its inherent artifacts which are not your fault ) ...... Thank you very much!
This method is not yielding right results....i tried several problems of Gonzalez and woods by this method but results were always wrong... For thinning and thickening