He has been elected a Fellow of the Association for Computing Machinery ( ACM ) , the Institute of Electrical and Electronics Engineers ( IEEE ) , the International Association for Pattern Recognition ( IAPR ) , the Association for the Advancement of Artificial Intelligence ( AAAI ) , American Association for Advancement of Science ( AAAS ) , and the Society for Optics and Photonics Technology ( SPIE ) .