A fully parallel thinning algorithm using a weighted template | IEEE Conference Publication | IEEE Xplore