Design of an optical linear-discriminant filter: optimization for enhancement of filter transmittance and