Detection Theory: Applications and Digital Signal Processing