Investigations on some architectures and algorithms for joint transform correlation in optical pattern recognition