Under inhomogeneous illumination, a refractive index grating will form in a barium titanate crystal through the photorefractive effect. Due to its large electrooptic coefficients and self-pumped phase conjugation, a photorefractive barium titanate crystal