Detection and identification of logic gates from document images using mathematical morphology | IEEE Conference Publication | IEEE Xplore