New optical transform for pattern recognition