An imaging apparatus is adapted for use in an optical instrument (100) having an elongated shaft (101) with a transparent distal end portion (106). The imaging apparatus includes and image sensor assembly (202), a first articulating structure, and a second articulating structure mounted on the first articulating structure. First and second lateral side support structures at the lateral sides of the image sensor assembly (202) are each mounted on the second articulating structure so as to position the image sensor assembly (202) in an operating position in the instrument transparent end portion (106). The connection to the second articulating structure allows an articulation of the image sensor assembly (202) about a lateral articulation axis (T1, T2) extending transverse to the longitudinal axis (L) of the shaft (101) distal end portion (106). This lateral articulation is in addition to the ability of the first articulating structure to rotate about the longitudinal axis (L) of the shaft (101) distal end portion (106).