An ophthalmic imaging device (10; 10-2; 10-3) for imaging an eye, comprising: a light guiding component; a scanning element operable to scan a light beam across the light guiding component such that a first portion of the light beam incident on the light guiding component is guided by the light guiding component to scan across a region of the eye, and a second portion of the light beam incident on the light guiding component is reflected back by the light guiding component; a light detector configured to detect light from the first portion of the light beam which has been reflected by the region of the eye and guided to the light detector by the light guiding component; characterised by further comprising: a dynamic amplitude mask (30; 295) which is arranged in the ophthalmic imaging device (10; 10-2; 10-3) so as to receive, from the light guiding component, light from the first portion of the light beam which has been reflected by the region of the eye, and light from the second portion of the light beam which has been reflected back by the light guiding component and is incident on the dynamic amplitude mask with a spatial intensity distribution that varies as a function of a scan angle of the light beam scanned by the scanning element, wherein the dynamic amplitude mask has an unmasked portion configured to allow the received light from the first portion of the light beam, which has been reflected by the region of the eye, to propagate to the light detector, and a masked portion having a spatial distribution which is configured to vary as a function of the scan angle such that the masked portion prevents at least some of the light from the second portion of the light beam reflected back by the light guiding component from reaching the light detector as the first portion of the light beam is scanned across the region of the eye. a light guiding component; a scanning element operable to scan a light beam across the light guiding component such that a first portion of the light beam incident on the light guiding component is guided by the light guiding component to scan across a region of the eye, and a second portion of the light beam incident on the light guiding component is reflected back by the light guiding component; a light detector configured to detect light from the first portion of the light beam which has been reflected by the region of the eye and guided to the light detector by the light guiding component; characterised by further comprising: a dynamic amplitude mask (30; 295) which is arranged in the ophthalmic imaging device (10; 10-2; 10-3) so as to receive, from the light guiding component, light from the first portion of the light beam which has been reflected by the region of the eye, and light from the second portion of the light beam which has been reflected back by the light guiding component and is incident on the dynamic amplitude mask with a spatial intensity distribution that varies as a function of a scan angle of the light beam scanned by the scanning element, wherein the dynamic amplitude mask has an unmasked portion configured to allow the received light from the first portion of the light beam, which has been reflected by the region of the eye, to propagate to the light detector, and a masked portion having a spatial distribution which is configured to vary as a function of the scan angle such that the masked portion prevents at least some of the light from the second portion of the light beam reflected back by the light guiding component from reaching the light detector as the first portion of the light beam is scanned across the region of the eye. a dynamic amplitude mask (30; 295) which is arranged in the ophthalmic imaging device (10; 10-2; 10-3) so as to receive, from the light guiding component, light from the first portion of the light beam which has been reflected by the region of the eye, and light from the second portion of the light beam which has been reflected back by the light guiding component and is incident on the dynamic amplitude mask with a spatial intensity distribution that varies as a function of a scan angle of the light beam scanned by the scanning element, wherein the dynamic amplitude mask has an unmasked portion configured to allow the received light from the first portion of the light beam, which has been reflected by the region of the eye, to propagate to the light detector, and a masked portion having a spatial distribution which is configured to vary as a function of the scan angle such that the masked portion prevents at least some of the light from the second portion of the light beam reflected back by the light guiding component from reaching the light detector as the first portion of the light beam is scanned across the region of the eye.