A structured light projector comprising: an illuminator configured to emit illumination light; a pattern mask configured to generate structured light by partially transmitting the illumination light; and a lens configured to transmit the structured light, wherein the pattern mask comprises: a first lens distortion compensation region comprising a plurality of opaque first light shielding patterns having a first pattern width; and a second lens distortion compensation region surrounding the first lens distortion compensation region, the second lens distortion compensation region comprising a plurality of opaque second light shielding patterns having a second pattern width that is less that the first pattern width; characterized in that: the first lens distortion compensation region comprises a first light transmitting slit configured to transmit the illumination light, the first light transmitting slit having a first slit width, and the second lens distortion compensation region comprises a second light transmitting slit configured to transmit the illumination light, the second light transmitting slit having a second slit width; in that the second slit width of the second light transmitting slit is greater than the first slit width of the first light transmitting slit, and in that the ratio of an area of the second light transmitting slit with respect to an entire area of the plurality of second light shielding patterns in the second lens distortion compensation region is greater than a ratio of an area of the first light transmitting slit with respect to an entire area of the plurality of first light shielding patterns in the first lens distortion compensation region. an illuminator configured to emit illumination light; a pattern mask configured to generate structured light by partially transmitting the illumination light; and a lens configured to transmit the structured light, wherein the pattern mask comprises: a first lens distortion compensation region comprising a plurality of opaque first light shielding patterns having a first pattern width; and a second lens distortion compensation region surrounding the first lens distortion compensation region, the second lens distortion compensation region comprising a plurality of opaque second light shielding patterns having a second pattern width that is less that the first pattern width; a first lens distortion compensation region comprising a plurality of opaque first light shielding patterns having a first pattern width; and a second lens distortion compensation region surrounding the first lens distortion compensation region, the second lens distortion compensation region comprising a plurality of opaque second light shielding patterns having a second pattern width that is less that the first pattern width; characterized in that: the first lens distortion compensation region comprises a first light transmitting slit configured to transmit the illumination light, the first light transmitting slit having a first slit width, and the second lens distortion compensation region comprises a second light transmitting slit configured to transmit the illumination light, the second light transmitting slit having a second slit width; in that the second slit width of the second light transmitting slit is greater than the first slit width of the first light transmitting slit, and in that the ratio of an area of the second light transmitting slit with respect to an entire area of the plurality of second light shielding patterns in the second lens distortion compensation region is greater than a ratio of an area of the first light transmitting slit with respect to an entire area of the plurality of first light shielding patterns in the first lens distortion compensation region. the first lens distortion compensation region comprises a first light transmitting slit configured to transmit the illumination light, the first light transmitting slit having a first slit width, and the second lens distortion compensation region comprises a second light transmitting slit configured to transmit the illumination light, the second light transmitting slit having a second slit width; in that the second slit width of the second light transmitting slit is greater than the first slit width of the first light transmitting slit, and in that the ratio of an area of the second light transmitting slit with respect to an entire area of the plurality of second light shielding patterns in the second lens distortion compensation region is greater than a ratio of an area of the first light transmitting slit with respect to an entire area of the plurality of first light shielding patterns in the first lens distortion compensation region.