Optical computation for complex OCT