Efficient implementation of local adaptive thresholding techniques using integral images | Synapse